Define SIG_HOLD for XPG4 (bug 21538).
[glibc.git] / ChangeLog
blobff791f711c97b7df5a76ad1237b16fee10fb36e7
1 2017-06-05  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #21538]
4         * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
5         [__USE_UNIX98].
6         * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
7         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
8         Likewise.
9         * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
10         * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
11         * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
12         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
13         Likewise.
15         [BZ #21517]
16         * bits/types/stack_t.h (stack_t): Remove struct tag.
17         * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
18         Likewise.
19         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
20         Likewise.
21         * debug/segfault.c (install_handler): Use stack_t instead of
22         struct sigaltstack.
23         * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
24         * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
25         * include/signal.h (__sigaltstack): Likwise.
26         * signal/sigaltstack.c (__sigaltstack): Likewise.
27         * signal/signal.h (sigaltstack): Likewise.
28         * sysdeps/mach/hurd/i386/signal-defines.sym
29         (SIGALTSTACK__SS_SP__OFFSET): Likewise.
30         (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
31         (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
32         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
33         * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
34         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
35         elf_prstatus): Likewise.
36         * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
37         Likewise.
38         * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
39         Likewise.
40         * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
41         Likewise.
42         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
43         elf_prstatus): Likewise.
44         * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
45         Likewise.
46         * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
47         Likewise.
49 2017-06-04  Zack Weinberg  <zackw@panix.com>
51         * sysdeps/gnu/errlist.c: Regenerate.
53 2017-06-04  H.J. Lu  <hongjiu.lu@intel.com>
55         * benchtests/bench-memchr.c (do_test): Print out both length
56         and position.
57         (test_main): Also test the position close to the beginning for
58         memrchr.
60 2017-06-04  Zack Weinberg  <zackw@panix.com>
62         * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
63         * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
64         * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
65         * nis/nis_destroygroup.c, nis/nis_domain_of.c
66         * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
67         * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
68         * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
69         * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
70         * nis/nis_print_group_entry.c, nis/nis_remove.c
71         * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
72         * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
73         * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
74         * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
75         * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
76         * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
77         * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
78         * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
79         * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
80         * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
81         * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
82         * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
83         * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
84         * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
85         * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
86         * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
87         * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
88         * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
89         * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
90         * sunrpc/xdr_stdio.c: Include shlib-compat.h.
92         * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
93         abi-versions.h as well as shlib-compat.h.
94         * sunrpc/get_myaddr.c: Remove obsolete comment.
95         * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
96         * sunrpc/rpc_thread.c: Include libc-lock.h only once.
97         * resolv/res_libc.c: Include shlib-compat.h only once.
99 2017-06-03  Florian Weimer  <fweimer@redhat.com>
101         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
102         of strdup.
104 2017-06-02  H.J. Lu  <hongjiu.lu@intel.com>
106         * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
107         Set to the 3/4 of the total shared cache size.
109 2017-06-02  Rical Jasan  <ricaljasan@pacific.net>
111         * manual/errno.texi: Remove redundant error strings.
112         * manual/macros.texi (@errno): Render the error string in every
113         description.
115 2017-06-02  Joseph Myers  <joseph@codesourcery.com>
117         [BZ #21543]
118         * signal/signal.h: Only include <bits/types/sigevent_t.h> and
119         <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
120         [__USE_XOPEN_EXTENDED].
122 2017-06-02  Florian Weimer  <fweimer@redhat.com>
124         * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
125         strdupa.
126         (getcanonname): Use __strdup instead of strdup.
128 2017-06-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
130         * misc/Makefile (CFLAGS-preadv2.c): New rule.
131         (CFLAGS-preadv64v2.c): Likewise.
132         (CFLAGS-pwritev2.c): Likewise.
133         (CFLAGS-pwritev64v2.c): Likewise.
135 2017-06-02  Florian Weimer  <fweimer@redhat.com>
137         Test res_init with several configuration files.
138         * resolv/Makefile [build-shared] (tests-internal): Add
139         tst-resolv-res_init, tst-resolv-res_init-thread.
140         (tst-resolv-res_init): Link against libdl, libresolv.
141         (tst-resolv-res_init-thread): Link against libdl, libresolv,
142         libpthread.
143         * resolv/tst-resolv-res_init.c: New file.
144         * resolv/tst-resolv-res_init-skeleton.c: Likewise.
145         * resolv/tst-resolv-res_init-thread.c: Likewise.
146         * support/Makefile (libsupport-routines): Add support-xstat,
147         support_can_chroot, support_capture_subprocess_check,
148         support_isolate_in_subprocess, support_shared_allocate,
149         support_write_file_string, xchroot, xmkdir, xopen.
150         * support/capture_subprocess.h (enum support_capture_allow): Define.
151         (support_capture_subprocess_check): Declare.
152         * support/namespace.h (support_can_chroot)
153         (support_isolate_in_subprocess): Declare.
154         * support/support-xstat.c: New file.
155         * support/support.h (support_shared_allocate, support_shared_free)
156         (support_write_file_string): Declare.
157         * support/support_can_chroot.c: New file.
158         * support/support_capture_subprocess_check.c: Likewise.
159         * support/support_isolate_in_subprocess.c: Likewise.
160         * support/support_shared_allocate.c: Likewise.
161         * support/support_write_file_string.c: Likewise.
162         * support/xchroot.c: Likwise.
163         * support/xmkdir.c: Likwise.
164         * support/xopen.c: Likwise.
165         * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
167 2017-06-02  Florian Weimer  <fweimer@redhat.com>
169         * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
170         (gaih_inet): Remove malloc_canonbuf variable.  Call getcanonname.
172 2017-06-02  Florian Weimer  <fweimer@redhat.com>
174         * malloc/Makefile (routines): Add dynarray_at_failure,
175         dynarray_emplace_enlarge, dynarray_finalize.
176         (tests-internal): Add tst-dynarray, tst-dynarray-fail,
177         tst-dynarray-at-fail.
178         (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
179         (tests-special): Add tst-dynarray-mem.out,
180         tst-dynarray-mem-fail.out.
181         (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
182         (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
183         mtrace.
184         * malloc/Versions (__libc_dynarray_at_failure)
185         (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
186         (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
187         GLIBC_PRIVATE.
188         * malloc/dynarray.h: New file.
189         * malloc/dynarray-skeleton.c: Likewise.
190         * malloc/dynarray_at_failure.c: Likewise.
191         * malloc/dynarray_emplace_enlarge.c: Likewise.
192         * malloc/dynarray_finalize.c: Likewise.
193         * malloc/dynarray_resize.c: Likewise.
194         * malloc/dynarray_resize_clear.c: Likewise.
195         * malloc/tst-dynarray.c: Likewise.
196         * malloc/tst-dynarray-fail.c: Likewise.
197         * malloc/tst-dynarray-at-fail.c: Likewise.
198         * malloc/tst-dynarray-shared.h: Likewise.
199         * support/Makefile (libsupport-routines): Add
200         support_capture_subprocess, xdup2, xpipe.
201         (tests): Add tst-support_capture_subprocess.
202         * support/capture_subprocess.h: New file.
203         * support/support_capture_subprocess.c: Likewise.
204         * support/tst-support_capture_subprocess.c: Likewise.
205         * support/xdup2.c: Likewise.
206         * support/xpipe.c: Likewise.
207         * support/xunistd.h (xdup2, xpipe): Declare.
209 2017-06-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
211         * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
212         macros MAX and MIN.
214 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
216         * conform/data/signal.h-data (sa_sigaction): Do not expect for
217         [XPG4].
218         (SA_SIGINFO): Likewise.
219         (SA_ONSTACK): Likewise.
220         (SA_RESETHAND): Likewise.
221         (SA_RESTART): Likewise.
222         (SA_NOCLDWAIT): Likewise.
223         (SA_NODEFER): Likewise.
224         (SS_ONSTACK): Likewise.
225         (SS_DISABLE): Likewise.
226         (MINSIGSTKSZ): Likewise.
227         (SIGSTKSZ): Likewise.
228         (ucontext_t): Likewise.
229         (stack_t): Likewise.
230         (struct sigstack): Likewise.
231         (SI_USER): Do not expect for [XPG4 || XPG42].
232         (SI_QUEUE): Likewise.
233         (SI_TIMER): Likewise.
234         (SI_ASYNCIO): Likewise.
235         (SI_MESGQ): Likewise.
236         (bsd_signal): Do not expect for [XPG4].
237         (killpg): Likewise.
238         (sigaltstack): Likewise.
239         (sighold): Likewise.
240         (sigignore): Likewise.
241         (siginterrupt): Likewise.
242         (sigpause): Likewise.
243         (sigrelse): Likewise.
244         (sigset): Likewise.
245         (sigwait): Do not expect for [XPG4 || XPG42].
247 2017-06-01  Zack Weinberg  <zackw@panix.com>
249         [BZ #21514]
250         * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
251         pointing to the generated file in <builddir>/misc/bits/syscall.h.
253 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
255         [BZ #21457]
256         * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
257         NGREG to __NGREG if [__USE_MISC].
258         (gregset_t): Define using __NGREG.
259         (__ctx): New macro.
260         (mcontext_t): Use __ctx in defining fields.
261         * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
262         define NGREG to __NGREG if [__USE_MISC].
263         (gregset_t): Define using __NGREG.
264         (__ctx): New macro.
265         (__ctxt): Likewise.
266         (fpregset_t): Use __ctx and __ctxt in defining fields.
267         (mcontext_t): Likewise.
268         * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
269         define NGREG to __NGREG if [__USE_MISC].
270         (gregset_t): Define using __NGREG.
271         (__ctx): New macro.
272         (mcontext_t): Use __ctx in defining fields.
273         * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
274         define NGREG to __NGREG if [__USE_MISC].
275         (gregset_t): Define using __NGREG.
276         (__ctx): New macro.
277         (fpregset_t): Use __ctx in defining fields.
278         (mcontext_t): Likewise.
279         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
280         __NGREG and define NGREG to __NGREG if [__USE_MISC].
281         (gregset_t): Define using __NGREG.
282         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
283         [__USE_MISC].
284         (fpregset_t): Define using __NFPREG.
285         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
286         __NGREG and define NGREG to __NGREG if [__USE_MISC].
287         (gregset_t): Define using __NGREG.
288         (__ctx): New macro.
289         (fpregset_t): Use __ctx in defining fields.
290         (mcontext_t): Likewise.
291         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
292         __NGREG and define NGREG to __NGREG if [__USE_MISC].
293         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
294         [__USE_MISC].
295         (gregset_t): Define using __NGREG.
296         (__ctx): New macro.
297         (fpregset_t): Use __ctx in defining fields.
298         (mcontext_t): Likewise.
299         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
300         (mcontext_t): Use __ctx in defining fields.
301         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
302         macro.
303         [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
304         __NGREG if [__USE_MISC].
305         [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
306         [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
307         (mcontext_t): Likewise.
308         [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
309         __NGREG if [__USE_MISC].
310         [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
311         to __NFPREG if [__USE_MISC].
312         [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
313         to __NVRREG if [__USE_MISC].
314         [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
315         [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
316         [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
317         [__WORDSIZE != 32] (vrregset_t): Likewise.
318         [__WORDSIZE != 32] (mcontext_t): Likewise.
319         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
320         (__psw_t): Use __ctx in defining fields.
321         (NGREG): Rename to __NGREG and define NGREG to __NGREG if
322         [__USE_MISC].
323         (gregset_t): Define using __NGREG.
324         (fpreg_t): Use __ctx in defining fields.
325         (fpregset_t): Likewise.
326         (mcontext_t): Likewise.
327         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
328         __NGREG and define NGREG to __NGREG if [__USE_MISC].
329         (gregset_t): Define using __NGREG.
330         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
331         [__USE_MISC].
332         (fpregset_t): Define using __NFPREG.
333         (__ctx): New macro.
334         (mcontext_t): Use __ctx in defining fields.
335         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
336         [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
337         __NGREG if [__USE_MISC].
338         [__x86_64__] (gregset_t): Define using __NGREG.
339         [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
340         [__x86_64__] (struct _libc_fpstate): Likewise.
341         [__x86_64__] (mcontext_t): Likewise.
342         [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
343         __NGREG if [__USE_MISC].
344         [!__x86_64__] (gregset_t): Define using __NGREG.
345         [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
346         [!__x86_64__] (struct _libc_fpstate): Likewise.
347         [!__x86_64__] (mcontext_t): Likewise.
349 2017-06-01  Zack Weinberg  <zackw@panix.com>
351         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
352         alpha/pt-vfork.S.  Provide own compat shim for vfork and __vfork.
353         * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
354         * sysdeps/unix/sysv/linux/microblaze/localplt.data:
355         libpthread.so no longer references __errno_location.
357 2017-05-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
359         * NEWS: Add note about pwritev2 and preadv2 inclusion.
360         * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
361         pwritev64v2.
362         (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
363         * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
364         pwritev64v2.
365         * misc/preadv2.c: New file.
366         * misc/preadv64v2.c: Likewise.
367         * misc/pwritev2.c: Likewise.
368         * misc/pwritev64v2.c: Likewise.
369         * misc/tst-preadvwritev2.c: Likewise.
370         * misc/tst-preadvwritev64v2.c: Likewise.
371         * manual/llio.texi: Add preadv2 and pwritev2 documentation.
372         * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
373         prototype.
374         [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
375         [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
376         [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
377         * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
378         (PWRITEV): Likewise.
379         (do_test_with_offset): Use PREADV and PWRITEV macros and check for
380         ENOSYS.
381         * nptl/tst-cancel4.c (tf_pwritev2): New test.
382         (tf_preadv2): Likewise.
383         (tf_fsync): Add tf_pwritev2 and tf_preadv2.
384         * sysdeps/posix/preadv2.c: Likewise.
385         * sysdeps/posix/preadv64v2.c: Likewise.
386         * sysdeps/posix/pwritev2.c: Likewise.
387         * sysdeps/posix/pwritev64v2.c: Likewise.
388         * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
389         support in kernel.
390         * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
391         * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
392         * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
393         * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
394         * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
395         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
396         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
397         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
398         * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
399         support flags on Linux.
400         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
401         preadv2, preadv64v2, pwritev2, pwritev64v2.
402         * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
403         * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
404         * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
405         * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
406         * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
407         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
408         Likewise.
409         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
410         Likewise.
411         * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
412         Likewise.
413         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
414         Likewise.
415         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
416         Likewise.
417         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
418         Likewise.
419         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
420         Likewise.
421         * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
423         (GLIBC_2.26): Likewise.
424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
425         (GLIBC_2.26): Likewise.
426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
427         Likewise.
428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
429         (GLIBC_2.26): Likewise.
430         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
431         Likewise.
432         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
433         Likewise.
434         * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
435         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
436         Likewise.
437         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
438         Likewise.
439         * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
440         Likewise.
441         * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
442         Likewise.
443         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
444         Likewise.
445         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
446         Likewise.
447         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
448         Likewise.
450 2017-05-31  Andreas Schwab  <schwab@suse.de>
452         * nptl/tst-fork3.c: Include <support/test-driver.c>.
453         (main): Rename to do_test and make static.
455 2017-05-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
457         * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
458         ARCH_INIT_CPU_FEATURES.
459         (LIBC_START_MAIN): Call it.
460         * sysdeps/unix/sysv/linux/aarch64/libc-start.c
461         (__libc_start_main): Remove.
462         (ARCH_INIT_CPU_FEATURES): New macro.
463         * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
464         (ARCH_INIT_CPU_FEATURES): New macro.
466 2017-05-30  Dennis Wölfing  <denniswoelfing@gmx.de>
467             Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
469         * include/stdlib.h (__libc_reallocarray): New declaration.
470         * malloc/Makefile (routines): Add reallocarray.
471         (tests): Add tst-reallocarray.c.
472         * malloc/Versions: Add reallocarray and __libc_reallocarray.
473         * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
474         function.
475         * malloc/malloc.h (reallocarray): New declaration.
476         * stdlib/stdlib.h (reallocarray): Likewise.
477         * malloc/reallocarray.c: New file.
478         * malloc/tst-reallocarray.c: New test file.
479         * manual/memory.texi: Document reallocarray.
480         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
481         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
482         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
483         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
484         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
485         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
486         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
487         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
488         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
489         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
490         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
491         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
492         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
493         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
495         Likewise.
496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
497         Likewise.
498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
500         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
501         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
502         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
503         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
504         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
507         * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
508         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
509         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
511 2017-05-30  H.J. Lu  <hongjiu.lu@intel.com>
513         * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
514         the lower 32 bits.
516 2017-05-29  Andreas Schwab  <schwab@linux-m68k.org>
518         * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
519         $(build-pie-default) = yes]: Define.
521 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
523         * string/test-memchr.c (test_main): Add tests for n == 0.
525 2017-05-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
527         * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
528         nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
529         (tests-internal): ... here.
531 2017-05-25   Siddhesh Poyarekar  <siddhesh@sourceware.org>
532              H.J. Lu  <hongjiu.lu@intel.com>
534         * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
535         * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
536         (__tunable_set_val): Likewise.
538 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
540         * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
541         dl-tunables.list in subdirectories.
543 2017-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
544             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
545             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
547         * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
548         (SNANF128): New macro.
549         * math/e_sqrtf128.c: New file.
550         * math/s_fmaxmag_template.c: Include math_private.h in order to
551         make inline expansion of fabs128().
552         * math/s_fminmag_template.c: Likewise.
554         * sysdeps/ieee754/float128/e_acosf128.c: New file.
555         * sysdeps/ieee754/float128/e_acoshf128.c: New file.
556         * sysdeps/ieee754/float128/e_asinf128.c: New file.
557         * sysdeps/ieee754/float128/e_atan2f128.c: New file.
558         * sysdeps/ieee754/float128/e_atanhf128.c: New file.
559         * sysdeps/ieee754/float128/e_coshf128.c: New file.
560         * sysdeps/ieee754/float128/e_exp10f128.c: New file.
561         * sysdeps/ieee754/float128/e_expf128.c: New file.
562         * sysdeps/ieee754/float128/e_fmodf128.c: New file.
563         * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
564         * sysdeps/ieee754/float128/e_hypotf128.c: New file.
565         * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
566         * sysdeps/ieee754/float128/e_j0f128.c: New file.
567         * sysdeps/ieee754/float128/e_j1f128.c: New file.
568         * sysdeps/ieee754/float128/e_jnf128.c: New file.
569         * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
570         * sysdeps/ieee754/float128/e_log10f128.c: New file.
571         * sysdeps/ieee754/float128/e_log2f128.c: New file.
572         * sysdeps/ieee754/float128/e_logf128.c: New file.
573         * sysdeps/ieee754/float128/e_powf128.c: New file.
574         * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
575         * sysdeps/ieee754/float128/e_remainderf128.c: New file.
576         * sysdeps/ieee754/float128/e_scalbf128.c: New file.
577         * sysdeps/ieee754/float128/e_sinhf128.c: New file.
578         * sysdeps/ieee754/float128/float128_private.h: New file.
579         * sysdeps/ieee754/float128/gamma_productf128.c: New file.
580         * sysdeps/ieee754/float128/ieee754_float128.h: New file.
581         * sysdeps/ieee754/float128/k_cosf128.c: New file.
582         * sysdeps/ieee754/float128/k_sincosf128.c: New file.
583         * sysdeps/ieee754/float128/k_sinf128.c: New file.
584         * sysdeps/ieee754/float128/k_tanf128.c: New file.
585         * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
586         * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
587         * sysdeps/ieee754/float128/s_asinhf128.c: New file.
588         * sysdeps/ieee754/float128/s_atanf128.c: New file.
589         * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
590         * sysdeps/ieee754/float128/s_ceilf128.c: New file.
591         * sysdeps/ieee754/float128/s_copysignf128.c: New file.
592         * sysdeps/ieee754/float128/s_cosf128.c: New file.
593         * sysdeps/ieee754/float128/s_erff128.c: New file.
594         * sysdeps/ieee754/float128/s_expm1f128.c: New file.
595         * sysdeps/ieee754/float128/s_fabsf128.c: New file.
596         * sysdeps/ieee754/float128/s_finitef128.c: New file.
597         * sysdeps/ieee754/float128/s_floorf128.c: New file.
598         * sysdeps/ieee754/float128/s_fmaf128.c: New file.
599         * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
600         * sysdeps/ieee754/float128/s_frexpf128.c: New file.
601         * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
602         * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
603         * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
604         * sysdeps/ieee754/float128/s_isinff128.c: New file.
605         * sysdeps/ieee754/float128/s_isnanf128.c: New file.
606         * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
607         * sysdeps/ieee754/float128/s_llrintf128.c: New file.
608         * sysdeps/ieee754/float128/s_llroundf128.c: New file.
609         * sysdeps/ieee754/float128/s_log1pf128.c: New file.
610         * sysdeps/ieee754/float128/s_logbf128.c: New file.
611         * sysdeps/ieee754/float128/s_lrintf128.c: New file.
612         * sysdeps/ieee754/float128/s_lroundf128.c: New file.
613         * sysdeps/ieee754/float128/s_modff128.c: New file.
614         * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
615         * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
616         * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
617         * sysdeps/ieee754/float128/s_nextupf128.c: New file.
618         * sysdeps/ieee754/float128/s_remquof128.c: New file.
619         * sysdeps/ieee754/float128/s_rintf128.c: New file.
620         * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
621         * sysdeps/ieee754/float128/s_roundf128.c: New file.
622         * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
623         * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
624         * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
625         * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
626         * sysdeps/ieee754/float128/s_signbitf128.c: New file.
627         * sysdeps/ieee754/float128/s_significandf128.c: New file.
628         * sysdeps/ieee754/float128/s_sincosf128.c: New file.
629         * sysdeps/ieee754/float128/s_sinf128.c: New file.
630         * sysdeps/ieee754/float128/s_tanf128.c: New file.
631         * sysdeps/ieee754/float128/s_tanhf128.c: New file.
632         * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
633         * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
634         * sysdeps/ieee754/float128/s_truncf128.c: New file.
635         * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
636         * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
637         * sysdeps/ieee754/float128/t_sincosf128.c: New file.
638         * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
640         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
641         (__iscanonicalf128): Define as a macro.
643 2017-05-24  Steve Ellcey  <sellcey@caviumnetworks.com>
645         * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
646         (memmove): Use MEMMOVE for name.
647         (memcpy): Use MEMCPY for name.  Change internal labels
648         to external labels.
649         * sysdeps/aarch64/multiarch/Makefile: New file.
650         * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
651         * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
652         * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
653         * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
654         * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
655         * sysdeps/aarch64/multiarch/memmove.c: Likewise.
657 2017-05-24  Siddhesh Poyarekar  <siddhesh@sourceware.org>
659         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
660         (_dl_arm_cap_flags): Fix array subscript.
661         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
662         Fix count.
664 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
666         * sysdeps/x86/cacheinfo.c: Skip if not in libc.
668 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
670         * sysdeps/x86/cacheinfo.c (is_intel): Removed.
671         (is_amd): Likewise.
672         (max_cpuid): Likewise.
673         (__cache_sysconf): Use __get_cpu_features to get cpu_features.
674         (init_cacheinfo): Likewise.
676 2017-05-23  Joseph Myers  <joseph@codesourcery.com>
678         [BZ #21511]
679         * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
680         [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
681         (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
682         !__USE_XOPEN2K) || __USE_MISC].
683         * conform/data/signal.h-data (struct sigstack): Expect type only
684         if [!XOPEN2K8 && !POSIX2008].
685         (sigstack): Expect function only if [XPG42 || UNIX98].
687         [BZ #21457]
688         * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
689         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
690         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
691         <bits/types/__sigset_t.h>.
692         (ucontext_t): Use sigset_t instead of __sigset_t.
693         * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
694         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
695         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
696         <bits/types/__sigset_t.h>.
697         (ucontext_t): Use sigset_t instead of __sigset_t.
698         * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
699         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
700         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
701         <bits/types/__sigset_t.h>.
702         (ucontext_t): Use sigset_t instead of __sigset_t.
703         * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
704         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
705         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
706         <bits/types/__sigset_t.h>.
707         (ucontext_t): Use sigset_t instead of __sigset_t.
708         * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
709         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
710         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
711         <bits/types/__sigset_t.h>.
712         (ucontext_t): Use sigset_t instead of __sigset_t.
713         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
714         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
715         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
716         <bits/types/__sigset_t.h>.
717         (ucontext_t): Use sigset_t instead of __sigset_t.
718         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
719         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
720         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
721         <bits/types/__sigset_t.h>.
722         (ucontext_t): Use sigset_t instead of __sigset_t.
723         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
724         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
725         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
726         <bits/types/__sigset_t.h>.
727         (ucontext_t): Use sigset_t instead of __sigset_t.
728         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
729         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
730         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
731         <bits/types/__sigset_t.h>.
732         (ucontext_t): Use sigset_t instead of __sigset_t.
733         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
734         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
735         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h>.
736         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
737         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
738         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
739         <bits/types/__sigset_t.h>.
740         (ucontext_t): Use sigset_t instead of __sigset_t.
741         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
742         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
743         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
744         <bits/types/__sigset_t.h>.
745         (ucontext_t): Use sigset_t instead of __sigset_t.
746         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
747         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
748         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
749         <bits/types/__sigset_t.h>.
750         (ucontext_t): Use sigset_t instead of __sigset_t.
751         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
752         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
753         <bits/ss_flags.h>.
754         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
755         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
756         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
757         <bits/types/__sigset_t.h>.
758         (ucontext_t): Use sigset_t instead of __sigset_t.
759         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
760         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
761         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
762         <bits/types/__sigset_t.h>.
763         (ucontext_t): Use sigset_t instead of __sigset_t.
764         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
765         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
766         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
767         <bits/types/__sigset_t.h>.
768         (ucontext_t): Use sigset_t instead of __sigset_t.
769         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
770         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
771         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
772         <bits/types/__sigset_t.h>.
773         (ucontext_t): Use sigset_t instead of __sigset_t.
774         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
775         <bits/types.h>.
776         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
777         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
778         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
779         <bits/types/__sigset_t.h>.
780         (ucontext_t): Use sigset_t instead of __sigset_t.
782 2017-05-22  Zack Weinberg  <zackw@panix.com>
784         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
785         (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
786         bits/siginfo-arch.h, only if not already defined.
787         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
788         (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
789         (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
790         Likewise.
792         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
793         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
794         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
795         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
796         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
797         Unconditionally define __SI_* macros.
799 2017-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
801         [BZ #21393]
802         * libio/freopen.c (freopen): Avoid dup already opened file descriptor
803         and add a check for dup3 failure.
804         * libio/freopen64.c (freopen64): Likewise.
805         * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
806         libsupport.
807         (do_test_bz21398): New test.
808         * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
810 2017-05-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
812         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
813         Remove invalid comment.
815 2017-05-21  Zack Weinberg  <zackw@panix.com>
817         * signal/Makefile (headers): Add bits/types/sigval_t.h.
819 2017-05-20  Zack Weinberg  <zackw@panix.com>
821         * bits/sigevent-consts.h
822         * bits/siginfo-consts.h
823         * bits/types/__sigset_t.h
824         * bits/types/sigevent_t.h
825         * bits/types/siginfo_t.h
826         * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
827         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
828         * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
829         * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
830         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
831         New system-dependent bits headers.
833         * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
834         * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
835         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
836         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
837         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
838         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
839         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
840         * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
841         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
842         New Linux-only system-dependent bits headers.
844         * signal/bits/types/sig_atomic_t.h
845         * signal/bits/types/sigset_t.h
846         * signal/bits/types/sigval_t.h:
847         New non-system-dependent bits headers.
849         * sysdeps/generic/sigsetops.h
850         * sysdeps/unix/sysv/linux/sigsetops.h:
851         New internal headers.
853         * include/bits/types/sig_atomic_t.h
854         * include/bits/types/sigset_t.h
855         * include/bits/types/sigval_t.h:
856         New wrappers.
858         * signal/sigsetops.h
859         * bits/siginfo.h
860         * bits/sigset.h
861         * sysdeps/unix/sysv/linux/bits/siginfo.h
862         * sysdeps/unix/sysv/linux/bits/sigset.h
863         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
864         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
865         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
866         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
867         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
868         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
869         Deleted.
871         * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
872         Update lists of installed headers.
874         * posix/bits/types.h: Define __sig_atomic_t here.
875         * signal/signal.h: Use the new bits headers; no need to handle
876         __need_sig_atomic_t nor __need_sigset_t.  Don't use __sigmask
877         to define sigmask.
878         * include/signal.h: No need to handle __need_sig_atomic_t
879         nor __need_sigset_t.  Don't define __sigemptyset.
881         * io/sys/poll.h, setjmp/setjmp.h
882         * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
883         * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
884         * sysdeps/mach/hurd/i386/bits/sigcontext.h
885         * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
886         * sysdeps/pthread/bits/sigthread.h
887         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
888         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
889         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
890         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
891         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
892         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
893         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
894         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
895         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
896         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
897         Use bits/types/__sigset_t.h.
899         * misc/sys/select.h, posix/spawn.h
900         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
901         * sysdeps/unix/sysv/linux/sys/epoll.h
902         * sysdeps/unix/sysv/linux/sys/signalfd.h:
903         Use bits/types/sigset_t.h.
905         * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
906         * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
907         * socket/sys/socket.h: Don't include bits/sigset.h.
909         * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
910         * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
911         * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
912         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
913         * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
914         * sysdeps/unix/sysv/linux/nptl-signals.h:
915         Include sigsetops.h.
917         * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
918         * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
919         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
920         __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
921         now return no value.
923         * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
924         Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
925         "sigsetops.h".
927         * signal/sigsetops.c: Explicitly define __sigismember,
928         __sigaddset, and __sigdelset as compatibility symbols.
930         * signal/Versions: Correct commentary on __sigpause,
931         __sigaddset, __sigdelset, __sigismember.
933         * inet/rcmd.c: Include sigsetops.h.  Convert old code using
934         __sigblock/__sigsetmask to use __sigprocmask and friends.
936         * resolv/resolv.h: Remove __need_res_state logic.
937         Move definition of res_state and related constants to ...
938         * resolv/bits/types/res_state.h: ...this new file.
939         * resolv/Makefile: Install bits/types/res_state.h.
940         * include/bits/types/res_state.h: New wrapper.
941         * include/list.h: Remove __need_list_t logic.
942         Move definition of list_t to ...
943         * include/list_t.h: ...this new file.
945         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
946         instead of list.h and resolv.h.
948         * resolv/resolv.h: Remove __need_res_state logic.
949         Move definition of res_state and related constants to ...
950         * resolv/bits/types/res_state.h: ...this new file.
951         * resolv/Makefile: Install bits/types/res_state.h.
952         * include/bits/types/res_state.h: New wrapper.
953         * include/list.h: Remove __need_list_t logic.
954         Move definition of list_t to ...
955         * include/list_t.h: ...this new file.
957         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
958         instead of list.h and resolv.h.
960 2017-05-20  H.J. Lu  <hongjiu.lu@intel.com>
962         * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
964 2017-05-20  Zack Weinberg  <zackw@panix.com>
966         * sysdeps/arm/sysdep.h
967         (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
969         * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
970         * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
971         * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
972         * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
973         * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
974         * sysdeps/arm/armv6t2/strlen.S
975         * sysdeps/arm/armv7/multiarch/memcpy_impl.S
976         * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
977         * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
978         * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
979         * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
980         Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
982 2017-05-20  Zack Weinberg  <zackw@panix.com>
984         Remove the NaCl port.
985         * sysdeps/arm/nacl: Remove directory and contents.
986         * sysdeps/nacl: Remove directory and contents.
987         * abi-tags: Remove .*-.*-nacl.* entry.
989 2017-05-19  Rical Jasan  <ricaljasan@pacific.net>
991         * manual/errno.texi: Convert @comment-based errno documentation to
992         @errno.
993         * manual/macros.texi (@errno): New macro.  Consolidate errors,
994         their values, and messages, adding the error string to the Concept
995         Index.  Provide a warning in the comment about external (to the
996         manual) dependencies.
997         * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
998         * sysdeps/mach/hurd/errnos.awk: Likewise.
1000 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
1002         * bits/ss_flags.h: New file.
1003         * bits/types/stack_t.h: Likewise.
1004         * include/bits/types/struct_sigstack.h: Likewise.
1005         * signal/bits/types/struct_sigstack.h: Likewise.
1006         * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
1007         * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
1008         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
1009         * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
1010         bits/types/stack_t.h and bits/ss_flags.h.
1011         * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
1012         Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
1013         <bits/ss_flags.h>.
1014         * bits/sigstack.h (struct sigstack): Remove.
1015         (stack_t): Likewise.
1016         (SS_ONSTACK): Likewise.
1017         (SS_DISABLE): Likewise.
1018         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
1019         (struct sigstack): Likewise.
1020         (stack_t): Likewise.
1021         (SS_ONSTACK): Likewise.
1022         (SS_DISABLE): Likewise.
1023         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
1024         Likewise.
1025         (stack_t): Likewise.
1026         (SS_ONSTACK): Likewise.
1027         (SS_DISABLE): Likewise.
1028         * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
1029         Likewise.
1030         (stack_t): Likewise.
1031         (SS_ONSTACK): Likewise.
1032         (SS_DISABLE): Likewise.
1033         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
1034         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
1035         Likewise.
1036         (stack_t): Likewise.
1037         (SS_ONSTACK): Likewise.
1038         (SS_DISABLE): Likewise.
1039         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
1040         (struct sigstack): Likewise.
1041         (stack_t): Likewise.
1042         (SS_ONSTACK): Likewise.
1043         (SS_DISABLE): Likewise.
1044         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
1045         Likewise.
1046         (stack_t): Likewise.
1047         (SS_ONSTACK): Likewise.
1048         (SS_DISABLE): Likewise.
1049         * sysdeps/arm/sys/ucontext.h: Include
1050         <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
1051         <bits/ss_flags.h>.
1052         * sysdeps/generic/sys/ucontext.h: Likewise.
1053         * sysdeps/i386/sys/ucontext.h: Likewise.
1054         * sysdeps/m68k/sys/ucontext.h: Likewise.
1055         * sysdeps/mips/sys/ucontext.h: Likewise.
1056         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
1057         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
1058         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
1059         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
1060         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
1061         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
1062         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
1063         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
1064         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
1065         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1066         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
1067         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
1068         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
1069         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
1070         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
1072 2017-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1074         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
1075         "edx + ecx - 16" to avoid possible addition overflow.
1076         * sysdeps/x86_64/memchr.S (memchr): Likewise.
1078 2017-05-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1080         * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
1081         (CFLAGS-splice.c): Likewise.
1082         (CFLAGS-open_by_handle_at.c): Likewise.
1083         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
1084         (CFLAGS-splice.c): Likewise.
1085         (CFLAGS-open_by_handle_at.c): Likewise.
1087 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
1089         * scripts/versions.awk: Generate ldbl-compat-choose.h.
1090         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
1091         <ldbl-compat-choose.h>.
1092         (maybe_long_double_symbol): New macro.
1093         [!declare_mgen_alias] (declare_mgen_alias): Use
1094         maybe_long_double_symbol.
1095         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
1096         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
1097         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
1098         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
1099         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
1100         * Makerules [$(build-shared) = yes && !avoid-generated]
1101         (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
1102         [$(build-shared) = yes && !avoid-generated]
1103         ($(common-objpfx)ldbl-compat-choose.h): New target.
1105         * scripts/versions.awk: Generate first-versions.h.
1106         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
1107         <first-versions.h>.
1108         (LDOUBLE_cabsl_libm_version): Remove macro.
1109         (LDOUBLE_cargl_libm_version): Likewise.
1110         (LDOUBLE_cimagl_libm_version): Likewise.
1111         (LDOUBLE_conjl_libm_version): Likewise.
1112         (LDOUBLE_creall_libm_version): Likewise.
1113         (LDOUBLE_cacosl_libm_version): Likewise.
1114         (LDOUBLE_cacoshl_libm_version): Likewise.
1115         (LDOUBLE_ccosl_libm_version): Likewise.
1116         (LDOUBLE_ccoshl_libm_version): Likewise.
1117         (LDOUBLE_casinl_libm_version): Likewise.
1118         (LDOUBLE_csinl_libm_version): Likewise.
1119         (LDOUBLE_casinhl_libm_version): Likewise.
1120         (LDOUBLE_csinhl_libm_version): Likewise.
1121         (LDOUBLE_catanl_libm_version): Likewise.
1122         (LDOUBLE_catanhl_libm_version): Likewise.
1123         (LDOUBLE_ctanl_libm_version): Likewise.
1124         (LDOUBLE_ctanhl_libm_version): Likewise.
1125         (LDOUBLE_cexpl_libm_version): Likewise.
1126         (LDOUBLE_clogl_libm_version): Likewise.
1127         (LDOUBLE_cprojl_libm_version): Likewise.
1128         (LDOUBLE_csqrtl_libm_version): Likewise.
1129         (LDOUBLE_cpowl_libm_version): Likewise.
1130         (LDOUBLE_clog10l_libm_version): Likewise.
1131         (LDOUBLE___clog10l_libm_version): Likewise.
1132         (LDOUBLE_fdiml_libm_version): Likewise.
1133         (LDOUBLE_fmaxl_libm_version): Likewise.
1134         (LDOUBLE_fminl_libm_version): Likewise.
1135         (LDOUBLE_ilogbl_libm_version): Likewise.
1136         (LDOUBLE_nanl_libm_version): Likewise.
1137         [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
1138         FIRST_VERSION_libm_* macros.
1139         [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
1140         * Makerules [$(build-shared) = yes && !avoid-generated]
1141         (before-compile): Add $(common-objpfx)first-versions.h.
1142         [$(build-shared) = yes && !avoid-generated]
1143         ($(common-objpfx)first-versions.h): New target.
1144         ($(common-objpfx)sysd-versions): Depend on and change to rule for
1145         building $(common-objpfx)versions.stmp.
1147 2017-05-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1149         * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
1150         * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
1151         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
1152         auto-generation list.
1154         * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
1155         * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
1156         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
1157         from auto-generation list.
1159         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
1160         open_by_handle_at.
1161         (CFLAGS-open_by_handle_at.c): New flag.
1162         * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
1163         * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
1164         file.
1165         * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
1167         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
1168         (CFLAGS-splice.c): New flag.
1169         * sysdeps/unix/sysv/linux/splice.c: New file.
1170         * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
1171         auto-generation syscall list.
1172         * misc/Makefile (CFLAGS-splice.c): New rule.
1174         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
1175         * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
1176         auto-generation syscall list.
1177         * sysdeps/unix/sysv/linux/vmsplice.c: New file.
1178         * misc/Makefile (CFLAGS-vmsplice.c): New rule.
1180         * misc/Makefile (CFLAGS-fsync.c): New flag.
1181         * nptl/Makefile (CFLAGS-fsync.c): Likewise.
1182         * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
1183         syscall list.
1184         * sysdeps/unix/sysv/linux/fsync.c: New file.
1185         * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
1186         (__errno_location): Remove.
1188         * misc/Makefile (CFLAGS-fdatasync.c): New rule.
1189         * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
1190         * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
1191         list.
1192         * sysdeps/unix/sysv/linux/fdatasync.c: New file.
1194         * misc/Makefile (CFLAGS-msync.c): New rule.
1195         * nptl/Makefile (CFLAGS-msync.c): Likewise.
1196         * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
1197         * sysdeps/unix/sysv/linux/msync.c: New file.
1199         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
1200         * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
1201         * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
1202         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1203         (CFLAGS-sigsuspend.c): Remove rule.
1205         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
1206         (CFLAGS-tee.c): New rule.
1207         * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
1208         auto-generated list.
1209         * sysdeps/unix/sysv/linux/tee.c: New file.
1211         * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
1212         * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
1213         * sysdeps/unix/sysv/linux/nanosleep.c: New file.
1214         * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
1215         auto-generated list.
1217         * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
1218         auto-generated list.
1219         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
1220         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1221         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
1222         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1223         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
1225         * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
1226         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
1227         * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
1228         (__NR_pause): Undefine.
1229         * sysdeps/unix/sysv/linux/pause.c: New file.
1230         * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
1231         auto-generation list.
1232         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
1233         Remove rule.
1234         * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
1236 2017-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1238         * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
1239         comments.
1241 2017-05-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1243         * elf/Makefile (tst-env-setuid-ENV): Reduce value of
1244         LD_HWCAP_MASK.
1246 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
1248         * manual/conf.texi: Convert @tables of annotated @items to
1249         @vtables.
1250         * manual/lang.texi: Likewise.
1251         * manual/pattern.texi: Likewise.
1252         * manual/resource.texi: Likewise.
1253         * manual/socket.texi: Likewise.
1255 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
1257         * manual/crypt.texi: Move a comment out of an @*x list.
1258         * manual/filesys.texi: Refactor some comments, one of which looks
1259         like a standard.  Fix incorrectly separated standards.
1260         * manual/locale.texi: Invert an annotation.
1261         * manual/resource.texi: Fix incorrectly separated standards.
1262         * manual/time.texi: Refactor a @vtable that obscures an
1263         annotation.
1264         * manual/users.texi: Refactor multiple headers to occupy a single
1265         @comment.
1267 2017-05-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1269         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1270         (sysdep_routines): Add memcmp-power8.
1271         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1272         (memcmp): Add __memcmp_power8 to list of memcmp functions.
1273         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
1274         (memcmp): Add __memcmp_power8 to ifunc list.
1275         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
1276         * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
1278 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1279             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1281         * math/math.h (__MATH_TG): Extend the conditions to add
1282         _Float128 support.
1283         * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
1285 2017-05-17  Paul A. Clarke  <pc@us.ibm.com>
1287         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1288         [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
1289         s_cosf-ppc64.
1290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
1291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
1292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
1293         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
1295 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1297         * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
1298         (gen-libm-calls): Add e_exp2F to use the template.
1299         * math/e_exp2l.c: Rename to math/e_exp2_template.c.
1300         * math/e_exp2_template.c: New file, renamed from
1301         math/e_exp2l.c, and made into a template.
1302         * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
1304 2017-05-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1306         * elf/dl-tunable-types.h (tunable_type_code_t): New type
1307         TUNABLE_TYPE_UINT_64.
1308         * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
1309         Simplify computation of overflow.
1310         (tunable_set_val_if_valid_range_signed,
1311         tunable_set_val_if_valid_range_unsigned): Remove and replace
1312         with this...
1313         (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
1314         (tunable_initialize): Adjust.  Add uint64_t support.
1315         (__tunable_set_val): Add uint64_t support.
1316         * README.tunables: Document it.
1318         * scripts/gen-tunables.awk: Recognize 'default' keyword in
1319         dl-tunables.list.
1320         * README.tunables: Document it.
1322 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1324         * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
1325         * sysdeps/posix/preadv64.c: Likewise.
1326         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1327         * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
1328         * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
1329         * sysdeps/posix/pwritev64.c: Likewise.
1330         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1331         * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
1332         * sysdeps/posix/preadv_common.c: New file.
1333         * sysdeps/posix/pwritev_common.c: Likewise.
1335 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1337         * sysdeps/generic/math-type-macros-float128.h
1338         (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
1339         wrapper templates.
1341 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1342             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1344         * include/complex.h (__kernel_casinhf128): New declaration.
1345         * include/float.h: New file.
1346         * include/math.h (__finitef128): Add a hidden def.
1347         (__isinff128): Likewise.
1348         (__isnanf128): Likewise.
1349         (__fpclassify): Likewise.
1350         (__issignalling): Likewise.
1351         (__expf128): Likewise.
1352         (__expm1f128): Likewise.
1354         * sysdeps/generic/fix-fp-int-convert-overflow.h:
1355         (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
1356         (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
1358         * sysdeps/generic/math-type-macros-float128.h: New file.
1360         * sysdeps/generic/math_private.h: Include bits/floatn.h and
1361         math_private_calls.h for _Float128.
1362         (__isinff128): New inline implementation used when GCC < 7.0,
1363         since in this case __builtin_isinf_sign is broken.
1364         (fabsf128): New inline implementation that calls the builtin.
1365         (__EXPR_FLT128): New macro.
1366         (min_of_type): Optionally include _Float128 types too.
1368         * sysdeps/generic/math_private_calls.h (__kernel_sincos):
1369         Declare for _Float128.
1370         (__kernel_rem_pio2): Likewise.
1372         * sysdeps/ieee754/ldbl-opt/s_sin.c:
1373         (__DECL_SIMD_sincos_disablef128): New macro.
1375 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1377         * math/math.h: Include bits/math-finite.h for float128.
1378         (__MATH_DECLARING_FLOATN): Define to control declaration of
1379         float128 functions.
1380         * math/bits/math-finite.h (pow10): Do not declare for float128.
1381         (gamma): Likewise.
1382         (scalb): Likewise.
1384 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1385             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1387         * bits/floatn.h: New file.
1388         * bits/huge_val_flt128.h: Likewise.
1390         * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
1391         (__DECL_SIMD_sinf128): Likewise.
1392         (__DECL_SIMD_sincosf128): Likewise.
1393         (__DECL_SIMD_logf128): Likewise.
1394         (__DECL_SIMD_expf128): Likewise.
1395         (__DECL_SIMD_powf128): Likewise.
1397         * math/Makefile (headers): Install bits/floatn.h and
1398         bits/huge_val_flt128.h.
1400         * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
1401         defined.
1403         * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
1404         (isnan, gamma, nexttoward, scalb): Only define if not
1405         __MATH_DECLARING_FLOATN.
1406         (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
1407         (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
1408         (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
1409         _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
1411         * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
1412         Include bits/cmathcalls.h to get the declarations of _Float128
1413         versions of complex functions.
1414         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
1415         Define macro.
1417         * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
1418         Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
1419         get the declarations of _Float128 versions of math functions.
1420         (__MATH_DECLARING_FLOATN): New macro to control declaration of
1421         _FloatN types.
1422         [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
1423         is type-generic, so use it without __MATH_TG.
1424         [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
1425         _Float128 type on GCC < 7.0.  Explicitly call __isinff128 for
1426         _Float128 type and GCC < 7.0, otherwise use the builtin.
1427         [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
1428         (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
1429         (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
1430         New _GNU_SOURCE enabled macros.
1432 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
1434         * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
1435         (signbitf): Likewise.
1436         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
1437         Likewise.
1438         (signbitl): Likewise.
1439         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
1440         Likewise.
1441         * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
1442         (signbitl): Likewise.
1443         * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
1445 2017-05-12  Florian Weimer  <fweimer@redhat.com>
1447         [BZ #21386]
1448         * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
1449         parent PID.  The assertion in the child is incorrect with PID
1450         namespaces.
1452 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
1454         * sysdeps/unix/sysv/linux/kernel-features.h
1455         (__ASSUME_STATFS_F_FLAGS): Remove macro.
1456         * sysdeps/unix/sysv/linux/internal_statvfs.c
1457         [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
1459 2017-05-11  Zack Weinberg  <zackw@panix.com>
1461         * Makerules: New subdir configuration variables 'tests-internal'
1462         and 'test-internal-extras'.  Test files in these categories will
1463         still be compiled with MODULE_NAME=nonlib.  Test files in the
1464         existing categories (tests, xtests, test-srcs, test-extras) are
1465         now compiled with MODULE_NAME=testsuite.
1466         New subdir configuration variable 'modules-names-tests'.  Files
1467         which are in both 'modules-names' and 'modules-names-tests' will
1468         be compiled with MODULE_NAME=testsuite instead of
1469         MODULE_NAME=extramodules.
1470         (gen-as-const-headers): Move to tests-internal.
1471         (do-tests-clean, common-mostlyclean): Support tests-internal.
1472         * Makeconfig (built-modules): Add testsuite.
1473         * Makefile: Change libof-check-installed-headers-c and
1474         libof-check-installed-headers-cxx to 'testsuite'.
1475         * Rules: Likewise.  Support tests-internal.
1476         * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
1477         Remove extra-modules.mk.
1479         * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
1480         * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
1481         PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
1482         very top of the file and rationalize their order.
1483         If MODULE_NAME is not defined at all, define IS_IN to always be
1484         false, and don't define _ISOMAC.
1485         If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
1486         true, define _ISOMAC and suppress everything else in this file,
1487         starting with the inclusion of config.h.
1488         Do check for inappropriate definitions of __OPTIMIZE__ and
1489         __FAST_MATH__ here, but only if _ISOMAC is not defined.
1490         Correct some out-of-date commentary.
1492         * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
1493         and _Mlong_double_ before including math.h.
1494         * include/string.h: If _ISOMAC is defined, don't expose
1495         _STRING_ARCH_unaligned. Move a comment to a more appropriate
1496         location.
1498         * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
1499         * include/time.h, include/unistd.h, include/wchar.h: No need to
1500         check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
1502         * misc/sys/cdefs.h (__NTHNL): New macro.
1503         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
1504         (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
1506         * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
1507         defined, for HAVE_TUNABLES.
1508         * inet/tst-checks-posix.c: No need to define _ISOMAC.
1509         * intl/tst-gettext2.c: Provide own definition of N_.
1510         * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
1511         * math/test-signgam-main.c: No need to define _ISOMAC.
1512         * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
1513         * stdlib/tst-strtod1i.c: ...this new file.
1514         * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
1515         Split tests of __strtod_internal to...
1516         * stdlib/tst-strtod5i.c: ...this new file.
1517         * string/test-string.h: Include stdint.h. Duplicate definition of
1518         inhibit_loop_to_libcall here (from libc-symbols.h).
1519         * string/test-strstr.c: Provide dummy definition of
1520         libc_hidden_builtin_def when including strstr.c.
1521         * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
1522         mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
1523         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
1524         Don't include init-arch.h.
1525         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
1526         Don't include init-arch.h.
1528         * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
1529         tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
1530         unload, unload2, circleload1, neededtest, neededtest2,
1531         neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
1532         tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
1533         tst-stackguard1, tst-_dl_addr_inside_object, and all of the
1534         ifunc tests to tests-internal.
1535         Don't add $(modules-names) to test-extras.
1536         * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
1537         Add tst-deadline to tests-static-internal.
1538         * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
1539         tests-internal.
1540         * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
1541         * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
1542         tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
1543         tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
1544         tst-sem12-static, and tst-stackguard1-static to tests-internal.
1545         Link tests-internal with libpthread also.
1546         Don't add $(modules-names) to test-extras.
1547         * nss/Makefile: Move tst-field to tests-internal.
1548         * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
1549         tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
1550         * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
1551         tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
1552         tests-internal.
1553         * sunrpc/Makefile: Move tst-svc_register to tests-internal.
1554         * sysdeps/powerpc/Makefile: Move test-get_hwcap and
1555         test-get_hwcap-static to tests-internal.
1556         * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
1557         tests-internal.
1558         * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
1559         modules-names-tests.
1561 2017-05-11  Zack Weinberg  <zackw@panix.com>
1563         * libio/libio.h: Condition dummy definition of _IO_lock_t on
1564         _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
1565         non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
1566         _IO_funlockfile, and _IO_ftrylockfile.  Only define
1567         _IO_cleanup_region_start and _IO_cleanup_region_end if not
1568         already defined.
1569         * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
1570         _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
1571         appropriately.
1572         * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
1573         Define _IO_lock_t_defined after defining _IO_lock_t.
1575 2016-05-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1577         * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
1578         void* for argument type and use VDSO_SYMBOL macro.
1579         (is_sigtramp_address_rt): Likewise.
1580         (__backtrace): Setup expected frame pointer address for signal
1581         handling.
1582         * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
1583         void* for argumetn type and use VSDO_SYMBOL macro.
1584         (__backtrace): Setup expected frame pointer address for signal
1585         handling.
1587         * sysdeps/unix/sysv/linux/writev.c: New file.
1589         * sysdeps/unix/sysv/linux/readv.c: New file.
1591         * include/unistd.h (write): Add hidden proto.
1592         * io/Makefile (CFLAGS-write.c): New define.
1593         * nptl/Makefile (CFLAGS-write.c): Likewise.
1594         * sysdeps/unix/sysv/linux/write.c: New file.
1596         [BZ #21428]
1597         * include/unistd.h (read): Add hidden proto.
1598         * io/Makefile (CFLAGS-read.c): New define.
1599         * nptl/Makefile (CFLAGS-read.c): Likewise.
1600         * sysdeps/unix/sysv/linux/read.c: New file.
1602         * io/Makefile (CFLAGS-creat.c): New rule.
1603         (CFLAGS-creat64.c): Likewise.
1604         * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
1605         * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
1606         * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
1607         * sysdeps/unix/sysv/linux/creat.c: New file.
1608         * sysdeps/unix/sysv/linux/creat64.c: Likewise.
1609         * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
1610         auto-generated list.
1611         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1613         * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
1614         * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
1615         * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
1616         * sysdeps/unix/sysv/linux/open.c: New file.
1617         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
1618         iff __WORDSIZE != 64 and use __NR_openat when available.
1619         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
1620         from auto-generated list.
1622         * nptl/Makefile (CFLAGS-close.c): New flag.
1623         * sysdeps/unix/sysv/linux/close.c: New file.
1625 2017-05-11  DJ Delorie  <dj@redhat.com>
1627         * MAINTAINERS: New.  Points to wiki.
1629 2017-05-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1631         * scripts/gen-tunables.awk: Add attribute_relro to
1632         tunable_list.
1634 2017-05-11  Joseph Myers  <joseph@codesourcery.com>
1636         [BZ #21457]
1637         * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
1638         (R1): Likewise.
1639         (R2): Likewise.
1640         (R3): Likewise.
1641         (R4): Likewise.
1642         (R5): Likewise.
1643         (R6): Likewise.
1644         (R7): Likewise.
1645         (R8): Likewise.
1646         (R9): Likewise.
1647         (R10): Likewise.
1648         (R11): Likewise.
1649         (R12): Likewise.
1650         (R13): Likewise.
1651         (R14): Likewise.
1652         (R15): Likewise.
1653         * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
1654         (REG_FS): Likewise.
1655         (REG_ES): Likewise.
1656         (REG_DS): Likewise.
1657         (REG_EDI): Likewise.
1658         (REG_ESI): Likewise.
1659         (REG_EBP): Likewise.
1660         (REG_ESP): Likewise.
1661         (REG_EBX): Likewise.
1662         (REG_EDX): Likewise.
1663         (REG_ECX): Likewise.
1664         (REG_EAX): Likewise.
1665         (REG_TRAPNO): Likewise.
1666         (REG_ERR): Likewise.
1667         (REG_EIP): Likewise.
1668         (REG_CS): Likewise.
1669         (REG_EFL): Likewise.
1670         (REG_UESP): Likewise.
1671         (REG_SS): Likewise.
1672         * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
1673         (R_D1): Likewise.
1674         (R_D2): Likewise.
1675         (R_D3): Likewise.
1676         (R_D4): Likewise.
1677         (R_D5): Likewise.
1678         (R_D6): Likewise.
1679         (R_D7): Likewise.
1680         (R_A0): Likewise.
1681         (R_A1): Likewise.
1682         (R_A2): Likewise.
1683         (R_A3): Likewise.
1684         (R_A4): Likewise.
1685         (R_A5): Likewise.
1686         (R_A6): Likewise.
1687         (R_A7): Likewise.
1688         (R_SP): Likewise.
1689         (R_PC): Likewise.
1690         (R_PS): Likewise.
1691         (fpregset_t): Likewise.
1692         (MCONTEXT_VERSION): Likewise.
1693         * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
1694         (CTX_AT): Likewise.
1695         (CTX_V0): Likewise.
1696         (CTX_V1): Likewise.
1697         (CTX_A0): Likewise.
1698         (CTX_A1): Likewise.
1699         (CTX_A2): Likewise.
1700         (CTX_A3): Likewise.
1701         (CTX_T0): Likewise.
1702         (CTX_T1): Likewise.
1703         (CTX_T2): Likewise.
1704         (CTX_T3): Likewise.
1705         (CTX_T4): Likewise.
1706         (CTX_T5): Likewise.
1707         (CTX_T6): Likewise.
1708         (CTX_T7): Likewise.
1709         (CTX_S0): Likewise.
1710         (CTX_S1): Likewise.
1711         (CTX_S2): Likewise.
1712         (CTX_S3): Likewise.
1713         (CTX_S4): Likewise.
1714         (CTX_S5): Likewise.
1715         (CTX_S6): Likewise.
1716         (CTX_S7): Likewise.
1717         (CTX_T8): Likewise.
1718         (CTX_T9): Likewise.
1719         (CTX_K0): Likewise.
1720         (CTX_K1): Likewise.
1721         (CTX_GP): Likewise.
1722         (CTX_SP): Likewise.
1723         (CTX_S8): Likewise.
1724         (CTX_RA): Likewise.
1725         (CTX_MDLO): Likewise.
1726         (CTX_MDHI): Likewise.
1727         (CTX_CAUSE): Likewise.
1728         (CTX_EPC): Likewise.
1729         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
1730         inclusion of <sys/procfs.h> on [__USE_MISC].
1731         (greg_t): Condition on [__USE_MISC].
1732         (gregset_t): Likewise.
1733         (fpregset_t): Likewise.
1734         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
1735         (NGREG): Likewise.
1736         (gregset_t): Likewise.
1737         (REG_R0): Likewise.
1738         (REG_R1): Likewise.
1739         (REG_R2): Likewise.
1740         (REG_R3): Likewise.
1741         (REG_R4): Likewise.
1742         (REG_R5): Likewise.
1743         (REG_R6): Likewise.
1744         (REG_R7): Likewise.
1745         (REG_R8): Likewise.
1746         (REG_R9): Likewise.
1747         (REG_R10): Likewise.
1748         (REG_R11): Likewise.
1749         (REG_R12): Likewise.
1750         (REG_R13): Likewise.
1751         (REG_R14): Likewise.
1752         (REG_R15): Likewise.
1753         (struct _libc_fpstate): Likewise.
1754         (fpregset_t): Likewise.
1755         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
1756         (NFPREG): Likewise.
1757         (gregset_t): Likewise.
1758         (fpregset_t): Likewise.
1759         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
1760         (R_D1): Likewise.
1761         (R_D2): Likewise.
1762         (R_D3): Likewise.
1763         (R_D4): Likewise.
1764         (R_D5): Likewise.
1765         (R_D6): Likewise.
1766         (R_D7): Likewise.
1767         (R_A0): Likewise.
1768         (R_A1): Likewise.
1769         (R_A2): Likewise.
1770         (R_A3): Likewise.
1771         (R_A4): Likewise.
1772         (R_A5): Likewise.
1773         (R_A6): Likewise.
1774         (R_A7): Likewise.
1775         (R_SP): Likewise.
1776         (R_PC): Likewise.
1777         (R_PS): Likewise.
1778         (fpregset_t): Likewise.
1779         (MCONTEXT_VERSION): Likewise.
1780         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
1781         Likewise.
1782         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
1783         (REG_R1): Likewise.
1784         (REG_R2): Likewise.
1785         (REG_R3): Likewise.
1786         (REG_R4): Likewise.
1787         (REG_R5): Likewise.
1788         (REG_R6): Likewise.
1789         (REG_R7): Likewise.
1790         (REG_R8): Likewise.
1791         (REG_R9): Likewise.
1792         (REG_R10): Likewise.
1793         (REG_R11): Likewise.
1794         (REG_R12): Likewise.
1795         (REG_R13): Likewise.
1796         (REG_R14): Likewise.
1797         (REG_R15): Likewise.
1798         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
1799         of <arch/abi.h> on [__USE_MISC].
1800         (greg_t): Condition on [__USE_MISC].
1801         (NGREG): Likewise.
1802         (gregset_t): Likewise.
1804 2017-05-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1806         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
1807         (__pthread_rwlock_arch_t): Remove __data definition.
1808         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
1809         (__pthread_rwlock_arch_t): Likewise.
1811 2017-05-11  Florian Weimer  <fweimer@redhat.com>
1813         * resolv/inet_pton.c: Reformat in GNU style.  Remove
1814         internal_function on static functions.
1816 2017-05-11  Florian Weimer  <fweimer@redhat.com>
1818         * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
1819         from format_ai_flags.
1820         (format_ai_flags): New function.  Incorporate flag formatting code
1821         from format_ai_one.
1822         (format_ai_canonname): New function.
1823         (format_ai_one): Remove flags parameter.
1824         (format_ai_family): Likewise.
1825         (support_format_addrinfo): Call format_ai_flags,
1826         format_ai_canonname.
1827         * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
1828         check_ai.
1829         (check_ai): Call check_ai_hints.
1830         (do_test): Add AI_CANONNAME tests.
1832 2017-05-11  Florian Weimer  <fweimer@redhat.com>
1834         * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
1835         (gaih_inet): Likewise.
1837 2017-05-10  Andreas Schwab  <schwab@suse.de>
1839         * nptl/tst-fork1.c: Include <support/test-driver.c>.
1840         (main): Rename to do_test and make static.
1842 2017-05-10  Joseph Myers  <joseph@codesourcery.com>
1844         * string/rawmemchr.c: Include <libc-diag.h>.
1845         (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
1846         with size (size_t)-1.
1848 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
1850         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
1851         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1852         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1854         * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
1855         [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
1856         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
1857         [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
1858         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
1859         [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
1860         * sysdeps/unix/sysv/linux/kernel-features.h
1861         (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
1862         socket syscalls.
1863         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1864         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1865         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1866         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
1867         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1868         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1869         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
1870         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1871         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1872         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1873         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1874         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1875         (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1876         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1877         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1879 2017-05-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1881         * posix/Makefile (headers): Add pthreadtypes-arch.h and
1882         thread-shared-types.h.
1883         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
1884         specific thread definition.
1885         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
1886         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
1887         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
1888         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
1889         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
1890         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
1891         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
1892         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
1893         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
1894         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
1895         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
1896         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
1897         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
1898         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
1899         * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
1900         thread definition between POSIX and C11.
1901         * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
1902         * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
1903         * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
1904         * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
1905         * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
1906         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
1907         * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
1908         * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
1909         * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
1910         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
1911         * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
1912         * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
1913         * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
1914         * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
1915         * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
1916         * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
1917         definitions shared across all architectures.
1919 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
1921         * sysdeps/unix/sysv/linux/kernel-features.h
1922         (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
1923         (__ASSUME_SENDMMSG): Likewise.
1924         (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
1925         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
1926         sendmmsg syscall if that can be assumed to be present, socketcall
1927         otherwise, with no fallback for runtime failure.
1929         * sysdeps/unix/sysv/linux/kernel-features.h
1930         (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
1931         (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
1932         (__ASSUME_RECVMMSG): Likewise.
1933         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
1934         recvmmsg syscall if it can be assumed to be present, socketcall
1935         otherwise, with no fallback for runtime failure.
1937 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1938             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1940         * bits/libc-header-start.h:
1941         (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
1942         * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
1943         * manual/creature.texi: Likewise.
1945 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1946             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1948         * math/Makefile:
1949         (type-float128-suffix): New variable
1950         (type-float128-routines): Likewise
1951         (type-float128-yes): Likewise
1952         (types): Append float128 if supported
1953         (types-basic): New variable to control the use of templates for
1954         float, double, and long double, but not for float128 or newer types.
1955         (type-basic-foreach): Likewise.
1957         * sysdeps/ieee754/float128/Makeconfig: New file.
1958         * sysdeps/ieee754/float128/Versions: New file.
1960 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
1962         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
1963         Remove macro.
1964         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
1965         prlimit64 is always available and does not give an ENOSYS error.
1966         * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
1967         unconditional.
1968         [!__NR_prlimit64]: Remove conditional code.
1969         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
1970         prlimit64 is always available and does not give an ENOSYS error.
1971         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
1973 2017-05-09  Zack Weinberg  <zackw@panix.com>
1975         * sunrpc/tst-xdrmem2.c: Include stdint.h.
1977 2017-05-09  Florian Weimer  <fweimer@redhat.com>
1979         [BZ #21474]
1980         * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
1981         (__res_maybe_init): Likewise.
1983 2017-05-09  Zack Weinberg  <zackw@panix.com>
1985         * extra-modules.mk: Delete file.
1986         * cppflags-iterator.mk: Rename to ...
1987         * libof-iterator.mk: ...this.  Adjust comments.
1989         * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
1990         * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
1991         * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
1992         Use libof-iterator.mk instead of cppflags-iterator.mk or
1993         extra-modules.mk.
1995         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
1996         extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
1998 2017-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2000         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2002 2017-05-08  Carlos O'Donell  <carlos@redhat.com>
2004         * stdio-common/vfprintf.c (EXTSIZ): Define.
2005         (vfprintf): Use EXTSIZ.
2006         (printf_positional): Likewise.
2008 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
2010         * sysdeps/unix/sysv/linux/kernel-features.h
2011         (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
2012         * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
2013         <kernel-features.h>.
2014         (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
2016         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
2017         (__ASSUME_GETCPU_SYSCALL): Remove macro.
2019 2017-05-08  Florian Weimer  <fweimer@redhat.com>
2021         Prevent multiple deletion of temporary files.
2022         * support/temp_file.c (struct temp_name_list): Add owner member.
2023         (add_temp_file): Record owner.
2024         (support_delete_temp_files): Delete file only if owner matches.
2025         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
2026         (do_prepare): Use create_temp_file instead of add_temp_file.
2027         Initialize temp_fd1, temp_fd2.
2028         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
2029         framework remove the temporary files.
2030         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
2031         (do_prepare): Use create_temp_file instead of add_temp_file.
2032         Initialize temp_fd1, temp_fd2, temp_fd3.
2033         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
2034         the test framework remove the temporary files.
2035         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
2036         deletion.
2037         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
2038         temporary directory.  It is removed by the test framework.
2039         * dirent/tst-scandir.c (do_test): Likewise.
2041 2017-05-08  Florian Weimer  <fweimer@redhat.com>
2043         Delete temporary files in LIFO order.
2044         * support/temp_file.c (struct temp_name_list): Replace q member
2045         with next.
2046         (add_temp_file): Add new file to front of linked list.
2047         (support_delete_temp_files): Use next member.
2048         (support_print_temp_files): Likewise.
2050 2017-05-08  Florian Weimer  <fweimer@redhat.com>
2052         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
2053         sys/ultrasound.h.
2054         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
2056 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
2058         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
2059         Remove.
2060         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
2061         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
2062         (arch_minimum_kernel): Remove.
2063         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
2064         * README: Update statement about Linux kernel requirements.
2066 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2068         * manual/llio.texi: Add preadv and pwritev documentation.
2070 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
2072         [BZ #21455]
2073         * bits/stdint-intn.h: New file.
2074         * bits/stdint-uintn.h: Likewise.
2075         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
2076         bits/stdint-uintn.h.
2077         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
2078         <stdint.h>.
2079         * posix/sys/types.h: Include <bits/stdint-intn.h>.
2080         (__int8_t_defined): Do not define here.
2081         (int8_t): Likewise.
2082         (int16_t): Likewise.
2083         (int32_t): Likewise.
2084         (int64_t): Likewise.
2085         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
2086         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
2087         <stdint.h>.
2088         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
2089         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
2090         <bits/stdint-uintn.h>.
2091         (int8_t): Do not define here.
2092         (int16_t): Likewise.
2093         (int32_t): Likewise.
2094         (int64_t): Likewise.
2095         (uint8_t): Likewise.
2096         (uint16_t): Likewise.
2097         (uint32_t): Likewise.
2098         (uint64_t): Likewise.
2099         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
2100         variable.
2101         (test-xfail-XPG42/netdb.h/conform): Likewise.
2102         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
2103         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2104         (test-xfail-UNIX98/netdb.h/conform): Likewise.
2105         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2107 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2109         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
2110         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
2111         the above.
2112         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2113         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2115 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
2117         [BZ #21445]
2118         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
2120         [BZ #21457]
2121         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
2122         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
2123         __glibc_reserved1.
2124         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
2125         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
2126         (struct _fpxreg): Likewise.
2127         [!__x86_64__] (struct _fpstate): Rename field reserved to
2128         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
2129         [__x86_64__] (struct _fpstate): Rename field padding to
2130         __glibc_reserved1.
2131         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
2132         Rename field reserved2 to __glibc_reserved2.
2133         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
2134         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
2135         __glibc_reserved1.
2136         [__x86_64__] (struct _libc_fpstate): Rename field padding to
2137         __glibc_reserved1.
2139 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2141         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
2142         variable name.
2144 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
2146         [BZ #21391]
2147         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
2148         Only call init_cpu_features.
2149         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
2150         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
2151         * sysdeps/i386/dl-procinfo.h: Removed.
2152         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
2153         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
2154         <sysdeps/x86/dl-procinfo.h>.
2155         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
2156         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
2157         Include <sysdeps/x86/dl-procinfo.h> instead of
2158          <sysdeps/generic/dl-procinfo.h>.
2159         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
2160         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
2161         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
2162         (bit_cpu_MOVBE): Likewise.
2163         (bit_cpu_BMI1): Likewise.
2164         (bit_cpu_BMI2): Likewise.
2165         (index_cpu_BMI1): Likewise.
2166         (index_cpu_BMI2): Likewise.
2167         (index_cpu_LZCNT): Likewise.
2168         (index_cpu_MOVBE): Likewise.
2169         (index_cpu_POPCNT): Likewise.
2170         (reg_BMI1): Likewise.
2171         (reg_BMI2): Likewise.
2172         (reg_LZCNT): Likewise.
2173         (reg_MOVBE): Likewise.
2174         (reg_POPCNT): Likewise.
2175         * sysdeps/x86/dl-hwcap.h: New file.
2176         * sysdeps/x86/dl-procinfo.h: Likewise.
2177         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
2178         (_dl_x86_platforms): Likewise.
2180 2017-05-03  DJ Delorie  <dj@redhat.com>
2182         [BZ #21411]
2183         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
2185 2017-05-03  Phil Blundell  <pb@pbcl.net>
2187         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
2188         comments.
2190 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
2192         [BZ #20116]
2193         * nptl/pthread_create.c: Expand comments to describe
2194         semaphore-like and mutex-like uses of PD->lock.
2196 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2198         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
2199         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
2200         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
2201         auto-generation list.
2202         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2203         epoll_wait.
2204         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
2205         Remove epoll_wait.
2207         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
2208         osf_select.
2209         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
2210         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
2211         osf_select from auto-generation list.
2212         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2213         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2214         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
2215         * sysdeps/unix/sysv/linux/select.c: New file.
2217         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
2218         * sysdeps/unix/sysv/linux/poll.c: New file.
2219         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
2220         auto-generation list.
2222 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
2224         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
2225         New macro.
2227 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
2229         [BZ #21179]
2230         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
2231         R_SPARC_REGISTER relocations.
2233 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2235         * include/unistd.h (__pread): Add libc_hidden_proto.
2236         (__pread64): Likewise.
2237         (__pwrite): Likewise.
2238         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
2239         (__pread64): Remove.
2240         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
2241         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
2242         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
2244 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2246         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2248 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2250         * nptl/tst-cancel4-common.c: Use libsupport.
2251         * nptl/tst-cancel4-common.h: Likewise.
2252         * nptl/tst-cancel4.c (tf_read): Likewise.
2253         (tf_readv): Likewise.
2254         (tf_write): Likewise.
2255         (tf_writev): Likewise.
2256         (tf_sleep): Likewise.
2257         (tf_usleep): Likewise.
2258         (tf_nanosleep): Likewise.
2259         (tf_select): Likewise.
2260         (tf_pselect): Likewise.
2261         (tf_poll): Likewise.
2262         (tf_ppoll): Likewise.
2263         (tf_wait): Likewise.
2264         (tf_waitpid): Likewise.
2265         (tf_waitid): Likewise.
2266         (tf_sigpause): Likewise.
2267         (tf_sigsuspend): Likewise.
2268         (tf_sigwait): Likewise.
2269         (tf_sigwaitinfo): Likewise.
2270         (tf_sigtimedwait): Likewise.
2271         (tf_pause): Likewise.
2272         (tf_accept): Likewise.
2273         (tf_send): Likewise.
2274         (tf_recv): Likewise.
2275         (tf_recvfrom): Likewise.
2276         (tf_recvmsg): Likewise.
2277         (tf_open): Likewise.
2278         (tf_close): Likewise.
2279         (tf_pread): Likewise.
2280         (tf_pwrite): Likewise.
2281         (tf_preadv): Likewise.
2282         (tf_pwritev): Likewise.
2283         (tf_fsync): Likewise.
2284         (tf_fdatasync): Likewise.
2285         (tf_msync): Likewise.
2286         (tf_sendto): Likewise.
2287         (tf_sendmsg): Likewise.
2288         (tf_creat): Likewise.
2289         (tf_connect): Likewise.
2290         (tf_tcdrain): Likewise.
2291         (tf_msgrcv): Likewise.
2292         (tf_msgsnd): Likewise.
2293         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
2294         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
2296         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
2297         expected arguments.
2298         (do_test): Adapt to use libsupport.
2300 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
2302         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
2304         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
2305         (PF_MAX): Set to 44.
2306         (AF_SMC): New macro.
2308         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2309         kernel version to 4.11.
2311 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2313         [BZ #21280]
2314         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
2315         signal of subnormals and adjust the exponent of power of 2 down
2316         when low part has opposite sign.
2318 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2320         * sysdeps/powerpc/powerpc64le/Implies: New file.
2321         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
2322         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
2323         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
2324         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
2325         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
2326         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
2327         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
2328         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
2329         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
2330         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
2331         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
2332         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
2333         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
2334         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
2335         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
2336         * sysdeps/powerpc/preconfigure: New file.
2337         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
2338         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
2340 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
2342         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
2343         inclusion.
2344         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
2345         Remove.
2347 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
2349         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
2350         (XPG3): Rename standard to XPG4.
2351         * conform/Makefile: Likewise.
2352         * conform/list-header-symbols.pl: Likewise.
2353         * conform/data/aio.h-data: Likewise.
2354         * conform/data/arpa/inet.h-data: Likewise.
2355         * conform/data/complex.h-data: Likewise.
2356         * conform/data/ctype.h-data: Likewise.
2357         * conform/data/dlfcn.h-data: Likewise.
2358         * conform/data/fcntl.h-data: Likewise.
2359         * conform/data/fenv.h-data: Likewise.
2360         * conform/data/float.h-data: Likewise.
2361         * conform/data/fmtmsg.h-data: Likewise.
2362         * conform/data/ftw.h-data: Likewise.
2363         * conform/data/grp.h-data: Likewise.
2364         * conform/data/inttypes.h-data: Likewise.
2365         * conform/data/iso646.h-data: Likewise.
2366         * conform/data/langinfo.h-data: Likewise.
2367         * conform/data/libgen.h-data: Likewise.
2368         * conform/data/limits.h-data: Likewise.
2369         * conform/data/locale.h-data: Likewise.
2370         * conform/data/math.h-data: Likewise.
2371         * conform/data/mqueue.h-data: Likewise.
2372         * conform/data/ndbm.h-data: Likewise.
2373         * conform/data/net/if.h-data: Likewise.
2374         * conform/data/netdb.h-data: Likewise.
2375         * conform/data/netinet/in.h-data: Likewise.
2376         * conform/data/poll.h-data: Likewise.
2377         * conform/data/pthread.h-data: Likewise.
2378         * conform/data/pwd.h-data: Likewise.
2379         * conform/data/sched.h-data: Likewise.
2380         * conform/data/search.h-data: Likewise.
2381         * conform/data/semaphore.h-data: Likewise.
2382         * conform/data/signal.h-data: Likewise.
2383         * conform/data/spawn.h-data: Likewise.
2384         * conform/data/stdbool.h-data: Likewise.
2385         * conform/data/stdint.h-data: Likewise.
2386         * conform/data/stdio.h-data: Likewise.
2387         * conform/data/stdlib.h-data: Likewise.
2388         * conform/data/string.h-data: Likewise.
2389         * conform/data/strings.h-data: Likewise.
2390         * conform/data/stropts.h-data: Likewise.
2391         * conform/data/sys/mman.h-data: Likewise.
2392         * conform/data/sys/resource.h-data: Likewise.
2393         * conform/data/sys/select.h-data: Likewise.
2394         * conform/data/sys/socket.h-data: Likewise.
2395         * conform/data/sys/stat.h-data: Likewise.
2396         * conform/data/sys/statvfs.h-data: Likewise.
2397         * conform/data/sys/time.h-data: Likewise.
2398         * conform/data/sys/timeb.h-data: Likewise.
2399         * conform/data/sys/types.h-data: Likewise.
2400         * conform/data/sys/uio.h-data: Likewise.
2401         * conform/data/sys/un.h-data: Likewise.
2402         * conform/data/sys/wait.h-data: Likewise.
2403         * conform/data/syslog.h-data: Likewise.
2404         * conform/data/termios.h-data: Likewise.
2405         * conform/data/tgmath.h-data: Likewise.
2406         * conform/data/time.h-data: Likewise.
2407         * conform/data/ucontext.h-data: Likewise.
2408         * conform/data/unistd.h-data: Likewise.
2409         * conform/data/utmpx.h-data: Likewise.
2410         * conform/data/varargs.h-data: Likewise.
2411         * conform/data/wchar.h-data: Likewise.
2412         * conform/data/wctype.h-data: Likewise.
2414 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
2416         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
2417         version to 7 branch.
2419 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
2421         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
2422         earlyclobber to output operand of sqrt insn.
2423         (__ieee754_sqrtf): Ditto.
2425 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
2427         [BZ #21426]
2428         * misc/bits/types/struct_iovec.h: New file.
2429         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
2430         * include/bits/types/struct_iovec.h: New file.
2431         * bits/uio.h (struct iovec): Replace by inclusion of
2432         <bits/types/struct_iovec.h>.
2433         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
2434         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
2435         of <sys/uio.h>.
2436         * nptl/tst-cancel4.c: Include <sys/uio.h>
2437         * posix/test-errno.c: Likewise.
2438         * support/resolv_test.c: Likewise.
2439         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
2440         Remove.
2441         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2442         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2443         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2445         * conform/data/sys/socket.h-data (*_t): Allow.
2447 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2449         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
2450         assignment.
2452 2017-04-24  Daurnimator  <quae@daurnimator.com>
2453             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2455         [BZ #21340]
2456         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
2457         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
2458         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
2459         valid flags.
2460         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
2461         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
2462         POSIX_SPAWN_SETSID.
2463         * sysdeps/posix/spawni.c (__spawni): Likewise.
2464         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
2465         * NEWS: Add note about POSIX_SPAWN_SETSID support.
2467 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2469         * sysdeps/generic/math_private.h: Move the declaration of many
2470         functions to sysdeps/generic/math_private_calls.h.
2471         * sysdeps/generic/math_private_calls.h: New file with the
2472         declarations of the functions removed from math_private.h
2473         macroized by floating-point type.
2475 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
2477         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
2478         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
2479         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
2480         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
2481         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
2482         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
2484 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
2486         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
2487         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
2488         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
2489         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
2490         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
2491         New Define.
2493 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
2495         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
2496         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
2497         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
2498         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
2499         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
2500         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
2502 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
2504         * sysdeps/s390/multiarch/ifunc-resolve.h
2505         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
2506         * sysdeps/s390/multiarch/8bit-generic.c
2507         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
2508         define ifunc resolvers.
2510 2017-04-21  Florian Weimer  <fweimer@redhat.com>
2512         [BZ #20424]
2513         * manual/memory.texi (Replacing malloc): New section.
2514         (Allocating Storage For Program Data): Reference it.
2515         (The GNU Allocator): Likewise.
2517 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
2519         * stdlib/Versions (__strtod_internal): List explicitly, not as
2520         wildcard.
2521         (__strtof_internal): Likewise.
2522         (__strtold_internal): Likewise.
2523         (__strtol_internal): Likewise.
2524         (__strtoll_internal): Likewise.
2525         (__strtoul_internal): Likewise.
2526         (__strtoull_internal): Likewise.
2527         (__strtoq_internal): Likewise.
2528         (__strtouq_internal): Likewise.
2529         * wcsmbs/Versions (__wcstod_internal): Likewise.
2530         (__wcstof_internal): Likewise.
2531         (__wcstold_internal): Likewise.
2532         (__wcstol_internal): Likewise.
2533         (__wcstoll_internal): Likewise.
2534         (__wcstoul_internal): Likewise.
2535         (__wcstoull_internal): Likewise.
2537 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2539         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
2540         struct timespec definition.
2542 2017-04-19  Florian Weimer  <fweimer@redhat.com>
2544         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
2546 2017-04-19  Florian Weimer  <fweimer@redhat.com>
2548         * inet/rcmd.c (rresvport_af): Fix typo in comment.
2549         * inet/rexec.c (rexec_af): Likewise.
2551 2017-04-19  Zack Weinberg  <zackw@panix.com>
2553         * posix/tst-mmap-offset.c: Include stdint.h.
2554         * resolv/tst-ns_name_compress.c: Include string.h.
2555         * resolv/tst-resolv-edns.c: Include resolv.h.
2557 2017-04-19  Florian Weimer  <fweimer@redhat.com>
2559         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
2560         with __glibc_likely.
2561         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
2562         Replace __builtin_expect with __glibc_unlikely.
2563         * resolv/res_init.c (__res_vinit): Likewise.
2564         * resolv/res_query.c (__libc_res_nquery): Likewise.
2565         * resolv/res_send.c (__libc_res_nsend): Likewise.
2567 2017-04-19  Florian Weimer  <fweimer@redhat.com>
2569         [BZ #15722]
2570         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
2571         with SOCK_CLOEXEC.
2572         * resolv/res_send.c (send_vc, reopen): Likewise.
2573         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
2574         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
2575         Likewise.
2576         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
2577         * inet/rexec.c (rexec_af): Add comment.
2578         * inet/rcmd.c (rresvport_af): Likewise.
2580 2017-04-19  Florian Weimer  <fweimer@redhat.com>
2582         * nscd/connections.c (have_accept4): Removed definition.
2583         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
2584         accept4 works.
2585         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
2586         ia64 because that was the first version with accept4 support.
2587         * support/Makefile (libsupport-routines): Add xaccept4.
2588         * support/xsocket.h (xaccept4): Declare.
2589         * support/xaccept4.c: New file.
2590         * socket/tst-accept4.c: New file.
2591         * socket/Makefile (tests): Add tst-accept4.
2592         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
2593         definition.
2594         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
2595         comment.
2596         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
2597         implementation is available.
2598         (accept4): Use the system call if available, otherwise use the
2599         socket call.
2600         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
2601         Set to 3.2.18.
2602         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2603         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
2604         accept4 is unconditionally available in later 3.2 stable kernels.
2605         (__ASSUME_ACCEPT4_SYSCALL): Define.
2606         * sysdeps/unix/sysv/linux/kernel-features.h
2607         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
2608         definitions.
2609         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2610         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
2612 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
2614         * conform/Makefile (tests-special): Do not make addition of
2615         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
2616         (generated): Do not make addition of $(conformtest-header-base)
2617         conditional on [$(cross-compiling) = no].
2619         [BZ #21267]
2620         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
2621         if defined by <asm/socket.h> and not previously defined.
2622         (IOCSIZE_SHIFT): Likewise.
2623         (IOC_IN): Likewise.
2624         (IOC_INOUT): Likewise.
2625         (IOC_OUT): Likewise.
2627 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
2629         [BZ #21396]
2630         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
2631         Prefer_No_AVX512 if AVX512ER isn't available.
2632         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
2633         (index_arch_Prefer_No_AVX512): Likewise.
2634         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
2635         AVX512 version if Prefer_No_AVX512 is set.
2636         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
2637         Likewise.
2638         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
2639         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
2640         Likewise.
2641         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
2642         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
2643         Likewise.
2644         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
2645         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
2646         Likewise.
2648 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
2650         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
2651         Prefer_No_VZEROUPPER if AVX512ER is available.
2652         * sysdeps/x86/cpu-features.h
2653         (bit_cpu_AVX512PF): New.
2654         (bit_cpu_AVX512ER): Likewise.
2655         (bit_cpu_AVX512CD): Likewise.
2656         (bit_cpu_AVX512BW): Likewise.
2657         (bit_cpu_AVX512VL): Likewise.
2658         (index_cpu_AVX512PF): Likewise.
2659         (index_cpu_AVX512ER): Likewise.
2660         (index_cpu_AVX512CD): Likewise.
2661         (index_cpu_AVX512BW): Likewise.
2662         (index_cpu_AVX512VL): Likewise.
2663         (reg_AVX512PF): Likewise.
2664         (reg_AVX512ER): Likewise.
2665         (reg_AVX512CD): Likewise.
2666         (reg_AVX512BW): Likewise.
2667         (reg_AVX512VL): Likewise.
2669 2017-04-18  Florian Weimer  <fweimer@redhat.com>
2671         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
2672         O_CLOEXEC is defined.
2673         * include/fcntl.h (__have_o_cloexec): Remove declaration.
2674         * io/Makefile (aux): Remove.
2675         * io/have_o_cloexec.c: Remove file.
2676         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
2677         defined and works.
2678         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
2679         defined.
2680         * login/utmp_file.c (O_flags): Remove definition.
2681         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
2682         O_CLOEXEC works.
2683         (pututline_file): Likewise.
2684         * malloc/mtrace.c: Assume that O_CLOEXEC works.
2685         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
2686         definition.
2687         (internal_setgrent): Assume that O_CLOEXEC works.
2688         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
2689         Remove definition.
2690         (internal_setgrent): Assume that O_CLOEXEC works.
2691         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
2692         definition.
2693         (internal_setpwent): Assume that O_CLOEXEC works.
2694         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
2695         definition.
2696         (internal_setspent): Assume that O_CLOEXEC works.
2697         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
2698         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
2699         O_CLOEXEC is defined and works.
2700         * nss/Makefile (libnss_files-routines): Remove
2701         files-have_o_cloexec.
2702         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
2703         defined.
2704         * nss/nss_files/files-XXX.c (internal_setent): Assume that
2705         O_CLOEXEC is defined and works.
2706         * nss/nss_files/files-alias.c (internal_setent): Likewise.
2707         * nss/nss_files/files-have_o_cloexec.c: Remove.
2708         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
2709         defined.
2710         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
2711         and works.
2712         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
2713         definition.
2714         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
2715         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
2716         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
2717         (__opendirat, __opendir): Adjust opendir_oflags call.
2718         (check_have_o_cloexec): Remove.
2719         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
2720         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
2721         defined.
2722         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
2723         Remove definition.
2725 2017-04-18  Florian Weimer  <fweimer@redhat.com>
2727         * include/unistd.h (__have_dup3): Remove declaration.
2728         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
2729         dup3 is available.
2730         * libio/freopen64.c (freopen64): Likewise.
2731         * socket/Makefile (aux): Remove have_sock_cloexec.
2732         * socket/have_sock_cloexec.c: Remove file.
2733         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
2734         definition.
2735         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
2736         Likewise.
2737         * sysdeps/nacl/kernel-features.h: Update comment.
2739 2017-04-18  Florian Weimer  <fweimer@redhat.com>
2741         * include/unistd.h (__have_pipe2): Remove declaration.
2742         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
2743         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
2744         available.
2745         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
2746         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
2747         Remove definition.
2749 2017-04-18  Florian Weimer  <fweimer@redhat.com>
2751         * malloc/malloc.c (cfree): Turn into compat symbol.
2752         (__cfree): Remove alias.
2753         * stdlib/stdlib.h (cfree): Remove declaration.
2754         * malloc/malloc.h (cfree): Likewise.
2755         * manual/memory.texi (Freeing after Malloc): Remove cfree.
2756         * malloc/Versions (GLIBC_2.26): Add.
2758 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2760         * sysdeps/powerpc/powerpc64/multiarch/Makefile
2761         (sysdep_routines): Add strrchr-power8.
2762         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2763         (strrchr): Add __strrchr_power8 to list of strrchr functions.
2764         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
2765         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
2766         (strrchr): Add __strrchr_power8 to ifunc list.
2767         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
2769 2017-04-17  Rabin Vincent  <rabinv@axis.com>
2771         [BZ #21357]
2772         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
2773         Call free() outside of mutex.
2775 2017-04-13  Florian Weimer  <fweimer@redhat.com>
2777         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
2778         is defined.
2779         * elf/rtld.c (process_envvars): Likewise.
2780         * sysdeps/posix/shm_open.c (shm_open): Likewise.
2781         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
2782         O_NOFOLLOW directly.
2783         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
2785 2017-04-13  Florian Weimer  <fweimer@redhat.com>
2787         [BZ #21369]
2788         Remove EDNS fallback.
2789         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
2790         handling.
2791         * resolv/res_send.c (send_dg): Likewise.
2792         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
2793         "tcp." prefixes.
2794         (do_test): Send a "formerr."-prefixed query in an attempt to
2795         trigger EDNS fallback.
2797 2017-04-13  Florian Weimer  <fweimer@redhat.com>
2799         [BZ #21361]
2800         Limit EDNS buffer size to 1200 bytes.
2801         * include/resolv.h (__res_nopt): Remove declaration.
2802         * resolv/Makefile (tests): tst-resolv-edns.
2803         (tst-resolv-edns): Link with -lresolv, -lpthread.
2804         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
2805         interval [512, 1200].
2806         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
2807         we can resize the buffer.
2808         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
2809         (__res_nopt): Declare.
2810         * resolv/tst-resolv-edns.c: New file.
2811         * resolv/resolv_test.h (struct resolv_edns_info): Define.
2812         (struct resolv_response_context): Add edns member.
2813         * resolv/resolv_test.c (struct query_info): Add edns member.
2814         (parse_query): Extract EDNS information from the query.
2815         (server_thread_udp_process_one): Propagate EDNS data.
2816         (server_thread_tcp_client): Likewise.
2818 2017-04-13  Florian Weimer  <fweimer@redhat.com>
2820         [BZ #21359]
2821         * resolv/ns_name.c (ns_name_pack): Do not require an additional
2822         byte in the destination buffer.  Avoid out-of-bounds pointer
2823         arithmetic.
2824         * resolv/Makefile (tests): Add tst-ns_name_compress.
2825         (tst-ns_name_compress): Link with -lresolv.
2826         * resolv/tst-ns_name_compress.c: New file.
2827         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
2828         (response): Recognize LONG_NAME.
2829         (do_test): Add LONG_NAME tests.
2830         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
2831         for ns_name_unpack.  Add tests for ns_name_pton and
2832         ns_name_compress.
2834 2017-04-13  Florian Weimer  <fweimer@redhat.com>
2836         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
2837         (res_nisourserver): Remove definition.
2838         (p_section, res_npquery, res_nisourserver): Remove declaration.
2839         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
2840         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
2841         ... here.
2842         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
2843         <resolv.h>.
2844         * resolv/res_query.c: Likewise.
2845         * resolv/res_debug.c (p_section): Define as static.
2847 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2849         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
2850         strncat-power8.
2851         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
2852         __strncat_power8 to ifunc list.
2853         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2854         (strncat): Add __strncat_power8 to list of strncat functions.
2855         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
2857 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2859         [BZ #21270]
2860         * posix/tst-mmap-offset.c (do_prepare): New function.
2861         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
2862         (do_test_bz21270): New function.
2863         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
2864         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
2865         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
2866         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
2867         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
2868         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
2869         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
2870         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
2871         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
2872         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
2873         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
2874         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2875         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2876         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2877         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
2878         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
2879         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
2880         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
2881         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
2882         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
2883         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
2884         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
2885         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
2886         from auto-generation list.
2887         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
2888         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
2889         * sysdeps/unix/sysv/linux/mmap.c: New file.
2890         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
2891         offsets and support for mmap2 syscall.
2893         * posix/globtest.sh: Add cleanup routine on trap 0.
2895 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2897         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
2898         implementation-specific function name and remove unneeded
2899         macros definition.
2900         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
2901         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
2902         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
2903         name if not defined and pass as parameter to macros accordingly.
2904         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2905         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
2907         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
2908         implementation-specific function name and remove unneeded
2909         macros definition.
2910         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
2911         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
2912         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
2913         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
2914         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
2915         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
2916         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
2917         name if not defined and pass as parameter to macros accordingly.
2918         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2919         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2920         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2921         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2922         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2923         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
2925         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
2926         implementation-specific function name and remove unneeded macros
2927         definition.
2928         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
2929         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
2930         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
2931         function name if not defined and pass as parameter to macros
2932         accordingly.
2933         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2934         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
2936         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
2937         implementation-specific function name and remove unneeded macros
2938         definition.
2939         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
2940         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
2941         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
2942         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
2943         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
2944         not defined and pass as parameter to macros accordingly.
2945         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2946         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2947         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2948         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
2950         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
2951         strcasestr implementation name and remove unneeded macros definition.
2952         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
2953         strstr implementation name and remove unneeded macros definition.
2954         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
2955         name if not defined and pass as parameter to macros accordingly.
2956         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
2958         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
2959         implementation-specific function name and remove unneeded macros
2960         definition.
2961         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
2962         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
2963         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
2964         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
2965         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
2966         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
2967         function name if not defined and pass as parameter to macros
2968         accordingly.
2969         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
2970         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
2971         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
2972         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
2974         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
2975         the strlen implementation name and remove unneeded macros definition.
2976         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
2977         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
2978         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
2979         the strnlen implementation name and remove unneeded macros definition.
2980         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
2981         name if not defined and pass as parameter to macros accordingly.
2982         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
2983         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
2984         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2986         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
2987         the implementation-specific function name and remove unneeded
2988         macros definition.
2989         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
2990         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
2991         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
2992         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
2993         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
2994         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
2995         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
2996         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
2997         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
2998         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
2999         name if not defined and pass as parameter to macros accordingly.
3000         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
3001         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3002         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
3003         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
3004         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
3005         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
3006         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
3007         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3009         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
3010         implementation-specific function name and remove unneeded macros
3011         definition.
3012         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
3013         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
3014         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
3015         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
3016         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
3017         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
3018         function name if not defined.
3019         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
3020         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
3022 2017-04-11  Paul Clarke  <pc@us.ibm.com>
3024         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
3025         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
3026         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
3027         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
3029 2017-04-11  Florian Weimer  <fweimer@redhat.com>
3030             Zack Weinberg  <zackw@panix.com>
3032         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
3033         readdir64 as thread-safe.  Update warning about readdir_r.
3035 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3037         * sysdeps/unix/sysv/linux/x86/Implies: New file.
3038         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
3039         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
3040         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
3041         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
3042         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
3043         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3045 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
3047         * sysdeps/i386/dl-procinfo.c: Include
3048         <sysdeps/x86/dl-procinfo.c>.
3049         * sysdeps/x86_64/dl-procinfo.c: Likewise.
3050         * sysdeps/x86/dl-procinfo.c: New file.
3052 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3054         * sysdeps/generic/math_private.h: Remove declarations of
3055         many functions that are already declared in math.h.
3056         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
3057         declaration for __frexpl.
3058         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
3059         the declarations for __scalbnl and fabsl.
3061 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
3063         [BZ #20831]
3064         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
3065         of __mprotect to change protection on the excess portion
3066         to disallow all access.
3068 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
3070         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
3071         HAS_CPU_FEATURE to check for SSE.
3072         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3073         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
3074         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
3075         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
3076         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
3077         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
3078         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
3079         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
3080         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
3081         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
3082         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3083         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
3084         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
3085         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
3086         (index_cpu_SSE): Likewise.
3087         (reg_SSE): Likewise.
3089 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
3091         * posix/getopt1.c: Include <config.h>, not "config.h".
3093 2017-04-07  Zack Weinberg  <zackw@panix.com>
3095         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
3096         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
3097         Mention in top-of-file boilerplate that these files are shared
3098         with gnulib.
3099         * posix/getopt.h, posix/bits/getopt_posix.h:
3100         Mention in top-of-file boilerplate that these files are NOT shared
3101         with gnulib, unlike the rest of the getopt implementation.
3103         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
3104         New files, intended to be shared with gnulib.
3105         * posix/bits/getopt_posix.h:
3106         New file, not intended to be shared with gnulib.
3107         * posix/getopt.h: Now just includes features.h,
3108         bits/getopt_core.h, and bits/getopt_ext.h.  Will
3109         no longer be shared with gnulib.
3110         * include/bits/getopt_core.h, include/bits/getopt_ext.h
3111         * include/bits/getopt_posix.h: New wrappers.
3112         * posix/Makefile: Install new headers.
3113         * posix/unistd.h, libio/stdio.h:
3114         Include bits/getopt_posix.h instead of getopt.h.
3116         * include/libc-symbols.h: For gnulib compatibility, define
3117         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
3118         _GL_ATTRIBUTE_CONST.
3119         * posix/getopt.c (_getopt_initialize): Mark argc and argv
3120         parameters with _GL_UNUSED.
3122         * posix/getopt.c: When used standalone, define __libc_use_alloca
3123         as always false and alloca to abort if called.
3124         (process_long_option): Rewrite handling of ambiguous long options
3125         to use a single boolean vector, not a linked list; use
3126         __libc_use_alloca to decide whether to allocate this using alloca.
3127         * posix/tst-getopt_long1.c: Adjust text of expected error message.
3129         * posix/getopt.c (process_long_option): New function split out
3130         from _getopt_internal_r.
3131         (_getopt_internal_r): Replace both copies of the long-option
3132         processing code with calls to process_long_option.
3133         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
3134         (do_test): Differentiate argv[0] in the two subtests.
3136         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
3137         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
3138         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
3140         * posix/getopt.h: Add backup definition of __nonnull for
3141         consistency with gnulib.  Define __getopt_argv_const to const
3142         if not already defined.
3143         (getopt): Update doc comment from gnulib.  Prototype
3144         unconditionally.  Add __nonnull annotation.
3145         (__posix_getopt): Add __nonnull annotation.
3146         (getopt_long, getopt_long_only): Use __getopt_argv_const in
3147         prototypes for consistency with gnulib.  Add __nonnull
3148         annotations.
3149         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
3150         (getopt_internal): Change 'argv' argument to type 'char **'.
3151         Remove now-unnecessary casts.
3152         (getopt, __posix_getopt): Eliminate repetition with a macro.
3153         Cast 'argv' to 'char **' when calling _getopt_internal.
3154         * posix/getopt1.c (getopt_long, getopt_long_only):
3155         Use __getopt_argv_const for consistency with gnulib.
3156         Cast 'argv' to 'char **' when calling _getopt_internal.
3157         (_getopt_long_r, _getopt_long_only_r):
3158         Change 'argv' argument to type 'char **'.
3159         (main): Constify 'long_options'.
3160         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
3161         (_getopt_long_r, _getopt_long_only_r):
3162         Change 'argv' argument to type 'char **'.
3164         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
3165         (locked_vfxprintf): New helper function. Handle arbitrary
3166         multibyte strings, not just ASCII.
3167         * include/stdio.h: Declare __fxprintf_nocancel.
3168         * posix/getopt.c: When _LIBC is defined, define fprintf to
3169         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
3170         to _IO_funlockfile.  When neither _LIBC nor
3171         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
3172         funlockfile as no-ops.
3173         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
3174         the standalone error-printing code can now be used for libc as
3175         well.  Add an flockfile/funlockfile pair around one case where
3176         the error message is printed in several chunks.  Don't use fputc.
3177         * posix/tst-getopt-cancel.c: New test.
3178         * posix/Makefile: Run it.
3180         * posix/getopt.c (_getopt_internal_r): Don't increment
3181         d->optind a second time when reporting ambiguous -W options.
3183         * posix/getopt_int.h: Include getopt.h.
3184         Use impl-namespace names for all arguments to _getopt_internal and
3185         _getopt_internal_r.
3186         Declare __ordering enum outside the struct.
3187         Harmonize comments with gnulib.
3188         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
3189         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
3190         #ifdef TEST block and make unconditional.  Do not define NULL.
3191         * posix/getopt.c: Partial merge from gnulib, covering the
3192         initial includes and global declarations, commentary, and
3193         a couple of semantically-neutral code changes.
3195         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
3196         Use '...' instead of `...' for quotation marks inside
3197         comments and strings.
3199         * config.h.in (USE_NONOPTION_FLAGS): Remove.
3200         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
3201         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
3202         * posix/getopt_int.h: Likewise.
3203         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
3204         __libc_argc and __libc_argv externs, which were only used by
3205         #ifdef USE_NONOPTION_FLAGS blocks.
3206         * posix/getopt_init.c: Remove file.
3207         * posix/Makefile (routines): Remove getopt_init.
3208         * include/getopt.h: Don't declare __getopt_initialize_environment.
3209         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
3210         a comment.
3212 2017-04-07  Florian Weimer  <fweimer@redhat.com>
3214         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
3216 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3218         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
3219         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
3220         to __wrap_.udiv.
3221         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
3222         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
3224         * sysdeps/i386/symbol-hacks.h: New file.
3225         * sysdeps/m68k/symbol-hacks.h: New file.
3226         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
3227         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
3228         * sysdeps/unix/sysv/linux/i386/Makefile
3229         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
3230         [$(subdir) = csu] (sysdep-only-routines): Likewise.
3231         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3232         * sysdeps/unix/sysv/linux/m68k/Makefile
3233         [$(subdir) = csu] (sysdep_routines): Likewise.
3234         [$(subdir) = csu] (sysdep-only-routines): Likewise.
3235         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3237         [$(subdir) = csu] (sysdep_routines): Likewise.
3238         [$(subdir) = csu] (sysdep-only-routines): Likewise.
3239         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3240         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
3241         [$(subdir) = csu] (sysdep_routines): Likewise.
3242         [$(subdir) = csu] (sysdep-only-routines): Likewise.
3243         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3244         * sysdeps/wordsize-32/Makefile: Remove file.
3245         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
3246         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
3248 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
3250         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
3251         (TEST_FUNCTION_ARGV): New.
3253 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3255         * elf/next.c: Import support/test-driver.c instead of
3256         test-skeleton.c and delete TEST_FUNCTION macro definition.
3257         * elf/nodelete.c: Likewise.
3258         * elf/order2.c: Likewise.
3259         * elf/tst-_dl_addr_inside_object.c: Likewise.
3260         * elf/tst-addr1.c: Likewise.
3261         * elf/tst-align.c: Likewise.
3262         * elf/tst-align2.c: Likewise.
3263         * elf/tst-audit11.c: Likewise.
3264         * elf/tst-audit12.c: Likewise.
3265         * elf/tst-audit2.c: Likewise.
3266         * elf/tst-audit9.c: Likewise.
3267         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
3268         * elf/tst-deep1.c: Likewise.
3269         * elf/tst-dl-iter-static.c: Likewise.
3270         * elf/tst-dlmodcount.c: Likewise.
3271         * elf/tst-dlmopen1.c: Likewise.
3272         * elf/tst-dlmopen2.c: Likewise.
3273         * elf/tst-dlmopen3.c: Likewise.
3274         * elf/tst-dlopen-aout.c: Likewise.
3275         * elf/tst-dlopenrpath.c: Likewise.
3276         * elf/tst-dlsym-error.c: Likewise.
3277         * elf/tst-execstack-needed.c: Likewise.
3278         * elf/tst-execstack-prog.c: Likewise.
3279         * elf/tst-execstack.c: Likewise.
3280         * elf/tst-global1.c: Likewise.
3281         * elf/tst-gnu2-tls1.c: Likewise.
3282         * elf/tst-latepthread.c: Likewise.
3283         * elf/tst-leaks1.c: Likewise.
3284         * elf/tst-linkall-static.c: Likewise.
3285         (do_test): New function.
3286         * elf/tst-nodelete-opened.c: Likewise.
3287         * elf/tst-nodelete.cc: Likewise.
3288         * elf/tst-nodelete2.c: Likewise.
3289         * elf/tst-noload.c: Likewise.
3290         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
3291         * elf/tst-order-main.c: Likewise.
3292         * elf/tst-pathopt.c: Likewise.
3293         * elf/tst-pie2.c: Likewise.
3294         * elf/tst-piemod1.c: Likewise.
3295         * elf/tst-prelink.c: Likewise.
3296         * elf/tst-protected1a.c: Likewise.
3297         * elf/tst-protected1b.c: Likewise.
3298         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
3299         and define _GNU_SOURCE macro.
3300         (cmdline_process_function): New function.
3301         * elf/tst-relsort1.c: Likewise.
3302         * elf/tst-stackguard1.c: Likewise, import getopt.h,
3303         and define _GNU_SOURCE macro.
3304         (cmdline_process_function): New function.
3305         * elf/tst-thrlock.c: Likewise.
3306         * elf/tst-tls-dlinfo.c: Likewise.
3307         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
3308         * elf/tst-tls1.c: Likewise.
3309         * elf/tst-tls10.c: Likewise.
3310         * elf/tst-tls11.c: Likewise.
3311         * elf/tst-tls12.c: Likewise.
3312         * elf/tst-tls13.c: Likewise.
3313         * elf/tst-tls14.c: Likewise.
3314         * elf/tst-tls15.c: Likewise.
3315         * elf/tst-tls16.c: Likewise.
3316         * elf/tst-tls17.c: Likewise.
3317         * elf/tst-tls18.c: Likewise.
3318         * elf/tst-tls19.c: Likewise.
3319         * elf/tst-tls2.c: Likewise.
3320         * elf/tst-tls3.c: Likewise.
3321         * elf/tst-tls4.c: Likewise.
3322         * elf/tst-tls5.c: Likewise.
3323         * elf/tst-tls6.c: Likewise.
3324         * elf/tst-tls7.c: Likewise.
3325         * elf/tst-tls8.c: Likewise.
3326         * elf/tst-tls9.c: Likewise.
3327         * elf/tst-tlsalign-extern.c: Likewise.
3328         * elf/tst-tlsalign.c: Likewise.
3329         * elf/tst-unique1.c: Likewise.
3330         * elf/tst-unique2.c: Likewise.
3331         * elf/vismain.c: Likewise.
3333 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3335         * string/test-strnlen.c (do_page_tests): New function
3336         to check length of strings ending at the page boundary.
3337         (test_main): Added call to the do_page_tests function.
3339 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3340             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3342         * sysdeps/powerpc/powerpc64/multiarch/Makefile
3343         (sysdep_routines): Add strnlen-power8.
3344         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3345         (strnlen): Add __strnlen_power8 to list of strnlen functions.
3346         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
3347         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
3348         (__strnlen): Add __strnlen_power8 to ifunc list.
3349         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
3351 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3353         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
3354         the TEST_FUNCTION macro definition.
3355         * wcsmbs/tst-mbrtowc2.c: Likewise.
3356         * wcsmbs/tst-mbsrtowcs.c: Likewise.
3357         * wcsmbs/tst-wchar-h.c: Likewise.
3358         * wcsmbs/tst-wcpncpy.c: Likewise.
3359         * wcsmbs/tst-wcrtomb.c: Likewise.
3360         * wcsmbs/tst-wcsnlen.c: Likewise.
3361         * wcsmbs/tst-wcstof.c: Likewise.
3363 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3365         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
3366         CALL_THREAD_FCT macro usage.
3367         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
3368         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
3369         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
3371         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
3372         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3373         (__ASSUME_REQUEUE_PI): Likewise.
3374         * sysdeps/unix/sysv/linux/kernel-features.h
3375         (__ASSUME_REQUEUE_PI): Likewise.
3376         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3377         (__ASSUME_REQUEUE_PI): Likewise.
3378         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3379         (__ASSUME_REQUEUE_PI): Likewise.
3380         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3381         (__ASSUME_REQUEUE_PI): Likewise.
3383 2017-04-04  Florian Weimer  <fweimer@redhat.com>
3385         * resolv/tst-resolv-canonname.c: New file.
3386         * resolv/Makefile (tests): Add tst-resolv-canonname.
3387         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
3389 2017-04-04  Florian Weimer  <fweimer@redhat.com>
3391         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
3392         Declare.
3393         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
3394         (NS_MAXCDNAME): Remove definition.
3395         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
3396         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
3397         (NS_MAXCDNAME): Remove definition.
3398         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
3400 2017-04-04  Florian Weimer  <fweimer@redhat.com>
3402         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
3403         call whose result is not used.
3405 2017-04-04  Florian Weimer  <fweimer@redhat.com>
3407         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
3408         * resolv/Makefile (tests): Add tst-ns_name.
3409         (tst-ns_name): Link with -lresolv.
3410         (tst-ns_name.out): Depend on the input data file.
3412 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
3414         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
3415         Clobber also r14.
3417 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
3419         [BZ #21253]
3420         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
3421         slack space by 32KiB.
3423 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
3425         [BZ #21338]
3426         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
3427         instead of incorrect do_set_arena_test
3429 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3431         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
3432         * math/bits/math-finite.h: Likewise.
3434 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
3436         [BZ #21289]
3437         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
3439 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3441         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
3442         non expected inotify_add_watch and quotactl return.
3444 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3446         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
3447         to int32_t.
3448         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
3449         as returning int32_t.
3451 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3453         * math/math.h: Include bits/math-finite.h once per
3454         floating-point type.
3455         * math/bits/math-finite.h: Macroize all declarations by
3456         floating-point type.
3458 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3460         [BZ #21182]
3461         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
3462         near end of a page.
3463         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
3464         overflow calculation.
3466 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
3468         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
3469         (IMPL) Call with 1 instead of 0 as argument.
3471 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3473         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
3474         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
3475         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
3476         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
3477         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
3478         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
3479         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
3480         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
3481         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
3482         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
3483         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
3484         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
3485         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3486         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
3487         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
3488         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
3489         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
3490         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
3491         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
3492         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
3493         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
3494         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
3495         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
3496         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
3497         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
3498         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
3499         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
3500         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
3501         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
3502         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
3503         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
3504         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
3505         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
3506         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
3507         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
3508         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
3509         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
3510         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
3511         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
3512         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
3513         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
3514         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
3515         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
3516         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
3517         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
3518         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
3519         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
3520         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
3521         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
3522         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
3523         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
3524         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
3525         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
3526         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
3527         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
3528         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
3529         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3530         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
3531         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
3532         defined.
3533         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
3534         __NR_setgroups32 if defined.
3535         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
3536         if defined.
3537         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
3538         __NR_setresgid32 is defined.
3539         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
3540         __NR_setresuid32 if defined.
3541         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
3542         __NR_setreuid32 if defined.
3543         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
3544         defined.
3545         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
3546         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
3547         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
3548         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
3549         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
3550         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
3551         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
3552         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
3553         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
3554         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
3555         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
3556         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
3557         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3558         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
3559         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
3560         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
3561         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
3562         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
3563         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
3564         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
3565         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
3566         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
3567         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
3568         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
3569         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
3570         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
3571         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
3572         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
3573         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
3574         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
3575         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
3576         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
3577         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
3578         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
3579         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
3580         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
3581         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
3582         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
3583         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
3584         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
3585         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
3586         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
3587         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
3588         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
3589         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
3590         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
3591         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
3592         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
3593         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
3594         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
3595         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
3596         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
3597         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
3598         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
3599         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
3600         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
3601         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3602         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
3603         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
3604         defined.
3605         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
3606         __NR_setgroups32 if defined.
3607         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
3608         if defined.
3609         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
3610         __NR_setresgid32 is defined.
3611         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
3612         __NR_setresuid32 if defined.
3613         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
3614         __NR_setreuid32 if defined.
3615         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
3616         defined.
3618 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
3620         [BZ #21277]
3621         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
3622         unconditionally.
3623         (IMAXBEL): Likewise.
3624         (IUTF8): Likewise.
3626 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3628         * sysdeps/aarch64/libm-test-ulps: Update.
3630 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
3632         * README.tunables: Updated descriptions.
3633         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
3634         * scripts/gen-tunables.awk: Updated the code related to the
3635         commit.
3637 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
3639         * benchtests/Makefile (string-benchset): Add memcpy-random.
3640         * benchtests/bench-memcpy-random.c: New file.
3642 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3644         * stdio-common/printf.h (register_printf_modifier): Change the
3645         order of __wur and __THROW.
3646         (register_printf_type): Likewise.
3648 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3650         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
3651         test_main ().
3652         (CMDLINE_PROCESS): Use function instead of defined macro.
3653         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
3654         <suppport/support.h> to use set_fortify_handler().
3655         * string/bug-envz1.c: Import support/test-driver.c instead of
3656         test-skeleton.c.
3657         * string/bug-strcoll2.c: Likewise.
3658         * string/bug-strtok1.c: Likewise.
3659         * string/stratcliff.c: Likewise.
3660         * string/test-ffs.c: Likewise.
3661         * string/test-memccpy.c: Likewise.
3662         * string/test-memchr.c: Likewise.
3663         * string/test-memcmp.c: Likewise.
3664         * string/test-memcpy.c: Likewise.
3665         * string/test-memmem.c: Likewise.
3666         * string/test-memmove.c: Likewise.
3667         * string/test-memrchr.c: Likewise.
3668         * string/test-memset.c: Likewise.
3669         * string/test-rawmemchr.c: Likewise.
3670         * string/test-strcasecmp.c: Likewise.
3671         * string/test-strcasestr.c: Likewise.
3672         * string/test-strcat.c: Likewise.
3673         * string/test-strchr.c: Likewise.
3674         * string/test-strcmp.c: Likewise.
3675         * string/test-strcpy.c: Likewise.
3676         * string/test-string.h: Likewise.
3677         * string/test-strlen.c: Likewise.
3678         * string/test-strncasecmp.c: Likewise.
3679         * string/test-strncat.c: Likewise.
3680         * string/test-strncmp.c: Likewise.
3681         * string/test-strncpy.c: Likewise.
3682         * string/test-strnlen.c: Likewise.
3683         * string/test-strpbrk.c: Likewise.
3684         * string/test-strrchr.c: Likewise.
3685         * string/test-strspn.c: Likewise.
3686         * string/test-strstr.c: Likewise.
3687         * string/tst-bswap.c: Likewise.
3688         * string/tst-cmp.c: Likewise.
3689         * string/tst-endian.c: Likewise.
3690         * string/tst-inlcall.c: Likewise.
3691         * string/tst-strcoll-overflow.c: Likewise.
3692         * string/tst-strfry.c: Likewise.
3693         * string/tst-strlen.c: Likewise.
3694         * string/tst-strtok.c: Likewise.
3695         * string/tst-strtok_r.c: Likewise.
3696         * string/tst-strxfrm.c: Likewise.
3697         * string/tst-strxfrm2.c: Likewise.
3698         * string/tst-svc.c: Likewise.
3699         * string/tst-svc2.c: Likewise.
3701 2017-03-22  Zack Weinberg  <zackw@panix.com>
3703         * stdio-common/bug25.c: Include stdlib.h.
3704         * support/tst-support_format_dns_packet.c: Include stdio.h,
3705         stdlib.h, and string.h.
3706         * support/tst-support_record_failure.c: Include string.h.
3707         * support/tst-support_record_failure-2.sh: Adjust line number
3708         expectations and correct a typo in an error message.
3710 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
3712         [BZ #21258]
3713         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
3714         Define only if _dl_runtime_resolve is defined to
3715         _dl_runtime_resolve_sse_vex.
3716         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
3717         Fallthrough to _dl_runtime_resolve_sse_vex.
3719 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
3721         * INSTALL: Regenerated.
3723 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
3725         * config.h.in: Add LINK_OBSOLETE_NSL.
3726         * config.make.in: Add build-obsolete-nsl.
3727         * configure.ac: Add obsolete-nsl option.
3728         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
3729         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
3730         * include/rpcsvc/nislib.h: Likewise.
3731         * include/rpcsvc/ypclnt.h: Likewise.
3732         * manual/install.texi: Document --enable-obsolete-nsl.
3733         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
3734         * nis/nis_add.c: Replace libnsl_hidden_def with
3735         libnsl_hidden_nolink_def.
3736         * nis/nis_addmember.c: Likewise.
3737         * nis/nis_call.c: Likewise.
3738         * nis/nis_clone_obj.c: Likewise.
3739         * nis/nis_defaults.c: Likeise.
3740         * nis/nis_domain_of_r.c: Likewise.
3741         * nis/nis_error.c: Likewise.
3742         * nis/nis_file.c: Likewise.
3743         * nis/nis_free.c: Likewise.
3744         * nis_local_names.c: Likewise.
3745         * nis/nis_lookup.c: Likewise.
3746         * nis/nis_modify.c: Likewise.
3747         * nis/nis_print.c: Likewise.
3748         * nis/nis_remove.c: Likewise.
3749         * nis/nis_table.c: Likewise.
3750         * nis/nis_util.c: Likewise.
3751         * nis/nis_xdr.c: Likewise.
3752         * nis/yp_xdr.c: Likewise.
3753         * nis/ypclnt.c: Likewise.
3754         * nis/ypupdate_xdr.c: Likewise.
3755         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
3756         * nis/nis_clone_dir.c: Likewise.
3757         * nis/nis_clone_res.c: Likewise.
3758         * nis/nis_creategroup.c: Likewise.
3759         * nis/nis_destroygroup.c: Likewise.
3760         * nis/nis_domain_of.c: Likewise.
3761         * nis/nis_getservlist.c: Likewise.
3762         * nis/nis_ismember.c: Likewise.
3763         * nis/nis_mkdir.c: Likewise.
3764         * nis/nis_ping.c: Likewise.
3765         * nis/nis_print_group_entry.c: Likewise.
3766         * nis/nis_removemember.c: Likewise.
3767         * nis/nis_rmdir.c: Likewise.
3768         * nis/nis_server.c: Likewise.
3769         * nis/nis_subr.c: Likewise.
3770         * nis/nis_verifygroup.c: Likewise.
3772 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
3774         * malloc/tst-interpose-aux.c (check_for_allocations):
3775         Move compiler barrier before free.
3777 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
3779         [BZ #21279]
3780         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
3781         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
3782         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
3783         x86_64-x32-linux.
3784         (mq_attr.mq_maxmsg): Likewise.
3785         (mq_attr.mq_msgsize): Likewise.
3786         (mq_attr.mq_curmsgs): Likewise.
3788         [BZ #21278]
3789         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
3790         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
3791         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
3792         mips-o32-linux.
3794         [BZ #21268]
3795         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
3796         if [__USE_MISC]
3797         (NL3): Likewise.
3799 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
3801         [BZ #21275]
3802         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
3803         __stack to __stackbase.
3804         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
3805         checks so we can include defined(__ia64__) first.
3807 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
3809         * sysdeps/unix/sysv/linux/ttyname.h: New file.
3810         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
3811         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
3812         Call is_pty when the link does not exist or does not match, fail
3813         with ENODEV when it returns true.
3814         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
3815         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
3816         Call is_pty when the link does not exist or does not match, fail
3817         with ENODEV when it returns true.
3819 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
3821         [BZ #16437]
3822         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
3823         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
3824         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
3825         x86_64-x32-linux.
3826         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
3827         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
3828         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
3830         [BZ #21261]
3831         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
3832         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
3833         names for all fields.
3834         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
3835         for jmp_buf field renaming.
3836         (_JMPBUF_UNWINDS_ADJ): Likewise.
3838         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
3839         with allow-header.
3841 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
3843         * malloc/malloc.c (unlink): Add consistency check between size and
3844         next->prev->size, to further harden against 1-byte overflows.
3846 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
3848         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
3849         CPU_FEATURES_CPU_P.
3851 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
3853         [BZ #21259]
3854         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
3855         unconditionally, not just for [__USE_MISC].
3857         [BZ #17786]
3858         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
3859         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
3860         mips-o32-linux.
3862         [BZ #21260]
3863         * sysdeps/unix/sysv/linux/alpha/Makefile
3864         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
3865         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
3867         * conform/conformtest.pl ($cross): New variable.
3868         (--cross): New command-line option.
3869         (runtest): Skip test execution when cross-compiling.
3870         * conform/Makefile (conformtest-cross): New variable.
3871         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
3872         conformtest.pl.
3874         * conform/conformtest.pl ($xfail_str): New variable.
3875         (--xfail=): New command-line option.
3876         (top level): Handle expectations starting xfail[cond]-.
3877         * conform/Makefile (conformtest-xfail): New variable.
3878         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
3879         conformtest.pl.
3881 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
3883         * conform/conformtest.pl: Use compilation instead of execution
3884         tests for testing values of constants and usability in #if.
3886 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3888         * math/auto-libm-test-in: Mark some catan and catanh as
3889         xfail-rounding:ibm128-libgcc.
3890         * math/auto-libm-test-out-catan: Regenerate.
3891         * math/auto-libm-test-out-catanh: Likewise.
3893 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
3895         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
3896         (__END_NAMESPACE_STD): Likewise.
3897         (__USING_NAMESPACE_STD): Likewise.
3898         (__BEGIN_NAMESPACE_C99): Likewise.
3899         (__END_NAMESPACE_C99): Likewise.
3900         (__USING_NAMESPACE_C99): Likewise.
3901         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
3902         undefine macro.
3903         (_Mdouble_END_NAMESPACE): Likewise.
3904         * ctype/ctype.h: Do not handle C++ namespaces.
3905         * libio/bits/stdio-ldbl.h: Likewise.
3906         * libio/stdio.h: Likewise.
3907         * locale/locale.h: Likewise.
3908         * math/bits/mathcalls.h: Likewise.
3909         * setjmp/setjmp.h: Likewise.
3910         * signal/signal.h: Likewise.
3911         * stdlib/bits/stdlib-float.h: Likewise.
3912         * stdlib/bits/stdlib-ldbl.h: Likewise.
3913         * stdlib/stdlib.h: Likewise.
3914         * string/string.h: Likewise.
3915         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
3916         * time/bits/types/clock_t.h: Likewise.
3917         * time/bits/types/struct_tm.h: Likewise.
3918         * time/bits/types/time_t.h: Likewise.
3919         * time/time.h: Likewise.
3920         * wcsmbs/bits/wchar-ldbl.h: Likewise.
3921         * wcsmbs/uchar.h: Likewise.
3922         * wcsmbs/wchar.h: Likewise.
3923         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
3924         * wctype/wctype.h: Do not handle C++ namespaces.
3925         * scripts/begin-end-check.pl: Remove.
3926         * Makefile (installed-headers): Likewise.
3927         (tests-special): Do not add $(objpfx)begin-end-check.out.
3928         ($(objpfx)begin-end-check.out): Remove.
3930 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
3931             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3933         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
3934         (DL_PLATFORM_INIT): New define.
3935         (dl_platform_init): New function.
3936         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
3937         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
3938         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
3939         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
3940         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
3942 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
3944         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
3945         instead of PIC.
3947 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
3949         [BZ #21094]
3950         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
3951         24+24+24-bit pi for wider range of values around pi/2.
3952         * math/auto-libm-test-in: Add more tests of cos and tan.
3953         * math/auto-libm-test-out-cos: Regenerated.
3954         * math/auto-libm-test-out-tan: Likewise.
3956 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
3958         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
3959         (RTLD_START): Don't record stack end address in _dl_start_user.
3961 2017-03-15  Alexey Neyman  <stilor@att.net>
3963         [BZ #21088]
3964         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
3965         around definitions match those around use.
3967 2017-03-15  Alexey Neyman  <stilor@att.net>
3969         * configure.ac: Avoid empty subexpression in grep.
3970         * configure: Regenerate.
3972 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3974         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
3975         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
3976         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
3977         (test_wrp_rv): Fix format.
3978         (test_wrp_rv2): New macro.
3979         (do_test): Handle mlock return on 64 bits kernels with 32 bits
3980         binaries.
3982 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
3984         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
3985         Use a union when storing pointers.
3986         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
3987         cast result when passing to INIT_VEC_PTRS_LOOP.
3988         (VECTOR_WRAPPER_fFF_3): Likewise.
3989         (VECTOR_WRAPPER_fFF_4): Likewise.
3991 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3993         * include/bits/mathcalls-helper-functions.h: New file.
3994         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
3995         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
3996         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
3997         math/bits/mathcalls-helper-functions.h.
3998         * math/bits/mathcalls-helper-functions.h: New file.
3999         * math/math.h: Include bits/mathcalls-helper-functions.h for
4000         float, double, and long double.
4002 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4004         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
4005         instead of feraiseexcept.
4007 2017-03-15  Florian Weimer  <fweimer@redhat.com>
4009         [BZ #21243]
4010         * support/temp_file.c (support_delete_temp_files): Add comment
4011         about ignored errors.
4013 2017-03-15  Florian Weimer  <fweimer@redhat.com>
4015         [BZ #21244]
4016         * support/xclose.c: New file.
4017         * support/Makefile (libsupport-routines): Add xclose.
4018         * support/xunistd.h (xclose): Declare.
4019         * support/resolv_test.c (server_thread_tcp_client)
4020         (server_thread_tcp, make_server_sockets, resolv_test_start)
4021         (resolv_test_end): Call xclose instead of close.
4022         * support/support_enter_network_namespace.c
4023         (support_enter_network_namespace): Likewise.
4024         * support/support_run_diff.c (write_to_temp_file): Likewise.
4026 2017-03-15  Florian Weimer  <fweimer@redhat.com>
4028         * support/support_format_dns_packet.c (support_format_dns_packet):
4029         Handle CNAME records in the response.  Extract RDATA names from
4030         rdata, not the whole packet.  Check AAAA record length.
4031         * support/tst-support_format_dns_packet.c: New file.
4032         * support/Makefile (tests): Add tst-support_format_dns_packet.
4033         (tst-support_format_dns_packet): Link against libresolv.
4035 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4037         [BZ #21232]
4038         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
4039         posix_fadvise64 weak_alias for static build.
4041 2017-03-14  Andreas Schwab  <schwab@suse.de>
4043         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
4044         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
4045         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
4046         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
4047         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
4048         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
4049         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
4050         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
4052 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4054         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
4055         posix error code.
4056         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
4058 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4060         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
4061         no_isolate usage for SH.
4063 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
4065         [BZ #15105]
4066         [BZ #19463]
4067         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
4068         * inet/rcmd.c (rcmd_af): Likewise.
4069         * inet/rexec.c   (rexec_af): Likewise.
4070         * intl/dcigettext.c (_LIBC): Likewise.
4071         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
4072         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
4073         * locale/setlocale.c (setlocale): Likewise.
4074         * posix/spawn_faction_addopen.c
4075         (posix_spawn_file_actions_addopen): Likewise.
4076         * stdlib/putenv.c (putenv): Use __strndup.
4077         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
4078         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
4079         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
4080         (__Need_M_And_C) Remove define/undef.
4081         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
4082         (__malloc_and_calloc_defined): Remove define.
4083         * string/bits/string2.h (__strdup): Remove define.
4084         (strdup): Likewise.
4085         (__strndup): Likewise.
4086         (strndup): Likewise.
4088 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
4090         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
4091         macro.
4092         (IPV6_ADDR_PREFERENCES): Likewise.
4093         (IPV6_MINHOPCOUNT): Likewise.
4094         (IPV6_ORIGDSTADDR): Likewise.
4095         (IPV6_RECVORIGDSTADDR): Likewise.
4096         (IPV6_TRANSPARENT): Likewise.
4097         (IPV6_UNICAST_IF): Likewise.
4098         (IPV6_RECVFRAGSIZE): Likewise.
4100 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
4102         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
4104 2017-03-12  Alexey Neyman <stilor@att.net>
4106         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
4107         in R_SH_DIR32 case is always false when inlined from
4108         dl-conflict.c. Ifdef out to prevent GCC from insertin an
4110 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
4112         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4113         (__ASSUME_RECV_SYSCALL): Replace duplicate by
4114         __ASSUME_SEND_SYSCALL.
4116 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
4118         * sunrpc/Makefile: don't build and install rpcsvc header
4119         files, rpcgen and librpcsvc.a by default.
4121 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
4123         * math/auto-libm-test-out-catan: Regenerated.
4124         * math/auto-libm-test-out-catanh: Likewise.
4125         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4127 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
4129         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
4130         for long double with corrected test expectations.
4132 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4134         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
4135         Define.
4136         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
4137         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
4138         * sysdeps/unix/sysv/linux/nios2/sysdep.h
4139         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
4140         * sysdeps/unix/sysv/linux/tile/sysdep.h
4141         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
4142         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4143         (__ASSUME_RECV_SYSCALL): Define.
4144         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4145         (__ASSUME_RECV_SYSCALL): Likewise.
4146         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4147         (__ASSUME_RECV_SYSCALL): Likewise.
4148         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4149         (__ASSUME_RECV_SYSCALL): Likewise.
4150         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4151         (__ASSUME_RECV_SYSCALL): Likewise.
4152         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4153         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
4154         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4155         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4156         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4157         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4158         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
4159         auto-generation list.
4160         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4161         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4162         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
4163         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4164         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4165         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
4166         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
4167         __ASSUME_SENDTO_SYSCALL.
4168         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
4169         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
4170         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
4172         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
4173         auto-generation list.
4174         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4175         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
4176         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4177         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4178         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4179         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4180         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4181         * sysdeps/unix/sysv/linux/kernel-features.h
4182         (__ASSUME_SENDTO_SYSCALL): Define by default.
4183         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4184         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
4185         __NR_sendto.
4186         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4187         (__ASSUME_SENDTO_SYSCALL): Likewise.
4188         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4189         (__ASSUME_SENDTO_SYSCALL): Likewise.
4190         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4191         (__ASSUME_SENDTO_SYSCALL): Remove definition.
4192         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4193         (__ASSUME_SENDTO_SYSCALL): Likewise.
4194         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
4195         (__ASSUME_SENDTO_SYSCALL): Likewise.
4196         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
4198         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
4199         auto-generation list.
4200         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4201         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4202         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4203         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4204         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4205         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4206         (__ASSUME_RECV_SYSCALL): New define.
4207         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4208         (__ASSUME_RECV_SYSCALL): Likewise.
4209         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4210         (__ASSUME_RECV_SYSCALL): Likewise.
4211         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4212         (__ASSUME_RECV_SYSCALL): Likewise.
4213         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4214         (__ASSUME_RECV_SYSCALL): Likewise.
4215         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4216         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
4217         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4218         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
4219         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4220         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
4221         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
4222         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
4223         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
4224         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
4225         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
4226         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
4228         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
4229         auto-generation list.
4230         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4231         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
4232         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4233         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4234         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4235         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4236         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4237         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4238         (__ASSUME_RECVFROM_SYSCALL): Define by default.
4239         * sysdeps/unix/sysv/linux/kernel-features.h
4240         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
4241         __NR_recvfrom.
4242         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4243         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4244         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4245         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4246         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4247         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
4248         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4249         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4250         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4251         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4252         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4253         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4254         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
4256         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
4257         auto-generation list.
4258         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4259         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
4260         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4261         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4262         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4263         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4264         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4265         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
4266         * sysdeps/unix/sysv/linux/kernel-features.h
4267         (__ASSUME_CONNECT_SYSCALL): Define.
4268         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4269         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
4270         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4271         (__ASSUME_CONNECT_SYSCALL): Likewise.
4272         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4273         (__ASSUME_CONNECT_SYSCALL): Likewise.
4274         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4275         (__ASSUME_CONNECT_SYSCALL): Likewise.
4277         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
4278         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
4279         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
4280         auto-generation list.
4281         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4282         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
4283         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4284         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4285         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4286         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4287         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4288         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4289         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
4290         (__ASSUME_ACCEPT_SYSCALL): Undefine.
4291         * sysdeps/unix/sysv/linux/kernel-features.h
4292         (__ASSUME_ACCEPT_SYSCALL): New define.
4293         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4294         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
4295         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
4296         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4297         (__ASSUME_ACCEPT_SYSCALL): Define.
4298         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4299         (__ASSUME_ACCEPT_SYSCALL): Undefine.
4300         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4301         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
4302         (__ASSUME_ACCEPT_SYSCALL): Undefine.
4303         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4304         (__ASSUME_ACCEPT_SYSCALL): Undefine.
4305         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4306         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
4308 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
4309             Zack Weinberg  <zackw@panix.com>
4311         * posix/test-errno.c: New file.
4312         * posix/Makefile (tests): Add test-errno.
4313         * sysdeps/unix/sysv/linux/test-errno.c: New file.
4314         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
4316 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
4318         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4320 2017-03-07  Florian Weimer  <fweimer@redhat.com>
4322         * time/tzset.c (compute_offset): Open-code min macro.
4323         (min, max, sign): Remove.
4325 2017-03-07  Florian Weimer  <fweimer@redhat.com>
4327         [BZ #15576]
4328         Remove TZNAME_MAX limit from sysconf.
4329         * include/time.h (__tzname_cur_max, __tzname_max): Remove
4330         declaration.
4331         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
4332         compute_tzname_max.
4333         (compute_tzname_max): Remove.
4334         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
4335         (update_vars): Do not update __tzname_cur_max.
4336         (tzset_internal): Remove argument.
4337         (__tzset): Adjust call to tzset_internal.
4338         (__tz_convert): Likewise.
4340         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
4341         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
4342         * manual/conf.texi (Sysconf Definition): Update comment.
4344 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4346         [BZ #21209]
4347         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
4348         AT_SECURE processes.
4349         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
4350         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
4351         (test_child): Likewise.
4352         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
4354 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4356         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
4358 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4360         * sysdeps/s390/atomic-machine.h
4361         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
4362         (__arch_compare_and_exchange_val_8_acq,
4363         __arch_compare_and_exchange_val_16_acq,
4364         __arch_compare_and_exchange_val_32_acq,
4365         __arch_compare_and_exchange_val_64_acq):
4366         Delete macro.
4367         (atomic_compare_and_exchange_val_acq,
4368         atomic_compare_and_exchange_val_rel,
4369         atomic_compare_and_exchange_bool_acq,
4370         catomic_compare_and_exchange_bool_acq,
4371         atomic_exchange_acq, atomic_exchange_rel,
4372         atomic_exchange_and_add_acq,
4373         atomic_exchange_and_add_rel,
4374         catomic_exchange_and_add, atomic_or_val,
4375         atomic_or, catomic_or, atomic_bit_test_set,
4376         atomic_and_val, atomic_and, catomic_and):
4377         Define macros with help of C11 atomic builtins.
4379 2017-03-03  Justus Winter <justus@gnupg.org>
4381         * sysdeps/mach/hurd/ftruncate64.c: New file.
4382         * sysdeps/mach/hurd/truncate64.c: Likewise.
4384 2017-03-03  Florian Weimer  <fweimer@redhat.com>
4386         * time/tzfile.c (NOID): Do not define.
4387         * time/tzset.c (NOID): Likewise.
4389 2017-03-03  Florian Weimer  <fweimer@redhat.com>
4391         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
4393 2017-03-02  Florian Weimer  <fweimer@redhat.com>
4395         * elf/get-dynamic-info.h: Remove header file inclusion guard.
4397 2017-03-02  Florian Weimer  <fweimer@redhat.com>
4399         [BZ #21015]
4400         * manual/install.texi (Configuring and compiling): Document
4401         --enable-bind-now.
4402         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
4403         (build-shlib-helper): Use $(LDFLAGS-lib.so).
4404         (format.lds): Likewise.
4405         [bind-now] (LDFLAGS-c.so): Remove.
4406         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
4407         be R_X86_64_GLOB_DAT.
4408         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
4409         relocation can be R_386_GLOB_DAT.
4410         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
4411         relocaiton can be R_ALPHA_GLOB_DAT.
4412         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
4414 2017-03-01  Zack Weinberg  <zackw@panix.com>
4416         * include/libc-pointer-arith.h: New file.  Define
4417         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
4418         PTR_ALIGN_DOWN here.
4419         * include/libc-internal.h: Definitions of above macros
4420         moved from here.  Don't include libc-diag.h anymore either.
4421         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
4422         Don't include libc-internal.h.
4424         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
4425         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
4426         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
4427         * string/strcoll_l.c, sysdeps/nacl/brk.c
4428         * sysdeps/unix/clock_settime.c
4429         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
4430         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
4431         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
4432         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
4433         Don't include libc-internal.h.
4435         * elf/get-dynamic-info.h, iconv/loop.c
4436         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
4437         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
4438         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
4439         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
4440         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
4441         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
4442         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
4443         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
4444         * sysdeps/ieee754/ldbl-128/k_tanl.c
4445         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
4446         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
4447         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
4448         Include libc-diag.h instead of libc-internal.h.
4450         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
4451         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
4452         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
4453         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
4454         * sysdeps/unix/sysv/linux/spawni.c
4455         * sysdeps/x86_64/nptl/tls.h:
4456         Include libc-pointer-arith.h instead of libc-internal.h.
4458         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
4459         * sysdeps/x86_64/atomic-machine.h:
4460         Add multiple include guard.
4462         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
4463         * string/strcasestr.c: No need to include config.h.
4464         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
4465         sys/auxv.h. Don't include sysdep.h.
4466         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
4468         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
4469         DL_LOOKUP_ADDRESS.
4470         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
4471         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
4472         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
4473         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
4474         of ARTIFICIAL_LIMIT.
4475         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
4476         declaration of __clone2.
4478 2017-02-28  Florian Weimer  <fweimer@redhat.com>
4480         * scripts/backport-support.sh (latest_commit): New file.
4482 2017-02-28  Florian Weimer  <fweimer@redhat.com>
4484         [BZ #20257]
4485         * inet/Makefile (routines): Add deadline.
4486         (tests-static): Add tst-deadline.
4487         * inet/net-internal.h (struct deadline_current_time)
4488         (__deadline_current_time, struct deadline, __deadline_is_infinite)
4489         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
4490         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
4491         * inet/deadline.c: New file.
4492         * inet/tst-deadline.c: Likewise.
4493         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
4494         tst-udp-timeout, tst-udp-garbage.
4495         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
4496         explicitly.
4497         (tst-udp-garbage): Likewise.  Also link against thread library.
4498         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
4499         struct layout is part of the ABI.
4500         (clntudp_call): Rework timeout handling.
4501         * sunrpc/tst-udp-garbage.c: New file.
4502         * sunrpc/tst-udp-nonblocking.c: Likewise.
4503         * sunrpc/tst-udp-timeout.c: Likewise.
4505 2017-02-28  Florian Weimer  <fweimer@redhat.com>
4507         [BZ #5010]
4508         * sunrpc/svc.c (svc_is_mapped): Remove.
4509         (svc_unregister): Obtain mapped status while the service is still
4510         registered.
4511         * sunrpc/Makefile [have-thread-library] (tests): Add
4512         tst-svc_register.
4513         (tst-svc_register): Link against libc.so explicitly and the thread
4514         library.
4515         * sunrpc/tst-svc_register.c: New file.
4517 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
4519         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
4520         * sysdeps/pthread/bits/sigthread.h: Likewise.
4522 2017-02-27  Florian Weimer  <fweimer@redhat.com>
4524         [BZ #21115]
4525         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
4526         * sunrpc/Makefile (tests): Add tst-udp-error.
4527         (tst-udp-error): Link against libc.so explicitly.
4528         * sunrpc/tst-udp-error: New file.
4530 2017-02-25  Zack Weinberg  <zackw@panix.com>
4532         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
4533         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
4535         * sysdeps/generic/math_ldbl.h
4536         * sysdeps/ia64/fpu/math_ldbl.h
4537         * sysdeps/ieee754/ldbl-128/math_ldbl.h
4538         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4539         * sysdeps/ieee754/ldbl-96/math_ldbl.h
4540         * sysdeps/powerpc/fpu/math_ldbl.h
4541         * sysdeps/x86_64/fpu/math_ldbl.h:
4542         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
4543         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
4544         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
4545         Add copyright notices.
4547         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
4548         Don't use EXTRACT_WORDS64.
4550         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
4551         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
4552         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
4553         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
4554         Include math_ldbl.h, not math_private.h.
4556 2017-02-25  Zack Weinberg  <zackw@panix.com>
4558         * include/libc-diag.h: New file.  Define ignore_value,
4559         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
4560         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
4562         * include/libc-internal.h: Definitions of above macros moved from
4563         here.  Include libc-diag.h.  Add copyright notice.
4565         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
4566         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
4567         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
4568         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
4569         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
4570         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
4571         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
4572         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
4573         Include libc-diag.h instead of libc-internal.h.
4575         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
4576         call to unsetenv (NULL).
4577         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
4578         call to pthread_mutexattr_destroy (NULL).
4580 2017-02-25  Zack Weinberg  <zackw@panix.com>
4582         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
4583         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
4584         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
4585         gets was removed from C++ in C++14.
4586         * include/stdio.h: Remove redundant declaration of gets.
4587         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
4588         be declared, since we are testing it.
4589         * stdio-common/Makefile (tst-gets.c): Compile with
4590         -Wno-deprecated-declarations.
4591         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
4592         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
4593         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
4594         Compile with -Wno-deprecated-declarations.
4596 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4598         * math/libm-test-support.c (check_ulp): Use LIT() around literal
4599         numbers.
4601 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4603         * resolv/tst-resolv-qtypes.c (domain):
4604         Change type to const pointer to const char.
4606 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
4608         * math/Makefile (libm-tests-generated): Remove variable.
4609         (libm-tests-base-normal): New variable.
4610         (libm-tests-base-finite): Likewise.
4611         (libm-tests-base-inline): Likewise.
4612         (libm-tests-base): Likewise.
4613         (libm-tests-normal): Likewise.
4614         (libm-tests-finite): Likewise.
4615         (libm-tests-inline): Likewise.
4616         (libm-tests-vector): Likewise.
4617         (libm-tests): Define in terms of these new variables.
4618         (libm-tests-for-type): New variable.
4619         (libm-tests.o): Move definition.
4620         (tests): Move addition of $(libm-tests).
4621         (generated): Update for new and removed libm test files.
4622         ($(objpfx)libm-test.c): Remove target.
4623         ($(objpfx)libm-have-vector-test.h): Likewise.
4624         (CFLAGS-test-double-vlen2.c): Remove variable.
4625         (CFLAGS-test-double-vlen4.c): Likewise.
4626         (CFLAGS-test-double-vlen8.c): Likewise.
4627         (CFLAGS-test-float-vlen4.c): Likewise.
4628         (CFLAGS-test-float-vlen8.c): Likewise.
4629         (CFLAGS-test-float-vlen16.c): Likewise.
4630         (CFLAGS-test-float.c): Likewise.
4631         (CFLAGS-test-float-finite.c): Likewise.
4632         (CFLAGS-libm-test-support-float.c): Likewise.
4633         (CFLAGS-test-double.c): Likewise.
4634         (CFLAGS-test-double-finite.c): Likewise.
4635         (CFLAGS-libm-test-support-double.c): Likewise.
4636         (CFLAGS-test-ldouble.c): Likewise.
4637         (CFLAGS-test-ldouble-finite.c): Likewise.
4638         (CFLAGS-libm-test-support-ldouble.c): Likewise.
4639         (libm-test-inline-cflags): New variable.
4640         (CFLAGS-test-ifloat.c): Remove variable.
4641         (CFLAGS-test-idouble.c): Likewise.
4642         (CFLAGS-test-ildouble.c): Likewise.
4643         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
4644         dependencies.
4645         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
4646         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
4647         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
4648         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
4649         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
4650         Likewise.
4651         (dependencies on libm-test-support-*.o): Remove.
4652         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
4653         rules using iterators.
4654         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
4655         Likewise.
4656         ($(objpfx)libm-test-support-$(o).o): Likewise.
4657         ($(addprefix $(objpfx),$(filter-out $(tests-static)
4658         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
4659         instead.
4660         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
4661         define rule instead.
4662         * math/README.libm-test: Update.
4663         * math/libm-test-acos.inc: Include libm-test-driver.c.
4664         (do_test): New function.
4665         * math/libm-test-acosh.inc: Include libm-test-driver.c.
4666         (do_test): New function.
4667         * math/libm-test-asin.inc: Include libm-test-driver.c.
4668         (do_test): New function.
4669         * math/libm-test-asinh.inc: Include libm-test-driver.c.
4670         (do_test): New function.
4671         * math/libm-test-atan.inc: Include libm-test-driver.c.
4672         (do_test): New function.
4673         * math/libm-test-atan2.inc: Include libm-test-driver.c.
4674         (do_test): New function.
4675         * math/libm-test-atanh.inc: Include libm-test-driver.c.
4676         (do_test): New function.
4677         * math/libm-test-cabs.inc: Include libm-test-driver.c.
4678         (do_test): New function.
4679         * math/libm-test-cacos.inc: Include libm-test-driver.c.
4680         (do_test): New function.
4681         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
4682         (do_test): New function.
4683         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
4684         (do_test): New function.
4685         * math/libm-test-carg.inc: Include libm-test-driver.c.
4686         (do_test): New function.
4687         * math/libm-test-casin.inc: Include libm-test-driver.c.
4688         (do_test): New function.
4689         * math/libm-test-casinh.inc: Include libm-test-driver.c.
4690         (do_test): New function.
4691         * math/libm-test-catan.inc: Include libm-test-driver.c.
4692         (do_test): New function.
4693         * math/libm-test-catanh.inc: Include libm-test-driver.c.
4694         (do_test): New function.
4695         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
4696         (do_test): New function.
4697         * math/libm-test-ccos.inc: Include libm-test-driver.c.
4698         (do_test): New function.
4699         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
4700         (do_test): New function.
4701         * math/libm-test-ceil.inc: Include libm-test-driver.c.
4702         (do_test): New function.
4703         * math/libm-test-cexp.inc: Include libm-test-driver.c.
4704         (do_test): New function.
4705         * math/libm-test-cimag.inc: Include libm-test-driver.c.
4706         (do_test): New function.
4707         * math/libm-test-clog.inc: Include libm-test-driver.c.
4708         (do_test): New function.
4709         * math/libm-test-clog10.inc: Include libm-test-driver.c.
4710         (do_test): New function.
4711         * math/libm-test-conj.inc: Include libm-test-driver.c.
4712         (do_test): New function.
4713         * math/libm-test-copysign.inc: Include libm-test-driver.c.
4714         (do_test): New function.
4715         * math/libm-test-cos.inc: Include libm-test-driver.c.
4716         (do_test): New function.
4717         * math/libm-test-cosh.inc: Include libm-test-driver.c.
4718         (do_test): New function.
4719         * math/libm-test-cpow.inc: Include libm-test-driver.c.
4720         (do_test): New function.
4721         * math/libm-test-cproj.inc: Include libm-test-driver.c.
4722         (do_test): New function.
4723         * math/libm-test-creal.inc: Include libm-test-driver.c.
4724         (do_test): New function.
4725         * math/libm-test-csin.inc: Include libm-test-driver.c.
4726         (do_test): New function.
4727         * math/libm-test-csinh.inc: Include libm-test-driver.c.
4728         (do_test): New function.
4729         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
4730         (do_test): New function.
4731         * math/libm-test-ctan.inc: Include libm-test-driver.c.
4732         (do_test): New function.
4733         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
4734         (do_test): New function.
4735         * math/libm-test-erf.inc: Include libm-test-driver.c.
4736         (do_test): New function.
4737         * math/libm-test-erfc.inc: Include libm-test-driver.c.
4738         (do_test): New function.
4739         * math/libm-test-exp.inc: Include libm-test-driver.c.
4740         (do_test): New function.
4741         * math/libm-test-exp10.inc: Include libm-test-driver.c.
4742         (do_test): New function.
4743         * math/libm-test-exp2.inc: Include libm-test-driver.c.
4744         (do_test): New function.
4745         * math/libm-test-expm1.inc: Include libm-test-driver.c.
4746         (do_test): New function.
4747         * math/libm-test-fabs.inc: Include libm-test-driver.c.
4748         (do_test): New function.
4749         * math/libm-test-fdim.inc: Include libm-test-driver.c.
4750         (do_test): New function.
4751         * math/libm-test-floor.inc: Include libm-test-driver.c.
4752         (do_test): New function.
4753         * math/libm-test-fma.inc: Include libm-test-driver.c.
4754         (do_test): New function.
4755         * math/libm-test-fmax.inc: Include libm-test-driver.c.
4756         (do_test): New function.
4757         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
4758         (do_test): New function.
4759         * math/libm-test-fmin.inc: Include libm-test-driver.c.
4760         (do_test): New function.
4761         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
4762         (do_test): New function.
4763         * math/libm-test-fmod.inc: Include libm-test-driver.c.
4764         (do_test): New function.
4765         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
4766         (do_test): New function.
4767         * math/libm-test-frexp.inc: Include libm-test-driver.c.
4768         (do_test): New function.
4769         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
4770         (do_test): New function.
4771         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
4772         (do_test): New function.
4773         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
4774         (do_test): New function.
4775         * math/libm-test-hypot.inc: Include libm-test-driver.c.
4776         (do_test): New function.
4777         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
4778         (do_test): New function.
4779         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
4780         (do_test): New function.
4781         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
4782         (do_test): New function.
4783         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
4784         (do_test): New function.
4785         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
4786         (do_test): New function.
4787         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
4788         (do_test): New function.
4789         * math/libm-test-isinf.inc: Include libm-test-driver.c.
4790         (do_test): New function.
4791         * math/libm-test-isless.inc: Include libm-test-driver.c.
4792         (do_test): New function.
4793         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
4794         (do_test): New function.
4795         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
4796         (do_test): New function.
4797         * math/libm-test-isnan.inc: Include libm-test-driver.c.
4798         (do_test): New function.
4799         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
4800         (do_test): New function.
4801         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
4802         (do_test): New function.
4803         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
4804         (do_test): New function.
4805         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
4806         (do_test): New function.
4807         * math/libm-test-iszero.inc: Include libm-test-driver.c.
4808         (do_test): New function.
4809         * math/libm-test-j0.inc: Include libm-test-driver.c.
4810         (do_test): New function.
4811         * math/libm-test-j1.inc: Include libm-test-driver.c.
4812         (do_test): New function.
4813         * math/libm-test-jn.inc: Include libm-test-driver.c.
4814         (do_test): New function.
4815         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
4816         (do_test): New function.
4817         * math/libm-test-llogb.inc: Include libm-test-driver.c.
4818         (do_test): New function.
4819         * math/libm-test-llrint.inc: Include libm-test-driver.c.
4820         (do_test): New function.
4821         * math/libm-test-llround.inc: Include libm-test-driver.c.
4822         (do_test): New function.
4823         * math/libm-test-log.inc: Include libm-test-driver.c.
4824         (do_test): New function.
4825         * math/libm-test-log10.inc: Include libm-test-driver.c.
4826         (do_test): New function.
4827         * math/libm-test-log1p.inc: Include libm-test-driver.c.
4828         (do_test): New function.
4829         * math/libm-test-log2.inc: Include libm-test-driver.c.
4830         (do_test): New function.
4831         * math/libm-test-logb.inc: Include libm-test-driver.c.
4832         (do_test): New function.
4833         * math/libm-test-lrint.inc: Include libm-test-driver.c.
4834         (do_test): New function.
4835         * math/libm-test-lround.inc: Include libm-test-driver.c.
4836         (do_test): New function.
4837         * math/libm-test-modf.inc: Include libm-test-driver.c.
4838         (do_test): New function.
4839         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
4840         (do_test): New function.
4841         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
4842         (do_test): New function.
4843         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
4844         (do_test): New function.
4845         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
4846         (do_test): New function.
4847         * math/libm-test-nextup.inc: Include libm-test-driver.c.
4848         (do_test): New function.
4849         * math/libm-test-pow.inc: Include libm-test-driver.c.
4850         (do_test): New function.
4851         * math/libm-test-remainder.inc: Include libm-test-driver.c.
4852         (do_test): New function.
4853         * math/libm-test-remquo.inc: Include libm-test-driver.c.
4854         (do_test): New function.
4855         * math/libm-test-rint.inc: Include libm-test-driver.c.
4856         (do_test): New function.
4857         * math/libm-test-round.inc: Include libm-test-driver.c.
4858         (do_test): New function.
4859         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
4860         (do_test): New function.
4861         * math/libm-test-scalb.inc: Include libm-test-driver.c.
4862         (do_test): New function.
4863         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
4864         (do_test): New function.
4865         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
4866         (do_test): New function.
4867         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
4868         (do_test): New function.
4869         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
4870         (do_test): New function.
4871         * math/libm-test-signbit.inc: Include libm-test-driver.c.
4872         (do_test): New function.
4873         * math/libm-test-significand.inc: Include libm-test-driver.c.
4874         (do_test): New function.
4875         * math/libm-test-sin.inc: Include libm-test-driver.c.
4876         (do_test): New function.
4877         * math/libm-test-sincos.inc: Include libm-test-driver.c.
4878         (do_test): New function.
4879         * math/libm-test-sinh.inc: Include libm-test-driver.c.
4880         (do_test): New function.
4881         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
4882         (do_test): New function.
4883         * math/libm-test-tan.inc: Include libm-test-driver.c.
4884         (do_test): New function.
4885         * math/libm-test-tanh.inc: Include libm-test-driver.c.
4886         (do_test): New function.
4887         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
4888         (do_test): New function.
4889         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
4890         (do_test): New function.
4891         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
4892         (do_test): New function.
4893         * math/libm-test-trunc.inc: Include libm-test-driver.c.
4894         (do_test): New function.
4895         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
4896         (do_test): New function.
4897         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
4898         (do_test): New function.
4899         * math/libm-test-y0.inc: Include libm-test-driver.c.
4900         (do_test): New function.
4901         * math/libm-test-y1.inc: Include libm-test-driver.c.
4902         (do_test): New function.
4903         * math/libm-test-yn.inc: Include libm-test-driver.c.
4904         (do_test): New function.
4905         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
4906         (HAVE_VECTOR): Remove macro.
4907         (START): Do not call HAVE_VECTOR.
4908         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
4909         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
4910         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
4911         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
4912         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
4913         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
4914         * math/test-math-vector.h (FUNC_TEST): New macro.
4915         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
4916         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
4917         (double-vlen4-funcs): Likewise.
4918         (double-vlen4-avx2-funcs): Likewise.
4919         (double-vlen8-funcs): Likewise.
4920         (float-vlen4-funcs): Likewise.
4921         (float-vlen8-funcs): Likewise.
4922         (float-vlen8-avx2-funcs): Likewise.
4923         (float-vlen16-funcs): Likewise.
4924         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
4925         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
4926         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
4927         macro.
4928         (TEST_VECTOR_sin): Likewise.
4929         (TEST_VECTOR_sincos): Likewise.
4930         (TEST_VECTOR_log): Likewise.
4931         (TEST_VECTOR_exp): Likewise.
4932         (TEST_VECTOR_pow): Likewise.
4933         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
4934         Likewise.
4935         (TEST_VECTOR_sin): Likewise.
4936         (TEST_VECTOR_sincos): Likewise.
4937         (TEST_VECTOR_log): Likewise.
4938         (TEST_VECTOR_exp): Likewise.
4939         (TEST_VECTOR_pow): Likewise.
4940         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
4941         Likewise.
4942         (TEST_VECTOR_sinf): Likewise.
4943         (TEST_VECTOR_sincosf): Likewise.
4944         (TEST_VECTOR_logf): Likewise.
4945         (TEST_VECTOR_expf): Likewise.
4946         (TEST_VECTOR_powf): Likewise.
4947         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
4948         Likewise.
4949         (TEST_VECTOR_sinf): Likewise.
4950         (TEST_VECTOR_sincosf): Likewise.
4951         (TEST_VECTOR_logf): Likewise.
4952         (TEST_VECTOR_expf): Likewise.
4953         (TEST_VECTOR_powf): Likewise.
4954         * math/gen-libm-have-vector-test.sh: Remove file.
4955         * math/libm-test.inc: Likewise.
4956         * math/libm-test-support-double.c: Likewise.
4957         * math/libm-test-support-float.c: Likewise.
4958         * math/libm-test-support-ldouble.c: Likewise.
4959         * math/test-double-finite.c: Likewise.: Likewise.
4960         * math/test-double.c: Likewise.
4961         * math/test-float-finite.c: Likewise.
4962         * math/test-float.c: Likewise.
4963         * math/test-idouble.c: Likewise.
4964         * math/test-ifloat.c: Likewise.
4965         * math/test-ildouble.c: Likewise.
4966         * math/test-ldouble-finite.c: Likewise.
4967         * math/test-ldouble.c: Likewise.
4968         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4969         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
4970         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4971         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4972         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4973         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4974         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4975         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
4976         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4977         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4979 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4980            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4982         * math/Makefile: Add wrappers to gen-libm-calls.
4983         * math/w_acos_template.c: New file.
4984         * math/w_acosh_template.c: Likewise.
4985         * math/w_asin_template.c: Likewise.
4986         * math/w_atan2_template.c: Likewise.
4987         * math/w_atanh_template.c: Likewise.
4988         * math/w_cosh_template.c: Likewise.
4989         * math/w_exp10_template.c: Likewise.
4990         * math/w_exp2_template.c: Likewise.
4991         * math/w_exp_template.c: Likewise.
4992         * math/w_fmod_template.c: Likewise.
4993         * math/w_hypot_template.c: Likewise.
4994         * math/w_j0_template.c: Likewise.
4995         * math/w_j1_template.c: Likewise.
4996         * math/w_jn_template.c: Likewise.
4997         * math/w_lgamma_r_template.c: Likewise.
4998         * math/w_lgamma_template.c: Likewise.
4999         * math/w_log10_template.c: Likewise.
5000         * math/w_log2_template.c: Likewise.
5001         * math/w_log_template.c: Likewise.
5002         * math/w_pow_template.c: Likewise.
5003         * math/w_remainder_template.c: Likewise.
5004         * math/w_sinh_template.c: Likewise.
5005         * math/w_sqrt_template.c: Likewise.
5006         * math/w_tgamma_template.c: Likewise.: Likewise.
5007         * sysdeps/generic/math-type-macros-double.h
5008         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
5009         the new wrappers.
5010         * sysdeps/generic/math-type-macros-float.h: Likewise.
5011         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
5013 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
5015         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
5016         New enum constant and macro.
5018         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5019         kernel version to 4.10.
5021 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
5023         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
5025 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5027         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5029 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5031         * sysdeps/powerpc/tst-set_ppr.c: New file.
5032         Implement test cases for __ppc_set_ppr_* functions.
5033         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
5034         in the list of tests.
5036 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5038         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
5039         instead of test-skeleton.c.
5040         (do_test): Replaced pthread_create and pthread_join with
5041         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
5042         Removed unneeded status variable.
5043         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
5044         instead of test-skeleton.c.
5045         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
5047 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
5049         [BZ #20313]
5050         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5051         201605L, for Unicode 9.
5053 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
5055         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
5056         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5057         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5058         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5059         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
5060         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5062 2017-02-19  Zack Weinberg  <zackw@panix.com>
5064         * rt/tst-mqueue4.c: Include stdint.h.
5066 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
5068         * sysdeps/arm/libm-test-ulps: Update.
5069         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5070         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5071         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5073 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5075         [BZ #21029]
5076         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
5077         * sysdeps/unix/sysv/linux/i386/Makefile
5078         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
5079         (uses-6-syscall-arguments): Remove.
5080         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
5081         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
5082         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
5083         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
5084         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
5085         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
5086         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
5087         [$(subdir) = misc] (cflags-pselect.o): Likewise.
5088         [$(subdir) = misc] (cflags-pselect.os): Likewise.
5089         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
5090         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
5091         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
5092         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
5093         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
5094         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
5095         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
5096         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
5097         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
5098         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
5099         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
5100         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
5101         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
5102         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
5103         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
5104         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
5105         Likewise.
5106         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
5107         Likewise.
5108         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
5109         Likewise.
5110         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
5111         Likewise.
5112         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
5113         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
5114         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
5115         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
5116         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
5117         ebp on inline assembly.
5118         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
5119         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
5120         Set if CAN_USE_REGISTER_ASM_EBP is set.
5122 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
5124         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
5125         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
5127 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
5129         * math/auto-libm-test-in: Add tests of catan and catanh.
5130         * math/auto-libm-test-out-catan: New generated file.
5131         * math/auto-libm-test-out-catanh: Likewise.
5132         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
5133         Move tests with finite inputs, except divide-by-zero cases, to
5134         auto-libm-test-in.
5135         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
5136         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
5137         (libm-test-funcs-noauto): Remove catan and catanh.
5138         * sysdeps/i386/fpu/libm-test-ulps: Update.
5139         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5142         * math/auto-libm-test-in: Add tests of casin and casinh.
5143         * math/auto-libm-test-out-casin: New generated file.
5144         * math/auto-libm-test-out-casinh: Likewise.
5145         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
5146         Move tests with finite inputs to auto-libm-test-in.
5147         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
5148         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
5149         (libm-test-funcs-noauto): Remove casin and casinh.
5150         * sysdeps/i386/fpu/libm-test-ulps: Update.
5151         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5154         * math/auto-libm-test-in: Add tests of cacos and cacosh.
5155         * math/auto-libm-test-out-cacos: New generated file.
5156         * math/auto-libm-test-out-cacosh: Likewise.
5157         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
5158         Move tests with finite inputs to auto-libm-test-in.
5159         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
5160         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
5161         (libm-test-funcs-noauto): Remove cacos and cacosh.
5162         * sysdeps/i386/fpu/libm-test-ulps: Update.
5163         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5166         Revert:
5167         2017-02-16  Zack Weinberg  <zackw@panix.com>
5169         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
5170         Don't include init-arch.h.
5171         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
5172         Don't include init-arch.h.
5174 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5176         [BZ #21171]
5177         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
5178         +Inf and raise divide-by-zero when x is negative.
5179         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
5180         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
5181         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
5182         -Inf and raise divide-by-zero when x = +-0.
5183         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5184         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
5185         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
5186         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
5187         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
5188         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5189         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5191 2017-02-16  Zack Weinberg  <zackw@panix.com>
5193         * scripts/build-many-glibcs.py (bot_build_mail): If the
5194         bot_config does not contain all of the necessary email-
5195         related settings, just print a warning and continue.
5197 2017-02-16  Zack Weinberg  <zackw@panix.com>
5199         * crypt/md5.h: Test _LIBC with #if defined, not #if.
5200         * dirent/opendir-tst1.c: Include sys/stat.h.
5201         * dirent/tst-fdopendir.c: Include sys/stat.h.
5202         * dirent/tst-fdopendir2.c: Include stdlib.h.
5203         * dirent/tst-scandir.c: Include stdbool.h.
5204         * elf/tst-auditmod1.c: Include link.h and stddef.h.
5205         * elf/tst-tls15.c: Include stdlib.h.
5206         * elf/tst-tls16.c: Include stdlib.h.
5207         * elf/tst-tls17.c: Include stdlib.h.
5208         * elf/tst-tls18.c: Include stdlib.h.
5209         * iconv/tst-iconv6.c: Include endian.h.
5210         * iconvdata/bug-iconv11.c: Include limits.h.
5211         * io/test-utime.c: Include stdint.h.
5212         * io/tst-faccessat.c: Include sys/stat.h.
5213         * io/tst-fchmodat.c: Include sys/stat.h.
5214         * io/tst-fchownat.c: Include sys/stat.h.
5215         * io/tst-fstatat.c: Include sys/stat.h.
5216         * io/tst-futimesat.c: Include sys/stat.h.
5217         * io/tst-linkat.c: Include sys/stat.h.
5218         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
5219         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
5220         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
5221         * io/tst-openat.c: Include stdbool.h.
5222         * io/tst-readlinkat.c: Include sys/stat.h.
5223         * io/tst-renameat.c: Include sys/stat.h.
5224         * io/tst-symlinkat.c: Include sys/stat.h.
5225         * io/tst-unlinkat.c: Include stdbool.h.
5226         * libio/bug-memstream1.c: Include stdlib.h.
5227         * libio/bug-wmemstream1.c: Include stdlib.h.
5228         * libio/tst-fwrite-error.c: Include stdlib.h.
5229         * libio/tst-memstream1.c: Include stdlib.h.
5230         * libio/tst-memstream2.c: Include stdlib.h.
5231         * libio/tst-memstream3.c: Include stdlib.h.
5232         * malloc/tst-interpose-aux.c: Include stdint.h.
5233         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
5234         * nptl/tst-basic7.c: Include limits.h.
5235         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
5236         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
5237         * nptl/tst-cancel4_1.c: Include stddef.h.
5238         * nptl/tst-cancel4_2.c: Include stddef.h.
5239         * nptl/tst-cond16.c: Include limits.h.
5240         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
5241         * nptl/tst-cond18.c: Include limits.h.
5242         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
5243         * nptl/tst-cond4.c: Include stdint.h.
5244         * nptl/tst-cond6.c: Include stdint.h.
5245         * nptl/tst-stack2.c: Include limits.h.
5246         * nptl/tst-stackguard1.c: Include stddef.h.
5247         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
5248         * nptl/tst-tls4moda.c: Include stddef.h.
5249         Don't include stdio.h, unistd.h, or tls.h.
5250         * nptl/tst-tls4modb.c: Include stddef.h.
5251         Don't include stdio.h, unistd.h, or tls.h.
5252         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
5253         * posix/tst-getaddrinfo2.c: Include stdio.h.
5254         * posix/tst-getaddrinfo5.c: Include stdio.h.
5255         * posix/tst-pathconf.c: Include sys/stat.h.
5256         * posix/tst-posix_fadvise-common.c: Include stdint.h.
5257         * posix/tst-preadwrite-common.c: Include sys/stat.h.
5258         * posix/tst-regex.c: Include stdint.h.
5259         Don't include spawn.h or spawn_int.h.
5260         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
5261         * posix/tst-vfork3.c: Include sys/stat.h.
5262         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
5263         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
5264         * resolv/tst-resolv-search.c: Include stdlib.h.
5265         * stdio-common/tst-fmemopen2.c: Include stdint.h.
5266         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
5267         * stdlib/test-canon.c: Include sys/stat.h.
5268         * stdlib/tst-tls-atexit.c: Include stdbool.h.
5269         * string/test-memchr.c: Include stdint.h.
5270         * string/tst-cmp.c: Include stdint.h.
5271         * sysdeps/pthread/tst-timer.c: Include stdint.h.
5272         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
5273         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
5274         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
5275         Don't include init-arch.h.
5276         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
5277         Don't include init-arch.h.
5278         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
5279         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
5280         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
5281         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
5282         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
5283         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
5284         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
5285         * time/clocktest.c: Include stdint.h.
5286         * time/tst-posixtz.c: Include stdint.h.
5287         * timezone/tst-timezone.c: Include stdint.h.
5289 2017-02-16  Zack Weinberg  <zackw@panix.com>
5291         * string/string.h [__USE_MISC]: Include strings.h.
5292         (__bzero, bcmp, bcopy, bzero, index, rindex)
5293         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
5294         (ffs, ffsl, ffsll): Don't declare.
5295         * string/strings.h: Do not suppress the file if string.h has
5296         already been included.
5297         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
5298         annotations.
5299         (index, rindex): Define inline forwarders even if
5300         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
5301         (ffs): Use __attribute_const__.
5302         (ffsl, ffsll): Declare here.
5303         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
5304         have now been standardized.
5305         * include/string.h (__bzero): Declare here.
5307         * bits/types.h: Move to posix/bits.
5308         * include/bits/types.h: New wrapper.
5310 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
5312         * string/bits/string2.h (strcmp): Remove define.
5313         (__strcmp_cg): Likewise.
5314         (strncmp): Likewise.
5316 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
5318         * include/string.h: Add __cplusplus check.
5320 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5322         [BZ #21134]
5323         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
5324         "divide by zero" exception when the input is zero.
5325         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
5326         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
5327         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
5328         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
5329         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5331 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
5333         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
5334         and include ...
5335         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
5336         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
5337         to, and include ...
5338         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
5339         file.
5340         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
5341         and include ...
5342         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
5343         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
5344         and include ...
5345         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
5346         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
5347         and include ...
5348         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
5349         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
5350         and include ...
5351         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
5352         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
5353         to, and include ...
5354         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
5355         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
5356         and include ...
5357         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
5359 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
5361         * math/libm-test-support.h: Do not include <math-tests-arch.h>
5362         here.
5363         * math/libm-test-support.c (libm_test_init): Do not call
5364         INIT_ARCH_EXT here.
5365         * math/libm-test-driver.c: Include <math-tests-arch.h>.
5366         (main): Call INIT_ARCH_EXT.
5368 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5370         [BZ #21130]
5371         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
5372         with the "invalid" exception raised when x is -Inf.
5373         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5375 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
5377         * string/bits/string2.h (strchr): Remove define.
5379 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
5381         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
5382         tst-avx512.
5383         (test-extras): Add tst-avx-aux and tst-avx512-aux.
5384         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
5385         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
5386         ($(objpfx)tst-sse): New rule.
5387         ($(objpfx)tst-avx): Likewise.
5388         ($(objpfx)tst-avx512): Likewise.
5389         (CFLAGS-tst-avx-aux.c): New.
5390         (CFLAGS-tst-avxmod.c): Likewise.
5391         (CFLAGS-tst-avx512-aux.c): Likewise.
5392         (CFLAGS-tst-avx512mod.c): Likewise.
5393         * sysdeps/x86_64/tst-avx-aux.c: New file.
5394         * sysdeps/x86_64/tst-avx.c: Likewise.
5395         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
5396         * sysdeps/x86_64/tst-avx512.c: Likewise.
5397         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
5398         * sysdeps/x86_64/tst-avxmod.c: Likewise.
5399         * sysdeps/x86_64/tst-sse.c: Likewise.
5400         * sysdeps/x86_64/tst-ssemod.c: Likewise.
5402 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
5404         * math/auto-libm-test-in: Add more tests of csin and csinh.
5405         * math/auto-libm-test-out-csin: Regenerated.
5406         * math/auto-libm-test-out-csinh: Likewise.
5407         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
5408         auto-libm-test-in.
5409         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
5411 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5413         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
5414         libm-compat-calls-auto.
5415         (libm-compat-calls): Likewise.
5416         (libm-compat-calls-auto): Rename to libm-compat-calls and add
5417         w_lgamma_compatF and k_standardF (merged from the items above).
5418         (libm-routines): Use libm-compat-calls, instead of
5419         libm-compat-calls-auto, with type-foreach.
5421 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
5423         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
5424         macro.
5425         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
5426         (CFLAGS-test-ifloat.c): ... this.  Remove
5427         -U__LIBC_INTERNAL_MATH_INLINES.
5428         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
5429         (CFLAGS-test-idouble.c): ... this.  Remove
5430         -U__LIBC_INTERNAL_MATH_INLINES.
5431         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
5432         (CFLAGS-test-ildouble.c): ... this.  Remove
5433         -U__LIBC_INTERNAL_MATH_INLINES.
5435 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
5437         * math/libm-test-support.c: New file.  Content from
5438         math/libm-test-driver.c.
5439         * math/libm-test-support.h: Likewise.
5440         * math/libm-test-support-double.c: New file.
5441         * math/libm-test-support-float.c: Likewise.
5442         * math/libm-test-support-ldouble.c: Likewise.
5443         * math/libm-test-driver.c: Remove main comment and header
5444         includes.  Include libm-test-support.h.
5445         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
5446         (flag_test_errno): Remove static.
5447         (flag_test_exceptions): Likewise.
5448         (flag_test_finite): Likewise.
5449         (flag_test_inline): Likewise.
5450         (flag_test_mathvec): Likewise.
5451         (test_msg): Likewise.
5452         (NO_EXCEPTION): Remove.
5453         (INVALID_EXCEPTION): Likewise.
5454         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
5455         (OVERFLOW_EXCEPTION): Likewise.
5456         (UNDERFLOW_EXCEPTION): Likewise.
5457         (INEXACT_EXCEPTION): Likewise.
5458         (INVALID_EXCEPTION_OK): Likewise.
5459         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5460         (OVERFLOW_EXCEPTION_OK): Likewise.
5461         (UNDERFLOW_EXCEPTION_OK): Likewise.
5462         (NO_INEXACT_EXCEPTION): Likewise.
5463         (EXCEPTIONS_OK): Likewise.
5464         (IGNORE_ZERO_INF_SIGN): Likewise.
5465         (TEST_NAN_SIGN): Likewise.
5466         (TEST_NAN_PAYLOAD): Likewise.
5467         (NO_TEST_INLINE): Likewise.
5468         (XFAIL_TEST): Likewise.
5469         (ERRNO_UNCHANGED): Likewise.
5470         (ERRNO_EDOM): Likewise.
5471         (ERRNO_ERANGE): Likewise.
5472         (IGNORE_RESULT): Likewise.
5473         (NON_FINITE): Likewise.
5474         (TEST_SNAN): Likewise.
5475         (NO_TEST_MATHVEC): Likewise.
5476         (__CONCATX): Likewise.
5477         (TYPE_MIN): Likewise.
5478         (TYPE_TRUE_MIN): Likewise.
5479         (TYPE_MAX): Likewise.
5480         (MIN_EXP): Likewise.
5481         (MAX_EXP): Likewise.
5482         (MANT_DIG): Likewise.
5483         (FSTR_MAX): Likewise.
5484         (ulp_idx): Likewise.
5485         (qtype_str): Remove static.
5486         (TEST_COND_binary32): Remove.
5487         (TEST_COND_binary64): Likewise.
5488         (TEST_COND_binary128): Likewise.
5489         (TEST_COND_ibm128): Likewise.
5490         (TEST_COND_intel96): Likewise.
5491         (TEST_COND_m68k96): Likewise.
5492         (TEST_COND_ibm128_libgcc): Likewise.
5493         (XFAIL_IBM128_LIBGCC): Likewise.
5494         (PAYLOAD_DIG): Likewise.
5495         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5496         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5497         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5498         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
5499         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5500         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
5501         (TEST_COND_long32): Likewise.
5502         (TEST_COND_long64): Likewise.
5503         (TEST_COND_before_rounding): Likewise.
5504         (TEST_COND_after_rounding): Likewise.
5505         (ulps_file_name): Likewise.
5506         (ulps_file): Likewise.
5507         (output_ulps): Likewise.
5508         (output_dir): Likewise.
5509         (noErrors): Likewise.
5510         (noTests): Likewise.
5511         (noExcTests): Likewise.
5512         (noErrnoTests): Likewise.
5513         (verbose): Likewise.
5514         (output_max_error): Likewise.
5515         (output_points): Likewise.
5516         (ignore_max_ulp): Likewise.
5517         (max_error): Likewise.
5518         (real_max_error): Likewise.
5519         (imag_max_error): Likewise.
5520         (prev_max_error): Likewise.
5521         (prev_real_max_error): Likewise.
5522         (prev_imag_max_error): Likewise.
5523         (max_valid_error): Likewise.
5524         (TYPE_DECIMAL_DIG): Likewise.
5525         (TYPE_HEX_DIG): Likewise.
5526         (fmt_ftostr): Likewise.
5527         (compare_ulp_data): Likewise.
5528         (find_ulps): Likewise.
5529         (init_max_error): Likewise.
5530         (set_max_error): Likewise.
5531         (print_float): Likewise.
5532         (print_screen): Likewise.
5533         (print_screen_max_error): Likewise.
5534         (update_stats): Likewise.
5535         (print_function_ulps): Likewise.
5536         (print_complex_function_ulps): Likewise.
5537         (fpstack_test): Likewise.
5538         (print_max_error): Likewise.
5539         (print_complex_max_error): Likewise.
5540         (test_single_exception): Likewise.
5541         (test_exceptions): Likewise.
5542         (test_single_errno): Likewise.
5543         (test_errno): Likewise.
5544         (ULPDIFF): Likewise.
5545         (ulp): Likewise.
5546         (check_float_internal): Likewise.
5547         (check_float): Likewise.
5548         (check_complex): Likewise.
5549         (check_int): Likewise.
5550         (check_long): Likewise.
5551         (check_bool): Likewise.
5552         (check_longlong): Likewise.
5553         (check_intmax_t): Likewise.
5554         (check_uintmax_t): Likewise.
5555         (enable_test): Likewise.
5556         (matherr): Likewise.
5557         (initialize): Likewise.
5558         (options): Likewise.
5559         (doc): Remove static.
5560         (argp): Likewise.
5561         (parse_opt): Remove.
5562         (check_ulp): Likewise.
5563         (libm_test_init): Likewise.
5564         (libm_test_finish): Likewise.
5565         * math/Makefile (libm-test-support): New variable.
5566         (test-extras): Add libm-test-support files.
5567         (extra-test-objs): Likewise.
5568         (CFLAGS-libm-test-support-float.c): New variable.
5569         (CFLAGS-libm-test-support-double.c): Likewise.
5570         (CFLAGS-libm-test-support-ldouble.c): Likewise.
5571         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
5572         libm-test-support objects.
5574 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5576         * math/Makefile (libm-calls): Move w_exp...
5577         (libm-compat-calls-auto): Here.
5579         * math/w_expl.c: Add suffix "_compat" to filename.
5580         * sysdeps/ia64/fpu/w_expl.c: Likewise.
5581         * sysdeps/ia64/fpu/w_expf.c: Likewise.
5582         * sysdeps/ia64/fpu/w_exp.c: Likewise.
5583         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5584         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5585         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5586         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
5587         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5589         * math/w_expl_compat.c: New file, copied from above.
5590         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
5591         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
5592         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
5593         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
5594         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
5595         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
5596         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
5597         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
5599         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
5600         to filename.
5601         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
5603         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
5604         copied from above and adjusted for the new filenames.
5605         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
5607 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5609         * math/Makefile (libm-calls): Move w_lgammaF...
5610         (libm-compat-calls-auto): Here.
5612         * math/w_lgamma.c: Add suffix "_compat2" to filename.
5613         * math/w_lgammaf.c: Likewise.
5614         * math/w_lgammal.c: Likewise.
5616         * math/w_lgamma_compat2.c: New file, copied from above.
5617         * math/w_lgammaf_compat2.c: Likewise.
5618         * math/w_lgammal_compat2.c: Likewise.
5620 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5622         * math/Makefile (libm-calls): Move w_lgammaF_r...
5623         (libm-compat-calls-auto): Here.
5625         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
5626         * math/w_lgammaf_r.c: Likewise.
5627         * math/w_lgammal_r.c: Likewise.
5628         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
5629         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
5630         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
5632         * math/w_lgamma_r_compat.c: New file, copied from above.
5633         * math/w_lgammaf_r_compat.c: Likewise.
5634         * math/w_lgammal_r_compat.c: Likewise.
5635         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
5636         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
5637         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
5639         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
5640         to filename.
5641         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
5643         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
5644         copied from above and adjusted for the new filenames.
5645         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
5647 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
5649         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
5650         calculation in SYSCALL_ERROR_HANDLER().
5652 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
5654         * manual/contrib.texi: Fix typo.
5656 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5658         [BZ #21109]
5659         * elf/dl-tunable-types.h (tunable_callback_t): Accept
5660         tunable_val_t as argument.
5661         * elf/dl-tunables.c (__tunable_set_val): Add comment.
5662         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
5663         argument.
5664         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
5666 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
5668         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
5669         Add PTRACE_EVENT_STOP.
5670         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
5671         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5672         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5673         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5674         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
5675         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
5677 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
5679         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
5680         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
5681         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
5682         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
5683         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
5684         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
5685         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
5686         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
5687         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
5688         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
5690         [BZ #21112]
5691         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
5692         12 bits zero.
5693         (cp_l): Update for new value of cp_h.
5694         * math/auto-libm-test-in: Add another test of pow.
5695         * math/auto-libm-test-out-pow: Regenerated.
5697 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5699         * manual/contrib.texi: Fix typo.
5701 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5703         [BZ #15998]
5704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5705         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
5706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5708 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5710         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
5711         STRCHR as __strchr_power8.
5712         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
5713         strlen as __strlen_power8.
5715 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5717         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
5718         unaligned load for shorter strings.
5719         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
5721 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
5723         * math/libm-test-driver.c (flag_test_errno): New variable.
5724         (flag_test_exceptions): Likewise.
5725         (flag_test_finite): Likewise.
5726         (flag_test_inline): Likewise.
5727         (flag_test_mathvec): Likewise.
5728         (test_msg): Likewise.
5729         (ulp_idx): Likewise.
5730         (qtype_str): Likewise.
5731         (ULP_IDX): Remove macro.
5732         (QTYPE_STR): Likewise.
5733         (find_ulps): Use ulp_idx not ULP_IDX.
5734         (print_function_ulps): Use qtype_str, printed with %s, not
5735         QTYPE_STR, printed with concatentation to format string.
5736         (print_complex_function_ulps): Likewise.
5737         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
5738         (test_errno): Use flag_test_errno not TEST_ERRNO.
5739         (enable_test): Use flag_test_inline, flag_test_finite and
5740         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
5741         TEST_MATHVEC.
5742         (libm_test_init): New function.  Factored out of main.
5743         (libm_test_finish): Likewise.
5744         (main): Call libm_test_init and libm_test_finish and move most
5745         code to those functions.
5747         * math/libm-test-driver.c (STRX): New macro.
5748         (STR): Likewise.
5749         (STR_FLOAT): Likewise.
5750         (STR_VEC_LEN): Likewise.
5751         (TEST_MSG): Likewise.  Define here instead of expecting to be
5752         defined by including file.
5753         * math/test-double-finite.c (TEST_MSG): Remove macro.
5754         * math/test-double-vlen2.h (TEST_MSG): Likewise.
5755         * math/test-double-vlen4.h (TEST_MSG): Likewise.
5756         * math/test-double-vlen8.h (TEST_MSG): Likewise.
5757         * math/test-double.c (TEST_MSG): Likewise.
5758         * math/test-float-finite.c (TEST_MSG): Likewise.
5759         * math/test-float-vlen16.h (TEST_MSG): Likewise.
5760         * math/test-float-vlen4.h (TEST_MSG): Likewise.
5761         * math/test-float-vlen8.h (TEST_MSG): Likewise.
5762         * math/test-float.c (TEST_MSG): Likewise.
5763         * math/test-idouble.c (TEST_MSG): Likewise.
5764         * math/test-ifloat.c (TEST_MSG): Likewise.
5765         * math/test-ildouble.c (TEST_MSG): Likewise.
5766         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
5767         * math/test-ldouble.c (TEST_MSG): Likewise.
5769         * math/libm-test.inc: Move all tests of individual functions to
5770         libm-test-*.inc and #include libm-test-*.c files.
5771         (acos_test_data): Remove.
5772         (acos_test): Likewise.
5773         (acosh_test_data): Likewise.
5774         (acosh_test): Likewise.
5775         (asin_test_data): Likewise.
5776         (asin_test): Likewise.
5777         (asinh_test_data): Likewise.
5778         (asinh_test): Likewise.
5779         (atan_test_data): Likewise.
5780         (atan_test): Likewise.
5781         (atanh_test_data): Likewise.
5782         (atanh_test): Likewise.
5783         (atan2_test_data): Likewise.
5784         (atan2_test): Likewise.
5785         (cabs_test_data): Likewise.
5786         (cabs_test): Likewise.
5787         (cacos_test_data): Likewise.
5788         (cacos_test): Likewise.
5789         (cacosh_test_data): Likewise.
5790         (cacosh_test): Likewise.
5791         (canonicalize_test_data): Likewise.
5792         (canonicalize_test): Likewise.
5793         (carg_test_data): Likewise.
5794         (carg_test): Likewise.
5795         (casin_test_data): Likewise.
5796         (casin_test): Likewise.
5797         (casinh_test_data): Likewise.
5798         (casinh_test): Likewise.
5799         (catan_test_data): Likewise.
5800         (catan_test): Likewise.
5801         (catanh_test_data): Likewise.
5802         (catanh_test): Likewise.
5803         (cbrt_test_data): Likewise.
5804         (cbrt_test): Likewise.
5805         (ccos_test_data): Likewise.
5806         (ccos_test): Likewise.
5807         (ccosh_test_data): Likewise.
5808         (ccosh_test): Likewise.
5809         (ceil_test_data): Likewise.
5810         (ceil_test): Likewise.
5811         (cexp_test_data): Likewise.
5812         (cexp_test): Likewise.
5813         (cimag_test_data): Likewise.
5814         (cimag_test): Likewise.
5815         (clog_test_data): Likewise.
5816         (clog_test): Likewise.
5817         (clog10_test_data): Likewise.
5818         (clog10_test): Likewise.
5819         (conj_test_data): Likewise.
5820         (conj_test): Likewise.
5821         (copysign_test_data): Likewise.
5822         (copysign_test): Likewise.
5823         (cos_test_data): Likewise.
5824         (cos_test): Likewise.
5825         (cosh_test_data): Likewise.
5826         (cosh_test): Likewise.
5827         (cpow_test_data): Likewise.
5828         (cpow_test): Likewise.
5829         (cproj_test_data): Likewise.
5830         (cproj_test): Likewise.
5831         (creal_test_data): Likewise.
5832         (creal_test): Likewise.
5833         (csin_test_data): Likewise.
5834         (csin_test): Likewise.
5835         (csinh_test_data): Likewise.
5836         (csinh_test): Likewise.
5837         (csqrt_test_data): Likewise.
5838         (csqrt_test): Likewise.
5839         (ctan_test_data): Likewise.
5840         (ctan_test): Likewise.
5841         (ctanh_test_data): Likewise.
5842         (ctanh_test): Likewise.
5843         (erf_test_data): Likewise.
5844         (erf_test): Likewise.
5845         (erfc_test_data): Likewise.
5846         (erfc_test): Likewise.
5847         (exp_test_data): Likewise.
5848         (exp_test): Likewise.
5849         (exp10_test_data): Likewise.
5850         (exp10_test): Likewise.
5851         (pow10_test): Likewise.
5852         (exp2_test_data): Likewise.
5853         (exp2_test): Likewise.
5854         (expm1_test_data): Likewise.
5855         (expm1_test): Likewise.
5856         (fabs_test_data): Likewise.
5857         (fabs_test): Likewise.
5858         (fdim_test_data): Likewise.
5859         (fdim_test): Likewise.
5860         (floor_test_data): Likewise.
5861         (floor_test): Likewise.
5862         (fma_test_data): Likewise.
5863         (fma_test): Likewise.
5864         (fmax_test_data): Likewise.
5865         (fmax_test): Likewise.
5866         (fmaxmag_test_data): Likewise.
5867         (fmaxmag_test): Likewise.
5868         (fmin_test_data): Likewise.
5869         (fmin_test): Likewise.
5870         (fminmag_test_data): Likewise.
5871         (fminmag_test): Likewise.
5872         (fmod_test_data): Likewise.
5873         (fmod_test): Likewise.
5874         (fpclassify_test_data): Likewise.
5875         (fpclassify_test): Likewise.
5876         (frexp_test_data): Likewise.
5877         (frexp_test): Likewise.
5878         (fromfp_test_data): Likewise.
5879         (fromfp_test): Likewise.
5880         (fromfpx_test_data): Likewise.
5881         (fromfpx_test): Likewise.
5882         (getpayload_test_data): Likewise.
5883         (getpayload_test): Likewise.
5884         (hypot_test_data): Likewise.
5885         (hypot_test): Likewise.
5886         (ilogb_test_data): Likewise.
5887         (ilogb_test): Likewise.
5888         (iscanonical_test_data): Likewise.
5889         (iscanonical_test): Likewise.
5890         (iseqsig_test_data): Likewise.
5891         (iseqsig_test): Likewise.
5892         (isfinite_test_data): Likewise.
5893         (isfinite_test): Likewise.
5894         (finite_test): Likewise.
5895         (isgreater_test_data): Likewise.
5896         (isgreater_test): Likewise.
5897         (isgreaterequal_test_data): Likewise.
5898         (isgreaterequal_test): Likewise.
5899         (isinf_test_data): Likewise.
5900         (isinf_test): Likewise.
5901         (isless_test_data): Likewise.
5902         (isless_test): Likewise.
5903         (islessequal_test_data): Likewise.
5904         (islessequal_test): Likewise.
5905         (islessgreater_test_data): Likewise.
5906         (islessgreater_test): Likewise.
5907         (isnan_test_data): Likewise.
5908         (isnan_test): Likewise.
5909         (isnormal_test_data): Likewise.
5910         (isnormal_test): Likewise.
5911         (issignaling_test_data): Likewise.
5912         (issignaling_test): Likewise.
5913         (issubnormal_test_data): Likewise.
5914         (issubnormal_test): Likewise.
5915         (isunordered_test_data): Likewise.
5916         (isunordered_test): Likewise.
5917         (iszero_test_data): Likewise.
5918         (iszero_test): Likewise.
5919         (j0_test_data): Likewise.
5920         (j0_test): Likewise.
5921         (j1_test_data): Likewise.
5922         (j1_test): Likewise.
5923         (jn_test_data): Likewise.
5924         (jn_test): Likewise.
5925         (lgamma_test_data): Likewise.
5926         (lgamma_test): Likewise.
5927         (gamma_test): Likewise.
5928         (llogb_test_data): Likewise.
5929         (llogb_test): Likewise.
5930         (lrint_test_data): Likewise.
5931         (lrint_test): Likewise.
5932         (llrint_test_data): Likewise.
5933         (llrint_test): Likewise.
5934         (log_test_data): Likewise.
5935         (log_test): Likewise.
5936         (log10_test_data): Likewise.
5937         (log10_test): Likewise.
5938         (log1p_test_data): Likewise.
5939         (log1p_test): Likewise.
5940         (log2_test_data): Likewise.
5941         (log2_test): Likewise.
5942         (logb_test_data): Likewise.
5943         (logb_test): Likewise.
5944         (lround_test_data): Likewise.
5945         (lround_test): Likewise.
5946         (llround_test_data): Likewise.
5947         (llround_test): Likewise.
5948         (modf_test_data): Likewise.
5949         (modf_test): Likewise.
5950         (nearbyint_test_data): Likewise.
5951         (nearbyint_test): Likewise.
5952         (nextafter_test_data): Likewise.
5953         (nextafter_test): Likewise.
5954         (nextup_test_data): Likewise.
5955         (nextup_test): Likewise.
5956         (nextdown_test_data): Likewise.
5957         (nextdown_test): Likewise.
5958         (nexttoward_test_data): Likewise.
5959         (nexttoward_test): Likewise.
5960         (pow_test_data): Likewise.
5961         (pow_test): Likewise.
5962         (remainder_test_data): Likewise.
5963         (remainder_test): Likewise.
5964         (drem_test): Likewise.
5965         (remquo_test_data): Likewise.
5966         (remquo_test): Likewise.
5967         (rint_test_data): Likewise.
5968         (rint_test): Likewise.
5969         (round_test_data): Likewise.
5970         (round_test): Likewise.
5971         (roundeven_test_data): Likewise.
5972         (roundeven_test): Likewise.
5973         (scalb_test_data): Likewise.
5974         (scalb_test): Likewise.
5975         (scalbn_test_data): Likewise.
5976         (scalbn_test): Likewise.
5977         (ldexp_test): Likewise.
5978         (scalbln_test_data): Likewise.
5979         (scalbln_test): Likewise.
5980         (setpayload_test_data): Likewise.
5981         (setpayload_test): Likewise.
5982         (setpayloadsig_test_data): Likewise.
5983         (setpayloadsig_test): Likewise.
5984         (signbit_test_data): Likewise.
5985         (signbit_test): Likewise.
5986         (sin_test_data): Likewise.
5987         (sin_test): Likewise.
5988         (sincos_test_data): Likewise.
5989         (sincos_test): Likewise.
5990         (sinh_test_data): Likewise.
5991         (sinh_test): Likewise.
5992         (sqrt_test_data): Likewise.
5993         (sqrt_test): Likewise.
5994         (tan_test_data): Likewise.
5995         (tan_test): Likewise.
5996         (tanh_test_data): Likewise.
5997         (tanh_test): Likewise.
5998         (tgamma_test_data): Likewise.
5999         (tgamma_test): Likewise.
6000         (totalorder_test_data): Likewise.
6001         (totalorder_test): Likewise.
6002         (totalordermag_test_data): Likewise.
6003         (totalordermag_test): Likewise.
6004         (trunc_test_data): Likewise.
6005         (trunc_test): Likewise.
6006         (ufromfp_test_data): Likewise.
6007         (ufromfp_test): Likewise.
6008         (ufromfpx_test_data): Likewise.
6009         (ufromfpx_test): Likewise.
6010         (y0_test_data): Likewise.
6011         (y0_test): Likewise.
6012         (y1_test_data): Likewise.
6013         (y1_test): Likewise.
6014         (yn_test_data): Likewise.
6015         (yn_test): Likewise.
6016         (significand_test_data): Likewise.
6017         (significand_test): Likewise.
6018         * math/Makefile (auto-libm-test-out-files): Remove variable.
6019         (libm-test-funcs-noauto): New variable.
6020         (libm-test-funcs-all): Likewise.
6021         (libm-test-c-auto): Likewise.
6022         (libm-test-c-noauto): Likewise.
6023         (libm-tests-generated): Add $(libm-test-c-auto) and
6024         $(libm-test-c-noauto).
6025         (generated): Do not add auto-libm-test-out.
6026         (libm-test-c-auto-obj): New variable.
6027         (libm-test-c-noauto-obj): Likewise.
6028         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
6029         ($(libm-test-c-noauto-obj)): New static pattern rule.
6030         ($(libm-test-c-auto-obj)): Likewise.
6031         (libm-test-incs): New variable.
6032         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
6033         and pass it to gen-libm-have-vector-test.sh.
6034         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
6035         be passed on command line.
6036         * math/libm-test-acos.inc: New file.  Content from
6037         math/libm-test.inc.
6038         * math/libm-test-acosh.inc: Likewise.
6039         * math/libm-test-asin.inc: Likewise.
6040         * math/libm-test-asinh.inc: Likewise.
6041         * math/libm-test-atan.inc: Likewise.
6042         * math/libm-test-atan2.inc: Likewise.
6043         * math/libm-test-atanh.inc: Likewise.
6044         * math/libm-test-cabs.inc: Likewise.
6045         * math/libm-test-cacos.inc: Likewise.
6046         * math/libm-test-cacosh.inc: Likewise.
6047         * math/libm-test-canonicalize.inc: Likewise.
6048         * math/libm-test-carg.inc: Likewise.
6049         * math/libm-test-casin.inc: Likewise.
6050         * math/libm-test-casinh.inc: Likewise.
6051         * math/libm-test-catan.inc: Likewise.
6052         * math/libm-test-catanh.inc: Likewise.
6053         * math/libm-test-cbrt.inc: Likewise.
6054         * math/libm-test-ccos.inc: Likewise.
6055         * math/libm-test-ccosh.inc: Likewise.
6056         * math/libm-test-ceil.inc: Likewise.
6057         * math/libm-test-cexp.inc: Likewise.
6058         * math/libm-test-cimag.inc: Likewise.
6059         * math/libm-test-clog.inc: Likewise.
6060         * math/libm-test-clog10.inc: Likewise.
6061         * math/libm-test-conj.inc: Likewise.
6062         * math/libm-test-copysign.inc: Likewise.
6063         * math/libm-test-cos.inc: Likewise.
6064         * math/libm-test-cosh.inc: Likewise.
6065         * math/libm-test-cpow.inc: Likewise.
6066         * math/libm-test-cproj.inc: Likewise.
6067         * math/libm-test-creal.inc: Likewise.
6068         * math/libm-test-csin.inc: Likewise.
6069         * math/libm-test-csinh.inc: Likewise.
6070         * math/libm-test-csqrt.inc: Likewise.
6071         * math/libm-test-ctan.inc: Likewise.
6072         * math/libm-test-ctanh.inc: Likewise.
6073         * math/libm-test-erf.inc: Likewise.
6074         * math/libm-test-erfc.inc: Likewise.
6075         * math/libm-test-exp.inc: Likewise.
6076         * math/libm-test-exp10.inc: Likewise.
6077         * math/libm-test-exp2.inc: Likewise.
6078         * math/libm-test-expm1.inc: Likewise.
6079         * math/libm-test-fabs.inc: Likewise.
6080         * math/libm-test-fdim.inc: Likewise.
6081         * math/libm-test-floor.inc: Likewise.
6082         * math/libm-test-fma.inc: Likewise.
6083         * math/libm-test-fmax.inc: Likewise.
6084         * math/libm-test-fmaxmag.inc: Likewise.
6085         * math/libm-test-fmin.inc: Likewise.
6086         * math/libm-test-fminmag.inc: Likewise.
6087         * math/libm-test-fmod.inc: Likewise.
6088         * math/libm-test-fpclassify.inc: Likewise.
6089         * math/libm-test-frexp.inc: Likewise.
6090         * math/libm-test-fromfp.inc: Likewise.
6091         * math/libm-test-fromfpx.inc: Likewise.
6092         * math/libm-test-getpayload.inc: Likewise.
6093         * math/libm-test-hypot.inc: Likewise.
6094         * math/libm-test-ilogb.inc: Likewise.
6095         * math/libm-test-iscanonical.inc: Likewise.
6096         * math/libm-test-iseqsig.inc: Likewise.
6097         * math/libm-test-isfinite.inc: Likewise.
6098         * math/libm-test-isgreater.inc: Likewise.
6099         * math/libm-test-isgreaterequal.inc: Likewise.
6100         * math/libm-test-isinf.inc: Likewise.
6101         * math/libm-test-isless.inc: Likewise.
6102         * math/libm-test-islessequal.inc: Likewise.
6103         * math/libm-test-islessgreater.inc: Likewise.
6104         * math/libm-test-isnan.inc: Likewise.
6105         * math/libm-test-isnormal.inc: Likewise.
6106         * math/libm-test-issignaling.inc: Likewise.
6107         * math/libm-test-issubnormal.inc: Likewise.
6108         * math/libm-test-isunordered.inc: Likewise.
6109         * math/libm-test-iszero.inc: Likewise.
6110         * math/libm-test-j0.inc: Likewise.
6111         * math/libm-test-j1.inc: Likewise.
6112         * math/libm-test-jn.inc: Likewise.
6113         * math/libm-test-lgamma.inc: Likewise.
6114         * math/libm-test-llogb.inc: Likewise.
6115         * math/libm-test-llrint.inc: Likewise.
6116         * math/libm-test-llround.inc: Likewise.
6117         * math/libm-test-log.inc: Likewise.
6118         * math/libm-test-log10.inc: Likewise.
6119         * math/libm-test-log1p.inc: Likewise.
6120         * math/libm-test-log2.inc: Likewise.
6121         * math/libm-test-logb.inc: Likewise.
6122         * math/libm-test-lrint.inc: Likewise.
6123         * math/libm-test-lround.inc: Likewise.
6124         * math/libm-test-modf.inc: Likewise.
6125         * math/libm-test-nearbyint.inc: Likewise.
6126         * math/libm-test-nextafter.inc: Likewise.
6127         * math/libm-test-nextdown.inc: Likewise.
6128         * math/libm-test-nexttoward.inc: Likewise.
6129         * math/libm-test-nextup.inc: Likewise.
6130         * math/libm-test-pow.inc: Likewise.
6131         * math/libm-test-remainder.inc: Likewise.
6132         * math/libm-test-remquo.inc: Likewise.
6133         * math/libm-test-rint.inc: Likewise.
6134         * math/libm-test-round.inc: Likewise.
6135         * math/libm-test-roundeven.inc: Likewise.
6136         * math/libm-test-scalb.inc: Likewise.
6137         * math/libm-test-scalbln.inc: Likewise.
6138         * math/libm-test-scalbn.inc: Likewise.
6139         * math/libm-test-setpayload.inc: Likewise.
6140         * math/libm-test-setpayloadsig.inc: Likewise.
6141         * math/libm-test-signbit.inc: Likewise.
6142         * math/libm-test-significand.inc: Likewise.
6143         * math/libm-test-sin.inc: Likewise.
6144         * math/libm-test-sincos.inc: Likewise.
6145         * math/libm-test-sinh.inc: Likewise.
6146         * math/libm-test-sqrt.inc: Likewise.
6147         * math/libm-test-tan.inc: Likewise.
6148         * math/libm-test-tanh.inc: Likewise.
6149         * math/libm-test-tgamma.inc: Likewise.
6150         * math/libm-test-totalorder.inc: Likewise.
6151         * math/libm-test-totalordermag.inc: Likewise.
6152         * math/libm-test-trunc.inc: Likewise.
6153         * math/libm-test-ufromfp.inc: Likewise.
6154         * math/libm-test-ufromfpx.inc: Likewise.
6155         * math/libm-test-y0.inc: Likewise.
6156         * math/libm-test-y1.inc: Likewise.
6157         * math/libm-test-yn.inc: Likewise.
6158         * math/README.libm-test: Update.
6160         * math/gen-auto-libm-tests.c: Update comment about use of program.
6161         (generate_output): Add argument FUNCTION.
6162         (main): Require extra argument.  Pass function name to
6163         generate_output.
6164         * math/Makefile (generated): Add auto-libm-test-out.
6165         (libm-test-funcs-auto): New variable.
6166         (auto-libm-test-out-files): New variable.
6167         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
6168         Concatenate those files to form $(objpfx)auto-libm-test-out and
6169         use it as input to gen-libm-test.pl.
6170         * math/README.libm-test: Update.
6171         * math/auto-libm-test-out: Remove.
6172         * math/auto-libm-test-out-acos: New generated file.
6173         * math/auto-libm-test-out-acosh: Likewise.
6174         * math/auto-libm-test-out-asin: Likewise.
6175         * math/auto-libm-test-out-asinh: Likewise.
6176         * math/auto-libm-test-out-atan: Likewise.
6177         * math/auto-libm-test-out-atan2: Likewise.
6178         * math/auto-libm-test-out-atanh: Likewise.
6179         * math/auto-libm-test-out-cabs: Likewise.
6180         * math/auto-libm-test-out-carg: Likewise.
6181         * math/auto-libm-test-out-cbrt: Likewise.
6182         * math/auto-libm-test-out-ccos: Likewise.
6183         * math/auto-libm-test-out-ccosh: Likewise.
6184         * math/auto-libm-test-out-cexp: Likewise.
6185         * math/auto-libm-test-out-clog: Likewise.
6186         * math/auto-libm-test-out-clog10: Likewise.
6187         * math/auto-libm-test-out-cos: Likewise.
6188         * math/auto-libm-test-out-cosh: Likewise.
6189         * math/auto-libm-test-out-cpow: Likewise.
6190         * math/auto-libm-test-out-csin: Likewise.
6191         * math/auto-libm-test-out-csinh: Likewise.
6192         * math/auto-libm-test-out-csqrt: Likewise.
6193         * math/auto-libm-test-out-ctan: Likewise.
6194         * math/auto-libm-test-out-ctanh: Likewise.
6195         * math/auto-libm-test-out-erf: Likewise.
6196         * math/auto-libm-test-out-erfc: Likewise.
6197         * math/auto-libm-test-out-exp: Likewise.
6198         * math/auto-libm-test-out-exp10: Likewise.
6199         * math/auto-libm-test-out-exp2: Likewise.
6200         * math/auto-libm-test-out-expm1: Likewise.
6201         * math/auto-libm-test-out-fma: Likewise.
6202         * math/auto-libm-test-out-hypot: Likewise.
6203         * math/auto-libm-test-out-j0: Likewise.
6204         * math/auto-libm-test-out-j1: Likewise.
6205         * math/auto-libm-test-out-jn: Likewise.
6206         * math/auto-libm-test-out-lgamma: Likewise.
6207         * math/auto-libm-test-out-log: Likewise.
6208         * math/auto-libm-test-out-log10: Likewise.
6209         * math/auto-libm-test-out-log1p: Likewise.
6210         * math/auto-libm-test-out-log2: Likewise.
6211         * math/auto-libm-test-out-pow: Likewise.
6212         * math/auto-libm-test-out-sin: Likewise.
6213         * math/auto-libm-test-out-sincos: Likewise.
6214         * math/auto-libm-test-out-sinh: Likewise.
6215         * math/auto-libm-test-out-sqrt: Likewise.
6216         * math/auto-libm-test-out-tan: Likewise.
6217         * math/auto-libm-test-out-tanh: Likewise.
6218         * math/auto-libm-test-out-tgamma: Likewise.
6219         * math/auto-libm-test-out-y0: Likewise.
6220         * math/auto-libm-test-out-y1: Likewise.
6221         * math/auto-libm-test-out-yn: Likewise.
6223         * math/Makefile (generated): Do not include libm-test.stmp.
6224         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
6225         on $(objpfx)libm-test.stmp.
6226         ($(objpfx)libm-test.stmp): Remove rule.
6227         ($(objpfx)libm-test-ulps.h): New rule.
6228         ($(objpfx)libm-test.c): Likewise.
6229         ($(objpfx)libm-have-vector-test.h): Likewise.
6230         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
6231         individual generated files, not libm-test.stmp.
6233         * math/gen-libm-test.pl ($output_dir): Remove variable.
6234         ($srcdir): Likewise.
6235         ($opt_a): New variable.
6236         ($opt_c): Likewise.
6237         ($opt_C): Likewise.
6238         ($opt_H): Likewise.
6239         (-n): Make option take argument and use it as NewUlps output.
6240         (-a): New option.  Use its argument for auto-libm-test-out input.
6241         (-c): New option.  Use its argument for libm-test.inc input.
6242         (-C): New option.  Use its argument for libm-test.c output.
6243         (-H): New option.  Use its argument for libm-test-ulps.h output.
6244         (top level): Only process inputs needed to generate outputs
6245         specified by command-line options.  Only generate outputs
6246         specified by command-line options.
6247         * math/README.libm-test: Update example gen-libm-test.pl command.
6248         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
6249         commands.
6250         (regen-ulps): Likewise.
6252 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
6254         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
6255         * include/string.h (index): Remove define.
6256         (rindex): Likewise.
6257         * misc/getttyent.c (__getttyent): Rename index to strchr.
6258         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
6259         * sunrpc/rpc_main.c (mkfile_output): Likewise.
6261 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
6263         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
6264         * math/libm-test.inc: Move all contents, other than tests of
6265         individual functions, to libm-test-driver.c.
6266         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
6267         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
6268         [!FE_UPWARD] (FE_UPWARD): Likewise.
6269         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
6270         (NO_EXCEPTION): Likewise.
6271         (INVALID_EXCEPTION): Likewise.
6272         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
6273         (OVERFLOW_EXCEPTION): Likewise.
6274         (UNDERFLOW_EXCEPTION): Likewise.
6275         (INEXACT_EXCEPTION): Likewise.
6276         (INVALID_EXCEPTION_OK): Likewise.
6277         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6278         (OVERFLOW_EXCEPTION_OK): Likewise.
6279         (UNDERFLOW_EXCEPTION_OK): Likewise.
6280         (NO_INEXACT_EXCEPTION): Likewise.
6281         (EXCEPTIONS_OK): Likewise.
6282         (IGNORE_ZERO_INF_SIGN): Likewise.
6283         (TEST_NAN_SIGN): Likewise.
6284         (TEST_NAN_PAYLOAD): Likewise.
6285         (NO_TEST_INLINE): Likewise.
6286         (XFAIL_TEST): Likewise.
6287         (ERRNO_UNCHANGED): Likewise.
6288         (ERRNO_EDOM): Likewise.
6289         (ERRNO_ERANGE): Likewise.
6290         (IGNORE_RESULT): Likewise.
6291         (NON_FINITE): Likewise.
6292         (TEST_SNAN): Likewise.
6293         (NO_TEST_MATHVEC): Likewise.
6294         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
6295         (__CONCATX): Likewise.
6296         (TYPE_MIN): Likewise.
6297         (TYPE_TRUE_MIN): Likewise.
6298         (TYPE_MAX): Likewise.
6299         (MIN_EXP): Likewise.
6300         (MAX_EXP): Likewise.
6301         (MANT_DIG): Likewise.
6302         (FSTR_MAX): Likewise.
6303         (ULP_IDX): Likewise.
6304         (QTYPE_STR): Likewise.
6305         (TEST_COND_binary32): Likewise.
6306         (TEST_COND_binary64): Likewise.
6307         (TEST_COND_binary128): Likewise.
6308         (TEST_COND_ibm128): Likewise.
6309         (TEST_COND_intel96): Likewise.
6310         (TEST_COND_m68k96): Likewise.
6311         (TEST_COND_ibm128_libgcc): Likewise.
6312         (XFAIL_IBM128_LIBGCC): Likewise.
6313         (PAYLOAD_DIG): Likewise.
6314         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
6315         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
6316         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
6317         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
6318         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
6319         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
6320         (TEST_COND_long32): Likewise.
6321         (TEST_COND_long64): Likewise.
6322         (TEST_COND_before_rounding): Likewise.
6323         (TEST_COND_after_rounding): Likewise.
6324         (lit_pi_3_m_4_d): Likewise.
6325         (lit_pi_3_m_4_ln10_m_d): Likewise.
6326         (lit_pi_2_ln10_m_d): Likewise.
6327         (lit_pi_4_ln10_m_d): Likewise.
6328         (lit_pi_ln10_d): Likewise.
6329         (lit_pi_2_d): Likewise.
6330         (lit_pi_4_d): Likewise.
6331         (lit_pi): Likewise.
6332         (lit_e): Likewise.
6333         (ulps_file_name): Likewise.
6334         (ulps_file): Likewise.
6335         (output_ulps): Likewise.
6336         (output_dir): Likewise.
6337         (noErrors): Likewise.
6338         (noTests): Likewise.
6339         (noExcTests): Likewise.
6340         (noErrnoTests): Likewise.
6341         (verbose): Likewise.
6342         (output_max_error): Likewise.
6343         (output_points): Likewise.
6344         (ignore_max_ulp): Likewise.
6345         (plus_zero): Likewise.
6346         (minus_zero): Likewise.
6347         (plus_infty): Likewise.
6348         (minus_infty): Likewise.
6349         (qnan_value_pl): Likewise.
6350         (qnan_value): Likewise.
6351         (snan_value_pl): Likewise.
6352         (snan_value): Likewise.
6353         (max_value): Likewise.
6354         (min_value): Likewise.
6355         (min_subnorm_value): Likewise.
6356         (snan_value_ld): Likewise.
6357         (max_error): Likewise.
6358         (real_max_error): Likewise.
6359         (imag_max_error): Likewise.
6360         (prev_max_error): Likewise.
6361         (prev_real_max_error): Likewise.
6362         (prev_imag_max_error): Likewise.
6363         (max_valid_error): Likewise.
6364         (TYPE_DECIMAL_DIG): Likewise.
6365         (TYPE_HEX_DIG): Likewise.
6366         (fmt_ftostr): Likewise.
6367         (compare_ulp_data): Likewise.
6368         (find_ulps): Likewise.
6369         (init_max_error): Likewise.
6370         (set_max_error): Likewise.
6371         (print_float): Likewise.
6372         (print_screen): Likewise.
6373         (print_screen_max_error): Likewise.
6374         (update_stats): Likewise.
6375         (print_function_ulps): Likewise.
6376         (print_complex_function_ulps): Likewise.
6377         (fpstack_test): Likewise.
6378         (print_max_error): Likewise.
6379         (print_complex_max_error): Likewise.
6380         (test_single_exception): Likewise.
6381         (test_exceptions): Likewise.
6382         (test_single_errno): Likewise.
6383         (test_errno): Likewise.
6384         (ULPDIFF): Likewise.
6385         (ulp): Likewise.
6386         (check_float_internal): Likewise.
6387         (check_float): Likewise.
6388         (check_complex): Likewise.
6389         (check_int): Likewise.
6390         (check_long): Likewise.
6391         (check_bool): Likewise.
6392         (check_longlong): Likewise.
6393         (check_intmax_t): Likewise.
6394         (check_uintmax_t): Likewise.
6395         (enable_test): Likewise.
6396         (struct test_f_f_data): Likewise.
6397         (struct test_ff_f_data): Likewise.
6398         (struct test_fj_f_data): Likewise.
6399         (struct test_fi_f_data): Likewise.
6400         (struct test_fl_f_data): Likewise.
6401         (struct test_if_f_data): Likewise.
6402         (struct test_fff_f_data): Likewise.
6403         (struct test_fiu_M_data): Likewise.
6404         (struct test_fiu_U_data): Likewise.
6405         (struct test_c_f_data): Likewise.
6406         (struct test_f_f1_data): Likewise.
6407         (struct test_fF_f1_data): Likewise.
6408         (struct test_ffI_f1_data): Likewise.
6409         (struct test_c_c_data): Likewise.
6410         (struct test_cc_c_data): Likewise.
6411         (struct test_f_i_data): Likewise.
6412         (struct test_ff_i_data): Likewise.
6413         (struct test_f_l_data): Likewise.
6414         (struct test_f_L_data): Likewise.
6415         (struct test_fFF_11_data): Likewise.
6416         (struct test_Ff_b1_data): Likewise.
6417         (IF_ROUND_INIT_): Likewise.
6418         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6419         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6420         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6421         (IF_ROUND_INIT_FE_UPWARD): Likewise.
6422         (ROUND_RESTORE_): Likewise.
6423         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6424         (ROUND_RESTORE_FE_TONEAREST): Likewise.
6425         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6426         (ROUND_RESTORE_FE_UPWARD): Likewise.
6427         (RM_): Likewise.
6428         (RM_FE_DOWNWARD): Likewise.
6429         (RM_FE_TONEAREST): Likewise.
6430         (RM_FE_TOWARDZERO): Likewise.
6431         (RM_FE_UPWARD): Likewise.
6432         (COMMON_TEST_SETUP): Likewise.
6433         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
6434         (COMMON_TEST_CLEANUP): Likewise.
6435         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
6436         (RUN_TEST_f_f): Likewise.
6437         (RUN_TEST_LOOP_f_f): Likewise.
6438         (RUN_TEST_fp_f): Likewise.
6439         (RUN_TEST_LOOP_fp_f): Likewise.
6440         (RUN_TEST_2_f): Likewise.
6441         (RUN_TEST_LOOP_2_f): Likewise.
6442         (RUN_TEST_ff_f): Likewise.
6443         (RUN_TEST_LOOP_ff_f): Likewise.
6444         (RUN_TEST_LOOP_fj_f): Likewise.
6445         (RUN_TEST_fi_f): Likewise.
6446         (RUN_TEST_LOOP_fi_f): Likewise.
6447         (RUN_TEST_fl_f): Likewise.
6448         (RUN_TEST_LOOP_fl_f): Likewise.
6449         (RUN_TEST_if_f): Likewise.
6450         (RUN_TEST_LOOP_if_f): Likewise.
6451         (RUN_TEST_fff_f): Likewise.
6452         (RUN_TEST_LOOP_fff_f): Likewise.
6453         (RUN_TEST_fiu_M): Likewise.
6454         (RUN_TEST_LOOP_fiu_M): Likewise.
6455         (RUN_TEST_fiu_U): Likewise.
6456         (RUN_TEST_LOOP_fiu_U): Likewise.
6457         (RUN_TEST_c_f): Likewise.
6458         (RUN_TEST_LOOP_c_f): Likewise.
6459         (RUN_TEST_f_f1): Likewise.
6460         (RUN_TEST_LOOP_f_f1): Likewise.
6461         (RUN_TEST_fF_f1): Likewise.
6462         (RUN_TEST_LOOP_fF_f1): Likewise.
6463         (RUN_TEST_fI_f1): Likewise.
6464         (RUN_TEST_LOOP_fI_f1): Likewise.
6465         (RUN_TEST_ffI_f1_mod8): Likewise.
6466         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
6467         (RUN_TEST_Ff_b1): Likewise.
6468         (RUN_TEST_LOOP_Ff_b1): Likewise.
6469         (RUN_TEST_Ffp_b1): Likewise.
6470         (RUN_TEST_LOOP_Ffp_b1): Likewise.
6471         (RUN_TEST_c_c): Likewise.
6472         (RUN_TEST_LOOP_c_c): Likewise.
6473         (RUN_TEST_cc_c): Likewise.
6474         (RUN_TEST_LOOP_cc_c): Likewise.
6475         (RUN_TEST_f_i): Likewise.
6476         (RUN_TEST_LOOP_f_i): Likewise.
6477         (RUN_TEST_f_i_tg): Likewise.
6478         (RUN_TEST_LOOP_f_i_tg): Likewise.
6479         (RUN_TEST_ff_b): Likewise.
6480         (RUN_TEST_LOOP_ff_b): Likewise.
6481         (RUN_TEST_ff_i_tg): Likewise.
6482         (RUN_TEST_LOOP_ff_i_tg): Likewise.
6483         (RUN_TEST_f_b): Likewise.
6484         (RUN_TEST_LOOP_f_b): Likewise.
6485         (RUN_TEST_f_b_tg): Likewise.
6486         (RUN_TEST_LOOP_f_b_tg): Likewise.
6487         (RUN_TEST_f_l): Likewise.
6488         (RUN_TEST_LOOP_f_l): Likewise.
6489         (RUN_TEST_f_L): Likewise.
6490         (RUN_TEST_LOOP_f_L): Likewise.
6491         (RUN_TEST_fFF_11): Likewise.
6492         (RUN_TEST_LOOP_fFF_11): Likewise.
6493         (VEC_SUFF): Likewise.
6494         (STR_CONCAT): Likewise.
6495         (STR_CON3): Likewise.
6496         (HAVE_VECTOR): Likewise.
6497         (START): Likewise.
6498         (END): Likewise.
6499         (END_COMPLEX): Likewise.
6500         (ALL_RM_TEST): Likewise.
6501         (matherr): Likewise.
6502         (initialize): Likewise.
6503         (options): Likewise.
6504         (doc): Likewise.
6505         (parse_opt): Likewise.
6506         (argp): Likewise.
6507         (check_ulp): Likewise.
6508         (main): Likewise.
6509         (do_test): New function.  Call tests of individual functions
6510         previously called from main.
6512         * math/libm-test.inc: Remove comment listing functions tested and
6513         not tested.
6515 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6517         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
6518         (allocate_stack): Remove COLORING_INCREMENT usage.
6519         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
6520         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
6522 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
6524         * manual/libm-err-tab.pl (@all_functions): Change to
6525         %all_functions.  Initialize as empty.
6526         (parse_ulps): Add to %all_functions based on functions found in
6527         ulps files.  Ignore results for non-default rounding modes and
6528         vector functions.
6529         (print_platforms): Use %all_platforms.
6530         * manual/math.texi (Errors in Math Functions): Document omissions
6531         from the table.
6533         * math/Makefile (before-compile): Remove.
6535 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
6537         [BZ #21075]
6538         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
6539         unused assignment.
6540         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
6542 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6544         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
6545         Add __glibc_unlikely hint.
6547 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6549         [BZ #16640]
6550         * sysdeps/i386/i686/strtok.S: Remove file.
6551         * sysdeps/i386/i686/strtok_r.S: Likewise.
6552         * sysdeps/i386/strtok.S: Likewise.
6553         * sysdeps/i386/strtok_r.S: Likewise.
6554         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
6555         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
6556         * sysdeps/x86_64/strtok.S: Likewise.
6557         * sysdeps/x86_64/strtok_r.S: Likewise.
6559         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
6560         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
6561         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6562         (__ASSUME_FADVISE64_AS_64_64): Define.
6563         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
6564         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
6565         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
6566         __ALIGNMENT_ARG usage.
6567         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
6568         __NR_fadvise64_64 if it is not defined.
6570 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6572         * version.h (RELEASE): Set to "development"
6573         (VERSION): Set to 2.25.90.
6574         * NEWS: Add 2.26 section.
6576         * version.h (RELEASE): Set to "stable"
6577         (VERSION): Set to 2.25.
6578         * include/features.h (__GLIBC_MINOR__): Set to 25.
6580         * manual/contrib.texi: Add more contributors from this release
6581         and past releases.
6583         * NEWS (2.25): Add list of bugs fixed.
6585         * NEWS: Add missing news items.
6587 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6589         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
6590         parent if child exited in that manner.  Print WEXITSTATUS
6591         instead of the raw status.
6592         (do_test_prep): Rename to do_test.
6593         (do_test): Return the result of run_executable_sgid.
6594         (TEST_FUNCTION_ARGV): Adjust.
6596 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
6597             Florian Weimer  <fweimer@redhat.com>
6598             Carlos O'Donell  <carlos@redhat.com>
6600         [BZ #20915]
6601         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
6602         Do not initialize DTV.
6603         * nptl/allocatestack.c (init_one_static_tls): Likewise.
6605 2017-02-03  David S. Miller  <davem@davemloft.net>
6607         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
6608         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6609         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
6610         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6611         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
6612         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6613         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
6614         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6615         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
6616         (libm-sysdep_routines): Update.
6617         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
6618         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
6619         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6620         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
6621         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6622         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
6623         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
6624         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
6625         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
6626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
6627         Likewise.
6628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
6630         Likewise.
6631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
6633         Likewise.
6634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
6636         Likewise.
6637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
6638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
6639         (libm-sysdep_routines): Update.
6641 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
6643         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
6644         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
6645         against unrelocated shared library.
6646         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6648 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6650         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
6651         * elf/tst-env-setuid-tunables.c
6652         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
6653         GLIBC_TUNABLES is removed in a setgid process.
6655         [BZ #21073]
6656         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
6657         * elf/dl-tunables.c (tunables_strdup): Remove.
6658         (get_next_env): Also return the previous envp.
6659         (parse_tunables): Erase tunables of category
6660         TUNABLES_SECLEVEL_SXID_ERASE.
6661         (maybe_enable_malloc_check): Make MALLOC_CHECK_
6662         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
6663         (__tunables_init)[TUNABLES_FRONTEND ==
6664         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
6665         after parsing.
6666         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
6667         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
6668         * elf/dl-tunables.h (struct _tunable): Change member is_secure
6669         to security_level.
6670         * elf/dl-tunables.list: Add security_level annotations for all
6671         tunables.
6672         * scripts/gen-tunables.awk: Recognize and generate enum values
6673         for security_level.
6674         * elf/tst-env-setuid.c: New test case.
6675         * elf/tst-env-setuid-tunables: new test case.
6676         * elf/Makefile (tests-static): Add them.
6678 2017-02-01  Richard Henderson  <rth@twiddle.net>
6680         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
6681         adjusting the byte count.
6683 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
6685         * conform/Makefile (linknamespace-libs): Define.
6687         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
6688         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
6689         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
6690         operands.
6692 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
6694         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
6696 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
6698         [BZ #21081]
6699         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
6700         (L(stosb)): Add VZEROUPPER before ret.
6702 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
6703             Alexey Makhalov <amakhalov@vmware.com>
6704             Florian Weimer <fweimer@redhat.com>
6706         [BZ #20116]
6707         * nptl/pthread_create.c: Document concurrency notes.
6708         Enhance thread creation notes.
6709         (create_thread): Use bool *stopped_start.
6710         (START_THREAD_DEFN): Comment ownership of PD.
6711         (__pthread_create_2_1): Add local bool stopped_start and use
6712         that instead of pd->stopped_start where appropriate.
6713         * nptl/createthread.c (create_thread): Use bool *stopped_start.
6714         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
6715         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
6716         * nptl/tst-create-detached.c: New file.
6717         * nptl/Makefile (tests): Add tst-create-detached.
6718         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
6719         Reference the enhanced thread creation notes.
6720         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
6721         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
6722         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
6723         (__pthread_current_priority): Likewise.
6724         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
6725         xpthread_attr_init, xpthread_attr_setdetachstate, and
6726         xpthread_attr_setstacksize.
6727         * support/xpthread_attr_destroy.c: New file.
6728         * support/xpthread_attr_init.c: New file.
6729         * support/xpthread_attr_setdetachstate.c: New file.
6730         * support/xpthread_attr_setstacksize.c: New file.
6731         * support/xthread.h: Define prototypes for xpthread_attr_destroy
6732         xpthread_attr_init, xpthread_attr_setdetachstate, and
6733         xpthread_attr_setstacksize.
6735 2017-01-27  Florian Weimer  <fweimer@redhat.com>
6737         * nptl/Makefile (tests): Add tst-robust-fork.
6738         * nptl/tst-robust-fork.c: New file.
6739         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
6740         xpthread_mutex_consistent, xpthread_mutex_destroy,
6741         xpthread_mutex_init, xpthread_mutexattr_destroy,
6742         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
6743         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
6744         xpthread_mutexattr_settype.
6745         * support/xmmap.c: New file.
6746         * support/xmunmap.c: Likewise.
6747         * support/xpthread_mutex_consistent.c: Likewise.
6748         * support/xpthread_mutex_destroy.c: Likewise.
6749         * support/xpthread_mutex_init.c: Likewise.
6750         * support/xpthread_mutexattr_destroy.c: Likewise.
6751         * support/xpthread_mutexattr_init.c: Likewise.
6752         * support/xpthread_mutexattr_setprotocol.c: Likewise.
6753         * support/xpthread_mutexattr_setpshared.c: Likewise.
6754         * support/xpthread_mutexattr_setrobust.c: Likewise.
6755         * support/xpthread_mutexattr_settype.c: Likewise.
6756         * support/xthread.h (xpthread_mutexattr_destroy)
6757         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
6758         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
6759         (xpthread_mutexattr_settype, xpthread_mutex_init)
6760         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
6761         * support/xunistd.h (xmmap, xmunmap): Likewise.
6763 2017-01-25  Florian Weimer  <fweimer@redhat.com>
6765         * string/Makefile (xtests): Add comment.
6766         (LOCALES): Add en_GB.UTF-8.
6767         (tst-strcoll-overflow.out): Depend on generated locales.
6768         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
6769         (SIZE, TIMEOUT): Update comments.
6770         (do_test): Define as static.  Fail test if setlocale fails.
6771         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
6772         messages.
6773         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
6774         TIMEOUT at 300 seconds should be enough to run this test
6775         successfully.
6777 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
6779         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
6780         /* FALLTHRU */ comments.
6782 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
6784         [BZ #21053]
6785         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
6786         constants instead of the old R* ones.
6787         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
6788         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
6789         (NGREG): ... to this, to fit in with other architectures.
6790         (gpregset_t): Use new NGREG macro.
6791         [__USE_GNU]: Remove condition; all architectures other than tile
6792         are unconditional.
6793         (R*): Rename to REG_R*.
6795 2017-01-20  DJ Delorie  <dj@redhat.com>
6797         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
6798         (tunable_set_val_if_valid_range_signed) ... this, and ...
6799         (tunable_set_val_if_valid_range_unsigned) ... this.
6800         (tunable_initialize): Call the correct one of the above based on type.
6802 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
6804         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
6805         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6806         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6807         * sysdeps/microblaze/libm-test-ulps: Likewise.
6808         * sysdeps/sh/libm-test-ulps: Likewise.
6810         * math/README.libm-test: Update list of characters for input and
6811         output types.
6813 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6815         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
6816         (__lll_unlock_elision): Fix adapt_count decrement.
6818 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
6820         * README.pretty-printers (Known issues): Warn about printers not
6821         always covering everything.
6822         * nptl/nptl-printers.py (MutexPrinter): Change output.
6823         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
6825 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6827         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
6828         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6829         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
6830         (__lll_lock_elision): Do not test futex before starting a
6831         transaction.  Use __glibc_likely instead of __builtin_expect.
6832         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
6833         (__lll_trylock_elision): Do not test futex before starting a
6834         transaction.  Use __glibc_likely instead of __builtin_expect.
6836 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6838         * po/Makefile (update-translations): New target.
6840 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
6842         [BZ #21061]
6843         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
6845 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6847         * elf/dl-tunables (get_next_env): Always advance envp.
6848         * stdlib/tst-empty-env.c: New test case.
6849         * stdlib/Makefile (tests): Use it.
6851 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
6853         [BZ #21047]
6854         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
6855         name for instruction.
6856         [!__SOFTFP__] (_FPU_SETCW): Likewise.
6858 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
6860         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
6861         for make install.
6863 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6865         * po/bg.po: Merge from Translation Project.
6866         * po/fr.po: Likewise.
6867         * po/ko.po: Likewise.
6868         * po/nl.po: Likewise.
6869         * po/sv.po: Likewise.
6871 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
6873         * manual/install.texi (Tools for Compilation): Update GCC version
6874         known to work to build glibc.
6875         * INSTALL: Regenerated.
6877 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6879         [BZ #21006]
6880         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
6882 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
6884         [BZ #21045]
6885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
6886         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
6887         to __sigprocmask.
6889 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
6891         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
6892         wrap-around.
6893         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
6895         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
6897 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6899         * NEWS: Fix typo.
6901 2016-01-13  Torvald Riegel  <triegel@redhat.com>
6903         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
6904         barriers and comments.
6905         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
6906         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6907         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6909 2016-01-13  Torvald Riegel  <triegel@redhat.com>
6911         [BZ #19402]
6912         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
6913         mutexes.
6915 2016-01-13  Torvald Riegel  <triegel@redhat.com>
6917         [BZ #20985]
6918         * nptl/Makefile: Adapt.
6919         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
6920         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
6921         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
6922         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
6923         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
6924         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
6925         lll_robust* functions and adapt.
6926         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6927         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
6928         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
6929         __lll_robust_timedlock, __lll_robust_unlock): Remove.
6930         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
6931         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
6932         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
6933         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
6934         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
6935         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
6936         __lll_robust_timedlock, __lll_robust_unlock): Remove.
6937         * nptl/lowlevelrobustlock.c: Remove file.
6938         * nptl/lowlevelrobustlock.sym: Likewise.
6939         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
6940         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
6942 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6944         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6946 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6948         * po/cs.po: Merge translations from the Translation Project.
6949         * po/de.po: Likewise.
6950         * po/pl.po: Likewise.
6951         * po/ru.po: Likewise.
6952         * po/tr.po: Likewise.
6953         * po/uk.po: Likewise.
6954         * po/vi.po: Likewise.
6955         * po/zh_CN.po: Likewise.
6957 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
6959         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
6961         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
6962         object.
6964 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
6966         [BZ #16458]
6967         * bits/uintn-identity.h: New file.
6968         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
6969         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
6970         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
6971         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
6972         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
6973         * string/endian.h: Include <bits/uintn-identity.h>.
6974         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
6975         __uint16_identity.
6976         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
6977         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
6978         __uint32_identity.
6979         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
6980         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
6981         __uint64_identity.
6982         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
6983         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
6984         __uint16_identity.
6985         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
6986         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
6987         __uint32_identity.
6988         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
6989         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
6990         __uint64_identity.
6991         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
6992         * string/Makefile (headers): Add bits/uintn-identity.h.
6993         (tests): Add test-endian-types.
6994         * string/test-endian-types.c: New file.
6995         * inet/Makefile (tests): Add test-hnto-types.
6996         * inet/test-hnto-types.c: New file.
6998 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7000         * po/be.po: Update from Translation Project.
7001         * po/bg.po: Likewise.
7002         * po/ca.po: Likewise.
7003         * po/cs.po: Likewise.
7004         * po/da.po: Likewise.
7005         * po/de.po: Likewise.
7006         * po/el.po: Likewise.
7007         * po/eo.po: Likewise.
7008         * po/es.po: Likewise.
7009         * po/fi.po: Likewise.
7010         * po/fr.po: Likewise.
7011         * po/gl.po: Likewise.
7012         * po/hr.po: Likewise.
7013         * po/hu.po: Likewise.
7014         * po/ia.po: Likewise.
7015         * po/id.po: Likewise.
7016         * po/it.po: Likewise.
7017         * po/ja.po: Likewise.
7018         * po/ko.po: Likewise.
7019         * po/lt.po: Likewise.
7020         * po/nb.po: Likewise.
7021         * po/nl.po: Likewise.
7022         * po/pl.po: Likewise.
7023         * po/pt_BR.po: Likewise.
7024         * po/ru.po: Likewise.
7025         * po/rw.po: Likewise.
7026         * po/sk.po: Likewise.
7027         * po/sl.po: Likewise.
7028         * po/sv.po: Likewise.
7029         * po/tr.po: Likewise.
7030         * po/uk.po: Likewise.
7031         * po/vi.po: Likewise.
7032         * po/zh_CN.po: Likewise.
7033         * po/zh_TW.po: Likewise.
7035 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
7037         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
7038         -Wformat-truncation instead of -Wformat-length.
7039         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
7040         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
7041         GCC 7.
7042         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
7043         (do_test): Ignore -Wformat-truncation for GCC 7.
7045         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
7046         buffer used to print long int value.
7048         * elf/sotruss-lib.c (init): Increase space allocated for pid by
7049         one byte.  Print it with %ld, cast to long int.
7051 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7053         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
7054         (re.fullmatch, subprocess.run): Likewise.
7056 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7058         * po/libc.pot: Regenerate.
7060 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7062         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
7063         (min_strlen): Likewise.
7064         (disable_tunable): Likewise.
7065         (maybe_disable_malloc_check): Rename to
7066         maybe_enable_malloc_check.
7067         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
7068         if /etc/suid-debug file exists.
7069         (__tunables_init): Update caller.
7070         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
7071         secure.
7073 2016-01-10  Torvald Riegel  <triegel@redhat.com>
7075         * nptl/DESIGN-rwlock.txt: Remove.
7076         * nptl/lowlevelrwlock.sym: Remove.
7077         * nptl/Makefile: Add new tests.
7078         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
7079         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
7080         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
7081         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
7082         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
7083         PTHREAD_RWLOCK_FUTEX_USED): New.
7084         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
7085         implementation.
7086         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
7087         (__pthread_rwlock_rdlock): Adapt.
7088         * nptl/pthread_rwlock_timedrdlock.c
7089         (pthread_rwlock_timedrdlock): Adapt.
7090         * nptl/pthread_rwlock_timedwrlock.c
7091         (pthread_rwlock_timedwrlock): Adapt.
7092         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
7093         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
7094         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
7095         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
7096         (__pthread_rwlock_wrlock): Adapt.
7097         * nptl/tst-rwlock10.c: Adapt.
7098         * nptl/tst-rwlock11.c: Adapt.
7099         * nptl/tst-rwlock17.c: New file.
7100         * nptl/tst-rwlock18.c: New file.
7101         * nptl/tst-rwlock19.c: New file.
7102         * nptl/tst-rwlock2b.c: New file.
7103         * nptl/tst-rwlock8.c: Adapt.
7104         * nptl/tst-rwlock9.c: Adapt.
7105         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7106         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7107         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7108         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7109         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7110         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7111         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7112         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7113         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7114         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7115         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7116         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7117         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
7118         (pthread_rwlock_t): Adapt.
7119         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7120         (pthread_rwlock_t): Adapt.
7121         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7122         * nptl/nptl-printers.py (): Adapt.
7123         * nptl/nptl_lock_constants.pysym: Adapt.
7124         * nptl/test-rwlock-printers.py: Adapt.
7125         * nptl/test-rwlockattr-printers.c: Adapt.
7126         * nptl/test-rwlockattr-printers.py: Adapt.
7128 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
7130         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
7131         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
7132         (fma_test_data): Likewise.
7133         (hypot_test_data): Likewise.
7134         (log1p_test_data): Likewise.
7135         (modf_test_data): Likewise.
7136         (pow_test_data): Likewise.
7137         (remainder_test_data): Likewise.
7138         (remquo_test_data): Likewise.
7139         (scalb_test_data): Likewise.
7140         (scalbn_test_data): Likewise.
7141         (scalbln_test_data): Likewise.
7142         * math/gen-libm-test.pl (parse_args): Transform
7143         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
7144         on the rounding mode.
7146 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
7148         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
7149         xfail-rounding:ibm128-libgcc automatically to tests overflowing
7150         and those that can underflow to zero.
7151         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
7152         add others.
7153         * math/auto-libm-test-out: Regenerated.
7155         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
7156         supported.
7157         (feholdexcept_tests): Skip tests requiring exceptions or rounding
7158         modes support if not supported.
7160         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
7161         Add libc.so PLT entry.
7162         (__tls_get_addr): Make ld.so PLT entry optional.
7164 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7166         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
7167         * string/bits/string3.h: ... here.
7169 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
7171         [BZ #21028]
7172         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
7173         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
7174         if EXCEPTION_TESTS returns false.
7176 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7178         [BZ #20558]
7179         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
7180         strings_fortified.h.
7181         [__USE_MISC] (bzero): Likewise.
7182         [__USE_MISC] (explicit_bzero): Likewise.
7183         * string/strings.h: Include strings_fortified.h.
7184         * string/Makefile (headers): Add strings_fortified.h.
7185         * string/bits/strings_fortified.h: New file.
7186         * include/bits/strings_fortified.h: Likewise.
7188 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
7190         * elf/tst-tls13.c (TIMEOUT): Remove.
7191         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
7192         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
7193         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
7194         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
7195         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
7197         [BZ #21026]
7198         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
7199         (readahead): New syscall entry.
7201 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
7203         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
7204         around tests of strncat with large sizes.
7206         * malloc/tst-malloc.c: Include <libc-internal.h>.
7207         (do_test): Disable -Walloc-size-larger-than= around tests of
7208         malloc with negative sizes.
7209         * malloc/tst-mcheck.c: Include <libc-internal.h>.
7210         (do_test): Disable -Walloc-size-larger-than= around tests of
7211         malloc and realloc with negative sizes.
7212         * malloc/tst-realloc.c: Include <libc-internal.h>.
7213         (do_test): Disable -Walloc-size-larger-than= around tests of
7214         realloc with negative sizes.
7216         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
7217         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
7218         allowed to 16 ulps.
7219         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
7220         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
7221         * math/auto-libm-test-out: Regenerated.
7223 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7225         * math/Makefile (libm-calls): Move wrappers...
7226         (libm-compat-call-auto): Here.
7227         (libm-routines): Add items in libm-compat-calls-auto.
7228         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
7229         the filenames of the wrappers that have been renamed.
7230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
7231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7233         * math/w_acos.c: Add _compat suffix to filename.
7234         * math/w_acosf.c: Likewise.
7235         * math/w_acosh.c: Likewise.
7236         * math/w_acoshf.c: Likewise.
7237         * math/w_acoshl.c: Likewise.
7238         * math/w_acosl.c: Likewise.
7239         * math/w_asin.c: Likewise.
7240         * math/w_asinf.c: Likewise.
7241         * math/w_asinl.c: Likewise.
7242         * math/w_atan2.c: Likewise.
7243         * math/w_atan2f.c: Likewise.
7244         * math/w_atan2l.c: Likewise.
7245         * math/w_atanh.c: Likewise.
7246         * math/w_atanhf.c: Likewise.
7247         * math/w_atanhl.c: Likewise.
7248         * math/w_cosh.c: Likewise.
7249         * math/w_coshf.c: Likewise.
7250         * math/w_coshl.c: Likewise.
7251         * math/w_exp10.c: Likewise.
7252         * math/w_exp10f.c: Likewise.
7253         * math/w_exp10l.c: Likewise.
7254         * math/w_exp2.c: Likewise.
7255         * math/w_exp2f.c: Likewise.
7256         * math/w_exp2l.c: Likewise.
7257         * math/w_fmod.c: Likewise.
7258         * math/w_fmodf.c: Likewise.
7259         * math/w_fmodl.c: Likewise.
7260         * math/w_hypot.c: Likewise.
7261         * math/w_hypotf.c: Likewise.
7262         * math/w_hypotl.c: Likewise.
7263         * math/w_j0.c: Likewise.
7264         * math/w_j0f.c: Likewise.
7265         * math/w_j0l.c: Likewise.
7266         * math/w_j1.c: Likewise.
7267         * math/w_j1f.c: Likewise.
7268         * math/w_j1l.c: Likewise.
7269         * math/w_jn.c: Likewise.
7270         * math/w_jnf.c: Likewise.
7271         * math/w_jnl.c: Likewise.
7272         * math/w_log10.c: Likewise.
7273         * math/w_log10f.c: Likewise.
7274         * math/w_log10l.c: Likewise.
7275         * math/w_log2.c: Likewise.
7276         * math/w_log2f.c: Likewise.
7277         * math/w_log2l.c: Likewise.
7278         * math/w_log.c: Likewise.
7279         * math/w_logf.c: Likewise.
7280         * math/w_logl.c: Likewise.
7281         * math/w_pow.c: Likewise.
7282         * math/w_powf.c: Likewise.
7283         * math/w_powl.c: Likewise.
7284         * math/w_remainder.c: Likewise.
7285         * math/w_remainderf.c: Likewise.
7286         * math/w_remainderl.c: Likewise.
7287         * math/w_scalb.c: Likewise.
7288         * math/w_scalbf.c: Likewise.
7289         * math/w_scalbl.c: Likewise.
7290         * math/w_sinh.c: Likewise.
7291         * math/w_sinhf.c: Likewise.
7292         * math/w_sinhl.c: Likewise.
7293         * math/w_sqrt.c: Likewise.
7294         * math/w_sqrtf.c: Likewise.
7295         * math/w_sqrtl.c: Likewise.
7296         * math/w_tgamma.c: Likewise.
7297         * math/w_tgammaf.c: Likewise.
7298         * math/w_tgammal.c: Likewise.
7300         * math/w_acos_compat.c: New file copied from above and
7301         adjusted for new #includes path
7302         * math/w_acosf_compat.c: Likewise.
7303         * math/w_acosh_compat.c: Likewise.
7304         * math/w_acoshf_compat.c: Likewise.
7305         * math/w_acoshl_compat.c: Likewise.
7306         * math/w_acosl_compat.c: Likewise.
7307         * math/w_asin_compat.c: Likewise.
7308         * math/w_asinf_compat.c: Likewise.
7309         * math/w_asinl_compat.c: Likewise.
7310         * math/w_atan2_compat.c: Likewise.
7311         * math/w_atan2f_compat.c: Likewise.
7312         * math/w_atan2l_compat.c: Likewise.
7313         * math/w_atanh_compat.c: Likewise.
7314         * math/w_atanhf_compat.c: Likewise.
7315         * math/w_atanhl_compat.c: Likewise.
7316         * math/w_cosh_compat.c: Likewise.
7317         * math/w_coshf_compat.c: Likewise.
7318         * math/w_coshl_compat.c: Likewise.
7319         * math/w_exp10_compat.c: Likewise.
7320         * math/w_exp10f_compat.c: Likewise.
7321         * math/w_exp10l_compat.c: Likewise.
7322         * math/w_exp2_compat.c: Likewise.
7323         * math/w_exp2f_compat.c: Likewise.
7324         * math/w_exp2l_compat.c: Likewise.
7325         * math/w_fmod_compat.c: Likewise.
7326         * math/w_fmodf_compat.c: Likewise.
7327         * math/w_fmodl_compat.c: Likewise.
7328         * math/w_hypot_compat.c: Likewise.
7329         * math/w_hypotf_compat.c: Likewise.
7330         * math/w_hypotl_compat.c: Likewise.
7331         * math/w_j0_compat.c: Likewise.
7332         * math/w_j0f_compat.c: Likewise.
7333         * math/w_j0l_compat.c: Likewise.
7334         * math/w_j1_compat.c: Likewise.
7335         * math/w_j1f_compat.c: Likewise.
7336         * math/w_j1l_compat.c: Likewise.
7337         * math/w_jn_compat.c: Likewise.
7338         * math/w_jnf_compat.c: Likewise.
7339         * math/w_jnl_compat.c: Likewise.
7340         * math/w_log10_compat.c: Likewise.
7341         * math/w_log10f_compat.c: Likewise.
7342         * math/w_log10l_compat.c: Likewise.
7343         * math/w_log2_compat.c: Likewise.
7344         * math/w_log2f_compat.c: Likewise.
7345         * math/w_log2l_compat.c: Likewise.
7346         * math/w_log_compat.c: Likewise.
7347         * math/w_logf_compat.c: Likewise.
7348         * math/w_logl_compat.c: Likewise.
7349         * math/w_pow_compat.c: Likewise.
7350         * math/w_powf_compat.c: Likewise.
7351         * math/w_powl_compat.c: Likewise.
7352         * math/w_remainder_compat.c: Likewise.
7353         * math/w_remainderf_compat.c: Likewise.
7354         * math/w_remainderl_compat.c: Likewise.
7355         * math/w_scalb_compat.c: Likewise.
7356         * math/w_scalbf_compat.c: Likewise.
7357         * math/w_scalbl_compat.c: Likewise.
7358         * math/w_sinh_compat.c: Likewise.
7359         * math/w_sinhf_compat.c: Likewise.
7360         * math/w_sinhl_compat.c: Likewise.
7361         * math/w_sqrt_compat.c: Likewise.
7362         * math/w_sqrtf_compat.c: Likewise.
7363         * math/w_sqrtl_compat.c: Likewise.
7364         * math/w_tgamma_compat.c: Likewise.
7365         * math/w_tgammaf_compat.c: Likewise.
7366         * math/w_tgammal_compat.c: Likewise.
7368         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
7369         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
7370         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
7371         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
7372         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
7373         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
7374         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
7375         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
7376         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
7377         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
7378         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
7379         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
7380         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
7381         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
7382         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
7383         * sysdeps/ia64/fpu/w_powl.c: Likewise.
7384         * sysdeps/ia64/fpu/w_powf.c: Likewise.
7385         * sysdeps/ia64/fpu/w_pow.c: Likewise.
7386         * sysdeps/ia64/fpu/w_logl.c: Likewise.
7387         * sysdeps/ia64/fpu/w_logf.c: Likewise.
7388         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
7389         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
7390         * sysdeps/ia64/fpu/w_log2.c: Likewise.
7391         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
7392         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
7393         * sysdeps/ia64/fpu/w_log10.c: Likewise.
7394         * sysdeps/ia64/fpu/w_log.c: Likewise.
7395         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
7396         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
7397         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
7398         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
7399         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
7400         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
7401         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
7402         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
7403         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
7404         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
7405         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
7406         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
7407         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
7408         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
7409         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
7410         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
7411         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
7412         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
7413         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
7414         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
7415         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
7416         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
7417         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
7418         * sysdeps/ia64/fpu/w_asin.c: Likewise.
7419         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
7420         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
7421         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
7422         * sysdeps/ia64/fpu/w_acos.c: Likewise.
7423         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
7424         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
7425         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
7426         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
7427         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
7428         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
7429         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
7430         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
7431         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
7432         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
7433         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
7434         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
7435         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
7436         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
7437         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
7438         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
7439         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
7440         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
7441         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
7442         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
7443         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
7444         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
7445         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
7446         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
7447         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
7448         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
7449         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
7450         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
7451         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
7452         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
7453         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
7454         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
7455         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
7456         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
7457         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
7458         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
7459         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
7460         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
7461         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
7462         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
7463         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
7464         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
7465         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
7466         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
7467         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
7468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
7469         Likewise.
7470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
7471         Likewise.
7472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
7473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
7474         Likewise.
7475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
7476         Likewise.
7477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
7478         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7479         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7480         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7481         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7482         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7483         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
7485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
7486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
7487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
7488         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7489         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7490         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7491         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7493         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
7494         and adjusted for new #includes path
7495         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
7496         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
7497         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
7498         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
7499         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
7500         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
7501         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
7502         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
7503         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
7504         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
7505         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
7506         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
7507         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
7508         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
7509         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
7510         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
7511         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
7512         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
7513         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
7514         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
7515         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
7516         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
7517         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
7518         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
7519         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
7520         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
7521         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
7522         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
7523         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
7524         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
7525         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
7526         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
7527         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
7528         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
7529         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
7530         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
7531         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
7532         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
7533         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
7534         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
7535         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
7536         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
7537         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
7538         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
7539         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
7540         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
7541         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
7542         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
7543         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
7544         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
7545         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
7546         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
7547         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
7548         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
7549         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
7550         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
7551         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
7552         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
7553         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
7554         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
7555         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
7556         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
7557         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
7558         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
7559         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
7560         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
7561         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
7562         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
7563         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
7564         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
7565         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
7566         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
7567         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
7568         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
7569         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
7570         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
7571         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
7572         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
7573         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
7574         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
7575         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
7576         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
7577         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
7578         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
7579         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
7580         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
7581         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
7582         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
7583         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
7584         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
7585         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
7586         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
7587         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
7588         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
7589         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
7590         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
7591         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
7592         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
7593         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
7594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
7595         Likewise.
7596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
7597         Likewise.
7598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
7599         Likewise.
7600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
7601         Likewise.
7602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
7603         Likewise.
7604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
7605         Likewise.
7606         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
7607         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
7608         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
7609         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
7610         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
7611         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
7612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
7613         Likewise.
7614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
7615         Likewise.
7616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
7617         Likewise.
7618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
7619         Likewise.
7620         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
7621         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
7622         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
7623         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
7625 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
7627         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
7628         __jmp_buf_internal_tag.
7630         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
7631         preserve NaN payload if [__mips_nan2008].
7632         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
7634         [BZ #21022]
7635         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
7637 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
7639         * sysdeps/i386/fpu/libm-test-ulps: Update.
7641 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7643         * sysdeps/ia64/strcat.c: Remove file.
7644         * sysdeps/powerpc/strcat.c: Likewise.
7645         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
7646         C implementation.
7647         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
7648         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
7650 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7651             Steven Munroe  <sjmunroe@us.ibm.com>
7652             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7654         [BZ #20822]
7655         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7656         (__lll_lock_elision): Access adapt_count via C11 atomics.
7657         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
7658         (__lll_trylock_elision): Likewise.
7659         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
7660         (__lll_unlock_elision):  Update adapt_count variable inside the
7661         critical section using C11 atomics.
7663 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
7665         * math/test-fenvinline.c (do_test): Disable tests of raised
7666         exceptions if !EXCEPTION_TESTS (FLOAT).
7668 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7670         [BZ #19390]
7671         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
7672         maximum string size.
7673         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
7674         in pointer addition.
7675         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
7676         Likewise.
7678 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
7680         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
7681         passed to tst-ldconfig-X.sh.
7683 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
7685         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
7687 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
7689         [BZ #21019]
7690         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
7691         New syscall entry.
7692         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
7693         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
7694         lseek.
7696         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
7697         power4 glibc for powerpc-linux-gnu.
7699 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7701         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
7702         semctl.
7704 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
7706         * math/test-nearbyint-except.c: Include <stdbool.h>.
7707         (any_supported): New variable.
7708         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
7709         set any_supported.
7710         (do_test): Return 77 if no floating-point type supported
7711         exceptions.
7713         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
7714         condition on [__mips_hard_float].
7716 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7718         [BZ #21014]
7719         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
7720         in pointer addition.
7721         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
7723 2017-01-02  Torvald Riegel  <triegel@redhat.com>
7725         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
7726         new condvar.
7728 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
7730         * scripts/build-many-glibcs.py (Context.checkout): Default
7731         binutils version to 2.28 branch.
7733 2017-01-01  Florian Weimer  <fweimer@redhat.com>
7735         * support/support_format_netent.c (support_format_netent): Work
7736         around alpha struct netent definition difference.
7738 2017-01-01  Florian Weimer  <fweimer@redhat.com>
7740         * support/xwrite.c (xwrite): Use %td for pointer difference.
7742 2017-01-01  Florian Weimer  <fweimer@redhat.com>
7744         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
7745         have-tunables only.
7746         (tests-static): Add tst-malloc-usable-static-tunables for
7747         have-tunables only.
7749 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
7751         * scripts/config.guess: Update to version 2017-01-01.
7752         * scripts/config.sub: Update to version 2017-01-01.
7754         * NEWS: Update copyright dates.
7755         * catgets/gencat.c (print_version): Likewise.
7756         * csu/version.c (banner): Likewise.
7757         * debug/catchsegv.sh: Likewise.
7758         * debug/pcprofiledump.c (print_version): Likewise.
7759         * debug/xtrace.sh (do_version): Likewise.
7760         * elf/ldconfig.c (print_version): Likewise.
7761         * elf/ldd.bash.in: Likewise.
7762         * elf/pldd.c (print_version): Likewise.
7763         * elf/sotruss.sh: Likewise.
7764         * elf/sprof.c (print_version): Likewise.
7765         * iconv/iconv_prog.c (print_version): Likewise.
7766         * iconv/iconvconfig.c (print_version): Likewise.
7767         * locale/programs/locale.c (print_version): Likewise.
7768         * locale/programs/localedef.c (print_version): Likewise.
7769         * login/programs/pt_chown.c (print_version): Likewise.
7770         * malloc/memusage.sh (do_version): Likewise.
7771         * malloc/memusagestat.c (print_version): Likewise.
7772         * malloc/mtrace.pl: Likewise.
7773         * manual/libc.texinfo: Likewise.
7774         * nptl/version.c (banner): Likewise.
7775         * nscd/nscd.c (print_version): Likewise.
7776         * nss/getent.c (print_version): Likewise.
7777         * nss/makedb.c (print_version): Likewise.
7778         * posix/getconf.c (main): Likewise.
7779         * scripts/test-installation.pl: Likewise.
7780         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7782         * All files with FSF copyright notices: Update copyright dates
7783         using scripts/update-copyrights.
7784         * intl/plural.c: Regenerated.
7785         * locale/programs/charmap-kw.h: Likewise.
7786         * locale/programs/locfile-kw.h: Likewise.
7788 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7790         [BZ #20593]
7791         Update DNS RR type definitions.
7792         * scripts/gen-rrtypes.py: New file.
7793         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
7794         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
7795         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
7796         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
7797         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
7798         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
7799         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
7800         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
7801         ns_t_ta, ns_t_dlv.
7802         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
7803         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
7804         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
7805         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
7806         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
7807         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
7808         Define.
7809         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
7810         entry for ns_t_zxfr.
7812 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7814         [BZ #18784]
7815         CVE-2015-5180
7816         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
7817         T_UNSPEC.  Adjust value.
7818         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
7819         * resolv/res_query.c (__libc_res_nquery): Likewise.
7820         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
7821         QTYPEs.
7822         * resolv/tst-resolv-qtypes.c: New file.
7823         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
7824         (tst-resolv-qtypes): Link against libresolv and libpthread.
7826 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7828         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
7830 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7832         * manual/tunables.texi: New chapter.
7833         * manual/Makefile (chapters): Add it.
7834         * manual/probes.texi (@node): Point to the Tunables chapter.
7836         * Makeconfig (have-tunables): Check for non-negative instead
7837         of positive.
7838         * configure.ac: Add 'valstring' as a valid value for
7839         --enable-tunables.
7840         * configure: Regenerate.
7841         * elf/Makefile (have-tunables): Check for non-negative instead
7842         of positive.
7843         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
7844         dl-tunables.c.
7845         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
7846         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
7847         (tunables_strdup): Likewise.
7848         (disable_tunables): Likewise.
7849         (parse_tunables): Likewise.
7850         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
7851         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
7852         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
7853         (TUNABLES_FRONTEND_yes): New macro, define as
7854         TUNABLES_FRONTEND_valstring by default.
7855         * manual/install.texi: Document new acceptable values for
7856         --enable-tunables.
7857         * INSTALL: Regenerate.
7859         * config.make.in (have-loop-to-function): Define.
7860         * elf/Makefile (CFLAGS-dl-tunables.c): Add
7861         -fno-tree-loop-distribute-patterns.
7862         * elf/dl-tunables.c: Include libc-internals.h.
7863         (GLIBC_TUNABLES): New macro.
7864         (tunables_strdup): New function.
7865         (parse_tunables): New function.
7866         (min_strlen): New function.
7867         (__tunables_init): Use the new functions and macro.
7868         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
7869         * malloc/tst-malloc-usable-tunables.c: New test case.
7870         * malloc/tst-malloc-usable-static-tunables.c: New test case.
7871         * malloc/Makefile (tests, tests-static): Add tests.
7873         * manual/install.texi: Add --enable-tunables option.
7874         * INSTALL: Regenerate.
7875         * README.tunables: New file.
7876         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
7877         (before-compile): Generate dl-tunable-list.h early.
7878         * config.h.in: Add HAVE_TUNABLES.
7879         * config.make.in: Add have-tunables.
7880         * configure.ac: Add --enable-tunables option.
7881         * configure: Regenerate.
7882         * csu/init-first.c (__libc_init_first): Move
7883         __libc_init_secure earlier...
7884         * csu/init-first.c (LIBC_START_MAIN):... to here.
7885         Include dl-tunables.h, libc-internal.h.
7886         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
7887         binaries.
7888         * elf/Makefile (dl-routines): Add dl-tunables.
7889         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
7890         namespace.
7891         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
7892         only when !HAVE_TUNABLES.
7893         * elf/rtld.c (process_envvars): Likewise.
7894         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
7895         (_dl_sysdep_start): Call __tunables_init.
7896         * elf/dl-tunable-types.h: New file.
7897         * elf/dl-tunables.c: New file.
7898         * elf/dl-tunables.h: New file.
7899         * elf/dl-tunables.list: New file.
7900         * malloc/tst-malloc-usable-static.c: New test case.
7901         * malloc/Makefile (tests-static): Add it.
7902         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
7903         Define TUNABLE_NAMESPACE.
7904         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
7905         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
7906         callback functions.
7907         (ptmalloc_init): Set tunable values.
7908         * scripts/gen-tunables.awk: New file.
7909         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
7910         (_dl_sysdep_start): Call __tunables_init.
7912 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7914         * resolv/resolv.h (RES_BLAST): Deprecate.
7915         * resolv/res_debug.c (p_option): Remove RES_BLAST.
7916         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
7917         to RES_BLAST.
7919 2016-12-27  Florian Weimer  <fweimer@redhat.com>
7921         [BZ #19582]
7922         Deprecate RES_USE_INET6.
7923         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
7924         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
7925         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
7926         RES_USE_INET6.
7927         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
7928         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
7929         (_nss_nisplus_gethostbyaddr_r): Likewise.
7930         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
7931         of res_use_inet6.
7932         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
7933         instead of RES_USE_INET6.
7934         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
7935         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
7936         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
7937         Likewise.
7938         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
7939         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
7940         Likewise.
7941         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
7942         (_nss_dns_gethostbyname_r): Likewise.
7943         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
7944         alternate RES_USE_INET6 handling.
7945         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
7946         instead of RES_USE_INET6.
7947         * resolv/res_init.c (res_setoptions): Likewise.
7948         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
7949         * resolv/resolv-internal.h: New file.
7950         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
7951         make the deprecation warning non-fatal.
7952         * resolv/README (Using the resolver in multi-threaded code): Drop
7953         reference to RES_USE_INET6.
7954         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
7955         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
7957 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7959         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
7960         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
7961         tst-resolv-search.
7962         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
7963         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
7964         with libresolv and libpthread.
7965         * resolv/tst-bug18665.c: New file.
7966         * resolv/tst-bug18665-tcp: Likewise.
7967         * resolv/tst-res_use_inet6: Likewise.
7968         * resolv/tst-resolv-basic: Likewise.
7969         * resolv/tst-resolv-network: Likewise.
7970         * resolv/tst-resolv-search: Likewise.
7971         * support/Makefile (libsupport-routines): Add check_addrinfo,
7972         check_dns_packet, check_hostent, check_netent, resolv_test,
7973         support_format_address_family, support_format_addrinfo,
7974         support_format_dns_packet, support_format_herrno,
7975         support_format_hostent, support_format_netent, support_run_diff,
7976         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
7977         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
7978         xstrdup, xwrite.
7979         * support/check_addrinfo.c: New file.
7980         * support/check_dns_packet.c: Likewise.
7981         * support/check_hostent.c: Likewise.
7982         * support/check_netent.c: Likewise.
7983         * support/check_nss.h: Likewise.
7984         * support/format_nss.h: Likewise.
7985         * support/resolv_test.c: Likewise.
7986         * support/resolv_test.h: Likewise.
7987         * support/run_diff.h: Likewise.
7988         * support/support_format_address_family.c: Likewise.
7989         * support/support_format_addrinfo.c: Likewise.
7990         * support/support_format_dns_packet.c: Likewise.
7991         * support/support_format_herrno.c: Likewise.
7992         * support/support_format_hostent.c: Likewise.
7993         * support/support_format_netent.c: Likewise.
7994         * support/support_run_diff.c: Likewise.
7995         * support/xaccept.c: Likewise.
7996         * support/xbind.c: Likewise.
7997         * support/xconnect.c: Likewise.
7998         * support/xfclose.c: Likewise.
7999         * support/xfopen.c: Likewise.
8000         * support/xgetsockname.c: Likewise.
8001         * support/xlisten.c: Likewise.
8002         * support/xmemstream.c: Likewise.
8003         * support/xmemstream.h: Likewise.
8004         * support/xpoll.c: Likewise.
8005         * support/xpthread_once.c: Likewise.
8006         * support/xrecvfrom.c: Likewise.
8007         * support/xsendto.c: Likewise.
8008         * support/xsetsockopt.c: Likewise.
8009         * support/xstdio.h: Likewise.
8010         * support/xstrdup.c: Likewise.
8011         * support/support.h (xstrdup): Declare.
8012         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
8013         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
8014         * support/xthread.h (xpthread_once): Likwise.
8015         * support/xunistd.h (xwrite): Declare.
8017 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8019         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
8020         (test_verbose): Declare.
8021         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
8022         * support/support_test_main.c (default_options): Likewise.
8023         (usage, support_test_main): Handle 'v'.
8024         (test_verbose): Define.
8025         * support/tst-support_record_failure.c (do_test): Use
8026         test_verbose.
8027         * support/tst-support_record_failure-2.sh (different_status): Add
8028         --verbose test.
8030 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8032         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
8033         test failures are recorded.
8034         * support/check.c (support_print_failure_impl): Call
8035         support_record_failure.
8036         (support_exit_failure_impl): Call support_record_failure if status
8037         indicates failure.
8038         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
8039         * support/xasprintf.c (xasprintf): Likewise.
8040         * support/xfork.c (xfork): Likewise.
8041         * support/xpthread_check_return.c (xpthread_check_return):
8042         Likewise.
8043         * support/xsocket.c (xsocket): Likeweise.
8044         * support/xwaitpid.c (xwaitpid): Likewise.
8045         * support/support_record_failure.c (struct test_failures): Adjust
8046         to coding style.
8047         * support/support_test_verify_impl.c (support_test_verify_impl):
8048         Adjust error messages.
8049         * support/tst-support_record_failure-2.sh (different_status):
8050         Adjust error messages.
8052 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8054         * support/namespace.h: New file.
8055         * support/support_become_root.c: Likewise.
8056         * support/support_enter_network_namespace.c: Likewise.
8057         * support/tst-support-namespace.c: Likewise.
8058         * support/xsocket.c: Likewise.
8059         * support/xsocket.h: Likewise.
8060         * support/Makefile (libsupport-routines): Add support_become_root,
8061         support_enter_network_namespace, xsocket.
8062         (tests): Add tst-support-namespace.
8064 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8066         [BZ #17252]
8067         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
8068         __USE_GNU.
8070 2016-12-31  Torvald Riegel  <triegel@redhat.com>
8072         [BZ #13165]
8073         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
8074         use new algorithm.
8075         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
8076         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
8077         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
8078         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
8079         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
8080         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
8081         __condvar_cleanup_waiting, __condvar_dec_grefs,
8082         __pthread_cond_wait_common): New.
8083         (__condvar_cleanup): Remove.
8084         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
8085         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
8086         Likewise.
8087         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
8088         Likewise.
8089         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
8090         * nptl/tst-cond1.c: Add comment.
8091         * nptl/tst-cond20.c (do_test): Adapt.
8092         * nptl/tst-cond22.c (do_test): Likewise.
8093         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
8094         structure.
8095         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8096         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8097         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8098         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
8099         Likewise.
8100         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8101         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8102         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8103         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8104         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8105         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
8106         Likewise.
8107         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
8108         Likewise.
8109         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8110         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
8111         (COND_CLOCK_BITS): Adapt.
8112         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
8113         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
8114         __PTHREAD_COND_SHARED_MASK): New.
8115         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
8116         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
8117         * nptl/nptl_lock_constants.pysym: Adapt.
8118         * nptl/test-cond-printers.py: Adapt.
8119         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
8120         cond_compat_check_and_clear): Adapt.
8121         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
8122         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
8123         (__pthread_cond_timedwait): ... and move here.
8124         * nptl/DESIGN-condvar.txt: Remove file.
8125         * nptl/lowlevelcond.sym: Likewise.
8126         * nptl/pthread_cond_timedwait.c: Likewise.
8127         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
8128         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
8129         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
8130         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
8131         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
8132         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
8133         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
8134         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
8135         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
8136         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
8137         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
8138         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
8139         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
8140         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
8141         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
8142         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
8144 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
8146         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8147         (fromfp): New declaration.
8148         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
8149         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
8150         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
8151         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
8152         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
8153         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
8154         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
8155         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
8156         * math/math.h: Include <bits/types.h>.
8157         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
8158         constant and macro.
8159         (FP_INT_DOWNWARD): Likewise.
8160         (FP_INT_TOWARDZERO): Likewise.
8161         (FP_INT_TONEARESTFROMZERO): Likewise.
8162         (FP_INT_TONEAREST): Likewise.
8163         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
8164         (fromfpf): Likewise.
8165         (fromfpl): Likewise.
8166         (ufromfp): Likewise.
8167         (ufromfpf): Likewise.
8168         (ufromfpl): Likewise.
8169         (fromfpx): Likewise.
8170         (fromfpxf): Likewise.
8171         (fromfpxl): Likewise.
8172         (ufromfpx): Likewise.
8173         (ufromfpxf): Likewise.
8174         (ufromfpxl): Likewise.
8175         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
8176         s_fromfpxF and s_ufromfpxF.
8177         * math/gen-fromfp-tests.py: New file.
8178         * math/gen-fromfp-tests-inputs: Likewise.
8179         * math/libm-test.inc: Include <stdint.h>
8180         (check_intmax_t): New function.
8181         (check_uintmax_t): Likewise.
8182         (struct test_fiu_M_data): New type.
8183         (struct test_fiu_U_data): Likewise.
8184         (RUN_TEST_fiu_M): New macro.
8185         (RUN_TEST_LOOP_fiu_M): Likewise.
8186         (RUN_TEST_fiu_U): Likewise.
8187         (RUN_TEST_LOOP_fiu_U): Likewise.
8188         (fromfp_test_data): New array.
8189         (fromfp_test): New function.
8190         (fromfpx_test_data): New array.
8191         (fromfpx_test): New function.
8192         (ufromfp_test_data): New array.
8193         (ufromfp_test): New function.
8194         (ufromfpx_test_data): New array.
8195         (ufromfpx_test): New function.
8196         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
8197         ufromfpx_test.
8198         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
8199         characters.
8200         * math/test-tgmath-ret.c: Include <stdint.h>.
8201         (rm): New variable.
8202         (width): Likewise.
8203         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
8204         called function.
8205         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
8206         CHECK_RET_CONST_TYPE.
8207         (CHECK_RET_CONST_DOUBLE): Likewise.
8208         (CHECK_RET_CONST_LDOUBLE): Likewise.
8209         (CHECK_RET_CONST): Take extra arguments and pass them to calls
8210         macros.
8211         (fromfp): New CHECK_RET_CONST call.
8212         (ufromfp): Likewise.
8213         (fromfpx): Likewise.
8214         (ufromfpx): Likewise.
8215         (do_test): Call check_return_fromfp, check_return_ufromfp,
8216         check_return_fromfpx and check_return_ufromfpx.
8217         * math/test-tgmath.c: Include <stdint.h>
8218         (NCALLS): Increase to 138.
8219         (F(compile_test)): Initialize i.  Call fromfp functions.
8220         (F(fromfp)): New function.
8221         (F(fromfpx)): Likewise.
8222         (F(ufromfp)): Likewise.
8223         (F(ufromfpx)): Likewise.
8224         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
8225         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
8226         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
8227         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
8228         ufromfpxl.
8229         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
8230         ufromfp and ufromfpx.
8231         * math/fromfp.h: New file.
8232         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
8233         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
8234         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
8235         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
8236         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
8237         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
8238         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
8239         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
8240         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
8241         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
8242         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
8243         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
8244         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
8245         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
8246         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
8247         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
8248         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
8249         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
8250         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
8251         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
8252         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
8253         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
8254         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
8255         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
8256         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
8257         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
8258         ufromfp, fromfpx and ufromfpx.
8259         (CFLAGS-nldbl-fromfp.c): New variable.
8260         (CFLAGS-nldbl-fromfpx.c): Likewise.
8261         (CFLAGS-nldbl-ufromfp.c): Likewise.
8262         (CFLAGS-nldbl-ufromfpx.c): Likewise.
8263         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
8264         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
8265         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
8266         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
8267         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
8268         * sysdeps/nacl/libm.abilist: Update.
8269         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8270         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8271         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8272         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8273         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8274         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8275         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8276         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8277         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8278         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8279         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8280         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8282         Likewise.
8283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8284         Likewise.
8285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8286         Likewise.
8287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8288         Likewise.
8289         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8290         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8291         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8292         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8293         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8294         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8295         Likewise.
8296         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8297         Likewise.
8298         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8299         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8300         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8302 2016-12-30  Florian Weimer  <fweimer@redhat.com>
8304         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
8305         compat-gethnamaddr.
8306         (CPPFLAGS): Remove.
8307         * resolv/gethnamaddr.c: Rename ...
8308         * resolv/compat-gethnamaddr.c: ... to this file.
8309         (_endhtent): Make static.
8310         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
8311         symbol.
8312         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
8313         compat symbol.
8314         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
8315         symbol.
8316         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
8317         Turn into compat symbol.
8318         * include/resolv.h (_endhtent): Remove declaration.
8320 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
8322         * bits/types.h (__intmax_t): New typedef.
8323         (__uintmax_t): Likewise.
8324         * sysdeps/generic/stdint.h: Include <bits/types.h>.
8325         (intmax_t): Define using __intmax_t.
8326         (uintmax_t): Define using __uintmax_t.
8328         * support/Makefile (tests-special): Make definition conditional on
8329         [$(run-built-tests) = yes].
8330         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
8331         on [$(run-built-tests) = yes].
8333 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8335         * Rules (tests): Add tests-printers-programs to tests to be
8336         built.
8338 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8340         * sysvipc/Makefile (tests): Add test-sysvshm.
8341         * sysvipc/test-sysvshm.c: New file.
8343         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
8344         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
8345         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
8346         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
8347         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
8348         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
8349         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
8350         Likewise.
8351         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
8352         Likewise.
8353         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
8354         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
8355         is defined.
8357         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
8358         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
8359         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
8360         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
8361         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
8362         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
8363         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
8364         Likewise.
8365         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
8366         Likewise.
8367         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
8368         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
8369         defined.
8371         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
8372         oldshmctl.
8373         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
8374         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
8375         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
8376         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
8377         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
8378         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
8379         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
8380         Likewise.
8381         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
8382         Likewise.
8383         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
8384         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
8385         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
8386         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
8387         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
8388         implementation.
8389         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
8390         if it is defined.
8392         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
8393         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
8394         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
8395         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
8396         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
8397         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
8398         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
8399         Likewise.
8400         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
8401         Likewise.
8402         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
8403         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
8404         Define to __NR_osf_shmat.
8405         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
8406         defined.
8408         * sysvipc/Makefile (tests): Add test-sysvsem.
8409         * sysvipc/test-sysvsem.c: New file.
8411         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
8412         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
8413         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
8414         Likewise.
8415         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
8416         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
8417         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
8418         Likewise.
8419         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
8420         Likewise.
8421         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
8422         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
8423         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
8424         add a comment about s390 syscall difference from default one.
8425         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
8426         syscall if it is defined.
8428         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
8429         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
8430         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
8431         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
8432         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
8433         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
8434         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
8435         Likewise.
8436         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
8437         Likewise.
8438         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
8439         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
8440         defined.
8442         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
8443         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
8444         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
8445         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
8446         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
8447         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
8448         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
8449         Likewise.
8450         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
8451         Likewise.
8452         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
8453         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
8454         if it is defined.
8456         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
8457         oldsemctl.
8458         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
8459         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
8460         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
8461         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
8462         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
8463         implementation.
8464         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
8465         syscall if it is defined.
8466         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
8467         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
8468         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
8469         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
8470         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
8471         Likewise.
8472         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
8474         * sysvipc/Makefile (tests): Add test-sysvmsg.
8475         * sysvipc/test-sysvmsg.c: New file.
8476         * support/check.h (FAIL_UNSUPPORTED): New define.
8478         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
8479         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
8480         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
8481         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
8482         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
8483         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
8484         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
8485         Likewise.
8486         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
8487         Likewise.
8488         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
8489         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
8490         define.
8492         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
8493         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
8494         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
8495         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
8496         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
8497         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
8498         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
8499         Likewise.
8500         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
8501         Likewise.
8502         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
8503         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
8504         if defined.
8506         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
8507         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
8508         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
8509         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
8510         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
8511         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
8512         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
8513         Likewise.
8514         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
8515         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
8516         Likewise.
8517         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
8518         if defined.
8519         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
8521         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
8522         oldmsgctl.
8523         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
8524         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
8525         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
8526         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
8527         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
8528         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
8529         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
8530         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
8531         Likewise.
8532         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
8533         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
8534         implementation.
8535         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
8536         if defined.
8538         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
8539         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
8540         definition and define its own.
8541         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
8542         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
8543         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
8544         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
8545         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
8546         definitions to common header.
8547         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
8548         operation from ipc_ops.h.
8550         * sysdeps/unix/sysv/linux/kernel-features.h
8551         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
8552         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8553         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
8554         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8555         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8556         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8557         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8558         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8559         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8560         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8561         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8562         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8563         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8564         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8565         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8567 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8569         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
8570         overflow in pointer addition.
8572 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8574         * sysdeps/powerpc/powerpc64/multiarch/Makefile
8575         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
8576         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8577         (strchr): Add __strchr_power8 to list of strchr functions.
8578         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
8579         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
8580         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
8581         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
8582         (strchr): Add __strchr_power8 to ifunc list.
8583         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
8584         (__strchrnul): Add __strchrnul_power8 to ifunc list.
8585         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
8586         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
8588 2016-12-28  Florian Weimer  <fweimer@redhat.com>
8590         * support/Makefile (libsupport-routines): Add
8591         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
8592         (tests): Add tst-support_record_failure.
8593         (tests-special): tst-support_record_failure-2.
8594         (tst-support_record_failure-2.out): Depend on
8595         tst-support_record_failure-2.sh and tst-support_record_failure.
8596         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
8597         (support_test_verify_impl, support_record_failure)
8598         (support_report_failure, support_report_failure_reset): Declare.
8599         * support/support_test_main.c (adjust_exit_status): New function.
8600         (support_test_main): Call it to incorporate record test failures.
8601         * support/support_test_verify_impl.c: New file.
8602         * support/support_record_failure.c: Likewise.
8603         * support/tst-support_record_failure.c: Likewise.
8604         * support/tst-support_record_failure-2.sh: Likewise.
8605         * support/xunistd.h: Likewise.
8606         * support/xfork.c: Likewise.
8607         * support/xwaitpid.c: Likewise.
8609 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
8611         * scripts/check-c++-types.sh: Add comments.
8613 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
8615         [BZ #19514]
8616         * resolv/res_send.c: Fix typo in comment.
8617         * sysdeps/i386/i386-mcount.S: Likewise.
8618         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8619         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8620         * sysdeps/sparc/sparc-mcount.S: Likewise.
8622 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8624         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
8625         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
8626         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
8627         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
8628         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
8629         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
8630         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
8631         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
8633 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8635         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
8637 2016-12-27  Florian Weimer  <fweimer@redhat.com>
8639         [BZ #17252]
8640         * posix/unistd.h (getentropy): Declare.
8642 2016-12-27  Florian Weimer  <fweimer@redhat.com>
8644         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
8645         Remove.
8646         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
8647         (cmd): Remove spoof, nospoof, spoofalert.
8648         (parse_line): Ignore spoof-related lines.
8649         (do_init): Do not process RESOLV_SPOOF_CHECK.
8651 2016-12-27  Florian Weimer  <fweimer@redhat.com>
8653         [BZ #20964]
8654         sunrpc: Always obtain AF_INET addresses from NSS.
8655         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
8656         * sunrpc/rpc_gethostbyname.c: New file.
8657         * sunrpc/Makefile (routines): Add it.
8658         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
8659         * sunrpc/clnt_simp.c (callrpc): Likewise.
8660         * sunrpc/getrpcport.c (getrpcport): Likewise.
8662 2016-12-27  Florian Weimer  <fweimer@redhat.com>
8664         * sunrpc/rpcinfo.c: Remove.
8665         * sunrpc/Makefile: Remove comments referring to rpcinfo.
8667 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8669         [BZ #19387]
8670         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
8671         addition.
8672         * string/test-memchr.c (do_test): Remove alignment limitation.
8673         (test_main): Add test that trigger BZ #19387.
8675 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8677         [BZ #7065]
8678         Enable stack protectore if requested by ./configure.
8679         * Makeconfig (+stack-protector): New variable.
8680         (+cflags): Use it.
8682 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8684         [BZ #7065]
8685         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
8686         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
8687         (__rt_sigreturn_stub): Use inhibit_stack_protector.
8688         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8689         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
8691 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8693         [BZ #7065]
8694         * login/Makefile (pt_chown-cflags): Remove.
8695         * nscd/Makefile (CFLAGS-nscd): Likewise.
8696         * resolv/Makefile (CFLAGS-libresolv): Likewise.
8698 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8700         [BZ #7065]
8701         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
8702         non-libc-linking testcase.
8704 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8705             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8706             Florian Weimer  <fweimer@redhat.com>
8708         [BZ #7065]
8709         PLT avoidance for __stack_chk_fail*.
8710         * debug/Makefile (CFLAGS-stack_chk_fail.c)
8711         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
8712         * debug/stack_chk_fail.c (__stack_chk_fail): Add
8713         __stack_chk_fail_local alias.
8714         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
8715         (__stack_chk_fail): Turn into hidden reference to
8716         __stack_chk_fail_local.
8718 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8720         [BZ #7065]
8721         * configure.ac: Add check for unsupported stack-protection level.
8722         (libc_cv_predef_stack_protector): Remove.
8723         (no_ssp): New variable.
8724         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
8725         (stack_protector): Set to -fno-stack-protector similarly.
8726         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
8727         (libc_cv_asm_set_directive): Likewise.
8728         (libc_cv_protected_data): Likewise.
8729         (libc_cv_z_combreloc): Likewise.
8730         (libc_cv_hashstyle): Likewise.
8731         (libc_cv_has_glob_dat): Likewise.
8732         (libc_cv_output_format): Likewise.
8733         (libc_cv_output_format): Likewise.
8734         (libc_cv_ehdr_start): Likewise.
8735         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
8736         (LIBC_LINKER_FEATURE): Likewise.
8737         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
8739 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8741         [BZ #7065]
8742         * elf/Makefile (dummy-stack-chk-fail): New.
8743         (librtld.map): Use it.
8745 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8747         [BZ #7065]
8748         Compile the dynamic linker without stack protection.
8749         * elf/Makefile (elide-stack-protector): New.
8750         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
8751         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
8752         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
8753         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
8755 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8757         [BZ #7065]
8758         * config.make.in (have-ssp, no-stack-protector): New.
8759         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
8760         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
8761         (CFLAGS-sbrk.op): Likewise.
8762         (CFLAGS-brk.o): Likewise.
8763         (CFLAGS-brk.op): Likewise.
8764         * string/Makefile (CFLAGS-memcpy.c): Likewise.
8765         (CFLAGS-wordcopy.c): Likewise.
8767 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8769         [BZ #7065]
8770         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
8771         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
8772         * include/libc-symbols.h (inhibit_stack_protector): New macro.
8773         (__ifunc_resolver): Use it.
8774         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
8775         inhibit_stack_protector.
8776         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
8777         * elf/ifuncmain7.c (foo_ifunc): Likewise.
8778         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
8779         (foo_protected_ifunc): Likewise.
8780         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
8781         (foo_protected_ifunc): Likewise.
8782         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
8783         * sysdeps/nacl/nacl_interface_query.c
8784         (nacl_interface_query_ifunc): Likewise.
8785         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
8786         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
8787         Likewise.
8788         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
8789         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
8790         the generated vDSO syscall resolver.
8792 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8793             Florian Weimer  <fweimer@redhat.com>
8795         [BZ #7065]
8796         Initialize the stack guard earlier when linking statically.
8797         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
8798         (__pthread_initialize_minimal): Declare.
8799         * csu/libc-start.c (__pthread_initialize_minimal): Remove
8800         declaration.
8801         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
8802         stack canary and apply_irel initialization up.  Call
8803         __pthread_initialize_minimal only if linked in.
8804         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
8805         constant values.
8806         (__pthread_initialize_minimal): Remove.
8807         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
8808         (__pthread_initialize_minimal_internal): Do not call
8809         __libc_setup_tls.
8811 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8813         [BZ #7065]
8814         * configure.ac (libc_cv_ssp): Move up.
8815         (libc_cv_ssp_strong): Likewise.
8816         (libc_cv_ssp_all): New.
8817         (stack_protector): Augment, adding -fstack-protector-all.
8818         (no_stack_protector): New.
8819         (STACK_PROTECTOR_LEVEL): New.
8820         (AC_ARG_ENABLE(stack-protector)): New configure flag.
8821         * manual/install.texi (--enable-stack-protector): Document it.
8822         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
8824 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
8826         * README.pretty-printers: Must specify CPPFLAGS-* also.
8827         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
8828         (CPPFLAGS-test-mutex-printers.c): Define.
8829         (CPPFLAGS-test-condattr-printers.c): Define.
8830         (CPPFLAGS-test-cond-printers.c): Define.
8831         (CPPFLAGS-test-rwlockattr-printers.c): Define.
8832         (CPPFLAGS-test-rwlock-printers.c): Define.
8834         * nss/Makefile [ifeq (yes,$(have-thread-library))]
8835         (tests): Add tst-cancel-getpwuid_r.
8836         * nss/tst-cancel-getpwuid_r.c: New file.
8838         [BZ #11941]
8839         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
8840         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
8841         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
8842         tst-nodelete-dlclose.
8843         (modules-names): Add tst-nodelete-dlclose-dso and
8844         tst-nodelete-dlclose-plugin.
8845         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
8846         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
8847         ($(objpfx)tst-nodelete-dlclose): Define.
8848         ($(objpfx)tst-nodelete-dlclose.out): Define.
8850 2016-12-23  Florian Weimer  <fweimer@redhat.com>
8852         * scripts/test_printers_common.py: Log GDB output in case of
8853         Python detection failure.
8855 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8857         * configure.ac: Check for python3 or python.
8858         * configure: Regenerated.
8859         * config.make.in (PYTHON): New variable.
8860         * benchtests/Makefile: Don't define PYTHON.
8861         (bench): Define target only if PYTHON was defined.
8862         * Rules: Don't define PYTHON.
8863         Define pretty printer targets only if PYTHON was defined.
8864         (tests-printers): Add to tests-unsupported if PYTHON is not
8865         found.
8866         (python-flags, python-invoke): Remove.
8867         (tests-printers-out): Use PYTHON instead of python-invoke.
8869 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
8871         [BZ #20978]
8872         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8873         Compare name == NULL, not name != NULL.
8875         * manual/texinfo.tex: Update to version 2016-09-18.18 with
8876         trailing whitespace removed.
8877         * scripts/config.guess: Update to version 2016-10-02.
8878         * scripts/config.sub: Update to version 2016-11-19.
8879         * scripts/install-sh: Update to version 2016-01-11.22.
8880         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
8881         * scripts/move-if-change: Update to version 2016-01-11 22:04.
8883 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
8885         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
8886         (do_one_test) Restore original string so iteration works.
8887         * string/string-inlines.c (do_test): Create better input strings.
8888         (test_main) Reduce number of testruns.
8889         * string/string-inlines.c (__old_strsep_1c): New function.
8890         (__old_strsep_2c): Likewise.
8891         (__old_strsep_3c): Likewise.
8892         * string/strsep.c (__strsep): Remove case of small delim string.
8893         Call strcspn directly rather than strpbrk.
8894         * string/bits/string2.h (__strsep): Remove define.
8895         (__strsep_1c): Remove.
8896         (__strsep_2c): Remove.
8897         (__strsep_3c): Remove.
8898         (strsep): Remove.
8899         * sysdeps/unix/sysv/linux/internal_statvfs.c
8900         (__statvfs_getflags): Rename to __strsep.
8902 2016-12-21  Florian Weimer  <fweimer@redhat.com>
8904         * csu/libc-tls.c (_dl_tls_setup): Remove.
8905         * elf/dl-tls.c (_dl_tls_setup): Likewise.
8906         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
8907         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
8909 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
8911         [BZ #7065]
8912         * sysdeps/x86_64/Makefile [$(subdir) = elf]
8913         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
8915 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
8916             Florian Weimer  <fweimer@redhat.com>
8918         [BZ #7065]
8919         * csu/Makefile (tests): Empty assignment and document it.
8920         (tests-static): Remove.
8921         * csu/tst-empty.c: Move to...
8922         * misc/tst-empty.c: ... here.  Switch to new test driver.
8923         * csu/tst-atomic.c: Move to...
8924         * misc/tst-atomic.c: ... here.  Switch to new test driver.
8925         * csu/tst-atomic-long.c: Move to...
8926         * misc/tst-atomic-long.c: ... here.
8927         * misc/Makefile (tests): Add tst-empty, tst-atomic,
8928         tst-atomic-long.
8929         (tests-static): Add tst-empty.
8931 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
8933         * manual/nss.texi: Change incorrect @vtable to @table.
8934         * manual/arith.texi: Convert @tables of variables to @vtables
8935         and remove unnecessary indexing.
8936         * manual/filesys.texi: Likewise.
8937         * manual/llio.texi: Likewise.
8938         * manual/memory.texi: Likewise.
8939         * manual/process.texi: Likewise.
8940         * manual/resource.texi: Likewise.
8941         * manual/search.texi: Likewise.
8942         * manual/signal.texi: Likewise.
8943         * manual/socket.texi: Likewise.
8944         * manual/stdio.texi: Likewise.
8945         * manual/sysinfo.texi: Likewise.
8946         * manual/syslog.texi: Likewise.
8947         * manual/terminal.texi: Likewise.
8948         * manual/time.texi: Likewise.
8949         * manual/users.texi: Likewise.
8951 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
8953         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8954         (roundeven): New declaration.
8955         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
8956         macro.
8957         * math/Versions (roundeven): New libm symbol at version
8958         GLIBC_2.25.
8959         (roundevenf): Likewise.
8960         (roundevenl): Likewise.
8961         * math/Makefile (libm-calls): Add s_roundevenF.
8962         * math/libm-test.inc (roundeven_test_data): New array.
8963         (roundeven_test): New function.
8964         (main): Call roundeven_test.
8965         * math/test-tgmath.c (NCALLS): Increase to 134.
8966         (F(compile_test)): Call roundeven.
8967         (F(roundeven)): New function.
8968         * manual/arith.texi (Rounding Functions): Document roundeven,
8969         roundevenf and roundevenl.
8970         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
8971         * include/math.h (roundeven): Use libm_hidden_proto.
8972         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
8973         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
8974         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
8975         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
8976         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
8977         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
8978         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8979         roundeven.
8980         (CFLAGS-nldbl-roundeven.c): New variable.
8981         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
8982         * sysdeps/nacl/libm.abilist: Update.
8983         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8984         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8985         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8986         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8987         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8988         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8989         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8990         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8991         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8992         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8993         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8994         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8996         Likewise.
8997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8998         Likewise.
8999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9000         Likewise.
9001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9002         Likewise.
9003         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9004         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9005         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9006         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9007         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9008         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9009         Likewise.
9010         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9011         Likewise.
9012         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9013         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9014         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9016 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
9018         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
9019         preprocessor indentation inside #if.
9021 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9023         * math/libm-test.inc (fmt_ftostr): New function.
9024         (print_float, check_float_internal): Replace some uses of
9025         FTOSTR with uses of fmt_ftostr.
9026         (print_max_error, print_complex_max_error, print_function_ulps)
9027         (print_complex_function_ulps): Remove uses of the macros
9028         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
9029         * math/test-double.h (FTOSTR): Define to strfromd.
9030         (PRINTF_EXPR): Delete.
9031         (PRINTF_XEXPR): Likewise.
9032         (PRINTF_NEXPR): Likewise.
9033         * math/test-float.h (FTOSTR): Define to strfromf.
9034         (PRINTF_EXPR): Delete.
9035         (PRINTF_XEXPR): Likewise.
9036         (PRINTF_NEXPR): Likewise.
9037         * math/test-ldouble.h (FTOSTR): Define to strfroml.
9038         (PRINTF_EXPR): Delete.
9039         (PRINTF_XEXPR): Likewise.
9040         (PRINTF_NEXPR): Likewise.
9042 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9044         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
9045         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
9046         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
9047         (__lll_lock_elision): Decrement adapt_count while unlocking
9048         instead of before locking.
9049         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
9050         (__lll_trylock_elision): Likewise.
9051         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
9052         (__lll_unlock_elision): Likewise.
9054 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9056         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
9057         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
9058         Use __libc_tbegin_retry macro.
9060 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9062         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
9063         Add -msoft-float.
9064         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
9065         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
9066         Use __libc_t* transaction macros instead of __builtin_t*.
9067         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9068         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
9070 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9072         * sysdeps/unix/sysv/linux/s390/elision-lock.c
9073         (__lll_lock_elision): Use atomics to load / store adapt_count.
9074         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
9075         (__lll_trylock_elision): Likewise.
9077 2016-12-20  Florian Weimer  <fweimer@redhat.com>
9079         Do not require memset elimination in explicit_bzero test.
9080         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
9081         (enum test_expectation): Add NO_EXPECTATIONS.
9082         (subtests): NO_EXPECTATIONS for ordinary clear.
9083         (check_test_buffer): Handle NO_EXPECTATIONS.
9084         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
9086 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
9088         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9089         (fmaxmag): New declaration.
9090         (fminmag): Likewise.
9091         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
9092         macro.
9093         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
9094         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
9095         (fmaxmagf): Likewise.
9096         (fmaxmagl): Likewise.
9097         (fminmag): Likewise.
9098         (fminmagf): Likewise.
9099         (fminmagl): Likewise.
9100         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
9101         * math/s_fmaxmag_template.c: New file.
9102         * math/s_fminmag_template.c: Likewise.
9103         * math/libm-test.inc (fmaxmag_test_data): New array.
9104         (fmaxmag_test): New function.
9105         (fminmag_test_data): New array.
9106         (fminmag_test): New function.
9107         (main): Call fmaxmag_test and fminmag_test.
9108         * math/test-tgmath.c (NCALLS): Increase to 132.
9109         (F(compile_test)): Call fmaxmag and fminmag.
9110         (F(fminmag)): New function.
9111         (F(fmaxmag)): Likewise.
9112         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
9113         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
9114         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
9115         fminmag.
9116         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
9117         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
9118         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
9119         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
9120         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
9121         and fminmag.
9122         (CFLAGS-nldbl-fmaxmag.c): New variable.
9123         (CFLAGS-nldbl-fminmag.c): Likewise.
9124         * sysdeps/nacl/libm.abilist: Update.
9125         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9126         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9127         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9128         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9129         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9130         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9131         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9132         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9133         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9134         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9135         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9136         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9138         Likewise.
9139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9140         Likewise.
9141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9142         Likewise.
9143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9144         Likewise.
9145         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9146         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9147         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9148         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9149         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9150         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9151         Likewise.
9152         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9153         Likewise.
9154         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9155         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9156         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9158 2016-12-19  Torvald Riegel  <triegel@redhat.com>
9160         [BZ #20973]
9161         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
9162         wake-up in robust mutexes.
9163         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
9165 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9167         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
9168         (CFLAGS-bench-fmaxf.c): New rule.
9169         (CFLAGS-bench-fminf.c): Likewise.
9170         * benchtests/fmaxf-inputs: New file.
9171         * benchtests/fminf-inputs: Likewise.
9173         * benchtests/Makefile (bench-math): Add fmin and fmax.
9174         (CFLAGS-bench-fmax.c): New rule.
9175         (CFLAGS-bench-fmin.c): Likewise.
9176         * benchtests/fmax-inputs: New file.
9177         * benchtests/fmin-inputs: Likewise.
9179         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
9180         parenthesis.
9181         (CMDLINE_PROCESS): Define using function instead of macro.
9182         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
9183         of test-skeleton.
9184         * benchtests/bench-memchr.c: Likewise.
9185         * benchtests/bench-memcmp.c: Likewise.
9186         * benchtests/bench-memcpy-large.c: Likewise.
9187         * benchtests/bench-memcpy.c: Likewise.
9188         * benchtests/bench-memmem.c: Likewise.
9189         * benchtests/bench-memmove-large.c: Likewise.
9190         * benchtests/bench-memmove.c: Likewise.
9191         * benchtests/bench-memset-large.c: Likewise.
9192         * benchtests/bench-memset.c: Likewise.
9193         * benchtests/bench-rawmemchr.c: Likewise.
9194         * benchtests/bench-strcasecmp.c: Likewise.
9195         * benchtests/bench-strcasestr.c: Likewise.
9196         * benchtests/bench-strcat.c: Likewise.
9197         * benchtests/bench-strchr.c: Likewise.
9198         * benchtests/bench-strcmp.c: Likewise.
9199         * benchtests/bench-strcpy.c: Likewise.
9200         * benchtests/bench-strcpy_chk.c: Likewise.
9201         * benchtests/bench-strlen.c: Likewise.
9202         * benchtests/bench-strncasecmp.c: Likewise.
9203         * benchtests/bench-strncmp.c: Likewise.
9204         * benchtests/bench-strncpy.c: Likewise.
9205         * benchtests/bench-strnlen.c: Likewise.
9206         * benchtests/bench-strpbrk.c: Likewise.
9207         * benchtests/bench-strrchr.c: Likewise.
9208         * benchtests/bench-strsep.c: Likewise.
9209         * benchtests/bench-strspn.c: Likewise.
9210         * benchtests/bench-strstr.c: Likewise.
9211         * benchtests/bench-strtok.c: Likewise.
9213 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9215         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
9216         stepping identification.
9217         (init_cpu_features): Add handle of Haswell.
9219 2016-11-25  Jim Meyering  <meyering@fb.com>
9221         [BZ #20386]
9222         Let gcc detect assert(a = 1) errors.
9223         * assert/assert.h (assert): Rewrite, retaining the old definintion
9224         when required, but otherwise putting the expression as-is in an "if"
9225         expression (hence, with no added parentheses) within a statement
9226         expression.
9228 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9230         * benchtests/Makefile (binaries-benchset): Depend on libsupport
9231         DSO.
9233 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
9235         * Rules (python-flags, python-invoke): New.
9236         ($(test-printers-out)): Use $(python-flags).
9238 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
9240         * manual/arith.texi (Math Error Reporting): Document that sNaN
9241         arguments are not considered domain errors.
9243 2016-12-16  Zack Weinberg <zackw@panix.com>
9244             Florian Weimer <fweimer@redhat.com>
9245             Nick Mathewson <nickm@torproject.org>
9247         * string/explicit_bzero.c: New routine.
9248         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
9249         * string/Makefile (routines, strop-tests, tests): Add them.
9250         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
9251         * string/string.h [__USE_MISC]: Declare explicit_bzero.
9253         * debug/explicit_bzero_chk.c: New routine.
9254         * debug/Makefile (routines): Add it.
9255         * debug/tst-chk1.c: Test fortification of explicit_bzero.
9256         * string/bits/string3.h: Fortify explicit_bzero.
9258         * manual/string.texi: Document explicit_bzero.
9259         * NEWS: Mention addition of explicit_bzero.
9261         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
9262         data before returning, using explicit_bzero.
9263         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
9264         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9265         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9267         * include/string.h: Redirect internal uses of explicit_bzero
9268         to __explicit_bzero_chk[_internal].
9269         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
9270         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
9271         * sysdeps/arm/nacl/libc.abilist
9272         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
9273         * sysdeps/unix/sysv/linux/alpha/libc.abilist
9274         * sysdeps/unix/sysv/linux/arm/libc.abilist
9275         * sysdeps/unix/sysv/linux/hppa/libc.abilist
9276         * sysdeps/unix/sysv/linux/i386/libc.abilist
9277         * sysdeps/unix/sysv/linux/ia64/libc.abilist
9278         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
9279         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
9280         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
9281         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9282         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9283         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9284         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9285         * sysdeps/unix/sysv/linux/nios2/libc.abilist
9286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9290         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
9291         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9292         * sysdeps/unix/sysv/linux/sh/libc.abilist
9293         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
9294         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
9295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
9296         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
9297         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
9298         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
9299         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
9300         Add entries for explicit_bzero and __explicit_bzero_chk.
9302 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
9304         * math/fenv.h
9305         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
9306         (FE_SNANS_ALWAYS_SIGNAL): New macro.
9307         * math/test-fe-snans-always-signal.c: New file.
9308         * math/Makefile (tests): Add test-fe-snans-always-signal.
9309         (CFLAGS-test-fe-snans-always-signal.c): New variable.
9310         * manual/arith.texi (Infinity and NaN): Document
9311         FE_SNANS_ALWAYS_SIGNAL.
9313 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9315         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
9316         bracket.
9318 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
9320         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
9321         before calling execv.
9323 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9325         [BZ #20971]
9326         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
9327         overflow in pointer addition.
9328         * string/test-memchr.c (do_test): Add an argument to pass as
9329         the size on memchr.
9330         (test_main): Add check for SIZE_MAX.
9332 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9334         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
9335         (libm-calls): Add w_scalblnF.
9336         * math/w_scalbln.c: Remove.
9337         * math/w_scalblnf.c: Likewise.
9338         * math/w_scalblnl.c: Likewise.
9339         * math/w_scalbln_template.c: New file with type-generic
9340         implementation based on math/w_scalbln.c.
9341         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
9342         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
9344 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
9346         [BZ #20947]
9347         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
9348         either is a signaling NaN.
9349         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
9350         follow fmaxl more closely.
9351         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
9352         when either is a signaling NaN.
9353         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
9354         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
9355         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
9356         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
9357         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
9358         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
9359         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
9360         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
9361         (fmin_test_data): Likewise.
9363 2016-12-15  Andreas Schwab  <schwab@suse.de>
9365         * support/support_test_main.c (support_test_main): Don't shadow
9366         file-local variable test_pid.
9368 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
9370         [BZ #20947]
9371         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
9372         either is a signaling NaN.
9373         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
9375 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
9377         [BZ #20947]
9378         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
9379         when either is a signaling NaN.
9380         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
9382         * bits/long-double.h: New file.
9383         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
9384         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
9385         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
9386         * sysdeps/mips/bits/long-double.h: Likewise.
9387         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
9388         * math/Makefile (headers): Add bits/long-double.h.
9389         * misc/sys/cdefs.h: Include <bits/long-double.h>.
9390         * stdlib/strtold.c: Include <bits/long-double.h> instead of
9391         <bits/wordsize.h>.
9392         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
9393         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
9394         * math/math.h: Do not include <bits/mathdef.h>.
9395         * sysdeps/aarch64/bits/mathdef.h: Remove file.
9396         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
9397         inclusion.
9398         * sysdeps/ia64/bits/mathdef.h: Remove file.
9399         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
9400         * sysdeps/mips/bits/mathdef.h: Likewise.
9401         * sysdeps/powerpc/bits/mathdef.h: Likewise.
9402         * sysdeps/s390/bits/mathdef.h: Likewise.
9403         * sysdeps/sparc/bits/mathdef.h: Likewise.
9404         * sysdeps/x86/bits/mathdef.h: Likewise.
9405         * sysdeps/s390/s390-32/bits/wordsize.h
9406         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
9407         conditional code.
9408         * sysdeps/s390/s390-64/bits/wordsize.h
9409         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
9410         Likewise.
9411         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
9412         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
9413         Likewise.
9414         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
9415         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
9416         Likewise.
9417         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
9418         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
9419         Likewise.
9421         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
9422         <linux/falloc.h>.
9423         (FALLOC_FL_KEEP_SIZE): Remove.
9424         (FALLOC_FL_PUNCH_HOLE): Likewise.
9425         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
9426         (FALLOC_FL_ZERO_RANGE): Likewise.
9428 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9430         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
9432 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9434         * sysdeps/unix/sysv/linux/renameat.c: New file.
9435         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
9437         * sysdeps/unix/sysv/linux/rename.c: New file.
9438         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
9440 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
9442         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
9443         * string/strtok.c (strtok): Change to tailcall __strtok_r.
9444         * string/strtok_r.c (__strtok_r): Optimize for performance.
9445         * string/string-inlines.c (__old_strtok_r_1c): New function.
9446         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
9448 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9450         * math/Makefile (gen-libm-calls): Add w_log1pF.
9451         (libm-calls): Remove w_log1pF.
9452         * math/w_log1p.c: Remove.
9453         * math/w_log1pf.c: Likewise.
9454         * math/w_log1pl.c: Likewise.
9455         * math/w_log1p_template.c: New file with type-generic
9456         implementation based on math/w_log1p.c.
9457         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
9458         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
9460 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
9462         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
9464 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
9466         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9467         kernel version to 4.9.
9469 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
9471         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
9472         ($(inst_libdir)/libm.a): Fix rule to create the target only.
9474 2016-12-13  Andreas Schwab  <schwab@suse.de>
9476         * sysdeps/powerpc/dl-procinfo.c: Don't define
9477         _dl_powerpc_platforms.
9478         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
9479         constants instead of referencing _dl_powerpc_platforms.
9480         (_dl_platform_string): Remove.
9482 2016-12-13  Florian Weimer  <fweimer@redhat.com>
9484         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
9486 2016-12-13  Florian Weimer  <fweimer@redhat.com>
9488         * Rules (binaries-shared-tests, binaries-pie-tests)
9489         (binaries-static-tests): Link with $(link-extra-libs-tests).
9490         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
9491         Remove $(link-extra-libs-tests).
9493 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9495         * sysdeps/powerpc/powerpc64/multiarch/Makefile
9496         (sysdep_routines): Add strncmp_power9.
9497         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9498         (strncmp): Add __strncmp_power9 to list of strncmp functions.
9499         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
9500         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
9501         (strncmp): Add __strncmp_power9 to ifunc list.
9502         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
9504 2016-12-12  Florian Weimer  <fweimer@redhat.com>
9506         [BZ #17252]
9507         Add getentropy, getrandom.
9508         * stdlib/sys/random.h: New file.
9509         (headers): Add it.
9510         * stdlib/Makefile (routines): Add getentropy, getrandom.
9511         (tests): Add tst-getrandom.
9512         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
9513         * stdlib/getentropy.c: New file.
9514         * stdlib/getrandom.c: Likewise.
9515         * stdlib/tst-getrandom.c: Likewise.
9516         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
9517         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
9518         * manual/crypt.texi (Unpredictable Bytes): New section.
9519         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
9520         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
9521         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
9522         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9523         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9524         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9525         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9526         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9527         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9528         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9529         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9530         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9531         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9532         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9533         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9534         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9536         Likewise.
9537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9538         Likewise.
9539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9541         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9542         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9543         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9544         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9545         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9548         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9549         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9550         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9552 2016-12-10  Florian Weimer  <fweimer@redhat.com>
9554         [BZ #20956]
9555         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
9556         as additional compiler barriers.
9557         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
9558         (fn2, do_test): Declare with external linkage.
9559         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
9560         (do_test): Declare with external linkage.
9561         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
9562         (do_test): Declare with external linkage.
9563         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
9564         (do_test): Declare with external linkage.
9566 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
9568         * support/support_test_main.c (support_test_main): Use correct
9569         timeout.
9571 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
9572             Florian Weimer  <fweimer@redhat.com>
9574         [BZ #16421]
9575         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
9576         and __u6_addr32 members.
9577         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
9578         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
9579         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
9580         Use __u6_addr32.
9581         * inet/tst-checks.c: Use <support/test-driver.c>
9582         * inet/tst-checks-posix.c: New file.
9583         * inet/Makefile (tests): Add it.
9584         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
9586 2016-12-09  Florian Weimer  <fweimer@redhat.com>
9588         New subdirectory support for build and test infrastructure.
9589         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
9590         setting install-lib.
9591         * Makeconfig (link-extra-libs-tests): Define.
9592         (+link-pie-tests, +link-static-tests, +link-tests): Use
9593         link-extra-libs-tests.
9594         (rpath-dirs, all-subdirs): Add support.
9595         (built-modules): Add libsupport.
9596         (libsupport): Define.
9597         * support: New directory.
9598         * support/Makefile: New file.
9599         * support/check.c: Likewise.
9600         * support/check.h: Likewise.
9601         * support/delayed_exit.c: Likewise.
9602         * support/ignore_stderr.c: Likewise.
9603         * support/oom_error.c: Likewise.
9604         * support/set_fortify_handler.c: Likewise.
9605         * support/support.h: Likewise.
9606         * support/temp_file-internal.h: Likewise.
9607         * support/temp_file.c: Likewise.
9608         * support/test-driver.c: Likewise.
9609         * support/test-driver.h: Likewise.
9610         * support/test_main.c: Likewise.
9611         * support/write_message.c: Likewise.
9612         * support/xasprintf.c: Likewise.
9613         * support/xcalloc.c: Likewise.
9614         * support/xmalloc.c: Likewise.
9615         * support/xpthread_barrier_destroy.c: Likewise.
9616         * support/xpthread_barrier_init.c: Likewise.
9617         * support/xpthread_barrier_wait.c: Likewise.
9618         * support/xpthread_cancel.c: Likewise.
9619         * support/xpthread_check_return.c: Likewise.
9620         * support/xpthread_cond_wait.c: Likewise.
9621         * support/xpthread_create.c: Likewise.
9622         * support/xpthread_detach.c: Likewise.
9623         * support/xpthread_join.c: Likewise.
9624         * support/xpthread_mutex_lock.c: Likewise.
9625         * support/xpthread_mutex_unlock.c: Likewise.
9626         * support/xpthread_sigmask.c: Likewise.
9627         * support/xpthread_spin_lock.c: Likewise.
9628         * support/xpthread_spin_unlock.c: Likewise.
9629         * support/xrealloc.c: Likewise.
9630         * support/xsignal.h: Likewise.
9631         * support/xthread.h: Likewise.
9632         * support_tempfile.h: Likewise.
9633         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
9634         (TEST_DATA_LIMIT): Remove unused macro.
9635         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
9636         <support/check.h>.
9637         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
9638         (ignore_stderr, set_fortify_handler): Remove.  Now in
9639         <support/support.h>.
9640         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
9641         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
9642         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
9643         (xpthread_join): Remove.  Now in <support/xthread.h>.
9644         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
9645         Introduce legacy wrappers.
9646         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
9647         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
9648         (write_message): Remove.
9649         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
9650         test-skeleton.c.
9651         * io/test-open-tmpfile: Likewise.
9652         * io/tst-posix_fallocate-common.c: Likewise.
9653         * libio/tst-fseek.c: Likewise.
9654         * malloc/tst-malloc-backtrace.c: Likewise.
9655         * malloc/tst-malloc-fork-deadlock.c: Likewise.
9656         * malloc/tst-malloc-thread-exit.c: Likewise.
9657         * nptl/tst-cancel7.c: Likewise.
9658         * nptl/tst-cleanup0.c: Likewise.
9659         * posix/tst-posix_fadvise-common.c: Likewise.
9660         * rt/tst-shm.c: Likewise.
9661         * time/bug-getdate1.c: Likewise.
9662         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
9663         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
9664         * elf/Makefile (tst-piemod1.so): Link against libsupport.
9666 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
9668         * Rules [$(run-built-tests) != no] (tests-expected): Add
9669         $(tests-printers).
9670         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
9672 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
9674         [BZ #20539]
9675         * math/Makefile (install-lib-ldscripts): Add libm.a.
9676         (install_subdir): Remove.
9677         (install-others): Add.
9678         ($(inst_libdir)/libm.a): Add rule for installation as
9679         linker script.
9680         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
9682 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
9684         * INSTALL: Regenerated.
9685         * Makeconfig: Add comments and whitespace to make the control flow
9686         clearer.
9687         (+link-printers-tests, +link-pie-printers-tests,
9688         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
9689         built-rtld-LDFLAGS, link-libc-rpath,
9690         link-libc-tests-after-rpath-link,
9691         link-libc-printers-tests): New.
9692         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
9693         link-libc-tests): Use the new variables as required.
9694         * Makerules ($(py-const)): New rule.
9695         generated: Add $(py-const).
9696         * README.pretty-printers: New file.
9697         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
9698         (others): Depend on $(py-const).
9699         (tests): Depend on $(tests-printers-programs) or
9700         $(tests-printers-out),
9701         as required.  Pass $(tests-printers) to merge-test-results.sh.
9702         * manual/install.texi: Add requirements for testing the pretty
9703         printers.
9704         * nptl/Makefile (gen-py-const-headers, pretty-printers,
9705         tests-printers, CFLAGS-test-mutexattr-printers.c
9706         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
9707         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
9708         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
9709         * nptl/nptl-printers.py: New file.
9710         * nptl/nptl_lock_constants.pysym: Likewise.
9711         * nptl/test-cond-printers.c: Likewise.
9712         * nptl/test-cond-printers.py: Likewise.
9713         * nptl/test-condattr-printers.c: Likewise.
9714         * nptl/test-condattr-printers.py: Likewise.
9715         * nptl/test-mutex-printers.c: Likewise.
9716         * nptl/test-mutex-printers.py: Likewise.
9717         * nptl/test-mutexattr-printers.c: Likewise.
9718         * nptl/test-mutexattr-printers.py: Likewise.
9719         * nptl/test-rwlock-printers.c: Likewise.
9720         * nptl/test-rwlock-printers.py: Likewise.
9721         * nptl/test-rwlockattr-printers.c: Likewise.
9722         * nptl/test-rwlockattr-printers.py: Likewise.
9723         * scripts/gen-py-const.awk: Likewise.
9724         * scripts/test_printers_common.py: Likewise.
9725         * scripts/test_printers_exceptions.py: Likewise.
9727 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
9729         * scripts/build-many-glibcs.py (Context.__init__): Take strip
9730         argument.
9731         (Glibc.build_glibc): Strip installed shared libraries if
9732         requested.
9733         (get_parser): Add --strip option.
9734         (main): Update Context call.
9736 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9737             Dominik Vogt  <vogt@linux.vnet.ibm.com>
9739         [BZ #20847]
9740         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
9741         array bounds for else branch.
9742         (__execvpe): Style fixes.
9743         * posix/tst-vfork3.c (run_script): New function.
9744         (create_script): Likewise.
9745         (do_test): Use run_script internal function.
9746         (do_prepare): Use create_script internal function.
9748 2016-12-07  Andreas Schwab  <schwab@suse.de>
9750         * sysdeps/unix/sysv/linux/x86/elision-conf.h
9751         (__elision_available): Don't declare.
9752         * sysdeps/unix/sysv/linux/x86/elision-conf.c
9753         (__elision_available): Don't define.
9754         (elision_init): Don't set __elision_available.
9756 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
9758         [BZ #20940]
9759         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
9760         return Inf for arguments Inf and sNaN.
9761         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
9762         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9763         Likewise.
9764         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9765         Likewise.
9766         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
9767         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
9768         for arguments Inf and sNaN.  When returning a NaN, compute it by
9769         arithmetic on the arguments.
9770         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
9771         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
9772         arguments.
9774 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
9776         [BZ #20916]
9777         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
9778         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
9779         to compute result.
9780         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9781         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
9783 2016-12-05  Torvald Riegel  <triegel@redhat.com>
9785         * include/atomic.h (__atomic_check_size_ls): New.
9786         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
9787         atomic_store_release): Use it.
9788         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
9789         (elision_adapt, ELIDE_LOCK): Use atomics.
9790         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
9791         atomics and improve code comments.
9792         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
9793         (__lll_trylock_elision): Likewise.
9795 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9797         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
9798         programs.
9800 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
9802         [BZ #20916]
9803         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
9804         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
9805         arguments to compute result.
9806         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
9807         1 for arguments (sNaN, 0) or (1, sNaN).
9808         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9809         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9811         [BZ #20919]
9812         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
9813         NaN first argument when raised to power 0.
9814         * math/w_pow.c (__pow): Do not check for NaN or zero results from
9815         raising to power zero.
9816         * math/w_powf.c (__powf): Likewise.
9817         * math/w_powl.c (__powl): Likewise.
9818         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
9819         pow (0, 0) or pow (NaN, 0).
9821 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
9823         [BZ #20918]
9824         * configure.ac: Test for static NSS cryptographic libraries and set
9825         libc_cv_static_nss_crypt.
9826         * configure: Regenerate.
9827         * config.make.in (static-nss-crypt): Define.
9828         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
9829         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
9830         (CFLAGS-tst-linkall-static.c): Define.
9831         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
9832         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
9833         ($(objpfx)tst-linkall-static): Define.
9834         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
9835         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
9837 2016-12-02  Florian Weimer  <fweimer@redhat.com>
9839         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
9840         (one-hundred, tst-tls-many-dynamic-modules): Define.
9841         (modules-names): Add $(tst-tls-many-dynamic-modules).
9842         (tst-tls-manydynamic%mod.os): Build with special preprocessor
9843         macros.
9844         (tst-tls-manydynamic): Link against libdl, libpthread.
9845         (tst-tls-manydynamic.out): The test needs the test modules at run
9846         time.
9847         * elf/tst-tls-manydynamic.c: New file.
9848         * elf/tst-tls-manydynamic.h: Likewise.
9849         * elf/tst-tls-manydynamicmod.c: Likewise.
9851 2016-12-02  Florian Weimer  <fweimer@redhat.com>
9853         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
9854         (TLS_DTV_UNALLOCATED): Add.
9855         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
9856         offsets.
9858 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
9860         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9862 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
9864         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
9865         Add -fno-optimize-sibling-calls.
9867 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
9869         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
9870         New declaration.
9871         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
9872         macro.
9873         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
9874         New macro.
9875         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
9876         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
9877         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
9878         (llogbf): Likewise.
9879         (llogbl): Likewise.
9880         * math/Makefile (gen-libm-calls): Add w_llogbF.
9881         (tests): Add test-fp-llogb-constants.
9882         * math/w_llogb_template.c: New file.  Based on
9883         math/w_ilogb_template.c.
9884         * math/libm-test.inc (llogb_test_data): New array.
9885         (llogb_test): New function.
9886         (main): Call llogb_test.
9887         * math/test-fp-llogb-constants.c: New file.  Based on
9888         math/test-fp-ilogb-constants.c.
9889         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
9890         (do_test): Call check_return_llogb.
9891         * math/test-tgmath.c (NCALLS): Increase to 126.
9892         (F(compile_test)): Call llogb.
9893         (F(llogb)): New function.
9894         * manual/math.texi (Exponents and Logarithms): Document llogb,
9895         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
9896         * manual/libm-err-tab.pl (@all_functions): Add llogb.
9897         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
9898         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
9899         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
9900         (CFLAGS-nldbl-llogb.c): New variable.
9901         * sysdeps/nacl/libm.abilist: Update.
9902         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9903         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9904         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9905         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9906         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9907         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9908         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9909         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9910         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9911         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9912         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9913         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9915         Likewise.
9916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9917         Likewise.
9918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9919         Likewise.
9920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9921         Likewise.
9922         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9923         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9924         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9925         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9926         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9927         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9928         Likewise.
9929         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9930         Likewise.
9931         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9932         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9933         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9935 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
9937         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
9938         _Float128 instead of long double.
9939         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
9941         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
9942         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
9943         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
9944         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
9945         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
9946         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
9947         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
9948         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
9949         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
9950         Likewise.
9952 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9954         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
9955         Remove redirection to __strrchr_ppc.
9957 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9959         * sysdeps/powerpc/powerpc64/multiarch/Makefile
9960         (sysdep_routines): Add strcmp_power9.
9961         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9962         (strcmp): Add __strcmp_power9 to list of strcmp functions.
9963         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
9964         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
9965         (strcmp): Add __strcmp_power9 to ifunc list.
9966         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
9968 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
9970         * bits/fp-logb.h: New file.
9971         * sysdeps/ia64/bits/fp-logb.h: Likewise.
9972         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
9973         * sysdeps/x86/bits/fp-logb.h: Likewise.
9974         * math/Makefile (headers): Add bits/fp-logb.h.
9975         * math/math.h: Include <bits/fp-logb.h>.
9976         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
9977         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
9978         * bits/mathdef.h (FP_ILOGB0): Remove.
9979         (FP_ILOGBNAN): Likewise.
9980         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
9981         (FP_ILOGBNAN): Likewise.
9982         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
9983         (FP_ILOGBNAN): Likewise.
9984         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
9985         (FP_ILOGBNAN): Likewise.
9986         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
9987         (FP_ILOGBNAN): Likewise.
9988         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
9989         (FP_ILOGBNAN): Likewise.
9990         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
9991         (FP_ILOGBNAN): Likewise.
9992         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
9993         (FP_ILOGBNAN): Likewise.
9994         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
9995         (FP_ILOGBNAN): Likewise.
9996         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
9997         (FP_ILOGBNAN): Likewise.
9999         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
10000         time module.
10001         (Context.__init__): Initialize self.logsdir_old.
10002         (Context.run_builds): Handle bot action.
10003         (Context.bot_cycle): Copy logs directory before running builds.
10004         (Context.bot_run_self): Take argument for whether to check
10005         subprocess result.  Flush stdout before running subprocess.
10006         (Context.bot): New function.
10007         (get_parser): Allow bot action.
10009 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
10011         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
10012         Import email.mime.text, email.utils and smtplib modules.
10013         (Context.__init__): Initialize self.bot_config_json.
10014         (Context.run_builds): Handle bot-cycle action.
10015         (Context.load_bot_config_json): New function.
10016         (Context.part_build_old): Likewise.
10017         (Context.bot_cycle): Likewise.
10018         (Context.bot_build_mail): Likewise.
10019         (Context.bot_run_self): Likewise.
10020         (get_parser): Allow bot-cycle action.
10022 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10024         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
10025         Remove redirection to __stpcpy_ppc.
10027 2016-11-30  Florian Weimer  <fweimer@redhat.com>
10029         Remove __libc_memalign from ld.so because it is unused.
10030         * elf/dl-minimal.c: Update comment on the malloc implementation.
10031         (malloc): Renamed from __libc_memalign, replacing the original
10032         malloc implementation.  Replace the align parameter with
10033         MALLOC_ALIGNMENT.
10034         * elf/Versions (ld): Update comment and remove __libc_memalign.
10035         * sysdeps/nacl/ld.abilist: Likewise.
10036         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
10037         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
10038         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
10039         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
10040         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
10041         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
10042         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
10043         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
10044         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
10045         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
10046         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
10047         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
10048         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
10049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
10050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
10051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
10052         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
10053         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
10054         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
10055         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
10056         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
10057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
10058         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
10059         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
10060         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
10061         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
10062         * sysdeps/generic/localplt.data (ld.so): Likewise.
10063         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
10064         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
10065         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
10066         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
10067         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
10068         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
10069         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
10070         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
10071         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
10072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
10073         (ld.so): Likewise.
10074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
10075         (ld.so): Likewise.
10076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
10077         Likewise.
10078         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
10079         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
10080         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
10081         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
10082         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
10084 2016-11-30  Florian Weimer  <fweimer@redhat.com>
10086         [BZ #16628]
10087         Implement _dl_catch_error, _dl_signal_error in libc.so.
10088         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
10089         (catch_hook): Define as thread-local or regular variable,
10090         depending on DL_ERROR_BOOTSTRAP.
10091         (CATCH_HOOK): Remove.
10092         (dl_signal_error, _dl_catch_error): Use
10093         catch_hook.  Add hidden definition for libc.
10094         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
10095         for DL_ERROR_BOOTSTRAP only.
10096         * elf/dl-error.c: New file.
10097         * elf/dl-error-minimal.c: Likewise.
10098         * elf/tst-latepthread.c: Likewise.
10099         * elf/tst-latepthreadmod.c: Likewise.
10100         * elf/Makefile (routines): Add dl-error.
10101         (dl-routines): Remove dl-error.
10102         (rtld-routines): Add dl-error-minimal.
10103         [build-shared] (tests): Add tst-latepthread.
10104         (module-names): Add tst-latepthreadmod.
10105         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
10106         symbol.
10107         (tst-latepthreadmod.so): Link against libpthread.
10108         (tst-latepthread): Link against libdbl.
10109         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
10110         _dl_catch_error.
10111         [ld] (GLIBC_PRIVATE): Likewise.
10112         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
10113         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
10114         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
10115         directly.
10116         * elf/dl-tsd.c: Remove file.
10117         * elf/rtld.c (_rtld_global_ro): Remove initializers for
10118         _dl_catch_error, _dl_signal_error.
10119         (_dl_initial_error_catch_tsd): Remove definition.
10120         (do_preload): Remove initialization of dl_error_catch_tsd.
10121         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
10122         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
10123         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10124         * dlfcn/dlopen.c (dlopen_doit): Likewise.
10125         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
10126         set dl_error_catch_tsd.
10127         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
10128         _dl_error_catch_tsd member.
10129         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
10130         members.
10131         (_dl_initial_error_catch_tsd): Remove declaration.
10132         (_dl_dprintf): Provide definition for use outside of ld.so.
10133         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
10134         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
10135         prototype for libc.
10136         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
10137         _dl_catch_error.
10138         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
10139         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
10140         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
10141         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
10142         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
10143         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
10144         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
10145         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
10146         Likewise.
10147         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
10148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
10149         (ld.so): Likewise.
10150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
10151         (ld.so): Likewise.
10152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
10153         Likewise.
10154         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
10155         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
10156         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
10157         Likewise.
10158         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
10159         Likewise.
10160         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
10162 2016-11-30  Florian Weimer  <fweimer@redhat.com>
10164         [BZ #4099]
10165         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
10166         _IO_BUFSIZ (8192).
10168 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
10170         * PROJECTS: Remove file.
10172 2016-11-29  Florian Weimer  <fweimer@redhat.com>
10174         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
10176 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
10177             Steve Ellcey  <sellcey@caviumnetworks.com>
10179         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
10180         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
10181         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
10182         fxstatat.
10183         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
10184         lxstat.
10185         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
10186         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
10187         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
10188         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
10189         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
10190         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
10191         __xstat.
10193 2016-11-29  Florian Weimer  <fweimer@redhat.com>
10195         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
10196         Define.
10197         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
10198         definition.
10200 2016-11-29  Florian Weimer  <fweimer@redhat.com>
10202         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
10203         version and turn into strong alias.  Remove compat symbol.
10205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10206         (__longjmp): Remove.
10208 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
10210         * bits/fp-fast.h: New file.
10211         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
10212         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
10213         * math/Makefile (headers): Add bits/fp-fast.h.
10214         * math/math.h: Include <bits/fp-fast.h>.
10215         * bits/mathdef.h (FP_FAST_FMA): Remove.
10216         (FP_FAST_FMAF): Likewise.
10217         (FP_FAST_FMAL): Likewise.
10218         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
10219         (FP_FAST_FMAF): Likewise.
10220         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
10221         (FP_FAST_FMAF): Likewise.
10222         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
10223         (FP_FAST_FMAF): Likewise.
10224         (FP_FAST_FMAL): Likewise.
10225         * sysdeps/arm/bits/mathdef.h: Remove file.
10226         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
10227         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10228         * sysdeps/tile/bits/mathdef.h: Likewise.
10230 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
10232         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
10233         * math/w_ilogb.c: Remove.
10234         * math/w_ilogbf.c: Likewise.
10235         * math/w_ilogbl.c: Likewise.
10236         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
10237         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
10238         * math/Makefile (gen-libm-calls): Add w_ilogbF.
10239         (libm-calls): Remove w_ilogbF.
10240         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
10241         (LDOUBLE_ilogbl_libm_version): New macro.
10243         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
10245         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
10246         [!__STRICT_ANSI__ && !__cplusplus].
10248 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
10250         [BZ #20750]
10251         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
10252         of PIC.
10254 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
10255             Yury Norov  <ynorov@caviumnetworks.com>
10256             Steve Ellcey  <sellcey@caviumnetworks.com>
10258         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
10259         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
10260         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
10261         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
10262         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
10263         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
10264         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
10265         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
10266         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
10267         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
10268         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
10269         to get correct reg name for ILP32.
10270         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
10271         (RELA_SIZE): New Macro.
10272         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
10273         to support ILP32.
10274         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
10275         cast for ILP32 mode.
10276         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
10277         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
10278         * sysdeps/aarch64/memset.S (__memset): Ditto.
10279         * sysdeps/aarch64/strchr.S (strchr): Ditto.
10280         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
10281         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
10282         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
10283         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
10284         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
10285         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
10286         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
10287         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
10288         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
10289         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
10290         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
10291         change PTR_MANGLE call to use register numbers instead of names.
10292         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
10293         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
10294         ILP32 mode, change PTR_MANGLE calls to use register numbers.
10295         * sysdeps/aarch64/start.S (_start): Ditto.
10296         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
10297         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
10298         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
10299         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
10300         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
10301         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
10302         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
10303         Make defined values dependent on __ILP32__.
10304         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
10305         (sem_t): Change __align type.
10306         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
10307         PTR_SIZE): New Macros.
10308         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
10309         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
10310         Set when in ILP32 mode.
10311         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
10312         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
10313         Set elf flags for ILP32.
10314         (add_system_dir): Set ILP32 library directories.
10315         * sysdeps/unix/sysv/linux/aarch64/init-first.c
10316         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
10317         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
10318         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
10319         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
10320         New Macros.
10321         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
10323 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
10325         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
10326         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
10327         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
10329 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
10331         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
10332         <asm/cachectl.h>.
10334 2016-11-27  Zack Weinberg  <zackw@panix.com>
10336         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
10337         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
10339 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10341         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
10342         error_t to fix usage in C++ programs.
10344 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
10346         * scripts/build-many-glibcs.py: Import datetime module.
10347         (Context.__init__): Load JSON build state.  Initialize list of
10348         status logs.
10349         (Context.run_builds): Update saved build state.
10350         (Context.add_makefile_cmdlist): Update list of status logs.
10351         (Context.load_build_state_json): New function.
10352         (Context.store_build_state_json): Likewise.
10353         (Context.clear_last_build_state): Likewise.
10354         (Context.update_build_state): Likewise.
10355         (CommandList.status_logs): Likewise.
10357 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
10359         * scripts/build-many-glibcs.py (Context.__init__): Save text of
10360         script being executed.
10361         (Context.get_script_text): New function.
10362         (Context.exec_self): Likewise.
10363         (Context.checkout): Re-exec script if changed by checkout process.
10365 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
10367         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10368         (setpayloadsig): New declaration.
10369         * math/Versions (setpayloadsig): New libm symbol at version
10370         GLIBC_2.25.
10371         (setpayloadsigf): Likewise.
10372         (setpayloadsigl): Likewise.
10373         * math/Makefile (libm-calls): Add s_setpayloadsigF.
10374         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
10375         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
10376         (setpayloadsig_test_data): New array.
10377         (setpayloadsig_test): New function.
10378         (main): Call setpayloadsig_test.
10379         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
10380         setpayloadsigf and setpayloadsigl.
10381         * manual/libm-err-tab.pl: Update comment on interfaces without
10382         ulps tabulated.
10383         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
10384         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
10385         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
10386         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
10387         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
10388         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
10389         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10390         setpayloadsig.
10391         (CFLAGS-nldbl-setpayloadsig.c): New variable.
10392         * sysdeps/nacl/libm.abilist: Update.
10393         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10394         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10395         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10396         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10397         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10398         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10399         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10400         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10401         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10402         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10403         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10404         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10406         Likewise.
10407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10408         Likewise.
10409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10410         Likewise.
10411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10412         Likewise.
10413         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10414         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10415         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10416         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10417         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10419         Likewise.
10420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10421         Likewise.
10422         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10423         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10424         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10426         * scripts/build-many-glibcs.py: Import json module.
10427         (Context.__init__): Take replace_sources argument.  Load
10428         versions.json.
10429         (Context.load_versions_json): New function.
10430         (Context.store_json): Likewise.
10431         (Context.store_versions_json): Likewise.
10432         (Context.set_component_version): Likewise.
10433         (Context.checkout): Update versions.json.  Check for and handle
10434         changes of version.  Prefer previously explicitly specified
10435         version to default version.
10436         (Context.checkout_vcs): Return a revision identifier.
10437         (Context.git_checkout): Likewise.
10438         (Context.gcc_checkout): Likewise.
10439         (get_parser): Add --replace-sources option.
10440         (main): Pass replace_sources argument to Context call.
10442 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10444         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
10445         * nptl/allocatestack.c (allocate_stack): Likewise.
10446         (__reclaim_stacks): Likewise.
10447         (setxid_signal_thread): Obtain pid through syscall.
10448         * nptl/nptl-init.c (sigcancel_handler): Likewise.
10449         (sighandle_setxid): Likewise.
10450         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
10451         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
10452         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
10453         Likewise.
10454         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
10455         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
10456         comment.
10457         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
10458         * nptl/descr.h (struct pthread): Change comment about pid value.
10459         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
10460         pid assert.
10461         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
10462         Do not set pid value.
10463         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
10464         pid cache check.
10465         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
10466         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
10467         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
10468         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
10469         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
10470         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10471         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
10472         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
10473         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
10474         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
10475         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
10476         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10477         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
10478         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10479         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
10480         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
10481         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10482         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
10483         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
10484         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
10485         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
10486         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10487         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
10488         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
10489         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
10490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
10492         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
10493         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
10494         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
10495         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
10496         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
10497         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
10498         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10499         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
10500         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
10501         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
10502         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10503         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
10504         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
10505         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10506         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
10507         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
10508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10510         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10511         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10512         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
10513         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
10514         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
10515         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
10516         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10517         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
10518         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
10519         struct access.
10520         (clone_test): Remove function.
10521         (do_test): Rewrite to take in consideration pid is not cached anymore.
10523 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
10525         * bits/flt-eval-method.h: New file.
10526         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
10527         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
10528         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
10529         * math/Makefile (headers): Add bits/flt-eval-method.h.
10530         * math/math.h: Include <bits/flt-eval-method.h>.
10531         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
10532         [__USE_ISOC99] (double_t): Likewise.
10533         * bits/mathdef.h (float_t): Remove.
10534         (double_t): Likewise.
10535         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
10536         (double_t): Likewise.
10537         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
10538         (double_t): Likewise.
10539         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
10540         (double_t): Likewise.
10541         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
10542         (double_t): Likewise.
10543         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
10544         (double_t): Likewise.
10545         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
10546         (double_t): Likewise.
10547         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
10548         (double_t): Likewise.
10549         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
10550         (double_t): Likewise.
10551         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
10552         (double_t): Likewise.
10553         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
10554         (double_t): Likewise.
10555         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
10556         (double_t): Likewise.
10557         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
10558         (double_t): Likewise.
10559         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
10560         (double_t): Likewise.
10562 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
10564         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
10565         instead of PIC.
10567 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
10569         [BZ #20859]
10570         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
10571         (-0x7fffffff) instead of 0x80000001.
10572         * math/test-fp-ilogb-constants.c: New file.
10573         * math/Makefile (tests): Add test-fp-ilogb-constants.
10575 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
10577         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
10578         (_init): Use it in place of hardcoded R_MIPS_JALR.
10579         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
10580         (_init): Use it in place of hardcoded R_MIPS_JALR.
10581         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
10582         (_init): Use it in place of hardcoded R_MIPS_JALR.
10584 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
10586         [BZ #20787]
10587         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
10588         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
10589         (double_t): Do not define to double if [__x86_64__] when
10590         __FLT_EVAL_METHOD__ is nonzero.
10591         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
10592         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
10593         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10594         test-flt-eval-method-387 and test-flt-eval-method-sse.
10595         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
10596         variable.
10597         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
10599 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
10601         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
10602         use of -fno-isolate-erroneous-paths options for tilepro.
10604 2016-11-23  Florian Weimer  <fweimer@redhat.com>
10606         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
10607         structure initialization is no longer needed.
10609 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
10611         [BZ #20855]
10612         * bits/mathdef.h (float_t): Define to float.
10613         * math/test-flt-eval-method.c: New file.
10614         * math/Makefile (tests): Add test-flt-eval-method.
10615         (CFLAGS-test-flt-eval-method.c): New variable.
10617 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
10619         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
10620         and __fstatfs.  Make them aliases of __fstatfs64 if
10621         STATFS_IS_STATFS64 is set to non-zero.
10622         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
10623         and __statfs64.
10624         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
10625         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
10626         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
10627         for __statfs and statfs.
10628         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
10629         to 0.
10630         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
10631         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
10632         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
10633         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
10634         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
10635         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
10636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
10637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
10638         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
10639         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
10640         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
10641         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
10643 2016-11-22  Andreas Schwab  <schwab@suse.de>
10645         * misc/mkstemp.c: Include <fcntl.h>.
10646         * misc/mkstemps.c: Likewise.
10647         * misc/mkostemp.c: Likewise.
10648         * misc/mkostemps.c: Likewise.
10650 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
10652         [BZ #20847]
10653         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
10654         array bounds.
10655         (__execvpe): Likewise.
10657 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
10659         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
10660         -fno-isolate-erroneous-paths options for tilepro.
10662 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
10664         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
10665         to 0 when in 32 bit mode.
10666         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
10667         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
10668         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
10669         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
10670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
10671         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
10672         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
10673         XSTAT_IS_XSTAT64 test.
10674         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
10675         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
10676         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
10677         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
10678         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
10679         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
10680         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
10681         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
10682         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
10683         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
10684         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
10686 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
10688         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10689         (setpayload): New declaration.
10690         * math/Versions (setpayload): New libm symbol at version
10691         GLIBC_2.25.
10692         (setpayloadf): Likewise.
10693         (setpayloadl): Likewise.
10694         * math/Makefile (libm-calls): Add s_setpayloadF.
10695         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
10696         test_Ff_b1_data.
10697         (RUN_TEST_Ff_b1): New macro.
10698         (RUN_TEST_LOOP_Ff_b1): Likewise.
10699         (canonicalize_test_data): Update type.
10700         (setpayload_test_data): New array.
10701         (setpayload_test): New function.
10702         (main): Call setpayload_test.
10703         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
10704         setpayloadf and setpayloadl.
10705         * manual/libm-err-tab.pl: Update comment on interfaces without
10706         ulps tabulated.
10707         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
10708         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
10709         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
10710         Likewise.
10711         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
10712         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
10713         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
10714         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
10715         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
10716         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
10717         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
10718         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
10719         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
10720         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10721         setpayload.
10722         (CFLAGS-nldbl-setpayload.c): New variable.
10723         * sysdeps/nacl/libm.abilist: Update.
10724         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10725         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10726         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10727         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10728         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10729         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10730         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10731         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10732         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10733         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10734         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10735         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10737         Likewise.
10738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10739         Likewise.
10740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10741         Likewise.
10742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10743         Likewise.
10744         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10745         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10746         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10747         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10748         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10749         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10750         Likewise.
10751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10752         Likewise.
10753         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10754         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10755         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10757 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10759         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
10760         * include/unistd.h: Extend comment about __access_noerrno return
10761         semantics.
10762         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
10763         (access_common): Correct typo for EACCES.
10765 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
10767         * sysdeps/tile/math-tests.h: New file.
10769         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
10770         (__old_set_dataplane): Rename from set_dataplane and make a
10771         compatibility symbol.
10772         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
10773         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
10774         sys/dataplane.h.
10776 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
10778         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
10779         script quote words in command output to log suitably for input to
10780         the shell.
10782 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
10783             Maciej W. Rozycki  <macro@imgtec.com>
10785         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
10786         `.Lno_weak_fn' label.
10787         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
10788         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
10790 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10791             Yury Norov  <ynorov@caviumnetworks.com>
10793         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
10794         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
10795         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10796         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
10797         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10798         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
10799         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10800         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10801         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10802         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
10803         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10804         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
10805         (sysdep_routines): Remove oldgetrlimit64.
10806         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
10807         (sysdep_routines): Likewise.
10808         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
10809         (sysdep_routines): Likewise.
10810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
10811         [$(subdir) = resource] (sysdep_routines): Likewise.
10812         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
10813         [$(subdir) = resource] (sysdep_routines): Likewise.
10814         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
10815         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
10816         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
10817         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
10818         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
10819         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10820         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
10821         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
10822         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
10823         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
10824         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
10825         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
10826         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
10827         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
10828         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
10829         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
10830         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
10831         setrlimit and getrlimit.
10832         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
10833         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10834         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
10835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
10837         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10838         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
10839         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10840         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10841         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
10842         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
10843         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
10844         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
10845         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
10846         (__old_getrlimit64): Add compatibility symbol.
10847         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
10849 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
10851         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
10852         newly built gmp, mpfr and mpc.
10854         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
10856 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
10858         * conform/Makefile (linknamespace-libs): Rename to
10859         linknamespace-libs-thr.
10860         (linknamespace-libs-posix): New variable.
10861         (linknamespace-libs-xsi): Likewise.
10862         (linknamespace-libs-XPG3): Include libcrypt.a.
10863         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
10864         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
10865         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
10866         (linknamespace-libs-XOPEN2K): Likewise.
10867         (linknamespace-libs-XOPEN2K8): Likewise.
10868         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
10870         [BZ #20829]
10871         * stdio-common/Versions (__snprintf): Add to version
10872         GLIBC_PRIVATE.
10873         * include/stdio.h (__snprintf): Use libc_hidden_proto.
10874         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
10875         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
10876         of snprintf.
10877         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
10879 2016-11-16  Zack Weinberg  <zackw@panix.com>
10881         * string/string.h: Remove obsolete comment stating that
10882         strcoll_l and strxfrm_l have not yet been standardized.
10884 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10886         * hurd/hurd.h (__hurd_fail_noerrno): New function.
10887         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
10888         __access_noerrno.
10889         * io/access.c (__access_noerrno): New function.
10890         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
10891         (hurd_fail_seterrno): Likewise.
10892         (access_common): Likewise.
10893         (__access_noerrno): Likewise.
10894         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
10895         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
10896         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
10897         macro.
10899 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
10901         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
10902         Only declare fpregs if [__SH_FPU_ANY__].
10904 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
10906         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
10907         Make code unconditional.
10908         [!(__SH4__ || __SH4A__)]: Remove conditional code.
10910 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
10912         * manual/sysinfo.texi (S_APPEND): Delete.
10913         (S_IMMUTABLE): Likewise.
10915 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
10916             Magnus Granberg  <zorry@gentoo.org>
10917             Mike Frysinger  <vapier@gentoo.org>
10919         [BZ #20662]
10920         * configure.ac (libc_cv_predef_stack_protector): Also check for
10921         __stack_chk_fail_local symbols.
10922         * configure: Regenerated.
10924 2016-11-15  Florian Weimer  <fweimer@redhat.com>
10926         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
10927         (libc_hidden_def): Remove redefinition.
10928         (__sigsetjmp): Add hidden definition.
10929         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
10930         (libc_hidden_def): Remove redefinition.
10931         (__sigsetjmp): Add hidden definition.
10933 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
10935         * scripts/build-many-glibcs.py (os.path): Do not import.
10936         (Context): Inherit explicitly from object.  Remove blank line
10937         between class and docstring.
10938         (Config): Likewise.
10939         (Glibc): Likewise.
10940         (Command): Likewise.
10941         (CommandList): Likewise.
10942         (Context.write_files): Store chmod mode in a variable.
10944         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
10945         LIBC_SLIBDIR_RTLDDIR for tilegx32.
10946         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
10948 2016-11-14  Zack Weinberg  <zackw@panix.com>
10950         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
10951         creating or re-creating it.
10953         * string/bits/string2.h: Fix typo in comment.
10955 2016-11-14  Zack Weinberg  <zackw@panix.com>
10957         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
10958         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
10959         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
10960         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
10961         of redirected function names.
10963         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
10964         as well.  Document that MESSAGE must be a single string literal.
10966 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
10968         * scripts/build-many-glibcs.py: New file.
10970         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
10971         (do_test): Disable -Wmaybe-uninitialized around uses of
10972         except_mask.
10974         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
10976 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
10978         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
10979         (atomic_store_release): Provide tilepro-specific implementations.
10981 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
10983         * math/math.h (__MATH_TG): New macro.
10984         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
10985         [__USE_ISOC99] (signbit): Likewise.
10986         [__USE_ISOC99] (isfinite): Likewise.
10987         [__USE_ISOC99] (isnan): Likewise.
10988         [__USE_ISOC99] (isinf): Likewise.
10989         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
10990         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
10991         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
10992         __MATH_TG and __MATH_EVAL_FMT2.
10993         * sysdeps/generic/math_private.h (fabs_tg): Define using
10994         __MATH_TG.
10995         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
10996         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
10997         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
10998         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
10999         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
11000         macro.
11001         (__iscanonical): Likewise.
11002         (iscanonical): Define using __MATH_TG.
11004 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11006         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
11007         guards.
11009         * sysdeps/unix/sysv/linux/access.c: New file.
11010         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
11012 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
11014         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
11015         and __WORDSIZE32_PTRDIFF_LONG.
11017 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11019         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11021 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11023         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
11024         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
11025         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
11026         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
11027         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
11028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
11029         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
11030         * sysdeps/unix/sysv/linux/truncate.c: New file.
11031         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
11032         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
11033         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
11034         Remove.
11035         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
11036         Likewise.
11038         * posix/tst-truncate-common.c: New file.
11039         * posix/tst-truncate.c: Use tst-truncate-common.c.
11040         * posix/tst-truncate64.c: Likewise and add LFS tests.
11041         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
11042         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
11043         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
11044         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
11045         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
11046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
11047         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
11048         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
11049         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
11050         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
11051         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
11052         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
11053         Remove.
11054         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
11055         Likewise.
11057 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
11059         [BZ #20790]
11060         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
11061         to MAXLINESIZE.
11062         * sunrpc/bug20790.x: New file.
11063         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
11064         variable.
11065         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
11066         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
11068         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
11070         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
11072         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
11073         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
11074         calloc, realloc, free, memalign and __libc_memalign rather than
11075         making them optional.
11077         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
11078         for libc.so.
11080 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11082         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
11083         ptw-lseek64.
11084         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
11085         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
11086         Likewise.
11087         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
11088         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
11089         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
11090         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
11091         * sysdeps/unix/sysv/linux/lseek.c: New file.
11092         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
11093         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
11094         __libc_lseek64 from auto-generation.
11095         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11096         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
11098 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11100         * nptl/tst-basic1.c (tf, do_test): Use write_message.
11101         * nptl/tst-cleanup1.c (do_test): Likewise.
11102         * nptl/tst-cleanup3.c (do_test): Likewise.
11103         * nptl/tst-key1.c (do_test): Likewise.
11104         * nptl/tst-key2.c (tf, do_test): Likewise.
11105         * nptl/tst-key3.c (tf, do_test): Likewise.
11106         * nptl/tst-stdio1.c (do_test): Likewise.
11107         * nptl/tst-stdio2.c (do_test): Likewise.
11109         * nptl/tst-kill3.c (handler): Use write_message in place of write.
11110         * nptl/tst-kill6.c (handler): Likewise.
11111         * nptl/tst-tls2.c (CB): Likewise.
11112         * nptl/tst-tls3.c (CB): Likewise.
11114 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
11116         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
11118 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
11119             Steve Ellcey  <sellcey@caviumnetworks.com>
11121         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
11122           __ASSUME_ST_INO_64_BIT as 0
11123         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
11124         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
11125           over the code where __ASSUME_ST_INO_64_BIT is used.
11126         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
11127         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
11128         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11130 2016-11-07  Florian Weimer  <fweimer@redhat.com>
11132         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11133         Document ABI exposure of the __kind offset.
11134         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11135         Mention reason for the __kind offset exposure in the ABI.
11136         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11137         Likewise.
11138         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11139         Likewise.
11140         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11141         Likewise.
11142         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
11143         (struct __pthread_mutex_s): Likewise.
11144         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11145         Likewise.
11146         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11147         Likewise.
11148         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11149         Likewise.
11150         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11151         Likewise.
11152         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11153         Likewise.
11154         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11155         Likewise.
11156         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
11157         (struct __pthread_mutex_s): Likewise.
11158         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11159         (struct __pthread_mutex_s): Likewise.
11160         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
11161         Likewise.
11163 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
11165         * test-skeleton.c: Document do_test usage.
11167 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
11169         * iconv/gconv.h (__gconv_info): Define __data element using a
11170         zero-length array.
11172 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
11174         * math/test-tgmath2.c: Split up test function.
11176 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
11178         * Rules (tests-expected): New variable, depending on
11179         $(run-built-tests).
11180         (tests): Pass $(tests-expected) to merge-test-results.sh, not
11181         $(tests).
11183         * Rules [$(run-built-tests) = no] (tests): Do not depend on
11184         $(tests-unsupported).
11186 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11188         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
11189         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
11191 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
11193         [BZ #20768]
11194         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
11195         __fegetenv instead of fegetenv.
11197         [BZ #14139]
11198         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
11199         (find_files): Obtain platform name from libm-test-ulps-name and
11200         store in %pplatforms.
11201         (canonicalize_platform): Remove.
11202         (print_platforms): Use $pplatforms directly.
11203         (by_platforms): Do not allow for platforms missing from
11204         %pplatforms.
11205         * sysdeps/aarch64/libm-test-ulps-name: New file.
11206         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
11207         * sysdeps/arm/libm-test-ulps-name: Likewise.
11208         * sysdeps/generic/libm-test-ulps-name: Likewise.
11209         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
11210         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
11211         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
11212         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
11213         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
11214         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
11215         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
11216         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
11217         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
11218         * sysdeps/nios2/libm-test-ulps-name: Likewise.
11219         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
11220         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
11221         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
11222         * sysdeps/sh/libm-test-ulps-name: Likewise.
11223         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
11224         * sysdeps/tile/libm-test-ulps-name: Likewise.
11225         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
11227         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
11229         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
11230         (test-xfail-check-execstack): New variable.
11232         * sysdeps/mips/localplt.data: New file.
11234 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
11235             Steve Ellcey  <sellcey@caviumnetworks.com>
11237         * bits/wordsize.h: Add documentation.
11238         * sysdeps/aarch64/bits/wordsize.h : New file
11239         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
11240         definitions.
11241         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
11242         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
11243         with #if instead of #ifdef.
11244         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
11245         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
11246         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
11247         Add or change defines.
11248         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
11249         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11250         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
11251         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
11252         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11253         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11254         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
11255         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
11256         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
11257         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11258         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
11259         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
11260         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
11261         * sysdeps/x86/bits/wordsize.h: Likewise.
11263 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
11264             Kevin Petit  <kevin.petit@arm.com>
11266         * sysdeps/aarch64/memchr.S (__memchr): New file.
11268 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
11270         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
11272 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
11274         [BZ #19398]
11275         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
11276         $(linknamespace-symlists-tests).
11278 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
11280         * time/tst-strptime2.c: Ignore -Wformat-length warning.
11282 2016-11-02  Florian Weimer  <fweimer@redhat.com>
11283             Carlos O'Donell  <carlos@redhat.com>
11285         [Bug #20729]
11286         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
11287         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
11288         for -Os related change.
11290 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
11292         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
11294 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
11296         [BZ #19673]
11297         * manual/math.texi (Exponents and Logarithms): Correct description
11298         of clog10.
11300 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
11302         [Bz #20729]
11303         * locale/weight.h: Include libc-internal.h.
11304         * locale/weightwc.h: Likewise.
11305         * nptl/nptl_dbP.h: Likewise.
11307 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
11309         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
11310         when it is MACH_PORT_NULL.
11312 2016-10-31  Andreas Schwab  <schwab@suse.de>
11314         [BZ #20707]
11315         * posix/glob.c (glob): Initialize pglob before checking for
11316         GLOB_BRACE.  Don't call glob recursively if pattern contains no
11317         valid brace expression despite GLOB_BRACE.
11318         * posix/globtest.sh: Test it.
11320 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
11322         [BZ #20729]
11323         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
11324         Define.
11325         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
11326         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
11327         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
11328         for seq2.back_us and seq1.back_us only for -Os compiles.
11329         * locale/weightwc.h (findix): Likewise.
11330         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
11331         DB_GET_FIELD_ADDRESS only for -Os compiles.
11332         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
11333         for slen only for -Os compiles.
11334         * string/strcoll_l.c (get_next_seq): Ignore
11335         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
11336         for -Os compiles.
11338         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
11339         * include/crypt.h: New file.
11341 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11343         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
11344         from test-skeleton.c.
11345         (statclass): Replace calls to write with calls to write_message.
11347 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
11349         * math/math.h
11350         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
11351         New macro.
11352         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
11353         Likewise.
11354         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
11355         Likewise.
11356         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
11357         SNANL.
11358         * math/test-double.h (snan_value_MACRO): New macro.
11359         * math/test-float.h (snan_value_MACRO): Likewise.
11360         * math/test-ldouble.h (snan_value_MACRO): Likewise.
11361         * math/libm-test.inc (issignaling_test_data): Add tests of
11362         snan_value_MACRO.
11364 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11366         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
11367         behavior when eliding a lock not held by the current thread.
11368         * sysdeps/powerpc/nptl/elide.h: Likewise.
11370 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11372         [BZ #20728]
11373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
11374         branch to _exit() by a function call.
11376 2016-10-28  Florian Weimer  <fweimer@redhat.com>
11378         * malloc/malloc.c: Update chunk layout comments.
11379         (chunk_main_arena): Update comment.
11381 2016-10-28  Florian Weimer  <fweimer@redhat.com>
11383         * crypt/sha256.c, crypt/sha256-block.c,
11384         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
11385         sha256_process_block to __sha256_process_block.
11386         * crypt/sha512.c, crypt/sha512-block.c,
11387         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
11388         sha512_process_block to __sha512_process_block.
11390 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
11392         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
11394         * math/test-nan-overflow.c: Include stdlib.h for malloc.
11396 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
11398         [BZ #20019]
11399         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
11400         definition in unrelocated shared library.
11401         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11403 2016-10-28  Florian Weimer  <fweimer@redhat.com>
11405         [BZ #20729]
11406         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
11407         * sysdeps/unix/sysv/linux/i386/Makefile
11408         (uses-6-syscall-arguments): Define.
11409         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
11410         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
11411         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
11412         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
11413         Likewise.
11414         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
11415         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
11416         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
11417         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
11418         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
11419         (CFLAGS-fallocate64.os): Likewise.
11420         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
11421         (CFLAGS-pthread_rwlock_timedrdlock.os)
11422         (CFLAGS-pthread_rwlock_timedwrlock.o)
11423         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
11424         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
11425         (CFLAGS-sem_timedwait.os): Likewise.
11427 2016-10-28  Florian Weimer  <fweimer@redhat.com>
11429         * elf/tst-linkall-static.c: New file.
11430         * elf/Makefile (tests-static): Add tst-linkall-static.
11431         (tst-linkall-static): Link against static libraries.
11433 2016-10-27  Florian Weimer  <fweimer@redhat.com>
11435         * malloc/malloc.c (sysmalloc): Initialize previous size field of
11436         mmaped chunks.
11438 2016-10-28  Florian Weimer  <fweimer@redhat.com>
11440         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
11441         members to mchunk_prev_size, mchunk_size.
11442         (chunk_main_arena): Reverse sense and rename from
11443         chunk_non_main_arena.
11444         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
11445         mchunk_size instead of size.
11446         (set_non_main_arena): Define.
11447         (chunksize): Use chunksize_nomask instead of direct member access.
11448         (chunksize_nomask): Define.
11449         (next_chunk): Use chunksize instead of direct member access.
11450         (prev_size, set_prev_size): Define.
11451         (prev_chunk): Use prev_size instead of direct member access.
11452         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
11453         (inuse_bit_at_offset, set_inuse_bit_at_offset)
11454         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
11455         (mchunk_prev_size, mchunk_size): Poison tokens.
11456         (unlink): Use chunksize_nomask, prev_size accessors.
11457         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
11458         (do_check_free_chunk): Use prev_size accessor.
11459         (sysmalloc): Use set_prev_size, set_head accessors.
11460         (munmap_chunk, mremap_chunk): Use prev_size accessor.
11461         (__libc_free): Use chunksize_nomask accessor.
11462         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
11463         chunk_main_arena accessors.
11464         (_int_free): Use chunksize_nomask, prev_size accessors.
11465         (malloc_consolidate): Use chunksize, prev_size accessors.
11466         (_int_realloc): Use chunksize_nomask accessor.
11467         (_int_memalign): Use set_prev_size accessor.
11468         (__malloc_info): Use chunksize_nomask accessor.
11469         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
11470         accessors.
11471         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
11472         (heap_trim): Use chunksize_nomask, prev_size accessors.
11474 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
11476         [BZ #19380]
11477         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
11478         for inexact results.
11479         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
11480         of inexact result where mpfr_subnormalize is the only inexact
11481         step.
11482         * stdlib/tst-strtod-round-data.h: Regenerated.
11483         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
11484         Define to 0.
11485         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
11487 2016-10-27  David S. Miller  <davem@davemloft.net>
11489         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
11491 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11493         * malloc/malloc.c (do_set_mallopt_check): New function.
11494         (do_set_mmap_threshold): Likewise.
11495         (do_set_mmaps_max): Likewise.
11496         (do_set_top_pad): Likewise.
11497         (do_set_perturb_byte): Likewise.
11498         (do_set_trim_threshold): Likewise.
11499         (do_set_arena_max): Likewise.
11500         (do_set_arena_test): Likewise.
11501         (__libc_mallopt): Use them.
11503 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
11505         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11506         (canonicalize): New declaration.
11507         * math/Versions (canonicalize): New libm symbol at version
11508         GLIBC_2.25.
11509         (canonicalizef): Likewise.
11510         (canonicalizel): Likewise.
11511         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
11512         * math/s_canonicalize_template.c: New file.
11513         * math/libm-test.inc: Update comment on functions tested and
11514         testing of NaN payloads.
11515         (TEST_NAN_PAYLOAD): New macro.
11516         (NO_TEST_INLINE): Update value.
11517         (XFAIL_TEST): Likewise.
11518         (ERRNO_UNCHANGED): Likewise.
11519         (ERRNO_EDOM): Likewise.
11520         (ERRNO_ERANGE): Likewise.
11521         (IGNORE_RESULT): Likewise.
11522         (NON_FINITE): Likewise.
11523         (TEST_SNAN): Likewise.
11524         (NO_TEST_MATHVEC): Likewise.
11525         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
11526         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
11527         (struct test_Ffp_b1_data): New type.
11528         (RUN_TEST_Ffp_b1): New macro.
11529         (RUN_TEST_LOOP_Ffp_b1): Likewise.
11530         (canonicalize_test_data): New array.
11531         (canonicalize_test): New function.
11532         (main): Call canonicalize_test.
11533         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
11534         canonicalizef and canonicalizel.
11535         * manual/libm-err-tab.pl: Update comment on interfaces without
11536         ulps tabulated.
11537         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
11538         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
11539         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11540         canonicalize.
11541         (CFLAGS-nldbl-canonicalize.c): New variable.
11542         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
11543         to ...
11544         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
11545         ... here.
11546         (do_test): Also test canonicalizel.
11547         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
11548         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
11549         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
11550         file.
11551         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
11552         Use libm_hidden_def.
11553         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
11554         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
11555         (do_test): Also test canonicalizel.
11556         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
11557         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
11558         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
11559         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
11560         libm_hidden_def.
11561         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
11562         macro.
11563         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
11564         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
11565         * sysdeps/nacl/libm.abilist: Update.
11566         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11567         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11568         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11569         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11570         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11571         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11572         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11573         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11574         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11575         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11576         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11577         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11579         Likewise.
11580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11581         Likewise.
11582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11583         Likewise.
11584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11585         Likewise.
11586         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11587         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11588         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11589         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11590         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11591         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11592         Likewise.
11593         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11594         Likewise.
11595         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11596         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11597         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11599         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
11600         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11601         getpayload.
11602         (CFLAGS-nldbl-getpayload.c): New variable.
11604 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11606         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
11607         integer from the format string.
11609 2016-10-26  Florian Weimer  <fweimer@redhat.com>
11611         [BZ #19473]
11612         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
11613         declarations.
11614         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
11615         weak aliases.
11616         * malloc/hooks.c (__malloc_get_state): Remove definition.
11617         (malloc_get_state): New stub implementation as
11618         compatibility symbol.
11619         (malloc_set_state): Rename from __malloc_set_state.  Turn into
11620         compat symbol.
11621         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
11622         malloc_set_state.
11623         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
11625 2016-10-26  Florian Weimer  <fweimer@redhat.com>
11627         * iconvdata/iso646.c (enum variant): Drop illegal_var.
11628         (names): Turn into concatenation of strings.
11629         (gconv_init): Adapt iteration over names.
11631 2016-10-26  Florian Weimer  <fweimer@redhat.com>
11633         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
11634         make const.
11635         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
11636         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
11637         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
11638         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
11639         character in sbconv.
11640         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
11641         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
11642         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
11644 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11646         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
11648         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
11649         (M_TRIM_THRESHOLD): Likewise.
11651         * manual/memory.texi (M_ARENA_TEST): Add documentation.
11652         (M_ARENA_MAX): Likewise.
11653         * malloc/malloc.c: Remove obsolete comment.
11655         * manual/memory.texi: Add environment variable alternatives to
11656         setting mallopt parameters.
11658 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
11660         * include/atomic.h
11661         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
11662         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
11664 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11666         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
11667         * stdlib/tst-strfrom.h: New file.
11668         * stdlib/tst-strfrom.c: New file.
11669         * stdlib/tst-strfrom-locale.c: New file.
11671         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
11672         * stdlib/bug-strtod2.c: Likewise.
11673         * stdlib/tst-strtod-round-skeleton.c: Likewise.
11674         * stdlib/tst-strtod6.c: Likewise.
11675         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
11677 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11679         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
11680         * manual/arith.texi: Document strfromd, strfromf, strfroml.
11681         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
11682         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
11683         * stdlib/stdlib.h (strfromd): New declaration.
11684         (strfromf): Likewise.
11685         (strfroml): Likewise.
11686         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
11687         strfrom.
11688         * stdlib/strfromd.c: New file.
11689         * stdlib/strfromf.c: Likewise.
11690         * stdlib/strfroml.c: Likewise.
11691         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
11692         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
11693         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
11694         * sysdeps/arm/nacl/libc.abilist: Update.
11695         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
11696         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11697         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11698         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11699         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11700         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11701         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11702         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11703         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11704         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11705         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11706         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11707         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11708         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
11710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
11711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11713         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11714         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11715         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11716         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11717         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11720         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11721         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11722         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11724 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
11726         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
11727         instead of cmpli.
11728         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
11729         instead of cmpli.
11731 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
11733         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
11734         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
11735         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
11736         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
11737         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
11738         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
11740 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11742         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
11743         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
11744         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
11745         SYSCALL_LL64_PRW.
11746         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
11747         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
11748         __ASSUME_PRW_DUMMY_ARG.
11749         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
11750         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
11751         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
11752         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
11753         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
11754         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
11756 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
11758         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
11760 2016-10-22  Florian Weimer  <fweimer@redhat.com>
11762         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
11763         "C++", to override a potential extern "C" directive around the
11764         header file inclusion.
11766 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
11768         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
11770 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11772         * sysdeps/powerpc/fpu/fenv_private.h:
11773         (_FPU_MASK_ALL): Rename to...
11774         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
11775         XE FPSCR bits.
11777         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
11779         (_FPU_MASK_ROUNDING): Rename to...
11780         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
11781         NI bits.
11783         (_FPU_MASK_EXCEPT_ROUND): Rename to...
11784         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
11785         bits and rounding bits.
11787         (__libc_feholdbits_ppc): New inline function to mask, set,
11788         and pontentially clear FSPCR bits, and change MSR[FE] bits.
11789         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
11790         (libc_feholdexcept_setround_ppc): Likewise.
11792         (__libc_femergeenv_ppc): New function to dynamically mask both
11793         old and new FP environments and merge.
11794         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
11795         (libc_feresetround_ppc): Likewise.
11796         (libc_feupdateenv_test_ppc): Likewise.
11797         (libc_feupdateenv_ppc): Likewise.
11799         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
11800         of ISA RN bits, and update macro names.
11801         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
11802         effectively the same as the previously mentioned function.
11804         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
11805         usage with fe_resetround_ppc.
11807         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
11808         to be used.
11809         (libc_feholdexcept_setround_ctxf): Likewise.
11810         (libc_feholdexcept_setround_ctxl): Likewise.
11812 2016-10-21  Florian Weimer  <fweimer@redhat.com>
11814         [BZ #20715]
11815         * math/math.h [__cplusplus] (iszero): Define as function template.
11816         * math/Makefile [CXX] (tests): Add test-math-iszero.
11817         (CFLAGS-test-math-iszero.cc): Set.
11818         * math/test-math-iszero.cc: New file.
11820 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
11822         [BZ #20660]
11823         * sysdeps/arm/e_sqrt.c: New file.
11824         * sysdeps/arm/e_sqrtf.c: Likewise.
11826 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
11828         [BZ #20718]
11829         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
11830         not use floating-point comparisons to test sign.
11831         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
11832         Likewise.
11834         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11835         (getpayload): New declaration.
11836         * math/Versions (getpayload): New libm symbol at version
11837         GLIBC_2.25.
11838         (getpayloadf): Likewise.
11839         (getpayloadl): Likewise.
11840         * math/Makefile (libm-calls): Add s_getpayloadF.
11841         * math/libm-test.inc: Include <nan-high-order-bit.h>.
11842         (struct test_f_f_data): Add comment.
11843         (RUN_TEST_fp_f): New macro.
11844         (RUN_TEST_LOOP_fp_f): Likewise.
11845         (getpayload_test_data): New array.
11846         (getpayload_test): New function.
11847         (main): Call getpayload_test.
11848         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
11849         descriptor.
11850         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
11851         getpayloadf and getpayloadl.
11852         * manual/libm-err-tab.pl: Update comment on interfaces without
11853         ulps tabulated.
11854         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
11855         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
11856         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
11857         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
11858         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
11859         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
11860         * sysdeps/nacl/libm.abilist: Update.
11861         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11862         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11863         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11864         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11865         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11866         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11867         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11868         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11869         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11870         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11871         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11872         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11874         Likewise.
11875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11876         Likewise.
11877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11878         Likewise.
11879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11880         Likewise.
11881         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11882         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11883         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11884         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11885         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11886         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11887         Likewise.
11888         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11889         Likewise.
11890         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11891         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11892         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11894 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11896         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
11897         tst-fallocate{64}.
11898         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
11899         on syscall return.
11901 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
11903         [BZ #20689]
11904         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
11905         usable.
11907 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
11909         * sysdeps/generic/nan-high-order-bit.h: New file.
11910         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
11911         * sysdeps/mips/nan-high-order-bit.h: Likewise.
11912         * sysdeps/hppa/math_private.h: Remove file.
11913         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
11914         not define here.
11915         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
11916         <nan-high-order-bit.h>.
11917         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11918         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
11919         <nan-high-order-bit.h>.
11920         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11921         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
11922         <nan-high-order-bit.h>.
11923         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11924         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
11925         <nan-high-order-bit.h>.
11926         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11927         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
11928         <nan-high-order-bit.h>.
11929         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11930         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
11931         <nan-high-order-bit.h>.
11932         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11933         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
11934         <nan-high-order-bit.h>.
11935         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11936         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
11937         <nan-high-order-bit.h>.
11938         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11939         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
11940         <nan-high-order-bit.h>.
11941         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11942         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
11943         <nan-high-order-bit.h>.
11944         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11945         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
11946         <nan-high-order-bit.h>.
11947         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11948         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
11949         <nan-high-order-bit.h>.
11950         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11951         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
11952         <nan-high-order-bit.h>.
11953         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11954         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
11955         <nan-high-order-bit.h>.
11956         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11957         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
11958         <nan-high-order-bit.h>.
11959         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11960         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
11961         <nan-high-order-bit.h>.
11962         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11963         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
11964         <nan-high-order-bit.h>.
11965         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11966         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
11967         <nan-high-order-bit.h>.
11968         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11970 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
11972         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
11974 2016-09-22  John David Anglin  <dave.anglin@bell.net>
11976         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
11977         abort-instr.h.
11978         (EFAULT): Remove conditional define.
11979         (ENOSYS): Likewise.
11980         (atomic_compare_and_exchange_val_acq): Use instruction nullification
11981         instead of conditional branch instructions.
11983 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
11985         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11986         (totalordermag): New declaration.
11987         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
11988         New macro.
11989         * math/Versions (totalordermag): New libm symbol at version
11990         GLIBC_2.25.
11991         (totalordermagf): Likewise.
11992         (totalordermagl): Likewise.
11993         * math/Makefile (libm-calls): Add s_totalordermagF.
11994         * math/libm-test.inc (totalordermag_test_data): New array.
11995         (totalordermag_test): New function.
11996         (main): Call totalordermag_test.
11997         * math/test-tgmath.c (NCALLS): Increase to 125.
11998         (F(compile_test)): Call totalordermag.
11999         (F(totalordermag)): New function.
12000         * manual/arith.texi (FP Comparison Functions): Document
12001         totalordermag, totalordermagf and totalordermagl.
12002         * manual/libm-err-tab.pl: Update comment on interfaces without
12003         ulps tabulated.
12004         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
12005         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
12006         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
12007         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
12008         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
12009         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
12010         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
12011         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12012         totalordermag.
12013         (CFLAGS-nldbl-totalordermag.c): New variable.
12014         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
12015         (do_test): Also test totalordermagl.
12016         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
12017         Likewise.
12018         * sysdeps/nacl/libm.abilist: Update.
12019         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12020         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12021         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12022         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12023         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12024         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12025         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12026         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12027         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12028         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12029         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12030         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12032         Likewise.
12033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12034         Likewise.
12035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12036         Likewise.
12037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12038         Likewise.
12039         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12040         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12041         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12042         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12043         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12045         Likewise.
12046         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12047         Likewise.
12048         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12049         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12050         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12052 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
12054         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
12055         boolean.
12057 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
12059         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
12060         raising FE_INVALID with feraisexcept in case where part of
12061         argument is infinite, subtract that part of argument from itself.
12062         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
12063         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
12064         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
12066 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
12068         * math/libm-test.inc (totalorder_test_data): Add more tests.
12070 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
12072         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
12073         Undefine weak_alias and add a comment why mips64 require
12074         versioning.
12076 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
12078         [BZ #20647]
12079         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
12080         maximum CPUID level is less than 2.
12082 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
12084         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12085         (totalorder): New declaration.
12086         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
12087         New macro.
12088         * math/Versions (totalorder): New libm symbol at version
12089         GLIBC_2.25.
12090         (totalorderf): Likewise.
12091         (totalorderl): Likewise.
12092         * math/Makefile (libm-calls): Add s_totalorderF.
12093         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
12094         string.
12095         * math/libm-test.inc (PAYLOAD_DIG): New macro.
12096         (qnan_value_pl): Likewise.
12097         (snan_value_pl): Likewise.
12098         (qnan_value): Define using qnan_value_pl.
12099         (snan_value): Define using snan_value_pl.
12100         (struct test_ff_i_data): Add comment about which tests use this
12101         structure.
12102         (RUN_TEST_ff_b): New macro.
12103         (RUN_TEST_LOOP_ff_b): Likewise.
12104         (totalorder_test_data): New array.
12105         (totalorder_test): New function.
12106         (main): Call totalorder_test.
12107         * math/test-tgmath.c (NCALLS): Increase to 122.
12108         (F(compile_test)): Call totalorder.
12109         (F(totalorder)): New function.
12110         * manual/arith.texi (FP Comparison Functions): Document
12111         totalorder, totalorderf and totalorderl.
12112         * manual/libm-err-tab.pl: Update comment on interfaces without
12113         ulps tabulated.
12114         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
12115         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
12116         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
12117         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
12118         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
12119         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
12120         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
12121         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12122         totalorder.
12123         (CFLAGS-nldbl-totalorder.c): New variable.
12124         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
12125         file.
12126         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
12127         Add test-totalorderl-ldbl-128ibm.
12128         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
12129         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
12130         test-totalorderl-ldbl-96.
12131         * sysdeps/nacl/libm.abilist: Update.
12132         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12133         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12134         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12135         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12136         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12137         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12138         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12139         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12140         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12141         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12142         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12143         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12145         Likewise.
12146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12147         Likewise.
12148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12149         Likewise.
12150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12151         Likewise.
12152         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12153         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12154         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12155         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12156         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12157         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12158         Likewise.
12159         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12160         Likewise.
12161         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12162         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12163         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12165 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12167         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
12168         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
12169         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
12170         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
12171         remove ENOSYS implementation.
12172         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
12173         Consolidate all Linux implementations.
12175 2016-10-11  Florian Weimer  <fweimer@redhat.com>
12177         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
12178         * resolv/herror.c (herror): Cast away const-ness.
12179         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
12180         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
12182 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
12184         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
12185         instead of M_NAN + M_NAN.
12186         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
12188 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12190         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
12191         unused variable 'p'.
12193 2016-10-09  Alan Modra  <amodra@gmail.com>
12194             Andreas Schwab  <schwab@linux-m68k.org>
12196         [BZ #20554]
12197         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
12198         [PIC && !SHARED]: Set up PIC register for PLT call.
12200 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
12202         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
12203         conditional on value of [__FLT_EVAL_METHOD__].
12204         * math/test-iseqsig-excess-precision.c: New file.
12205         * math/Makefile (tests): Add test-iseqsig-excess-precision.
12207 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12209         * math/s_iseqsig_template.c: Include math-private.h.
12211         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
12212         * posix/tst-posix_fadvise.c: New file.
12213         * posix/tst-posix_fadvise64.c: Likewise.
12214         * posix/tst-posix_fadvise-common.c: Likewise.
12215         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12216         (__ASSUME_FADVISE64_64_6ARG): Define.
12217         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12218         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
12219         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12220         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
12221         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
12222         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
12223         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
12224         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
12225         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
12226         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
12227         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
12228         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
12229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
12230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
12231         Likewise.
12232         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
12233         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
12234         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
12235         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
12236         Alias to __posix_fadvise64_l32.
12237         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
12238         Add compat definition to posix_fadvise64.
12239         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
12240         Add versioned definition to posix_fadvise64.
12241         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
12242         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
12243         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
12244         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
12245         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
12247         * io/Makefile (tests): Add tst-posix_fallocate and
12248         tst-posix_fallocate64.
12249         * io/tst-posix_fallocate-common.c: New file.
12250         * io/tst-posix_fallocate.c: Likewise.
12251         * io/tst-posix_fallocate64.c: Likewise.
12252         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
12253         file.
12254         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
12255         Likewise.
12256         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
12257         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
12258         Likewise.
12259         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
12260         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
12261         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
12262         SYSCALL_LL to pass both offset and len arguments.
12263         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
12264         Likewise.
12265         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
12266         __libc_pwrite64 alias used by posix_fallocate64.
12268         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
12269         tst-fallocate64.
12270         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
12271         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
12272         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
12273         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
12274         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
12275         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
12276         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
12277         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12278         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
12279         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
12280         macro on offset argument.
12281         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
12282         SYSCALL_LL64 on offset argument.
12284         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
12285         tst-fallocate64.
12286         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
12287         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
12288         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
12289         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
12290         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
12291         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
12292         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
12293         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12294         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
12295         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
12296         macro on offset argument.
12297         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
12298         SYSCALL_LL64 on offset argument.
12299         * test-skeleton.c (FAIL_RET): Add macro.
12300         (FAIL_EXIT): Likewise.
12301         (FAIL_EXIT1): Likewise.
12302         (_FAIL): Likewise.
12304 2016-10-07  Florian Weimer  <fweimer@redhat.com>
12306         [BZ #20629]
12307         resolv: Remove RES_USEBSTRING and its implementation.
12308         * resolv/resolv.h (RES_USEBSTRING): Remove.
12309         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
12310         (digitvalue, encode_bitstring, decode_bitstring): Remove.
12311         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
12312         (labellen): Remove extended label types support.
12313         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
12314         * resolv/res_init.c (res_setoptions): Likewise.
12315         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
12317 2016-10-07  Florian Weimer  <fweimer@redhat.com>
12319         resolv: Remove RES_NOIP6DOTINT and its implementation.
12320         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
12321         (RES_NOIP6DOTINT): Remove.
12322         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
12323         handling.
12324         * resolv/res_debug.c (p_option): Likewise.
12325         * resolv/res_init.c (res_setoptions): Likewise.
12326         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
12328 2016-10-07  Florian Weimer  <fweimer@redhat.com>
12330         resolv: Deprecate unimplemented flags.
12331         * misc/sys/cdefs.h (__glibc_macro_warning1)
12332         (__glibc_macro_warning): Define.
12333         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
12334         (RES_KEEPTSIG): Mark as deprecated.
12335         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
12336         RES_NOCHECKNAME, RES_KEEPTSIG.
12337         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
12339 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12341         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
12342         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
12343         Use strong_alias to create symbols for glibc verison 2.19.
12345 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12347         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
12349 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12351         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
12353 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12355         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
12357 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12359         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12360         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
12361         in header for using it as type for ifunc function because __GI_* symbols
12362         for ppc32 do not target the ifunc symbols.
12363         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12365 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12367         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
12368         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
12369         libc_ifunc_hidden_def.
12370         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
12371         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
12372         Redirect ifunced function in header for using it as type of ifunc'ed
12373         function. Redefine libc_hidden_def to use fallback non ifunc'ed
12374         function for __GI_* symbol.
12375         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
12376         * include/libc-symbols.h
12377         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
12379 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12381         [BZ #20478]
12382         * sysdeps/s390/multiarch/ifunc-resolve.h
12383         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
12384         to create ifunc symbols.
12385         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
12386         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
12387         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
12388         for using it as type for ifunc function.
12389         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
12390         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
12391         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
12392         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
12393         * sysdeps/s390/multiarch/strcat.c: Likewise.
12394         * sysdeps/s390/multiarch/strchr.c: Likewise.
12395         * sysdeps/s390/multiarch/strcmp.c: Likewise.
12396         * sysdeps/s390/multiarch/strcpy.c: Likewise.
12397         * sysdeps/s390/multiarch/strcspn.c: Likewise.
12398         * sysdeps/s390/multiarch/strlen.c: Likewise.
12399         * sysdeps/s390/multiarch/strncmp.c: Likewise.
12400         * sysdeps/s390/multiarch/strncpy.c: Likewise.
12401         * sysdeps/s390/multiarch/strnlen.c: Likewise.
12402         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
12403         * sysdeps/s390/multiarch/strrchr.c: Likewise.
12404         * sysdeps/s390/multiarch/strspn.c: Likewise.
12405         * sysdeps/s390/multiarch/wcschr.c: Likewise.
12406         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
12407         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
12408         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
12409         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
12410         * sysdeps/s390/multiarch/wmemset.c: Likewise.
12411         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
12412         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
12413         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
12414         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
12415         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
12416         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
12418 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12420         * include/libc-symbols.h (__ifunc_resolver):
12421         New macro is used by __ifunc* macros.
12422         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
12423         depending on HAVE_GCC_IFUNC.
12424         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
12425         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
12426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
12427         Redirect ifunced function in header for using as type for ifunc function.
12428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
12429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
12430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
12431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
12432         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
12433         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
12434         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
12435         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
12436         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
12437         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
12438         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
12439         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
12440         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
12441         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
12442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
12443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
12444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
12445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
12446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
12447         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
12448         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
12449         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
12450         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
12451         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
12452         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
12453         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
12454         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
12455         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
12456         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
12457         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
12458         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
12459         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
12460         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
12461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
12462         Add libc_hidden_def() and use libc_ifunc_hidden() macro
12463         instead of libc_ifunc() macro.
12464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
12465         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
12467 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12469         * config.h.in (HAVE_GCC_IFUNC): New undef.
12470         * configure.ac: Add check if gcc supports attribute ifunc feature.
12471         * configure: Regenerated.
12472         * manual/install.texi: Add recommendation for gcc with
12473         indirect-function support.
12474         * INSTALL: Regenerated.
12476 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
12478         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
12479         macro.
12480         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12481         (__iseqsig): New declaration.
12482         * math/s_iseqsig_template.c: New file.
12483         * math/Versions (__iseqsigf): New libm symbol at version
12484         GLIBC_2.25.
12485         (__iseqsig): Likewise.
12486         (__iseqsigl): Likewise.
12487         * math/libm-test.inc (iseqsig_test_data): New array.
12488         (iseqsig_test): New function.
12489         (main): Call iseqsig_test.
12490         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
12491         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
12492         * manual/libm-err-tab.pl: Update comment on interfaces without
12493         ulps tabulated.
12494         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
12495         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
12496         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
12497         * sysdeps/nacl/libm.abilist: Update.
12498         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12499         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12500         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12501         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12502         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12503         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12504         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12505         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12506         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12507         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12508         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12509         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12511         Likewise.
12512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12513         Likewise.
12514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12515         Likewise.
12516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12517         Likewise.
12518         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12519         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12520         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12521         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12522         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12524         Likewise.
12525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12526         Likewise.
12527         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12528         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12529         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12531 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12533         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
12534         do_sincos_2, sloww, sloww1): Update comments.
12536         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
12537         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
12539         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
12540         K boolean and rename it.
12541         (__sin): Adjust.
12542         (__cos): Adjust.
12544 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
12545             Siddhesh Poyarekar  <siddhesh@sourceware.org>
12547         * manual/nss.texi: Fix typos in the manual.
12549 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
12551         * manual/contrib.texi: Fix typos in the manual.
12553         * manual/maint.texi: Fix typos in the manual.
12555         * manual/install.texi: Fix typos in the manual.
12556         * INSTALL: Regenerated.
12558         * manual/lang.texi: Fix typos in the manual.
12560         * manual/probes.texi: Fix typos in the manual.
12562         * manual/threads.texi: Fix typos in the manual.
12564         * manual/debug.texi: Fix typos in the manual.
12566         * manual/crypt.texi: Fix typos in the manual.
12568         * manual/conf.texi: Fix typos in the manual.
12570         * manual/sysinfo.texi: Fix typos in the manual.
12572         * manual/users.texi: Fix typos in the manual.
12574         * manual/job.texi: Fix typos in the manual.
12576         * manual/process.texi: Fix typos in the manual.
12578         * manual/argp.texi: Fix typos in the manual.
12579         * manual/getopt.texi: Likewise.
12580         * manual/startup.texi: Likewise.
12582         * manual/signal.texi: Fix typos in the manual.
12584         * manual/setjmp.texi: Fix typos in the manual.
12586         * manual/resource.texi: Fix typos in the manual.
12588         * manual/time.texi: Fix typos in the manual.
12590         * manual/arith.texi: Fix typos in the manual.
12592         * manual/math.texi: Fix typos in the manual.
12594         * manual/syslog.texi: Fix typos in the manual.
12596         * manual/terminal.texi: Fix typos in the manual.
12598         * manual/socket.texi: Fix typos in the manual.
12600         * manual/filesys.texi: Fix typos in the manual.
12602         * manual/llio.texi: Fix typos in the manual.
12604         * manual/stdio.text: Fix typos in the manual.
12606 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12608         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
12609         instead of K1.
12611         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
12612         SHIFT_QUADRANT and make it bool.
12613         (do_sincos_2): Likewise.
12614         (sloww): Likewise.
12615         (sloww1): Likewise.
12616         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
12617         (__cos): Likewise.
12619 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12621         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
12623 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
12625         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
12626         Define to __WORDSIZE, not conditional on [LONG_MAX ==
12627         0x7fffffffL].
12628         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
12630 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12632         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
12633         inline by __inline__.
12634         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
12635         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
12636         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
12637         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
12638         sigset_t from signal.h.
12639         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
12640         which is already required.
12642 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
12644         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12646 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
12648         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
12649         (struct tcp_repair_window): New type.
12651 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12653         * libio/tst-memstream3.c: Include string.h.
12655 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12657         [BZ #18241]
12658         [BZ #20181]
12659         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
12660         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
12661         write position is at the end the buffer.
12662         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
12663         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
12664         (_IO_str_seekoff): Set correct offset from negative displacement and
12665         set EINVAL for invalid ones.
12666         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
12667         buffer length.
12668         (_IO_wstr_switch_to_get_mode): New function.
12669         (_IO_wstr_seekoff): Set correct offset from negative displacement and
12670         set EINVAL for invalid ones.
12671         * libio/tst-memstream3.c: New file.
12672         * libio/tst-wmemstream3.c: Likewise.
12673         * manual/examples/memstrm.c: Remove warning when priting size_t.
12675 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
12677         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
12678         macro to use __builtin_fma.
12679         * sysdeps/x86_64/fpu/dla.h: Remove file.
12681         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
12682         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
12683         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
12685 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
12687         [BZ #20292]
12688         * elf/Makefile (routines): Add dl-addr-obj.
12689         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
12690         tst-_dl_addr_inside_object.
12691         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
12692         [ifeq (yesyes,$(have-fpie)$(build-shared))]
12693         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
12694         [ifeq (yesyes,$(have-fpie)$(build-shared))]
12695         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
12696         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
12697         * elf/dl-open.c: Likewise.
12698         * elf/dl-addr-obj.c: New file.
12699         * elf/tst-_dl_addr_inside_object.c: New file.
12701 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
12703         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
12704         <bits/iscanonical.h>.
12705         * bits/iscanonical.h: New file.
12706         * math/s_iscanonicall.c: Likewise.
12707         * math/Versions (__iscanonicall): New libm symbol at version
12708         GLIBC_2.25.
12709         * math/libm-test.inc (iscanonical_test_data): New array.
12710         (iscanonical_test): New function.
12711         (main): Call iscanonical_test.
12712         * math/Makefile (headers): Add bits/iscanonical.h.
12713         (type-ldouble-routines): Add s_iscanonicall.
12714         * manual/arith.texi (Floating Point Classes): Document
12715         iscanonical.
12716         * manual/libm-err-tab.pl: Update comment on interfaces without
12717         ulps tabulated.
12718         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
12719         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
12720         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
12721         Likewise.
12722         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
12723         test-iscanonical-ldbl-128ibm.
12724         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
12725         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
12726         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
12727         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
12728         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
12729         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12730         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12732         Likewise.
12733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12734         Likewise.
12735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12736         Likewise.
12737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12738         Likewise.
12739         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12740         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12742 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12744         * string/bits/string3.h: Remove C++ style comments.
12746 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12748         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
12749         instead of ternary condition.
12750         (do_sincos_2): Likewise.
12751         (__sin): Likewise.
12752         (__cos): Likewise.
12753         (slow): Likewise.
12754         (sloww): Likewise.
12755         (sloww1): Likewise.
12756         (bsloww): Likewise.
12757         (bsloww1): Likewise.
12759         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
12760         instead of ternary condition.
12761         (do_sin_slow): Likewise.
12762         (do_sincos_1): Likewise.
12763         (do_sincos_2): Likewise.
12764         (__cos): Likewise.
12765         (sloww): Likewise.
12766         (sloww1): Likewise.
12767         (sloww2): Likewise.
12768         (bsloww): Likewise.
12769         (bsloww1): Likewise.
12770         (bsloww2): Likewise.
12772         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
12773         check from here...
12774         (slow2): ... and here...
12775         (__sin): ... to here.
12777 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
12779         * math/math.h
12780         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
12781         Cast argument to its own type.
12782         * math/test-iszero-excess-precision.c: New file.
12783         * math/Makefile (tests): Add test-iszero-excess-precision.
12784         (CFLAGS-test-iszero-excess-precision.c): New variable.
12786 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
12788         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
12789         field, add err field.
12790         (__spawni_child): Report error through err member instead of pipe.
12791         (__spawnix): Likewise.
12793 2016-09-28  Zack Weinberg  <zackw@panix.com>
12795         * scripts/check-installed-headers.sh: Generalize treatment of
12796         sys/elf.h to all target architectures.
12798         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
12799         deleted typedef ucontext_t.
12801 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12803         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
12804         (__INTERNAL_SYSCALL1): Likewise.
12805         (__INTERNAL_SYSCALL2): Likewise.
12806         (__INTERNAL_SYSCALL3): Likewise.
12807         (__INTERNAL_SYSCALL4): Likewise.
12808         (__INTERNAL_SYSCALL5): Likewise.
12809         (__INTERNAL_SYSCALL6): Likewise.
12810         (__INTERNAL_SYSCALL7): Likewise.
12811         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
12812         (__INTERNAL_SYSCALL_NARGS): Likewise.
12813         (__INTERNAL_SYSCALL_DISP): Likewise.
12814         (INTERNAL_SYSCALL_CALL): Likewise.
12815         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
12816         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
12817         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
12818         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
12819         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
12820         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
12821         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
12822         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
12823         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
12824         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
12825         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
12826         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
12827         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
12829 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
12831         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
12832         macro.
12833         * math/libm-test.inc (iszero_test_data): New array.
12834         (iszero_test): New function.
12835         (main): Call iszero_test.
12836         * manual/arith.texi (Floating Point Classes): Document iszero.
12837         * manual/libm-err-tab.pl: Update comment on interfaces without
12838         ulps tabulated.
12840 2016-09-23  Zack Weinberg  <zackw@panix.com>
12842         * scripts/check-installed-headers.sh: New script.
12843         * Rules: In each directory that defines header files to be installed,
12844         run check-installed-headers.sh on them as a special test.
12845         * Makefile: Likewise for the headers installed at top level.
12847         * include/aliases.h, include/alloca.h, include/argz.h
12848         * include/arpa/nameser.h, include/arpa/nameser_compat.h
12849         * include/elf.h, include/envz.h, include/err.h
12850         * include/execinfo.h, include/fpu_control.h, include/getopt.h
12851         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
12852         * include/link.h, include/malloc.h, include/mcheck.h
12853         * include/mntent.h, include/netinet/ether.h
12854         * include/nss.h, include/obstack.h, include/printf.h
12855         * include/pty.h, include/resolv.h, include/rpc/auth.h
12856         * include/rpc/auth_des.h, include/rpc/auth_unix.h
12857         * include/rpc/clnt.h, include/rpc/des_crypt.h
12858         * include/rpc/key_prot.h, include/rpc/netdb.h
12859         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
12860         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
12861         * include/rpc/rpc_msg.h, include/rpc/svc.h
12862         * include/rpc/svc_auth.h, include/rpc/xdr.h
12863         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
12864         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
12865         * include/rpcsvc/ypupd.h, include/shadow.h
12866         * include/stdio_ext.h, include/sys/epoll.h
12867         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
12868         * include/sys/prctl.h, include/sys/profil.h
12869         * include/sys/statfs.h, include/sys/sysctl.h
12870         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
12871         * sysdeps/arm/nacl/include/bits/setjmp.h
12872         * sysdeps/mips/include/sys/asm.h
12873         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
12874         * sysdeps/unix/sysv/linux/include/sys/timex.h
12875         * sysdeps/x86/fpu/include/bits/fenv.h:
12876         Add #ifndef _ISOMAC guard around internal declarations.
12877         Add multiple-inclusion guard if not already present.
12879 2016-09-23  Zack Weinberg  <zackw@panix.com>
12881         * sysdeps/generic/sys/ucontext.h
12882         * sysdeps/arm/sys/ucontext.h
12883         * sysdeps/i386/sys/ucontext.h
12884         * sysdeps/m68k/sys/ucontext.h
12885         * sysdeps/mips/sys/ucontext.h
12886         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
12887         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
12888         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
12889         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
12890         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
12891         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
12892         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
12893         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
12894         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
12895         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
12896         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
12897         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
12898         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
12899         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
12900         Include both bits/sigcontext.h and bits/sigstack.h.
12901         Fix grammar error in comment, if present.
12903         * bits/sigstack.h
12904         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
12905         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
12906         * sysdeps/unix/sysv/linux/bits/sigstack.h
12907         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
12908         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
12909         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
12910         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
12911         * bits/sigcontext.h
12912         * sysdeps/mach/hurd/i386/bits/sigcontext.h
12913         * sysdeps/unix/sysv/linux/bits/sigcontext.h
12914         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
12915         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
12916         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
12917         as well as signal.h, if this was not already allowed.  Request
12918         definition of size_t if necessary.  Minimize semantically-null
12919         differences across files.
12921 2016-09-23  Zack Weinberg  <zackw@panix.com>
12923         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
12924         Remove all logic conditional on __need macros.  Move all the
12925         conditionally defined types to their own headers...
12926         * time/bits/types/clock_t.h: Define clock_t here.
12927         * time/bits/types/clockid_t.h: Define clockid_t here.
12928         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
12929         * time/bits/types/struct_timespec.h: Define struct timespec here.
12930         * time/bits/types/struct_timeval.h: Define struct timeval here.
12931         * time/bits/types/struct_tm.h: Define struct tm here.
12932         * time/bits/types/time_t.h: Define time_t here.
12933         * time/bits/types/timer_t.h: Define timer_t here.
12934         * time/Makefile: Install the new headers.
12936         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
12937         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
12938         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
12939         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
12940         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
12941         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
12942         * sysdeps/unix/sysv/linux/bits/resource.h
12943         * sysdeps/unix/sysv/linux/bits/timex.h
12944         * sysdeps/unix/sysv/linux/mips/bits/resource.h
12945         * sysdeps/unix/sysv/linux/net/ppp_defs.h
12946         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
12947         * sysdeps/unix/sysv/linux/sys/acct.h
12948         * sysdeps/unix/sysv/linux/sys/timerfd.h
12949         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
12950         * time/sys/time.h, time/sys/timeb.h
12951         Use the new bits/types headers.
12953         * include/time.h: Remove __need logic.
12954         * include/bits/time.h
12955         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
12956         * include/bits/types/time_t.h, include/bits/types/timer_t.h
12957         * include/bits/types/struct_itimerspec.h
12958         * include/bits/types/struct_timespec.h
12959         * include/bits/types/struct_timeval.h
12960         * include/bits/types/struct_tm.h:
12961         New wrapper headers.
12963 2016-09-23  Zack Weinberg  <zackw@panix.com>
12965         * sysdeps/mach/hurd/net/if_ppp.h
12966         * sysdeps/unix/sysv/linux/net/if_ppp.h:
12967         Only define struct ifpppstatsreq and struct ifpppcstatsreq
12968         if __USE_MISC is defined, to ensure struct ifreq is declared.
12970         * inet/netinet/ether.h: Condition all function prototypes
12971         on __USE_MISC, to ensure struct ether_addr is declared.
12973         * socket/bits/types/struct_osockaddr.h: New header.
12974         * include/bits/types/struct_osockaddr.h: New wrapper.
12975         * socket/Makefile: Install the new header.
12976         * socket/sys/socket.h, inet/protocols/talkd.h:
12977         Refer to bits/types/struct_osockaddr.h for the definition of
12978         struct osockaddr.
12980 2016-09-23  Zack Weinberg  <zackw@panix.com>
12982         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
12983         * inet/protocols/routed.h, inet/protocols/talkd.h
12984         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
12985         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
12986         * sysdeps/generic/netinet/if_ether.h
12987         * sysdeps/generic/netinet/in_systm.h
12988         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
12989         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
12990         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
12991         * sysdeps/mach/hurd/net/if_arp.h
12992         * sysdeps/mach/hurd/net/if_ppp.h
12993         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
12994         * sysdeps/unix/sysv/linux/bits/in.h
12995         * sysdeps/unix/sysv/linux/net/ethernet.h
12996         * sysdeps/unix/sysv/linux/net/if_arp.h
12997         * sysdeps/unix/sysv/linux/net/if_ppp.h
12998         * sysdeps/unix/sysv/linux/net/if_shaper.h
12999         * sysdeps/unix/sysv/linux/net/route.h
13000         * sysdeps/unix/sysv/linux/netinet/if_ether.h
13001         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
13002         * sysdeps/unix/sysv/linux/netinet/if_tr.h
13003         * sysdeps/unix/sysv/linux/netipx/ipx.h
13004         * sysdeps/unix/sysv/linux/sys/acct.h
13005         * include/arpa/nameser.h, include/resolv.h:
13006         Change all uses of u_char to unsigned char,
13007         u_short and ushort to unsigned short, u_int and uint to unsigned int,
13008         u_long and ulong to unsigned long, u_int8_t to uint8_t,
13009         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
13010         and u_int64_t and u_quad_t to uint64_t.
13012         * mach/sys/reboot.h: Remove two casts of integer literals
13013         to the types they already have.
13015         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
13016         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
13017         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
13018         from referring to 'unsigned char' to 'uint8_t' for consistency with
13019         the macro definition below.
13021         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
13022         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
13023         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
13024         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
13025         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
13026         * sysdeps/unix/sysv/linux/sys/acct.h
13027         * include/arpa/nameser.h, include/resolv.h:
13028         Fix indentation disrupted by mechanical edits.
13030         * inet/protocols/talkd.h, resolv/arpa/nameser.h
13031         * sysdeps/generic/netinet/in_systm.h
13032         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
13033         * sysdeps/gnu/netinet/udp.h
13034         * sysdeps/unix/sysv/linux/net/ethernet.h
13035         * sysdeps/unix/sysv/linux/net/if_arp.h
13036         * sysdeps/unix/sysv/linux/net/if_ppp.h
13037         * sysdeps/unix/sysv/linux/net/if_shaper.h
13038         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
13039         * sysdeps/unix/sysv/linux/netinet/if_tr.h
13040         * sysdeps/unix/sysv/linux/netipx/ipx.h
13041         * sysdeps/unix/sysv/linux/sys/acct.h
13042         Include stdint.h for uintNN_t definitions.
13043         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
13045 2016-09-23  Zack Weinberg  <zackw@panix.com>
13047         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
13048         * sysdeps/unix/sysv/linux/netrose/rose.h:
13049         Include sys/socket.h and netax25/ax25.h.
13051         * inet/netinet/icmp6.h, inet/netinet/ip6.h
13052         * resolv/arpa/nameser_compat.h:
13053         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
13055         * sysdeps/unix/sysv/linux/sys/quota.h:
13056         Use __caddr_t instead of caddr_t.
13057         * sysdeps/unix/sysv/linux/sys/timerfd.h:
13058         Use __clockid_t instead of clockid_t.
13060         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
13062         * argp/argp.h: Check whether _LIBC is defined before expanding it.
13063         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
13064         expanding it.
13066         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
13067         Define __glibc_c99_flexarr_available to 1 when the compiler
13068         supports C99-compatible flexible array members, 0 otherwise.
13069         * sysdeps/unix/sysv/linux/bits/socket.h
13070         * sysdeps/mach/hurd/bits/socket.h
13071         * bits/socket.h: Use __glibc_c99_flexarr_available in
13072         definitions of struct cmsghdr and CMSG_DATA.
13074 2016-09-23  Florian Weimer  <fweimer@redhat.com>
13076         * manual/nss.texi (NSS Modules Interface): Adjust function return
13077         type to enum nss_status.  Document errnop argument.  Clarify
13078         h_errnop semantics.  Fix cross-reference formatting.
13079         (NSS Module Function Internals): Mention that *errnop needs to be
13080         set on failure, but not to zero.
13082 2016-09-23  Florian Weimer  <fweimer@redhat.com>
13084         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
13085         (get_random_name): New functions.
13086         (check_wrapper_flags_mode): Use linkat to give the new file a name
13087         determined by get_random_name.
13088         (do_test): Add calls to test open64 and openat64.
13090 2016-09-23  Florian Weimer  <fweimer@redhat.com>
13092         * test-skeleton.c: Remove #include <stdarg.h>.
13094 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
13096         [BZ #19826]
13097         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
13098         initialization of static TLS entries.
13099         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
13100         * nptl/allocatestack.c (init_one_static_tls): Likewise.
13102 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13104         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
13105         _hurd_malloc_fork_prepare.
13106         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
13107         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
13108         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
13109         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
13110         (_hurd_fork_child_hook): Drop malloc_fork_child.
13111         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
13112         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
13113         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
13114         after locking locks (notably hurd_dtable_lock). Call
13115         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
13116         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
13117         __malloc_fork_unlock_child.
13118         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
13120 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
13122         * soft-fp/extendhftf2.c: New.
13123         * soft-fp/fixhfti.c: Likewise.
13124         * soft-fp/fixunshfti.c: Likewise.
13125         * soft-fp/floattihf.c: Likewise.
13126         * soft-fp/floatuntihf.c: Likewise.
13127         * soft-fp/half.h: Likewise.
13128         * soft-fp/trunctfhf2.c: Likewise.
13130 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
13132         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
13133         macro.
13134         * math/libm-test.inc (issubnormal_test_data): New array.
13135         (issubnormal_test): New function.
13136         * manual/arith.texi (Floating Point Classes): Document
13137         issubnormal.
13138         * manual/libm-err-tab.pl: Update comment on interfaces without
13139         ulps tabulated.
13141         * sysdeps/generic/stdint.h: Define
13142         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13143         <bits/libc-header-start.h> instead of including <features.h>.
13144         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
13145         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
13146         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
13147         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
13148         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
13149         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
13150         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
13151         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
13152         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
13153         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
13154         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
13155         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
13156         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
13157         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
13158         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
13159         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
13160         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
13161         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
13162         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
13163         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
13164         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
13165         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
13166         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
13167         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
13168         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
13169         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
13170         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
13171         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
13172         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
13173         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
13174         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
13175         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
13176         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
13177         * manual/arith.texi (Integers): Document these macros for types
13178         specified by width properties.
13179         * manual/lang.texi (Width of Type): Document these macros for
13180         other standard typedefs.
13181         * stdlib/tst-width-stdint.c: New file.
13182         * stdlib/Makefile (tests): Add tst-width-stdint.
13184 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13186         [BZ #20016]
13187         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
13188         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
13189         Move ...
13190         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
13191         ... here, as compatibility symbols in a new file.
13192         * resolv/Makefile (libresolv-routines): Add compat-hooks.
13193         * resolv/res_init.c (__res_vinit): Adjust member names.
13194         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
13195         * resolv/resolv.h (res_sendhookact, res_send_qhook)
13196         (res_send_rhook): Remove.
13197         (struct __res_state): Rename qhook, rhook members.
13199 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13201         malloc: Use __libc_lock wrappers.
13202         * malloc/arena.c (list_lock, free_list_lock): Define using
13203         __libc_lock_define_initialized.
13204         (arena_lock): Adjust formatting.
13205         * malloc/malloc.c (struct malloc_state): Define mutex using
13206         __libc_lock_define.
13207         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
13208         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
13209         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
13210         (mutex_unlock, mutex_trylock): Remove.
13211         (__pthread_initialize): Remove unused macro.
13212         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
13213         (mutex_unlock, mutex_trylock): Remove.
13215 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13217         [BZ #20592]
13218         Remove RR type classification macros.
13219         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
13220         (ns_t_udp_p, ns_t_xfr_p): Remove.
13222 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13224         Remove misleading version information.
13225         * resolv/arpa/nameser.h (__NAMESER): Remove.
13226         * resolv/arpa/nameser_compat.h (__BIND): Remove.
13228 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13230         Remove the always-defined BIND_4_COMPAT macro.
13231         * resolv/arpa/nameser.h: Unconditionally include
13232         <arpa/nameser_compat.h>.
13233         (BIND_4_COMPAT): Remove.
13234         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
13236 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13238         [BZ #20591]
13239         Remove obsolete DNSSEC support.
13240         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
13241         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
13242         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
13243         (ns_verify_tcp, ns_verify_tcp_init): Remove.
13244         (ns_cert_types): Add comment.
13245         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
13246         separately.
13247         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
13248         (dst_s_dns_key_id): Remove.
13249         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
13250         variables.
13252 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13254         [BZ #20524]
13255         * manual/string.texi (String/Array Comparison): Clarify the
13256         strverscmp behavior.
13258 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13260         * test-skeleton.c (xasprintf): Add function.
13261         * io/tst-open-tmpfile.c: New test.
13262         * io/Makefile (tests): Add it.
13264 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13266         Avoid running $(CXX) during build to obtain header file paths.
13267         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
13268         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
13269         * Makerules (cstdlib, cmath): Remove variables.  Use
13270         $(c++-cstdlib-header), $(c++-cmath-header) instead.
13271         * configure: Regenerate.
13273 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13275         * Makeconfig (all-object-suffixes): Include .op only if
13276         $(build-profile).
13278 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13280         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
13281         conditionals.  Do not define PATH_MAX.
13283 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13285         * posix/Makefile (tests): Add tst-spawn3.
13286         * posix/tst-spawn3.c: New file.
13287         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
13288         if it is already opened for open action.
13290         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
13291         all signals when executing the clone vfork child.
13292         (SIGALL_SET): Remove macro.
13294         * nptl/Makefile (tests): Add tst-exec5.
13295         * nptl/tst-exec5.c: New file.
13296         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
13297         asynchronous cancellation.
13299 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13301         * hurd/exc2signal.c: #include <hurd/signal.h>
13302         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
13303         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
13304         accordingly.
13305         * mach/mach_error.c (mach_error): Fix old-style function definition.
13306         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
13308 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13310         * math/Makefile (libm-calls): Remove s_nanF.
13311         (gen-libm-calls): Add s_nanF.
13313         * math/s_nan.c: Refactor into ...
13314         * math/s_nan_template.c: New file.
13316         * math/s_nanf.c: Removed.
13317         * math/s_nanl.c: Removed.
13318         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
13319         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
13321         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
13322         (LDOUBLE_nanl_libm_version): New macro.
13324         * sysdeps/generic/math-type-macros-double.h:
13325         (M_STRTO_NAN): New macro.
13326         * sysdeps/generic/math-type-macros-float.h: Likewise.
13327         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
13329         * sysdeps/generic/math-type-macros.h: Document
13330         M_STRTO_NAN.
13332 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13334         * math/s_nanf.c: Remove __nanf undef.
13335         * math/s_nan.c: Remove __nan undef.
13336         * math/s_nanl.c: Remove __nanl undef.
13338         * sysdeps/generic/math_private.h (__nan): Remove macro
13339         override.
13340         (__nanf): Likewise.
13341         (__nanl): Likewise.
13343 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13345         * math/Makefile (gen-all-calls): New variable.
13346         (generated): Replace gen-libm-calls with gen-all-calls.
13347         (gen-libm-templates.stmp): Likewise.  Also, ensure
13348         the output directory exists or is created and add
13349         dependency on the Makefile.
13350         (calls): Move s_ldexpF into gen-calls.
13351         (gen-calls): New variable.
13353         * math/s_ldexpf.c: Removed.
13354         * math/s_ldexpl.c: Removed.
13355         * math/s_ldexp.c: Refactored into ...
13356         * math/s_ldexp_template.c: New file.
13358         * sysdeps/generic/math-type-macros-double.h: Remove
13359         redundant fall-through definition of declare_mgen_alias.
13360         (declare_mgen_alias_2): New macro.
13362         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
13363         New macro for function aliased to two exported symbols.
13365         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
13366         new template file.
13367         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
13369 2016-09-20  Florian Weimer  <fweimer@redhat.com>
13371         * Makeconfig (all-object-suffixes): Remove .og.
13372         * Makerules (elide-routines.og): Remove.
13373         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
13374         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
13375         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
13377 2016-09-20  Florian Weimer  <fweimer@redhat.com>
13379         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
13380         .os objects.
13382 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13384         [BZ #20615]
13385         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
13386         fpu directory by non-fpu.
13387         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
13388         on non-fpu directory from a fpu directory.
13390 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
13392         * include/limits.h: Define
13393         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13394         <bits/libc-header-start.h> instead of including <features.h>.
13395         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
13396         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
13397         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
13398         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
13399         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
13400         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
13401         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
13402         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
13403         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
13404         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
13405         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
13406         * manual/lang.texi (Width of Type): Document these macros.
13407         * stdlib/tst-width.c: New file.
13408         * stdlib/Makefile (tests): Add tst-width.
13410 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13412         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
13413         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
13415 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13417         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
13418         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
13419         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
13421 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13423         [BZ #18243]
13424         * rt/Makefile (test): Add tst-shm-cancel.
13425         * rt/tst-shm-cancel.c: New file.
13426         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
13428         [BZ #18243]
13429         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
13430         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
13431         definition.
13432         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
13433         uncontended case.
13434         * nptl/sem_wait.c (__new_sem_wait): Likewise.
13435         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
13436         (tf): Fix check for uncontended case.
13437         (do_test): Likewise.
13438         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
13439         (tf): Fix check for uncontended case.
13440         (do_test): Likewise.
13441         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
13442         (tf): Fix check for uncontended case.
13443         (do_test): Likewise.
13444         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
13445         (tf): Fix check for uncontended case.
13446         (do_test): Likewise.
13448         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
13449         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
13451         [BZ #15765]
13452         * nptl/Makefile (tests): Add tst-sem16.
13453         * nptl/tst-sem16.c: New file.
13454         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
13456         * nptl/sem_open.c (sem_open): Init pad value to 0.
13457         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
13458         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
13460 2016-09-15  Florian Weimer  <fweimer@redhat.com>
13462         [BZ #20611]
13463         * inet/Makefile (routines): Add inet6_scopeid_pton.
13464         (tests): Add tst-inet6_scopeid_pton.
13465         * inet/inet6_scopeid_pton.c: New file.
13466         * inet/net-internal.h: Likewise.
13467         * inet/tst-inet6_scopeid_pton.c: New test.
13468         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
13469         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
13470         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13472 2016-09-14  Florian Weimer  <fweimer@redhat.com>
13474         Remove support for compiling wrappers with PTW.
13475         * sysdeps/nptl/Makeconfig: Drop ptw- support.
13476         * nptl/Makefile (pthread-compat-wrappers): Define.
13477         (libpthread-routines): Use pthread-compat-wrappers.
13478         * sysdeps/unix/sysv/linux/alpha/Makefile
13479         (libpthread-routines, libpthread-shared-only-routines): Remove
13480         ptw- prefix.
13481         * sysdeps/s390/nptl/Makefile
13482         (libpthread-routines, libpthread-shared-only-routines): Likewise.
13483         * sysdeps/ia64/nptl/Makefile
13484         (libpthread-routines, libpthread-shared-only-routines): Likewise.
13485         * sysdeps/nacl/Makefile (libpthread-routines): Use
13486         pthread-compat-wrappers to filter the routines list instead of the
13487         ptw- prefix.
13489 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13491         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
13492         with L() and remove explicit suffix, convert real literals
13493         which can be equivalentally substituted with integers, and
13494         transform -L(x) to L(-x).
13496         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13497         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13498         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13499         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13500         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13501         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13502         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13503         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13504         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13505         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13506         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13507         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13508         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13509         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13510         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13511         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13512         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13513         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13514         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13515         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13516         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13517         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13518         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13519         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13520         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13521         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13522         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13523         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13524         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13525         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13526         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13527         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13528         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13529         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13530         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13531         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13532         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13533         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13534         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13535         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13536         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13537         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13538         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13539         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13540         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13541         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13542         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13543         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
13544         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13545         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13547 2016-09-13  Florian Weimer  <fweimer@redhat.com>
13549         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
13551 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13553         * malloc/Makefile (tests): Remove individual static test names
13554         and just add all of tests-static.
13556         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
13558 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
13560         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
13561         file.
13563         * sysdeps/sparc/fpu/fegetmode.c: New file.
13564         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
13566         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
13567         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
13569         * sysdeps/s390/fpu/fegetmode.c: New file.
13570         * sysdeps/s390/fpu/fesetmode.c: Likewise.
13572         * sysdeps/powerpc/fpu/fegetmode.c: New file.
13573         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
13574         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
13575         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
13576         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
13577         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
13579         * sysdeps/mips/fpu/fegetmode.c: New file.
13580         * sysdeps/mips/fpu/fesetmode.c: Likewise.
13582         * sysdeps/m68k/fpu/fegetmode.c: New file.
13583         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
13585         * sysdeps/ia64/fpu/fegetmode.c: New file.
13586         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
13588         * sysdeps/hppa/fpu/fegetmode.c: New file.
13589         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
13591         * sysdeps/arm/fegetmode.c: New file.
13592         * sysdeps/arm/fesetmode.c: Likewise.
13594         * sysdeps/alpha/fpu/fegetmode.c: New file.
13595         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
13597         * sysdeps/aarch64/fpu/fegetmode.c: New file.
13598         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
13600         * math/fegetmode.c: New file.
13601         * math/fesetmode.c: Likewise.
13602         * sysdeps/i386/fpu/fegetmode.c: Likewise.
13603         * sysdeps/i386/fpu/fesetmode.c: Likewise.
13604         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
13605         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
13606         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
13607         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
13608         declaration.
13609         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
13610         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
13611         typedef.
13612         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13613         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13614         (femode_t): New typedef.
13615         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13616         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13617         (femode_t): New typedef.
13618         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13619         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13620         (femode_t): New typedef.
13621         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13622         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13623         (femode_t): New typedef.
13624         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13625         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13626         (femode_t): New typedef.
13627         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13628         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13629         (femode_t): New typedef.
13630         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13631         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13632         (femode_t): New typedef.
13633         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13634         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13635         (femode_t): New typedef.
13636         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13637         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13638         (femode_t): New typedef.
13639         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13640         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13641         (femode_t): New typedef.
13642         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
13643         declaration.
13644         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13645         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13646         (femode_t): New typedef.
13647         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13648         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13649         (femode_t): New typedef.
13650         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13651         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13652         (femode_t): New typedef.
13653         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13654         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13655         (femode_t): New typedef.
13656         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13657         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13658         (femode_t): New typedef.
13659         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13660         * manual/arith.texi (FE_DFL_MODE): Document macro.
13661         (fegetmode): Document function.
13662         (fesetmode): Likewise.
13663         * math/Versions (fegetmode): New libm symbol at version
13664         GLIBC_2.25.
13665         (fesetmode): Likewise.
13666         * math/Makefile (libm-support): Add fegetmode and fesetmode.
13667         (tests): Add test-femode and test-femode-traps.
13668         * math/test-femode-traps.c: New file.
13669         * math/test-femode.c: Likewise.
13670         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
13671         alias for __fe_dfl_env.
13672         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
13673         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
13674         (__fe_dfl_mode): Likewise.
13675         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
13676         version GLIBC_2.25.
13677         * sysdeps/nacl/libm.abilist: Update.
13678         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13679         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13680         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13681         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13682         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13683         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13684         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13685         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13686         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13687         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13688         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13689         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13691         Likewise.
13692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13693         Likewise.
13694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13695         Likewise.
13696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13697         Likewise.
13698         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13699         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13700         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13701         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13702         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13703         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13704         Likewise.
13705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13706         Likewise.
13707         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13708         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13709         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13711 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
13713         [BZ #20495]
13714         [BZ #20508]
13715         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
13716         processors, set Use_dl_runtime_resolve_slow and set
13717         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
13718         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
13719         New.
13720         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
13721         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
13722         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
13723         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
13724         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
13725         if Use_dl_runtime_resolve_opt is set.  Use
13726         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
13727         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
13728         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
13729         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
13730         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
13731         New.
13732         (_dl_runtime_resolve_opt): Likewise.
13733         (_dl_runtime_profile): Define only if _dl_runtime_profile is
13734         defined.
13736 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
13738         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
13739         __libc_memalign with "+ RELA R_390_GLOB_DAT".
13741 2016-09-06  Florian Weimer  <fweimer@redhat.com>
13743         Convert malloc to __libc_lock.  Automated part, using this Perl
13744         s/// command:
13745           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
13746             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
13747         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
13748         conversion.
13750 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
13752         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
13753         (linknamespace-symlists-tests): Likewise.
13754         (linknamespace-header-tests): Likewise.
13756 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
13758         [BZ #19810]
13759         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
13760         * elf/tst-noload.c: New test case.
13761         * elf/Makefile (tests): Add tst-noload.
13763 2016-09-02  Roland McGrath  <roland@hack.frob.com>
13765         * sysdeps/nacl/dup.c: Add libc_hidden_def.
13767         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
13768         not any more.
13770         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
13772 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13774         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
13775         (do_cos_slow): Likewise.
13776         (do_sin): Likewise.
13777         (do_sin_slow): Likewise.
13778         (slow): Likewise.
13779         (slow1): Likewise.
13780         (slow2): Likewise.
13781         (sloww): Likewise.
13782         (sloww1): Likewise.
13783         (sloww2): Likewise.
13784         (bsloww): Likewise.
13785         (bsloww1): Likewise.
13786         (bsloww2): Likewise.
13787         (cslow2): Likewise.
13789         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
13791         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
13792         arguments.  Consolidate input partitioning from callers here.
13793         (do_cos_slow): Likewise.
13794         (do_sin): Likewise.
13795         (do_sin_slow): Likewise.
13796         (do_sincos_1): Remove the no longer necessary input partitioning.
13797         (do_sincos_2): Likewise.
13798         (__sin): Likewise.
13799         (__cos): Likewise.
13800         (slow1): Likewise.
13801         (slow2): Likewise.
13802         (sloww1): Likewise.
13803         (sloww2): Likewise.
13804         (bsloww1): Likewise.
13805         (bsloww2): Likewise.
13806         (cslow2): Likewise.
13808 2016-09-02  Florian Weimer  <fweimer@redhat.com>
13810         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
13811         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
13812         outside of allocated array.
13814 2016-09-02  Florian Weimer  <fweimer@redhat.com>
13816         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
13817         instead of MB_CUR_MAX to avoid variable-length array.
13819 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13821         * math/Makefile (libm-calls): Remove k_rem_pio2F.
13822         (type-double-routines): Add k_rem_pio2.
13823         (type-float-routines): Add k_rem_pio2f.
13825         * sysdeps/generic/math_private.h:
13826         (__kernel_rem_pio2l): Removed.
13828         * math/k_rem_pio2l.c: Removed.
13829         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
13830         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
13831         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
13832         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
13834 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13836         * math/Makefile (gen-libm-calls): Add s_fmin
13837         (libm-calls): Remove above.
13839         * math/s_fmin.c: Refactor into ...
13840         * math/s_fmin_template.c: New file.
13842         * math/s_fminf.c: Removed.
13843         * math/s_fminl.c: Removed.
13844         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
13845         (LDOUBLE_fmin_libm_version): New macro.
13847         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
13848         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
13850 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13852         * math/Makefile: (gen-libm-calls): Add s_fmax.
13853         (libm-calls): Remove above.
13855         * math/s_fmax.c: Refactor into ...
13856         * math/s_fmax_template.c: New file.
13857         * math/s_fmaxf.c: Removed.
13858         * math/s_fmaxl.c: Removed.
13860         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
13861         (LDOUBLE_fmaxl_libm_version): New macro.
13863         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
13864         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
13866         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
13867         s_fmin.c to pick the aarch64 version of the file.
13868         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
13869         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
13871 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13873         * math/Makefile: (gen-libm-calls): Add s_nextdown.
13874         (libm-calls): Remove above.
13876         * math/s_nextdown.c: Refactor into ...
13877         * math/s_nextdown_template.c: New file.
13878         * math/s_nextdownf.c: Removed.
13879         * math/s_nextdownl.c: Removed.
13881         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
13883 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13885         * math/Makefile (gen-libm-calls): Add s_fdim.
13886         (libm-calls): Move to above.
13888         * math/s_fdim.c: Renamed and refactored into to ...
13889         * math/s_fdim_template.c: New file.
13890         * math/s_fdiml.c: Removed.
13891         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
13892         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
13894         * sysdeps/generic/math-type-macros-double.h:
13895         (declare_mgen_alias): Don't declare if already declared.
13896         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
13897         Likewise.
13899         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
13900         (declare_mgen_alias): Don't declare if already declared.
13901         (M_LIBM_NEED_COMPAT): Likewise.
13902         (declare_mgen_libm_compat): Likewise.
13903         (LDOUBLE_fdiml_libm_version): New macro.
13905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
13906         Include math/s_fdim.c now that ldbl-opt version is not needed.
13907         (declare_mgen_alias): New macro to disable aliasing.
13909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
13910         (declare_mgen_alias): Likewise.
13911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
13912         (declare_mgen_alias): Likewise.
13913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
13914         (declare_mgen_alias): Likewise.
13915         (M_LIBM_NEED_COMPAT): Likewise.
13917 2016-09-01  Florian Weimer  <fweimer@redhat.com>
13919         [BZ #20525]
13920         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
13921         Include <linux/quota.h>.
13922         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
13923         and btodb.
13924         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
13925         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
13926         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
13927         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
13928         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
13929         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
13930         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
13931         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
13932         types.
13933         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
13934         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
13936 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13938         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
13939         (gammal_positive): Fix spacing.
13940         (__ieee754_gammal_r): Likewise.
13942 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13944         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
13945         (_Float128): Define as long double, always.
13946         (L): Apply long double type suffix, always.
13948         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
13949         _Float128, excepting comments.
13951         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13952         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13953         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13954         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13955         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13956         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13957         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13958         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13959         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13960         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
13961         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13962         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13963         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13964         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13965         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13966         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13967         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13968         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13969         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13970         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13971         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13972         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13973         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13974         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13975         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13976         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13977         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13978         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
13979         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13980         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13981         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13982         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13983         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13984         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13985         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13986         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13987         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13988         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13989         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13990         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13991         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13992         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13993         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13994         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13995         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
13996         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13997         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13998         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13999         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14000         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14001         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14002         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14003         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14004         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14005         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
14006         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14007         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14008         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14009         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14010         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14011         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14012         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14013         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14014         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14015         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14016         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
14017         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14018         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14020         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
14021         _Float128, and include math_private.h.
14022         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14024         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
14025         long double semantics.
14026         (_Float128): Likewise.
14027         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
14028         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
14029         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
14030         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
14032 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14034         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
14035         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
14036         * sysdeps/s390/configure: Regenerated.
14037         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
14038         instruction for raising over-/underflow if z196 zarch is supported
14039         by default.
14040         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
14042 2016-08-30  Svante Signell  <svante.signell@gmail.com>
14044         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
14045         it point to a dumb buffer for RPC to fill it.
14047 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14049         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
14050         instead of if/else.
14051         (do_sin_slow): Likewise.
14052         (do_sincos_1): Use fabs instead of if/else.
14053         (do_sincos_2): Likewise.
14054         (__sin): Likewise.
14055         (__cos): Likewise.
14056         (slow2): Likewise.
14057         (sloww): Likewise.
14058         (sloww1): Likewise.  Drop argument M.
14059         (sloww2): Use fabs instead of if/else.
14060         (bsloww): Likewise.
14061         (bsloww1): Likewise.
14062         (bsloww2): Likewise.
14064         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
14065         fall through comment.
14066         (do_sincos_1): Likewise.
14068         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
14069         Consolidate switch cases 0 and 2.
14071 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14073         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
14074         (libm-calls): Remove the above.
14076         * math/s_cexp_template.c: Update using type-generic macros.
14077         * math/s_clog10_template.c: Likewise.
14078         * math/s_cpow_template.c: Likewise.
14079         * math/s_clog_template.c: Likewise.
14080         * math/s_cproj_template.c: Likewise.
14081         * math/s_csqrt_template.c: Likewise.
14083         * math/s_cexp.c: Removed.
14084         * math/s_cexpf.c: Removed.
14085         * math/s_cexpl.c: Removed.
14086         * math/s_clog10.c: Removed.
14087         * math/s_clog10f.c: Removed.
14088         * math/s_clog10l.c: Removed.
14089         * math/s_cpow.c: Removed.
14090         * math/s_cpowf.c: Removed.
14091         * math/s_cpowl.c: Removed.
14092         * math/s_clog.c: Removed.
14093         * math/s_clogf.c: Removed.
14094         * math/s_clogl.c: Removed.
14095         * math/s_cproj.c: Removed.
14096         * math/s_cprojf.c: Removed.
14097         * math/s_cprojl.c: Removed.
14098         * math/s_csqrt.c: Removed.
14099         * math/s_csqrtf.c: Removed.
14100         * math/s_csqrtl.c: Removed.
14102         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
14103         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
14104         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
14105         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
14106         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
14107         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
14109         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
14110         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
14111         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
14112         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
14113         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
14114         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
14115         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
14116         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
14117         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
14118         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
14119         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
14121         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
14122         version.
14124         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
14125         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
14126         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
14127         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
14129 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14131         * s_cexp_template.c: Copy of s_cexp.c.
14132         * s_clog_template.c: Copy of s_clog.c.
14133         * s_clog10_template.c: Copy of s_clog10.c.
14134         * s_cpow_template.c: Copy of s_cpow.c.
14135         * s_cproj_template.c: Copy of s_cproj.c.
14136         * s_csqrt_template.c: Copy of s_csqrt.c.
14138 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14140         [BZ #20517]
14141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
14142         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
14143         exported.
14145 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
14147         * math/fetestexceptflag.c: New file.
14148         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
14149         Stefan Liebler.
14150         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14151         (fetestexceptflag): New function declaration.
14152         * manual/arith.texi (fetestexceptflag): Document function.
14153         * math/Versions (fetestexceptflag): New libm symbol at version
14154         GLIBC_2.25.
14155         * math/Makefile (libm-support): Add fetestexceptflag.
14156         (tests): Add test-fetestexceptflag.
14157         * math/test-fetestexceptflag.c: New file.
14158         * sysdeps/nacl/libm.abilist: Update.
14159         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14160         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14161         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14162         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14163         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14164         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14165         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14166         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14167         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14168         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14169         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14170         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14172         Likewise.
14173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14174         Likewise.
14175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14176         Likewise.
14177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14178         Likewise.
14179         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14180         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14181         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14182         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14183         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14184         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14185         Likewise.
14186         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14187         Likewise.
14188         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14189         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14190         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14192 2016-08-26  Florian Weimer  <fweimer@redhat.com>
14194         [BZ #20432]
14195         Avoid strong references to malloc-internal symbols when linking
14196         statically, to support statically interposed mallocs.
14197         * include/libc-symbols.h (call_function_static_weak): New macro.
14198         * malloc/Makefile (tests): Add tst-interpose-nothread,
14199         tst-interpose-thread, tst-interpose-static-nothread,
14200         tst-interpose-static-thread.
14201         (tests-static): Add tst-interpose-static-nothread,
14202         tst-interpose-static-thread.
14203         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
14204         tst-interpose-aux-thread.o.
14205         (test-extras): Add tst-interpose-aux-nothread,
14206         tst-interpose-aux-thread.
14207         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
14208         tst-interpose-aux-nothread.o.
14209         (tst-interpose-thread, tst-interpose-static-thread): Link with
14210         tst-interpose-aux-thread.o and libthread.
14211         * malloc/tst-interpose-aux-nothread.c: New file.
14212         * malloc/tst-interpose-aux-thread.c: Likewise.
14213         * malloc/tst-interpose-aux.c: Likewise.
14214         * malloc/tst-interpose-aux.h: Likewise.
14215         * malloc/tst-interpose-nothread.c: Likewise.
14216         * malloc/tst-interpose-skeleton.c: Likewise.
14217         * malloc/tst-interpose-static-nothread.c: Likewise.
14218         * malloc/tst-interpose-static-thread.c: Likewise.
14219         * malloc/tst-interpose-thread.c: Likewise.
14220         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
14221         * sysdeps/mach/hurd/fork.c (__fork): Only call
14222         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
14223         __malloc_fork_unlock_child if defined.
14224         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14226 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14228         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
14229         timespec C99 designated initialization.
14231 2016-08-26  Florian Weimer  <fweimer@redhat.com>
14233         [BZ #19946]
14234         Avoid expected SIGALRM signals.
14235         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
14236         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
14237         (xpthread_create, xpthread_detach, xpthread_join)
14238         (delayed_exit_thread, delayed_exit): New functions.
14239         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
14240         (tf): Use xpthread_cond_wait.
14241         (do_test): Likewise.  Replace alarm with delayed_exit.
14242         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14243         (do_test): Call delayed_exit.  Report failure.
14244         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14245         (do_test): Call delayed_exit.
14246         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14247         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
14248         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14249         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
14250         error.
14251         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14252         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
14253         error.
14254         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
14255         (do_test): Call delayed_exit.
14256         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
14257         (do_test): Call delayed_exit.
14258         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
14259         (do_test): Call delayed_exit instead of alarm.  Use
14260         xpthread_mutex_lock.
14261         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
14262         (do_test): Call delayed_exit instead of alarm.  Use
14263         xpthread_mutex_lock.
14264         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
14265         (do_test): Call delayed_exit instead of alarm.
14266         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
14267         (do_test): Call delayed_exit instead of alarm.  Use
14268         xpthread_spin_lock.
14269         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
14270         (do_test): Call delayed_exit instead of alarm.  Use
14271         xpthread_join.
14273 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
14275         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
14276         adjust CFA when allocating register save area on re-aligned
14277         stack.
14279 2016-08-26  Florian Weimer  <fweimer@redhat.com>
14281         * string/tst-cmp.c: New test.
14282         * string/Makefile (tests): Add it.
14284 2016-08-25  Mark Wielaard  <mark@klomp.org>
14286         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
14287         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
14288         (check_tree_recurse): Use newly defined accessors.
14289         (check_tree): Likewise.
14290         (maybe_split_for_insert): Likewise.
14291         (__tfind): Likewise.
14292         (__tdelete): Likewise.
14293         (trecurse): Likewise.
14294         (tdestroy_recurse): Likewise.
14295         (__tsearch): Likewise. And add asserts for malloc alignment.
14296         (__twalk): Cast root to node in case CHECK_TREE is defined.
14298 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14300         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
14302 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14304         * math/Makefile (libm-gen-calls): Add
14305         catan, catanh, ctan, ctanh.
14306         (libm-calls): Remove the above.
14308         * math/s_catan_template.c: Update using type-generic macros.
14309         * math/s_catanh_template.c: Likewise.
14310         * math/s_ctan_template.c: Likewise.
14311         * math/s_ctanh_template.c: Likewise.
14313         * math/s_catanf.c: Removed.
14314         * math/s_catan.c: Removed.
14315         * math/s_catanl.c: Removed.
14316         * math/s_catanhf.c: Removed.
14317         * math/s_catanh.c: Removed.
14318         * math/s_catanhl.c: Removed.
14319         * math/s_ctanf.c: Removed.
14320         * math/s_ctan.c: Removed.
14321         * math/s_ctanl.c: Removed.
14322         * math/s_ctanhf.c: Removed.
14323         * math/s_ctanh.c: Removed.
14324         * math/s_ctanhl.c: Removed.
14326         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
14327         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
14328         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
14329         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
14330         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
14331         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
14333         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
14334         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
14335         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
14336         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
14338 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14340         * s_catan_template.c: Copy of s_catan.c.
14341         * s_catanh_template.c: Copy of s_catanh.c.
14342         * s_ctan_template.c: Copy of s_ctan.c.
14343         * s_ctanh_template.c: Copy of s_ctanh.c.
14345 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14347         * math/Makefile (gen-libm-calls): Move
14348         casin, casinh, csin, csinh here.
14349         (libm-calls): Remove the above.
14351         * math/s_casin_template.c: Update using type-generic macros.
14352         * math/s_casinh_template.c: Likewise.
14353         * math/s_csin_template.c: Likewise.
14354         * math/s_csinh_template.c: Likewise.
14355         * math/k_casinh_template.c: Likewise.
14357         * math/s_casinf.c: Removed.
14358         * math/s_casin.c: Removed.
14359         * math/s_casinl.c: Removed.
14360         * math/s_casinh.c: Removed.
14361         * math/s_casinhf.c: Removed.
14362         * math/s_casinhl.c: Removed.
14363         * math/s_csin.c: Removed.
14364         * math/s_csinf.c: Removed.
14365         * math/s_csinl.c: Removed.
14366         * math/s_csinh.c: Removed.
14367         * math/s_csinhf.c: Removed.
14368         * math/s_csinhl.c: Removed.
14369         * math/k_casinh.c: Removed.
14370         * math/k_casinhf.c: Removed.
14371         * math/k_casinhl.c: Removed.
14373         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
14374         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
14375         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
14376         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
14378         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
14379         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
14380         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
14381         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
14382         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
14383         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
14384         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
14385         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
14387         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
14388         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
14389         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
14390         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
14392         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
14393         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
14394         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
14395         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
14397 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14399         * s_casin_template.c: Copy of s_casin.c.
14400         * s_casinh_template.c: Copy of s_casinh.c.
14401         * s_csin_template.c: Copy of s_csin.c.
14402         * s_csinh_template.c: Copy of s_csinh.c.
14403         * k_casinh_template.c: Copy of k_casinh.c.
14405 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14407         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
14409 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14411         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
14412         (mul_split) Remove, rename as mul_splitl, remove
14413         redundant float.h include, and include via mul_splitl.h
14415         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
14416         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14417         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14418         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
14419         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14421         * math/mul_splitl.h: New file.
14423         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
14424         Move into mul_split.h, and remove redundant float.h include.
14426         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
14427         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
14428         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14429         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
14431         * math/mul_split.h: New file.
14433 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14435         * math/Makefile (libm-gen-calls): Move
14436         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
14437         (libm-calls): Remove above.
14439         * math/s_cacos_template.c: Update using type-generic macros.
14440         * math/s_cacosh_template.c: Likewise.
14441         * math/s_ccos_template.c: Likewise.
14442         * math/s_ccosh_template.c: Likewise.
14444         * math/s_cacosf.c: Removed.
14445         * math/s_cacos.c: Removed.
14446         * math/s_cacosl.c: Removed.
14447         * math/s_cacoshf.c: Removed.
14448         * math/s_cacosh.c: Removed.
14449         * math/s_cacoshl.c: Removed.
14450         * math/s_ccosf.c: Removed.
14451         * math/s_ccos.c: Removed.
14452         * math/s_ccosl.c: Removed.
14453         * math/s_ccoshf.c: Removed.
14454         * math/s_ccosh.c: Removed.
14455         * math/s_ccoshl.c: Removed.
14457         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
14458         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
14459         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
14460         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
14461         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
14462         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
14464         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
14465         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
14466         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
14467         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
14469         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
14470         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
14471         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
14472         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
14474 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14476         * s_cacos_template.c: Copy of s_cacos.c.
14477         * s_cacosh_template.c: Copy of s_cacosh.c.
14478         * s_ccos_template.c: Copy of s_ccos.c.
14479         * s_ccosh_template.c: Copy of s_ccosh.c.
14481 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14483         * stdlib/tst-strtod-round-skeleton.c:
14484         Refactored from tst-strtod-round.c.
14486         (L_): New macro to apply literal modifier.
14487         (FNPFX): New macro to select str or wcs prefix.
14488         (CHAR): New macro to choose wchar_t or char.
14489         (STRM): New macro to choose printf for tested character type.
14491         (STRTO): New macro to choose appropriate string -> real function.
14492         (FNPFXS): Stringitized version of FNPFX.
14493         (STR): Support for above macro.
14494         (STRX): Likewise.
14496         (TEST): Update with above macros.
14497         (test): Likewise.
14498         (GEN_ONE_TEST): Likewise.
14499         (test_in_one_mode): Likewise.
14501         * stdlib/tst-strtod-round.c: New file.
14502         * wcsmbs/tst-wcstod-round.c: New file.
14504         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
14505         (tst-wcstod-round): Add libm depencency for fesetround.
14507 2016-08-19  Zack Weinberg  <zackw@panix.com>
14509         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
14511 2016-08-18  Torvald Riegel  <triegel@redhat.com>
14513         [BZ #20477]
14514         * resolv/res_hconf.c (do_init): Use atomic access.
14515         * resolv/res_hconf.h: Add comments.
14516         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
14517         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
14518         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14520 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
14522         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
14523         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
14524         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14525         Likewise.
14527 2016-08-18  Florian Weimer  <fweimer@redhat.com>
14529         [BZ #16907]
14530         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
14531         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
14532         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
14533         (__attribute__): Remove definition.
14535 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14537         * sysdeps/ieee754/ldbl-128/e_asinl.c:
14538         Remove unused sqrtl declaration.
14540 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14542         * math/Makefile: (gen-libm-templates.stmp): New rule.
14543         (libm-calls): Move carg conj cimag and cabs into ...
14544         (gen-libm-calls): New variable.
14545         (generated): Inform Make objects from gen-libm-calls
14546         may be generated.
14548         * sysdeps/generic/math-type-macros.h: New file.
14549         * sysdeps/generic/math-type-macros-float.h: Likewise.
14550         * sysdeps/generic/math-type-macros-double.h: Likewise.
14551         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
14552         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
14553         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
14555         * math/cabs.c: Refactor into
14556         * math/cabs_template.c: new file.
14557         * math/cabsf.c: Removed.
14558         * math/cabsl.c: Removed.
14559         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
14560         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
14562         * math/carg.c: Refactor into
14563         * math/carg_template.c: new file.
14564         * math/cargf.c: Removed.
14565         * math/cargl.c: Removed.
14566         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
14567         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
14569         * math/conj.c: Refactor into
14570         * math/conj_template.c: new file.
14571         * math/conjf.c: Removed.
14572         * math/conjl.c: Removed.
14573         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
14574         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
14576         * math/cimag.c: Refactor into
14577         * math/cimag_template.c: new file.
14578         * math/cimagf.c: Removed.
14579         * math/cimagl.c: Removed.
14580         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
14581         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
14583         * math/cimag.c: Refactor into
14584         * math/cimag_template.c: new file.
14585         * math/cimagf.c: Removed.
14586         * math/cimagl.c: Removed.
14587         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
14588         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
14590 2016-08-17  Florian Weimer  <fweimer@redhat.com>
14592         Reduce time to expected nptl/tst-once5 failure.
14593         * nptl/tst-once5.cc (TIMEOUT): Define.
14595 2016-08-17  Florian Weimer  <fweimer@redhat.com>
14597         [BZ #20452]
14598         Avoid additional copies of objects in libc.a in static libraries.
14599         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
14600         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
14601         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
14602         rt-sysdep.
14603         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
14604         Add nptl-sysdep.
14605         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
14606         Add ptw-sysdep.
14607         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
14608         rt-sysdep.
14609         * sysdeps/unix/sysv/linux/alpha/Makefile
14610         (libpthread-shared-only-routines): Add ptw-sysdep,
14611         ptw-sigprocmask, ptw-rt_sigaction.
14612         * sysdeps/unix/sysv/linux/ia64/Makefile
14613         (librt-shared-only-routines): Add rt-sysdep.
14614         * sysdeps/unix/sysv/linux/i386/Makefile
14615         (libpthread-shared-only-routines): Add libc-do-syscall.
14616         * sysdeps/unix/sysv/linux/microblaze/Makefile
14617         (libpthread-shared-only-routines): Add sysdep.
14618         * sysdeps/unix/sysv/linux/powerpc/Makefile
14619         (librt-shared-only-routines): Add rt-sysdep.
14620         (libpthread-shared-only-routines): Add sysdep.
14621         * sysdeps/unix/sysv/linux/s390/Makefile
14622         (librt-shared-only-routines): Add rt-sysdep.
14623         * sysdeps/unix/sysv/linux/sparc/Makefile
14624         (librt-shared-only-routines): Add rt-sysdep.
14625         (libpthread-shared-only-routines): Add sysdep.
14626         * sysdeps/unix/sysv/linux/tile/Makefile
14627         (libpthread-shared-only-routines): Likewise.
14629 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
14631         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
14632         Mask implicit bit out of unpacked value.
14633         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
14634         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
14635         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
14637         * sysdeps/sparc/fpu/fesetexcept.c: New file.
14639         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
14641         * sysdeps/s390/fpu/fesetexcept.c: New file.
14643         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
14644         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
14645         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
14647         * sysdeps/mips/fpu/fesetexcept.c: New file.
14649         * sysdeps/m68k/fpu/fesetexcept.c: New file.
14651         * sysdeps/ia64/fpu/fesetexcept.c: New file.
14653         * sysdeps/hppa/fpu/fesetexcept.c: New file.
14655         * sysdeps/arm/fesetexcept.c: New file.
14657         * sysdeps/alpha/fpu/fesetexcept.c: New file.
14659         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
14661         * math/fesetexcept.c: New file.
14662         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
14663         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
14664         * math/fenv.h: Define
14665         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14666         <bits/libc-header-start.h> instead of including <features.h>.
14667         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
14668         declaration.
14669         * manual/arith.texi (fesetexcept): Document function.
14670         * math/Versions (fesetexcept): New libm symbol at version
14671         GLIBC_2.25.
14672         * math/Makefile (libm-support): Add fesetexcept.
14673         (tests): Add test-fesetexcept and test-fesetexcept-traps.
14674         * math/test-fesetexcept.c: New file.
14675         * math/test-fesetexcept-traps.c: Likewise.
14676         * sysdeps/nacl/libm.abilist: Update.
14677         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14678         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14679         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14680         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14681         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14682         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14683         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14684         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14685         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14686         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14687         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14688         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14690         Likewise.
14691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14692         Likewise.
14693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14694         Likewise.
14695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14696         Likewise.
14697         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14698         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14699         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14700         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14701         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14703         Likewise.
14704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14705         Likewise.
14706         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14707         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14708         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14710 2016-08-16  Florian Weimer  <fweimer@redhat.com>
14712         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
14713         New.
14714         (do_test): Apply default_stack_size_in_mb if not set.
14715         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
14717 2016-08-15  Andreas Schwab  <schwab@suse.de>
14719         [BZ #20435]
14720         CVE-2016-6323
14721         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
14722         as .cantunwind.
14724 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
14726         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
14727         comment from fraiseexcpt.c.
14729         * math/test-fexcept.c (feraiseexcept_exact): New function.
14730         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
14731         (test_except): Likewise.
14733 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
14735         [BZ #20455]
14736         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
14737         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
14738         to be restored.
14740         * math/test-fexcept-traps.c: New file.
14741         * math/test-fexcept.c: Likewise.
14742         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
14743         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
14744         macro.
14745         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
14746         (EXCEPTION_SET_FORCES_TRAP): Likewise.
14748 2016-08-09  Torvald Riegel  <triegel@redhat.com>
14750         * include/atomic.h (atomic_fetch_and_relaxed,
14751         atomic_fetch_and_release, atomic_fetch_or_release,
14752         atomic_fetch_xor_release): New.
14754 2016-08-06  Christian Seiler  <christian@iwakd.de>
14756         [BZ #20444]
14757         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
14758         MACH_PORT_NULL.
14760 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
14762         * math/s_fdim.c: Avoid alias renamed.
14763         * math/s_fdimf.c: Likewise.
14764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
14765         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
14766         Add s_fdimf-vis3, s_fdim-vis3.
14767         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
14768         (CFLAGS-s_fdim-vis3.c): Likewise.
14769         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
14770         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
14772 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
14774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
14775         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
14776         Remove s_fdimf-vis3, s_fdim-vis3.
14777         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
14778         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
14779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
14780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
14781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
14782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
14783         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
14784         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
14785         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
14786         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
14788 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
14790         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
14791         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
14792         -Wa,-Av9a -mvis.
14794 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14796         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
14797         LIT() to individual constants in simple expressions
14798         after splitting on spaces.
14799         (_apply_lit): Rename replaced version, and use it to
14800         apply to what appears to be a token.
14802         * math/libm-test.inc: Fix many, many issues with
14803         spacing.
14805 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
14807         * math/math.h: Move comment about <bits/mathdef.h> definitions
14808         above inclusion of <bits/mathdef.h>.  Do not mention
14809         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
14811 2016-08-05  Torvald Riegel  <triegel@redhat.com>
14813         * include/atomic.h (atomic_exchange_relaxed): New.
14815 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
14817         * math/e_scalb.c: Do not include <fenv.h>.
14818         (invalid_fn): Do calculation resulting in NaN instead of raising
14819         FE_INVALID and returning a NaN explicitly.
14820         * math/e_scalbf.c: Do not include <fenv.h>.
14821         (invalid_fn): Do calculation resulting in NaN instead of raising
14822         FE_INVALID and returning a NaN explicitly.
14823         * math/e_scalbl.c: Do not include <fenv.h>.
14824         (invalid_fn): Do calculation resulting in NaN instead of raising
14825         FE_INVALID and returning a NaN explicitly.
14827 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
14829         * po/de.po: Updated from Translation Project.
14830         * po/fi.po: Likewise.
14831         * po/sv.po: Likewise.
14833 2016-08-04  Florian Weimer  <fweimer@redhat.com>
14835         [BZ #20452]
14836         Use sysdep.o from libc.a in static libraries.
14837         * sysdeps/unix/sysv/linux/i386/Makefile
14838         (libpthread-shared-only-routines): Add sysdep.
14839         (librt-shared-only-routines): Likewise.
14841 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
14843         * math/tgmath.h (nextdown): Define if
14844         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
14845         (nextup): Likewise.
14847         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
14848         macro.
14849         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
14850         Document.
14851         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
14852         Document macro.
14853         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
14854         (exp10f): Likewise.
14855         (exp10l): Likewise.
14856         * math/bits/mathcalls.h (exp10): Declare if
14857         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
14859         * manual/arith.texi (nextup): Fix typo in last change.
14861 2016-08-03  Zack Weinberg  <zackw@panix.com>
14863         [BZ #19239]
14864         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
14865         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
14866         define major, minor, and makedev to issue deprecation warnings on use.
14867         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
14868         previously-activated deprecation warnings for these macros and prevent
14869         subsequent inclusions of this header from having any effect.
14870         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
14871         including <sys/sysmacros.h>, and undefine it again afterward.
14873 2016-08-03  Zack Weinberg  <zackw@panix.com>
14875         * sysdeps/generic/sys/sysmacros.h: Delete file.
14876         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
14877         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
14878         * bits/sysmacros.h: ... here; this encoding is now the generic
14879         encoding.  Now defines only the following macros:
14880         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
14881         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
14882         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
14884         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
14885         bits/sysmacros.h and the above new macros to generate the
14886         public implementations of major, minor, and makedev.
14887         * misc/tst-makedev.c: New test.
14888         * include/sys/sysmacros.h: New wrapper.
14890         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
14891         (routines): Add makedev.
14892         (tests): Add tst-makedev.
14893         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
14894         gnu_dev_makedev.
14895         * posix/Makefile (headers): Remove sys/sysmacros.h.
14896         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
14898         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
14899         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
14900         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
14901         * sysdeps/unix/sysv/linux/alpha/libc.abilist
14902         * sysdeps/unix/sysv/linux/arm/libc.abilist
14903         * sysdeps/unix/sysv/linux/hppa/libc.abilist
14904         * sysdeps/unix/sysv/linux/i386/libc.abilist
14905         * sysdeps/unix/sysv/linux/ia64/libc.abilist
14906         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
14907         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
14908         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
14909         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
14910         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
14911         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
14912         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
14913         * sysdeps/unix/sysv/linux/nios2/libc.abilist
14914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
14915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
14916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
14917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
14918         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
14919         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
14920         * sysdeps/unix/sysv/linux/sh/libc.abilist
14921         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
14922         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
14923         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
14924         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
14925         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
14926         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
14927         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
14928         Add GLIBC_2.25.
14930         * include/features.h (__glibc_clang_prereq): New macro.
14931         * misc/sys/cdefs.h (__glibc_clang_has_extension)
14932         (__attribute_deprecated_msg__): New macros.
14934 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
14936         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
14937         macro.
14938         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
14939         * manual/arith.texi (issignaling): Document as ISO from TS
14940         18661-1:2014.
14941         (nextup): Likewise.
14942         (nextupf): Likewise.
14943         (nextupl): Likewise.
14944         (nextdown): Likewise.
14945         (nextdownf): Likewise.
14946         (nextdownl): Likewise.
14947         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
14948         macro.
14949         * math/math.h: Define
14950         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14951         <bits/libc-header-start.h> instead of including <features.h>.
14952         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
14953         [__USE_GNU].
14954         * math/bits/mathcalls.h (nextdown): Declare if
14955         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
14956         (nextup): Likewise.
14957         (__issignaling): Likewise.
14959 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14961         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
14962         check, and remove __glibc_likely hint
14963         from FP_INFINITE check.
14964         * s_csinhf.c (__csinhf): Likewise.
14966         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
14967         hint from FP_INFINITE check.
14968         * s_csinhl.c (__csinhl): Likewise.
14970 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14972         * math/Makefile (libm-calls): Insert F placeholder into
14973         object names.  Move w_lgamma_compat* routines into
14974         (libm-compat-calls): New variable.
14975         (libm-compat-calls-ldouble-yes): New variable.
14976         (calls): Insert F placeholder.
14977         (generated): Redefine using new type-foreach macro call.
14978         (routines): Likewise.
14980         (types): New variable to hold a list of symbolic names
14981         for each type supported by the target machine.
14982         (libm-routines): Redefine using new types variable.
14983         (type-foreach): macro to replace fooF with the
14984         appropriately suffixed foo for each types.
14986         (type-ldouble-suffix): New variable.
14987         (type-ldouble-routines): Likewise.
14988         (type-ldouble-yes): Likewise.
14989         (type-double-suffix): Likewise.
14990         (type-double-routines): Likewise.
14991         (type-float-suffix): Likewise.
14992         (type-float-routines): Likewise.
14994         (dbl-only-routines): Remove.
14995         (long-c-yes): Likewise.
14996         (long-m-routines): Likewise.
14997         (long-m-support): Likewise.
14998         (long-m-yes): Likewise.
14999         (test-longdouble-yes): Likewise.
15001         (test-float.o): Simplify by increasing the scope of the
15002         recipe which adds libm-test.stmp to the vector types.
15003         (test-ifloat.o): Likewise.
15004         (test-float-finite.o): Likewise.
15005         (test-double.o): Likewise
15006         (test-idouble.o): Likewise.
15007         (test-double-finite.o): Likewise.
15008         (test-ldouble.o): Likewise
15009         (test-ildoubl.o): Likewise.
15010         (test-ldouble-finite.o): Likewise.
15012         (libm-tests): Redefine type tests using foreach and the
15013         list of types in types.
15015         (CPPFLAGS-test-ildoubl.c): Rename to
15016         (CPPFLAGS-test-ildouble.c): New variable
15018         * math/test-ildoubl.c: Rename to
15019         * math/test-ildouble.c: New file.
15021 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15023         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
15024         Use fabsl instead of fabs.
15025         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
15026         Likewise.
15027         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
15028         Add long double suffix to constant to ensure proper
15029         promotion to long double.
15031 2016-08-03  Tom Tromey  <tom@tromey.com>
15033         [BZ #20311]
15034         * nptl_db/Makefile (headers): Add proc_service.h.
15035         * nptl_db/proc_service.h: Add include guard.  Use
15036         __BEGIN/__END_DECLS.
15037         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
15038         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
15039         arguments.
15042 2016-08-03  Florian Weimer  <fweimer@redhat.com>
15044         [BZ #17730]
15045         Avoid using memalign for TCB allocations.
15046         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
15047         (_dl_allocate_tls_storage): Use malloc and manual alignment.
15048         Avoid alignment gap in the TLS_DTV_AT_TP case.
15049         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
15050         determine the pointer to free.
15051         * nptl/tst-tls3-malloc.c: New test.
15052         * nptl/Makefile (tests): Add it.
15053         (tst-tls3-malloc): Link with libdl, libpthread.
15054         (LDFLAGS-tst-tls3-malloc): Set.
15055         (tst-tls3-malloc.out): Depend on DSO used in test.
15057 2016-08-03  Florian Weimer  <fweimer@redhat.com>
15059         [BZ #17730]
15060         Avoid using memalign for TLS allocations.
15061         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
15062         is_static member with to_free member.
15063         (union dtv): Use struct dtv_pointer.
15064         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
15065         dtv_pointer instead of is_static.
15066         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
15067         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
15068         instead of val.
15069         (allocate_dtv_entry): New function.
15070         (allocate_and_init): Return struct dtv_pointer.  Call
15071         allocate_dtv_entry instead of __libc_memalign.
15072         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
15073         instead of val.
15074         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
15075         instead of is_static.  Adjust call to allocate_and_init.
15076         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
15077         struct dtv_pointer instead of val.
15079 2016-08-03  Florian Weimer  <fweimer@redhat.com>
15081         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
15082         (MALLOC_ALIGN_MASK): Move ...
15083         * malloc/malloc-internal.h: ... to here.
15084         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
15086 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
15088         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
15089         (UDP_ENCAP_GTP1U): Likewise.
15091         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
15092         (PF_MAX): Update value.
15093         (AF_QIPCRTR): New macro.
15095 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
15097         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
15098         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
15099         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
15100         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
15101         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
15102         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
15103         s_truncf-vis3, s_trunc-vis3.
15104         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
15105         (CFLAGS-s_ceil-vis3.c): Likewise.
15106         (CFLAGS-s_floorf-vis3.c): Likewise.
15107         (CFLAGS-s_floor-vis3.c): Likewise.
15108         (CFLAGS-s_truncf-vis3.c): Likewise.
15109         (CFLAGS-s_trunc-vis3.c): Likewise.
15110         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
15111         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
15112         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
15113         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
15114         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
15115         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
15116         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
15117         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
15118         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
15119         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
15120         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
15121         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
15123 2016-08-02  David S. Miller  <davem@davemloft.net>
15125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
15126         (__nearbyint_vis3): Don't check for sNaN before float register is
15127         loaded with the incoming argument.
15128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
15129         (__nearbyintf_vis3): Likewise.
15130         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
15131         Likewise.
15132         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
15133         Likewise.
15135         * string/test-strncmp.c (do_test_limit): Make sure the test data
15136         stream is aligned as required for the type "CHAR".
15137         (do_test): Likewise.
15139 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
15141         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
15142         by beq instructions jumping to the end of the function.
15143         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
15144         clobber list. Use "i" constraint instead of "X".
15145         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
15146         of "X".
15148 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
15150         * bits/libc-header-start.h: New file.
15151         * Makefile (headers): Add bits/libc-header-start.h.
15152         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
15153         (__GLIBC_USE): New macro.
15154         * libio/stdio.h: Define
15155         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15156         <bits/libc-header-start.h> instead of including <features.h>.
15157         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
15158         (open_memstream): Likewise.
15159         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
15160         (__asprintf): Likewise.
15161         (asprintf): Likewise.
15162         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
15163         (getdelim): Likewise.
15164         (getline): Likewise.
15165         * string/string.h: Define
15166         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15167         <bits/libc-header-start.h> instead of including <features.h>.
15168         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
15169         (strndup): Likewise.
15170         * wcsmbs/wchar.h: Define
15171         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15172         <bits/libc-header-start.h> instead of including <features.h>.
15173         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
15174         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
15176 2016-08-02  Florian Weimer  <fweimer@redhat.com>
15178         Support linking against compatibility symbols, for use in tests.
15179         * include/libc-symbols.h (symbol_version_reference): New macro.
15180         (symbol_version): Use it.
15181         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
15182         (compat_symbol): Use compat_symbol_reference.
15183         (compat_symbol_1, compat_symbol_2): Remove.
15184         (compat_symbol_reference, compat_symbol_reference_1)
15185         (compat_symbol_reference_2): New macro.  Use
15186         symbol_version_reference.
15188 2016-08-02  Florian Weimer  <fweimer@redhat.com>
15190         [BZ #19469]
15191         * malloc/Makefile (CPPFLAGS): Compile tests with
15192         -DTEST_NO_MALLOPT.
15193         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
15195 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
15197         [BZ #20033]
15198         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
15199         finite version.
15200         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
15201         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
15202         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
15203         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
15204         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
15205         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
15206         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
15207         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
15208         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
15209         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
15210         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
15211         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
15212         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
15213         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
15214         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
15215         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
15216         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
15217         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
15218         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
15219         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
15220         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
15221         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
15222         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
15223         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
15224         in zero power.
15226 2016-08-02  Florian Weimer  <fweimer@redhat.com>
15228         [BZ #20370]
15229         * malloc/arena.c (get_free_list): Update comment.  Assert that
15230         arenas on the free list have no attached threads.
15231         (remove_from_free_list): New function.
15232         (reused_arena): Call it.
15234 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
15236         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
15237         when it is a NaN.
15238         [_IEEE_FP_INEXACT] Remove.
15239         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
15240         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
15241         when it is a NaN.
15242         [_IEEE_FP_INEXACT] Remove.
15243         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
15244         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
15245         when it is a NaN.
15246         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
15247         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
15248         when its absolute value is greater than 0x1.0p52.
15249         [_IEEE_FP_INEXACT] Remove.
15250         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
15251         when its absolute value is greater than 0x1.0p23.
15252         [_IEEE_FP_INEXACT] Remove.
15254 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
15256         * version.h (RELEASE): Set to "development"
15257         (VERSION): Set to 2.24.90.
15258         * NEWS: Add 2.25 section.
15260         * version.h (RELEASE): Set to "stable"
15261         (VERSION): Set to 2.24.
15262         * include/features.h (__GLIBC_MINOR__): Set to 24.
15264         * NEWS: Add 2.24 fixed bugs.
15265         * po/libc.pot: Regenerate.
15267 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
15269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
15270         [$(subdir) = math] (libm-sysdep_routines): Remove.
15271         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
15272         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
15273         s_truncf-vis3, s_trunc-vis3.
15274         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
15276         file.
15277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
15278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
15279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
15280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
15283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
15284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
15286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
15287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
15288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
15289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
15290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
15291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
15292         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15293         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15294         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15295         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
15296         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
15297         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
15298         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
15299         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
15300         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15301         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
15302         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15303         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15304         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
15305         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
15306         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15307         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
15308         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
15309         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15310         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
15311         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
15312         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
15313         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
15314         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15315         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15316         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
15317         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
15318         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
15319         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
15321 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
15323         [BZ #20384]
15324         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
15325         test-double-libmvec-sincos-avx-main.o,
15326         test-double-libmvec-sincos-avx2-main.o,
15327         test-double-libmvec-sincos-main.o,
15328         test-float-libmvec-sincosf-avx-main.o,
15329         test-float-libmvec-sincosf-avx2-main.o and
15330         test-float-libmvec-sincosf-main.o.
15331         test-float-libmvec-sincosf-avx512-main.o.
15332         ($(objpfx)test-double-libmvec-sincos): Also link with
15333         $(objpfx)test-double-libmvec-sincos-main.o.
15334         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
15335         $(objpfx)test-double-libmvec-sincos-avx-main.o.
15336         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
15337         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
15338         ($(objpfx)test-float-libmvec-sincosf): Also link with
15339         $(objpfx)test-float-libmvec-sincosf-main.o.
15340         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
15341         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
15342         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
15343         test-double-libmvec-sincos-avx512-main.o and
15344         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
15345         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
15346         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
15347         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
15348         (CFLAGS-test-double-libmvec-sincos.c): Removed.
15349         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
15350         (CFLAGS-test-double-libmvec-sincos-main.c): New.
15351         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
15352         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
15353         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
15354         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
15355         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
15356         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
15357         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
15358         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
15359         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
15360         -DREQUIRE_AVX2.
15361         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
15362         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
15363         -DREQUIRE_AVX512F.
15364         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
15365         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
15366         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
15367         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
15368         file.
15369         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
15370         Likewise.
15371         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
15372         Likewise.
15373         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
15374         Likewise.
15375         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
15376         Likewise.
15377         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
15378         Likewise.
15379         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
15380         Likewise.
15381         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
15382         Likewise.
15384 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
15386         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
15388 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
15390         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
15391         and typo in a comment about AT_HWCAP entry.
15393 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15395         * sysdeps/aarch64/libm-test-ulps: Updated.
15397 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
15399         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
15400         of r13 as it is not restored in mvcle case.
15402 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
15404         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
15405         Rename "ret" to "__ret".
15406         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
15407         inline_syscall5, inline_syscall6): Likewise.
15409 2016-07-19   Will Newton  <will.newton@gmail.com>
15411         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
15412         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
15413         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
15414         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
15415         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
15417 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
15419         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
15420         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
15421         -mfpmath=387 with $(rtld-CFLAGS).
15422         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
15423         $(rtld-CFLAGS).
15425 2016-07-18   Ross Burton  <ross.burton@intel.com>
15426              Khem Raj  <raj.khem@gmail.com>
15428         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
15429         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
15430         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
15431         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
15432         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
15433         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
15434         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
15435         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
15436         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
15437         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
15438         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
15439         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
15440         R_METAG_TLS_DTPOFF): New.
15442 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15443             Matt Clay  <mclay@lycos.com>
15445         [BZ #20357]
15446         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
15447         to call __mpsin/__mpcos and to negate values.
15448         * math/auto-libm-test-in: Add test.
15449         * math/auto-libm-test-out: Regenerate.
15451 2016-07-18  Zack Weinberg  <zackw@panix.com>
15453         * grp/Makefile: Don't install the internal header grp-merge.h.
15455 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15457         * sysdeps/aarch64/libm-test-ulps: Regenerated.
15459 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15461         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
15463 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15465         [BZ #15368]
15466         * sysdeps/unix/sysv/linux/nptl-signals.h
15467         (__nptl_clear_internal_signals): New function.
15468         (__libc_signal_block_all): Likewise.
15469         (__libc_signal_block_app): Likewise.
15470         (__libc_signal_restore_set): Likewise.
15471         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
15472         implementation.
15473         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
15474         the cached pid/tid value in pthread structure.
15476 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
15478         [BZ #20347]
15479         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
15481 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
15483         [BZ #20348]
15484         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
15485         preadv64, pwrite64 and pwritev64.
15487 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
15489         [BZ #20350]
15490         * posix/tst-preadwrite.c: Renamed to ...
15491         * posix/tst-preadwrite-common.c: This.
15492         (PREAD): Removed.
15493         (PWRITE): Likewise.
15494         (STRINGIFY): Likewise.
15495         (STRINGIFY2): Likewise.
15496         (do_prepare): Make it static and remove function arguments.
15497         (do_test): Likewise.
15498         (PREPARE): Updated.
15499         (TEST_FUNCTION): New.
15500         (name): Make it static.
15501         (fd): Likewise.
15502         (do_prepare): Use create_temp_file.
15503         (do_test): Renamed to ...
15504         (do_test_with_offset): This.  Make it static and accept offset.
15505         Properly check return value of PWRITE and PREAD.  Return bytes
15506         read.  Don't close fd nor unlink name.
15507         * posix/tst-preadwrite.c: Rewrite.
15508         * posix/tst-preadwrite64.c: Likewise.
15510 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
15512         [BZ #20309]
15513         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
15514         -mtls-dialect=gnu2 works.
15515         * configure: Regenerated.
15516         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
15517         (tests): Add tst-gnu2-tls1.
15518         (modules-names): Add tst-gnu2-tls1mod.
15519         ($(objpfx)tst-gnu2-tls1): New.
15520         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
15521         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
15522         * elf/tst-gnu2-tls1.c: New file.
15523         * elf/tst-gnu2-tls1mod.c: Likewise.
15524         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
15525         bytes for push in the PLT entry to align the stack.
15527 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
15529         [BZ #20349]
15530         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
15532 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15534         [BZ #18707]
15535         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
15536         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
15538 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15540         * sysdeps/unix/sysv/linux/sysdep.h
15541         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
15542         guards.
15543         * misc/tst-preadvwritev-common.c: New file.
15544         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
15545         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
15546         a check for files larger than 2GB.
15548         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15549         (__ASSUME_OFF_DIFF_OFF64): Remove define.
15550         * sysdeps/unix/sysv/linux/pread.c
15551         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
15552         __OFF_T_MATCHES_OFF64_T.
15553         * sysdeps/unix/sysv/linux/pread64.c
15554         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
15555         * sysdeps/unix/sysv/linux/preadv.c
15556         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
15557         * sysdeps/unix/sysv/linux/preadv64.c
15558         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
15559         * sysdeps/unix/sysv/linux/pwrite.c
15560         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
15561         * sysdeps/unix/sysv/linux/pwrite64.c
15562         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
15563         * sysdeps/unix/sysv/linux/pwritev.c
15564         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
15565         * sysdeps/unix/sysv/linux/pwritev64.c
15566         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
15568 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
15570         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15571         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
15573 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
15575         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
15577 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
15579         [BZ #20240]
15580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
15581         (CFLAGS-s_modf-ppc32.c): New variable.
15582         (CFLAGS-s_modff-ppc32.c): Likewise.
15583         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
15584         (CFLAGS-s_modf-ppc64.c): Likewise.
15585         (CFLAGS-s_modff-ppc64.c): Likewise.
15587 2016-07-07  Andreas Schwab  <schwab@suse.de>
15589         [BZ #20263]
15590         * nptl/tst-robust10.c: New test.
15591         * nptl/Makefile (tests): Add tst-robust10.
15593 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
15595         [BZ #20263]
15596         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
15598 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
15600         * sysdeps/s390/linkmap.h (struct link_map_machine):
15601         Remove member gotplt and add member jmprel.
15602         * sysdeps/s390/s390-32/dl-machine.h
15603         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
15604         instead of gotplt with &got[3].
15605         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
15606         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15608 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
15610         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
15612 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15614         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
15615         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
15616         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
15617         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
15618         * libio/vtables.c (_IO_vtable_check)
15619         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
15620         * libio/libioP.h (IO_set_accept_foreign_vtables)
15621         [!PTR_MANGLE]: Do not call PTR_MANGLE.
15623 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
15625         [BZ #20314]
15626         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
15627         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
15628         $(common-objpfx)cmath.
15629         ($(common-objpfx)cstdlib): New target.
15630         ($(common-objpfx)cmath): Likewise.
15632 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
15634         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
15636 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15638         [BZ #20327]
15639         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
15640         are not part of the string.
15642 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15644         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
15645         * nptl/tst-cancel4-common.h (fifoname): New variable.
15646         (fifofd): Likewise.
15647         (cl_fifo): New function.
15648         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
15649         SIGINT.
15650         (tf_open): Add early cancel test.
15652 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
15654         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
15656 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
15658         * sysdeps/generic/ldsodefs.h
15659         (dl_symbol_visibility_binds_local_p): New inline function.
15660         * elf/dl-addr.c (determine_info): Treat hidden and internal
15661         symbols as local.
15662         * elf/dl-lookup.c (do_lookup_x): Likewise.
15663         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
15665 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
15667         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
15668         invalid exception for a sNaN input.
15669         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
15670         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
15671         (__nearbyint_vis3): Likewise
15672         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
15673         (__nearbyintf_vis3): Likewise
15674         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
15675         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
15676         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
15677         Likewise.
15678         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
15679         Likewise.
15681 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
15683         [BZ #20139]
15684         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
15685         (HAVE_AVX512DQ_ASM_SUPPORT): This.
15686         * sysdeps/x86_64/configure.ac: Require assembler from binutils
15687         2.24 or above.
15688         (HAVE_AVX512_ASM_SUPPORT): Removed.
15689         (HAVE_AVX512DQ_ASM_SUPPORT): New.
15690         * sysdeps/x86_64/configure: Regenerated.
15691         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
15692         check unconditional.
15693         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
15694         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15695         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15696         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
15697         Likewise.
15698         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
15699         Likewise.
15700         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
15701         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
15702         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15703         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15704         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
15705         Likewise.
15706         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
15707         Likewise.
15708         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15709         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15710         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
15711         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
15712         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
15713         Likewise.
15714         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
15715         Likewise.
15716         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
15717         Likewise.
15718         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
15719         Likewise.
15720         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
15721         Likewise.
15722         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
15723         Likewise.
15724         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
15725         Likewise.
15726         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
15727         Likewise.
15728         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
15729         Likewise.
15730         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
15731         Likewise.
15732         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
15733         Likewise.
15735 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
15737         [BZ #20024]
15738         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
15739         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
15740         of this implementation of vector function.
15741         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
15742         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
15743         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
15744         Likewise.
15745         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
15746         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
15747         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
15748         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
15749         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
15750         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
15751         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
15752         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
15753         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
15754         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
15755         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
15756         for testing vector sincos with fixed ABI.
15757         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15758         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15759         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15760         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
15761         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15762         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15763         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15764         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
15765         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
15766         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
15767         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
15768         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
15769         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
15770         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
15771         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
15772         * sysdeps/x86_64/fpu/Makefile: Added new tests.
15774 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
15776         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
15778 2016-06-30  Anton Blanchard  <anton@samba.org>
15780         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
15781         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
15782         s_sinf-ppc64.
15783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
15784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
15785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
15786         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
15788 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15790         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15791         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
15792         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
15793         e_expf-ppc64.
15794         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
15795         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
15796         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
15797         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
15799 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
15801         [BZ #20277]
15802         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
15803         when SHARED is defined.
15805 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
15807         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
15808         (index_arch_Prefer_ERMS): Likewise.
15809         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
15810         __memcpy_erms for Prefer_ERMS.
15811         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15812         (__memmove_erms): Enabled for libc.a.
15813         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
15814         __memmove_erms or Prefer_ERMS.
15815         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
15816         __mempcpy_erms for Prefer_ERMS.
15817         * sysdeps/x86_64/multiarch/memset.S (memset): Return
15818         __memset_erms for Prefer_ERMS.
15820 2016-06-30  Andreas Schwab  <schwab@suse.de>
15822         [BZ #20262]
15823         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
15824         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
15825         of memory.
15827 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
15829         [BZ #18645]
15830         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
15831         (test-extras): Add tst-cleanupx4aux.
15832         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
15833         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
15834         tst-cleanupx4aux.o.
15835         * nptl/tst-cleanupx4aux.c: New file.
15837 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
15839         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
15841 2016-06-29  Andreas Schwab  <schwab@suse.de>
15843         [BZ #20260]
15844         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
15845         address before the beginning of the string as an integer to avoid
15846         array-bounds warning.
15848 2016-06-28  Richard Henderson  <rth@redhat.com>
15850         * elf/elf.h (EM_BPF): New.
15851         (EM_NUM): Update.
15852         (R_BPF_NONE, R_BPF_MAP_FD): New.
15854         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
15855         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
15856         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
15857         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
15858         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
15859         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
15860         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
15861         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
15862         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
15863         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
15864         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
15865         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
15866         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
15867         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
15868         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
15869         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
15870         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
15871         (EM_NUM): Update.
15873 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
15875         [BZ #18960]
15876         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
15877         Set _nl_current_LC_CATEGORY_used to two instead of one.
15879 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
15881         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
15882         (do_test): ... this.
15883         (TEST_FUNCTION): New macro.
15884          Include test-skeleton.c.
15885         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
15886         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
15888 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
15890         [BZ #15479]
15891         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
15892         floating-point environment rather than just control word.
15893         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
15894         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
15895         floating-point environment, with "invalid" exceptions merged in,
15896         rather than just control word.
15897         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
15898         * math/libm-test.inc (trunc_test_data): Do not allow spurious
15899         "inexact" exceptions.
15901         [BZ #15479]
15902         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
15903         floating-point environment rather than just control word.
15904         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
15905         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
15906         floating-point environment, with "invalid" exceptions merged in,
15907         rather than just control word.
15908         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
15909         * math/libm-test.inc (floor_test_data): Do not allow spurious
15910         "inexact" exceptions.
15912         [BZ #15479]
15913         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
15914         floating-point environment rather than just control word.
15915         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
15916         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
15917         floating-point environment, with "invalid" exceptions merged in,
15918         rather than just control word.
15919         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
15920         * math/libm-test.inc (ceil_test_data): Do not allow spurious
15921         "inexact" exceptions.
15923 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
15925         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
15926         __libc_vfork.
15927         (__vfork) [IS_IN (libc)]: Remove alias.
15928         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
15929         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
15930         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
15932 2016-06-24  Torvald Riegel  <triegel@redhat.com>
15934         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
15935         of atomic_compare_and_exchange_bool_rel.
15936         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
15937         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
15938         catomic_compare_and_exchange_bool_rel): Remove.
15939         * sysdeps/aarch64/atomic-machine.h
15940         (atomic_compare_and_exchange_bool_rel): Likewise.
15941         * sysdeps/alpha/atomic-machine.h
15942         (atomic_compare_and_exchange_bool_rel): Likewise.
15943         * sysdeps/arm/atomic-machine.h
15944         (atomic_compare_and_exchange_bool_rel): Likewise.
15945         * sysdeps/mips/atomic-machine.h
15946         (atomic_compare_and_exchange_bool_rel): Likewise.
15947         * sysdeps/microblaze/atomic-machine.h
15948         ( __arch_compare_and_exchange_bool_8_rel,
15949         __arch_compare_and_exchange_bool_16_rel): Likewise.
15950         * sysdeps/powerpc/atomic-machine.h
15951         ( __arch_compare_and_exchange_bool_8_rel,
15952         __arch_compare_and_exchange_bool_16_rel): Likewise.
15953         * sysdeps/powerpc/powerpc32/atomic-machine.h
15954         ( __arch_compare_and_exchange_bool_32_rel,
15955         __arch_compare_and_exchange_bool_64_rel): Likewise.
15956         * sysdeps/powerpc/powerpc64/atomic-machine.h
15957         ( __arch_compare_and_exchange_bool_32_rel,
15958         __arch_compare_and_exchange_bool_64_rel): Likewise.
15959         * sysdeps/tile/atomic-machine.h
15960         (atomic_compare_and_exchange_bool_rel): Likewise.
15962 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
15964         [BZ #20296]
15965         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
15966         when either argument is a NaN.
15967         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
15968         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
15970         * math/libm-test.inc (snan_value_ld): New macro.
15971         (isgreater_test_data): Add sNaN tests.
15972         (isgreaterequal_test_data): Likewise.
15973         (isless_test_data): Likewise.
15974         (islessequal_test_data): Likewise.
15975         (islessgreater_test_data): Likewise.
15976         (isunordered_test_data): Likewise.
15977         (nextafter_test_data): Likewise.
15978         (nexttoward_test_data): Likewise.
15979         (remainder_test_data): Likewise.
15980         (remquo_test_data): Likewise.
15981         (significand_test_data): Likewise.
15982         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
15984 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15986         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
15987         environment macros are defined.
15988         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
15990 2016-06-23  Florian Weimer  <fweimer@redhat.com>
15992         [BZ #20191]
15993         Implement vtable verification in libio.
15994         * Makerules (shlib.lds): Place __libc_IO_vtables section.
15995         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
15996         * debug/vdprintf_chk.c (__vdprintf_chk): Call
15997         _IO_new_file_init_internal instead of _IO_file_init.
15998         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
15999         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
16000         * libio/Makefile (routines): Add vtables.
16001         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
16002         (_IO_init): Remove, not for internal use.
16003         (_IO_init_internal): Declare, internal replacement for _IO_init.
16004         (_IO_file_init): Remove, not for internal use.
16005         (_IO_new_file_init): Remove, not for internal use.
16006         (_IO_new_file_init_internal): Declare, internal replacement for
16007         _IO_new_file_init.
16008         (_IO_old_file_init): Remove, not for internal use.
16009         (_IO_old_file_init_internal): Declare, internal replacement for
16010         _IO_old_file_init.
16011         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
16012         internal use.
16013         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
16014         Declare.
16015         (libio_vtable): New macro.
16016         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
16017         functions.
16018         * libio/fileops.c (_IO_new_file_init_internal): Rename from
16019         _IO_new_file_init.
16020         (_IO_new_file_init): New externally visible wrapper which disables
16021         vtable verification.
16022         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
16023         Define as vtables.
16024         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
16025         (_IO_init): New externally visible wrapper which disables
16026         vtable verification.
16027         * libio/iofdopen.c (_IO_new_fdopen): Call
16028         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
16029         comment.
16030         * libio/iofopen.c (__fopen_internal): Call
16031         _IO_new_file_init_internal instead of _IO_file_init.
16032         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
16033         Define as vtables.
16034         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
16035         _IO_new_file_init_internal instead of _IO_file_init.
16036         * libio/iopopen.c (_IO_new_popen): Likewise.
16037         (_IO_proc_jumps): Define as vtable.
16038         * libio/iovdprintf.c (_IO_vdprintf): Call
16039         _IO_new_file_init_internal instead of _IO_file_init.
16040         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
16041         (__open_memstream): Call _IO_init_internal instead of _IO_init.
16042         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
16043         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
16044         _IO_old_file_init.
16045         (_IO_old_file_init): New externally visible wrapper which disables
16046         vtable verification.
16047         (_IO_old_file_jumps): Define as vtable.
16048         * libio/oldiofdopen.c (_IO_old_fdopen): Call
16049         _IO_old_file_init_internal instead of _IO_old_file_init.
16050         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
16051         * libio/oldiopopen.c (_IO_old_popen): Likewise.
16052         (_IO_old_proc_jumps): Define as vtable.
16053         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
16054         Define as vtables.
16055         * libio/vtables.c: New file.
16056         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
16057         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
16058         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
16059         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
16060         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
16061         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
16062         instead of _IO_init.
16064 2016-06-23  Florian Weimer  <fweimer@redhat.com>
16066         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
16068 2016-06-23  Florian Weimer  <fweimer@redhat.com>
16070         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
16071         potentially unused.
16073 2016-06-22  Florian Weimer  <fweimer@redhat.com>
16075         * test-skeleton.c (write_message): New function.
16076         * malloc/tst-mallocfork2.c (write_message): Remove.
16077         * debug/tst-longjmp_chk2.c (write_indented): New function.
16078         (write_message): Remove.
16079         (stackoverflow_handler): Call write_indented.
16081 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
16083         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
16084         "inexact" exceptions after fnstenv.
16085         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
16086         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
16087         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
16089 2015-06-22  Zack Weinberg  <zackw@panix.com>
16091         * sysdeps/generic/bits/hwcap.h: Moved to ...
16092         * bits/hwcap.h: Here.
16094 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
16096         * sysdeps/aarch64/memcpy.S (memcpy):
16097         Further tuning for performance.
16099 2016-06-21  Florian Weimer  <fweimer@redhat.com>
16101         [BZ #20284]
16102         * malloc/arena.c (reused_arena): Do not return NULL if we start
16103         out with a non-corrupted arena.
16105 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16107         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
16108         * misc/tst-preadvwritev.c: New file.
16109         * misc/tst-preadvwritev64.c: Likewise.
16110         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
16111         usage.
16112         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
16113         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
16114         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
16115         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
16117 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
16119         [BZ #19654]
16120         * sysdeps/x86_64/fpu/Makefile: Added new tests.
16121         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
16122         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
16123         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
16124         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
16125         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
16126         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
16127         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
16128         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
16129         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
16130         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
16131         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
16132         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
16133         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
16134         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
16135         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
16136         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
16137         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
16138         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
16139         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
16140         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
16141         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
16142         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
16143         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
16144         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
16145         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
16147 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
16149         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
16150         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
16152 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
16154         * sysdeps/aarch64/memcpy.S (memcpy):
16155         Rewrite of optimized memcpy and memmove.
16156         * sysdeps/aarch64/memmove.S (memmove): Remove
16157         memmove code (merged into memcpy.S).
16159 2016-06-20  Florian Weimer  <fweimer@redhat.com>
16161         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
16162         * sysdeps/generic/dl-dtv.h: New file.
16163         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16164         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
16165         (dtv_t): Remove.
16166         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16167         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
16168         (dtv_t): Remove.
16169         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16170         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
16171         (dtv_t): Remove.
16172         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16173         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
16174         (dtv_t): Remove.
16175         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16176         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
16177         (dtv_t): Remove.
16178         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16179         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
16180         (dtv_t): Remove.
16181         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16182         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
16183         (dtv_t): Remove.
16184         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
16185         (dtv_t): Remove.
16186         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16187         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
16188         (dtv_t): Remove.
16189         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16190         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
16191         (dtv_t): Remove.
16192         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16193         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
16194         (dtv_t): Remove.
16195         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16196         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
16197         (dtv_t): Remove.
16198         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16199         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
16200         (dtv_t): Remove.
16201         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16202         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
16203         (dtv_t): Remove.
16204         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16205         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
16206         (dtv_t): Remove.
16207         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16208         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
16209         (dtv_t): Remove.
16211 2016-06-20  Florian Weimer  <fweimer@redhat.com>
16213         Revert symbol poisoning of  __malloc_initialize_hook.
16214         * include/stdc-predef.h (__malloc_initialize_hook): Remove
16215         poisoning.
16216         * malloc/Makefile: Remove un-poisoning.
16217         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
16218         instead of old__malloc_initialize_hook.
16219         * malloc/malloc-hooks.h: Likewise.
16220         * malloc/malloc.c: Likewise.
16221         * malloc/mcheck-init.c: Likewise.
16223 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
16225         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
16227 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
16229         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
16230         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
16231         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
16232         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
16234 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16236         * NEWS: Mention addition of nextup and nextdown.
16237         * manual/arith.texi: Document nextup and nextdown.
16238         * manual/libm-err-tab.pl: Add nextup and nextdown.
16239         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
16240         * math/Versions (libm): Add GLIBC_2.24.
16241         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
16242         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
16243         Add new test.
16244         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
16245         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
16246         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
16247         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
16248         (nextup_test_data): Likewise.
16249         (nextdown_test_data): Likewise.
16250         * math/s_nextdown.c: New file.
16251         * math/s_nextdownf.c: Likewise.
16252         * math/s_nextdownl.c: Likewise.
16253         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
16254         F(nextup): New function.
16255         F(nextdown): Likewise.
16256         * math/tgmath.h: Add nextup and nextdown.
16257         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
16258         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
16259         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
16260         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
16261         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
16262         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
16263         Add nextup and nextdown.
16264         (CFLAGS-nldbl-nextup.c): New variable.
16265         (CFLAGS-nldbl-nextdown.c): Likewise.
16266         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
16267         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
16268         * sysdeps/nacl/libm.abilist: Update.
16269         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16270         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16271         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16272         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16273         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16274         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16275         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16276         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16277         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16278         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16279         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16280         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16283         Likewise.
16284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16286         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16287         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16288         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16289         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16290         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16291         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
16292         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
16293         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16294         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16295         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
16296         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16298 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16300         * manual/pattern.texi: Fix typos & grammar errors.
16302 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16304         * manual/search.texi: Fix typos & grammar errors.
16306 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16308         * manual/message.texi: Fix typos & grammar errors.
16310 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
16312         * manual/contrib.texi: Fix spelling typos.
16313         * manual/crypt.texi: Likewise.
16314         * manual/filesys.texi: Likewise.
16315         * manual/locale.texi: Likewise.
16316         * manual/message.texi: Likewise.
16317         * manual/nss.texi: Likewise.
16318         * manual/string.texi: Likewise.
16320 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16322         * manual/locale.texi: Fix typos & grammar errors.
16324 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16326         * manual/charset.texi: Fix typos & grammar errors.
16328 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16330         * manual/string.texi: Fix typos.
16332 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16334         * manual/ctype.texi: Fix typos.
16336 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16338         * manual/memory.texi: Fix various typos & grammar errors.
16340 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
16342         [BZ #20255]
16343         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
16344         * math/libm-test.inc (fdim_test_data): Add another test.
16346         [BZ #6796]
16347         [BZ #20255]
16348         [BZ #20256]
16349         * math/s_fdim.c: Include <math_private.h>.
16350         (__fdim): Use math_narrow_eval on result.
16351         * math/s_fdimf.c: Include <math_private.h>.
16352         (__fdimf): Use math_narrow_eval on result.
16353         * sysdeps/i386/fpu/s_fdim.S: Remove file.
16354         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
16355         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
16356         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
16357         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
16358         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
16359         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
16360         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
16361         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
16362         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
16363         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
16364         * math/libm-test.inc (fdim_test_data): Expect errno setting on
16365         overflow.  Add sNaN tests.
16367         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
16368         fpclassify.
16369         * math/s_fdimf.c (__fdimf): Likewise.
16370         * math/s_fdiml.c (__fdiml): Likewise.
16372 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16374         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16375         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
16376         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16377         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
16378         ifunc'ed strcasecmp/strncasecmp.
16379         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
16380         [EALIGN]: Removed.
16381         [END]: Likewise.
16382         [__strcasecmp]: Define instead of the above to control symbol name.
16383         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
16384         for __strcasecmp_power8.
16385         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
16386         for __strncasecmp_power8.
16387         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
16388         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
16389         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
16390         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
16391         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
16392         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
16394 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
16396         [BZ #20252]
16397         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
16398         arguments when second argument is a NaN.
16399         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
16400         qNaN tests.
16402         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
16403         (conj_test_data): Likewise.
16404         (copysign_test_data): Likewise.
16405         (creal_test_data): Likewise.
16406         (fma_test_data): Likewise.
16407         (fmod_test_data): Likewise.
16409         [BZ #20250]
16410         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
16411         itself.
16412         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
16413         zero input to itself.
16414         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
16415         Likewise.
16416         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
16417         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
16418         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16419         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
16420         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
16422 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16424         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
16425         * nptl/tst-cancel4-common.c: New file.
16426         * nptl/tst-cancel4-common.h: Likewise.
16427         * nptl/tst-cancel4.c: Move common definitions to
16428         tst-cancel4-common.{c,h} file.
16429         * nptl/tst-cancel4_1.c: New test.
16430         * nptl/tst-cancel4_2.c: New test.
16432 2016-06-13  Florian Weimer  <fweimer@redhat.com>
16434         [BZ #20248]
16435         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
16436         (write_message): New function.
16437         (stackoverflow_handler): Call it instead of printf, to avoid
16438         excessive stack usage by printf.
16439         (do_test): Restore SIGSEGV, SIGBUS default handlers.
16441 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16443         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
16444         (prio_inherit_missing): Remove define.
16445         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16446         (__ASSUME_FUTEX_LOCK_PI): Likewise.
16447         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
16448         Likewise.
16449         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16450         (__ASSUME_FUTEX_LOCK_PI): Likewise.
16451         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16452         (__ASSUME_FUTEX_LOCK_PI): Likewise.
16453         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16454         (__ASSUME_FUTEX_LOCK_PI): Likewise.
16456 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
16458         [BZ #19670]
16459         [BZ #19672]
16461         * io/test-lfs.c (do_prepare): Use xmalloc.
16462         * io/tst-fcntl.c (do_prepare): Likewise.
16463         * libio/tst-fopenloc.c (do_bz17916): Likewise.
16464         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
16465         * login/tst-utmp.c (do_prepare): Likewise.
16466         * posix/tst-exec.c (do_prepare): Likewise.
16467         * posix/tst-pathconf.c (prepare): Likewise.
16468         * posix/tst-spawn.c (do_prepare): Likewise.
16469         * posix/tst-truncate.c (do_prepare): Likewise.
16470         * rt/tst-aio.c (do_prepare): Likewise.
16471         * rt/tst-aio64.c (do_prepare): Likewise.
16473 2016-06-11  Florian Weimer  <fweimer@redhat.com>
16475         [BZ #20237]
16476         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
16477         (get*ent): Set entidx to NULL during initialization.  If entidx is
16478         NULL, start iteration from the beginning.
16480 2016-06-11  Florian Weimer  <fweimer@redhat.com>
16482         * malloc/malloc.c (musable): Return correct size for dumped fake
16483         mmapped chunk.
16485 2016-06-11  Florian Weimer  <fweimer@redhat.com>
16487         [BZ #20222]
16488         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
16489         (_IO_cookie_write): Likewise.
16490         (_IO_cookie_seek): Likewise.
16491         (_IO_cookie_close): Likewise.
16492         (_IO_old_cookie_seek): Likewise.
16493         (set_callbacks): New function.
16494         (_IO_cookie_init): Call set_callbacks to copy callbacks.
16496 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
16498         * locale/programs/localedef.c (oldstyle_tables): Remove.
16499         * locale/programs/localedef.h (oldstyle_tables): Likewise.
16501 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
16503         [BZ #20240]
16504         * math/Makefile (CFLAGS-s_modf.c): New variable.
16505         (CFLAGS-s_modff.c): Likewise.
16506         (CFLAGS-s_modfl.c): Likewise.
16507         * math/libm-test.inc (modf_test_data): Add sNaN tests.
16509 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
16511         [BZ #20215]
16512         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
16513         [!__GNUC_PREREQ (3,2)]: Likewise.
16515 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
16517         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
16518         (msghdr.msg_controllen): Likewise.
16519         (cmsghdr.cmsg_len): Likewise.
16520         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
16521         ptw-oldsendmsg.
16522         (CFLAGS-oldrecvmsg.c): Remove rule.
16523         (CFLAGS-oldsendmsg.c): Likewise.
16524         (CFLAGS-recvmsg.c): Add rule.
16525         (CFLAGS-sendmsg.c): Likewise.
16526         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
16527         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
16528         (CFLAGS-recvmsg.c): Remove rule.
16529         (CFLAGS-sendmsg.c): Likewise.
16530         (CFLAGS-oldrecvmsg.c): Likewise.
16531         (CFLAGS-oldsendmsg.c): Likewise.
16532         (CFLAGS-recvmmsg.c): Likewise.
16533         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
16534         to kernel defined interfaces.
16535         (msghdr.msg_controllen): Likewise.
16536         (cmsghdr.cmsg_len): Likewise.
16537         (msghdr.__glibc_reserved1): Remove member.
16538         (msghdr.__glibc_reserved2): Likewise.
16539         (cmsghdr.__glibc_reserved1): Likewise.
16540         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
16541         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
16542         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
16543         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
16544         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
16545         version.
16546         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
16547         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
16548         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
16549         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
16550         Remove recvmsg and sendmsg.
16551         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
16552         Likewise.
16553         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
16554         Likewise.
16555         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
16556         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
16557         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
16558         Likewise.
16559         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
16560         Likewise.
16561         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
16562         [libc] (GLIBC_2.24): Likewise.
16563         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
16564         Likewise.
16565         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
16566         Likewise.
16567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
16568         [libc] (GLIBC_2.24): Likewise.
16569         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
16570         Likewise.
16571         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
16572         Likewise.
16573         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
16574         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
16575         Likewise.
16576         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
16577         Likewise.
16578         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
16579         Likewise.
16580         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
16581         Likewise.
16582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
16583         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
16584         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
16585         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
16586         version for {recv,send,recm,sendm}msg.
16587         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16588         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
16589         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16590         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
16591         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16592         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16593         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16594         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16595         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16596         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16597         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16598         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
16600         Likewise.
16601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16602         Likewise.
16603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16605         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16606         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16607         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16608         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16609         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16610         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16611         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
16612         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
16613         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16614         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16615         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16617 2016-06-10  Florian Weimer  <fweimer@redhat.com>
16619         [BZ #19564]
16620         Remove __malloc_initialize_hook from the API.
16621         * malloc/malloc.h (__malloc_initialize_hook): Remove.
16622         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
16623         #pragma GCC poison.
16624         * malloc/malloc-hooks.h: New file.
16625         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
16626         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
16627         (old__malloc_initialize_hook): Rename from
16628         __malloc_initialize_hook to evade poisoning.  Turn into compat
16629         symbol.
16630         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
16631         __malloc_initialize_hook.
16632         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
16633         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
16634         * manual/memory.texi (Hooks for Malloc): Remove
16635         __malloc_initialize_hook.  Adjust hook example.
16637 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
16639         [BZ #20235]
16640         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
16641         itself.
16642         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
16643         * math/libm-test.inc (log2_test_data): Add sNaN tests.
16645         [BZ #20234]
16646         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
16647         infinity or NaN input to itself.
16649         [BZ #20233]
16650         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
16651         to itself.
16653         [BZ #20232]
16654         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
16655         itself.
16657 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
16659         * sysdeps/x86_64/start.S (_start): Always indirect branch to
16660         __libc_start_main via GOT.
16662 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
16664         * sysdeps/x86_64/memcopy.h: New file.
16665         * sysdeps/x86_64/wordcopy.c: Likewise.
16667 2016-06-09  Florian Weimer  <fweimer@redhat.com>
16669         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
16670         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
16671         <cstdlib>.
16672         (optimization_barrier): New.
16673         (do_test): Use it.  Call quick_exit in the global namespace.
16674         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
16675         instead of <cstdlib>, <thread>.
16676         (optimization_barrier): New.
16677         (non_main_thread): Adjust declaration.  Call optimization_barrier.
16678         Call quick_exit in the global namespace.
16679         (do_test): Call optimization_barrier.  Use pthread_create,
16680         pthread_join instead of std::thread.
16682 2016-06-09  Andreas Schwab  <schwab@suse.de>
16684         [BZ #19755]
16685         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
16686         new entries in auto-propagate mode.
16687         * nscd/grpcache.c (cache_addgr): Likewise.
16689 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
16691         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
16692         New functions.
16693         (add_temp_file): Use them.
16695 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
16697         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
16699 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
16701         [BZ #20229]
16702         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
16703         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
16704         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
16706         [BZ #20228]
16707         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
16708         itself.
16709         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
16710         * math/libm-test.inc (log10_test_data): Add sNaN tests.
16712         [BZ #20227]
16713         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
16714         itself.
16715         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16716         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
16717         * math/libm-test.inc (log_test_data): Add sNaN tests.
16719         [BZ #20226]
16720         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
16721         itself.
16722         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
16723         * math/libm-test.inc (exp_test_data): Add sNaN tests.
16724         (exp10_test_data): Likewise.
16725         (expm1_test_data): Likewise.
16727         [BZ #20225]
16728         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
16729         itself.
16730         * math/s_ldexpf.c (__ldexpf): Likewise.
16731         * math/s_ldexpl.c (__ldexpl): Likewise.
16732         * math/w_scalbln.c (__w_scalbln): Likewise.
16733         * math/w_scalblnf.c (__w_scalblnf): Likewise.
16734         * math/w_scalblnl.c (__w_scalblnl): Likewise.
16735         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
16736         (scalbln_test_data): Likewise.
16738         [BZ #20224]
16739         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
16740         argument to itself.
16741         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
16743 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
16745         [BZ #19776]
16746         * sysdeps/x86_64/memcpy.S: Make it dummy.
16747         * sysdeps/x86_64/mempcpy.S: Likewise.
16748         * sysdeps/x86_64/memmove.S: New file.
16749         * sysdeps/x86_64/memmove_chk.S: Likewise.
16750         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
16751         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
16752         * sysdeps/x86_64/memmove.c: Removed.
16753         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
16754         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16755         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
16756         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
16757         Likewise.
16758         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16759         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16760         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16761         memcpy-sse2-unaligned, memmove-avx-unaligned,
16762         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
16763         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16764         (__libc_ifunc_impl_list): Replace
16765         __memmove_chk_avx512_unaligned_2 with
16766         __memmove_chk_avx512_unaligned.  Remove
16767         __memmove_chk_avx_unaligned_2.  Replace
16768         __memmove_chk_sse2_unaligned_2 with
16769         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
16770         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
16771         with __memmove_avx512_unaligned.  Replace
16772         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
16773         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
16774         with __memcpy_chk_avx512_unaligned.  Remove
16775         __memcpy_chk_avx_unaligned_2.  Replace
16776         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
16777         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
16778         Replace __memcpy_avx512_unaligned_2 with
16779         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
16780         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
16781         with __mempcpy_chk_avx512_unaligned.  Remove
16782         __mempcpy_chk_avx_unaligned_2.  Replace
16783         __mempcpy_chk_sse2_unaligned_2 with
16784         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
16785         Replace __mempcpy_avx512_unaligned_2 with
16786         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
16787         Replace __mempcpy_sse2_unaligned_2 with
16788         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
16789         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
16790         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
16791         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
16792         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
16793         (ENTRY): Removed.
16794         (END): Likewise.
16795         (ENTRY_CHK): Likewise.
16796         (libc_hidden_builtin_def): Likewise.
16797         Don't include ../memcpy.S.
16798         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
16799         __memcpy_chk_avx512_unaligned_erms and
16800         __memcpy_chk_avx512_unaligned.  Use
16801         __memcpy_chk_avx_unaligned_erms and
16802         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
16803         Default to __memcpy_chk_sse2_unaligned.
16804         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16805         Change function suffix from unaligned_2 to unaligned.
16806         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
16807         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
16808         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
16809         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
16810         (ENTRY): Removed.
16811         (END): Likewise.
16812         (ENTRY_CHK): Likewise.
16813         (libc_hidden_builtin_def): Likewise.
16814         Don't include ../mempcpy.S.
16815         (mempcpy): New.  Add a weak alias.
16816         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
16817         __mempcpy_chk_avx512_unaligned_erms and
16818         __mempcpy_chk_avx512_unaligned.  Use
16819         __mempcpy_chk_avx_unaligned_erms and
16820         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
16821         Default to __mempcpy_chk_sse2_unaligned.
16823 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
16825         [BZ #19881]
16826         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
16827         into ...
16828         * sysdeps/x86_64/memset.S: This.
16829         (__bzero): Removed.
16830         (__memset_tail): Likewise.
16831         (__memset_chk): Likewise.
16832         (memset): Likewise.
16833         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
16834         defined.
16835         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
16836         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
16837         (__memset_zero_constant_len_parameter): Check SHARED instead of
16838         PIC.
16839         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16840         memset-avx2 and memset-sse2-unaligned-erms.
16841         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16842         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
16843         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
16844         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
16845         (__bzero): Enabled.
16846         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
16847         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
16848         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
16849         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
16850         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
16851         (memset): Removed.
16852         (__memset_chk): Likewise.
16853         (MEMSET_SYMBOL): New.
16854         (libc_hidden_builtin_def): Replace __memset_sse2 with
16855         __memset_sse2_unaligned.
16856         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
16857         __memset_chk_sse2 and __memset_chk_avx2 with
16858         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
16859         Use __memset_chk_sse2_unaligned_erms or
16860         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
16861         __memset_chk_avx512_unaligned_erms and
16862         __memset_chk_avx512_unaligned.
16864 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16866         * math/gen-auto-libm-test.c (fp_format_desc): remove
16867         suffix member.
16868         (output_generic_value): Remove usage of suffix member,
16869         and the resulting unuse of the fp_format argument.
16870         (output_for_one_input_case): Remove unused fp_format
16871         parameter.
16873         * math/auto-libm-test-out: Regenerate.
16875         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
16876         usage with TEST_COND_ibm128.
16877         (TEST_COND_flt_32): Remove.
16878         (TEST_COND_dbl_64): Remove.
16879         (TEST_COND_ldbl_96_intel): Remove.
16880         (TEST_COND_ldbl_96_m68k): Remove.
16881         (TEST_COND_ldbl_128): Remove.
16883 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16885         * auto-libm-test-in:
16886         Replace flt-32 usage with binary32.
16887         Replace dbl-64 usage with binary64.
16888         Replace ldbl-intel-96 usage with intel96.
16889         Replace ldbl-m68k-96 usage with m68k96.
16890         Replace ldbl-128ibm usage with ibm128.
16891         Replace ldbl-128 usage with binary128.
16893         * auto-libm-test-out: Regenerate.
16895 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16897         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
16898         (parse_ulps): Dynamically generate type name matching
16899         string from all_floats.
16900         (get_ulps): Generate the ulps as an array instead.
16901         (output_ulps): Dynamically compose the type based
16902         on the number of supported formats, and print
16903         the indices as type specific helper macros.
16905         * math/libm-test.inc: Remove comment about CHOOSE.
16906         (ulp_data): Generate the type in libm-test-ulps.h.
16907         (ULP_IDX): New macro.
16908         (find_ulps): Update usage of max_ulp.
16910         * math/test-double-vlen2.h (CHOOSE): Remove.
16911         * math/test-double-vlen4.h (CHOOSE): Likewise.
16912         * math/test-double-vlen8.h (CHOOSE): Likewise.
16913         * math/test-float.c (CHOOSE): Likewise.
16914         * math/test-float-finite.c (CHOOSE): Likewise.
16915         * math/test-double.c (CHOOSE): Likewise.
16916         * math/test-double-finite.c (CHOOSE): Likewise.
16917         * math/test-idouble.c (CHOOSE): Likewise.
16918         * math/test-ifloat.c (CHOOSE): Likewise.
16919         * math/test-ildoubl.c (CHOOSE): Likewise.
16920         * math/test-ldouble-finite.c (CHOOSE): Likewise.
16921         * math/test-ldouble.c (CHOOSE): Likewise.
16923         * math/test-float.h (TEST_FLOAT): Remove.
16924         * math/test-double.h (TEST_DOUBLE): Likewise.
16925         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
16927 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16929         * math/gen-libm-test.pl: (apply_lit): New subroutine.
16930         (parse_args): Strip C suffix from floating point literals
16931         typed with 'f' and wrap them with LIT().
16933         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
16934         (test_ff_f_data_nexttoward): Rename to
16935         (test_fj_f_data): New struct.
16936         (nexttoward_test_data): Relabel tests as
16937         TEST_fj_f instead of TEST_ff_f.
16939 2016-06-08  Florian Weimer  <fweimer@redhat.com>
16941         Emacs bug 23726.
16942         * malloc/malloc.c (dumped_main_arena_start): Update comment.
16943         (__libc_realloc): Correct size computation for dumped fake mmapped
16944         chunks.
16946 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
16948         [BZ #20219]
16949         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
16950         to itself.
16951         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
16953         [BZ #20218]
16954         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
16955         to itself.
16956         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
16958 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
16960         [BZ #20195]
16961         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
16962         check to ...
16963         (init_cpu_features): Here.
16965 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
16967         [BZ #20214]
16968         * sysdeps/unix/sysv/linux/bits/in.h
16969         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
16970          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
16971         Define to 1.
16972         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
16973          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
16974         Define to 0.
16975         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
16976         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
16978 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
16980         [BZ #20198]
16981         * stdlib/Makefile (tests): Add tst-quick_exit, and
16982         tst-thread-quick_exit.
16983         [ifeq ($(have-cxx-thread_local),yes)]
16984         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
16985         (CFLAGS-tst-thread-quick_exit.o): Likewise.
16986         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
16987         (LDLIBS-tst-thread-quick_exit): Likewise.
16988         [ifneq ($(have-cxx-thread_local),yes)]
16989         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
16990         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
16991         If run_dtors is true call __call_tls_dtors.
16992         (exit): Call __run_exit_handlers with run_dtors set to true.
16993         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
16994         definition.
16995         * stdlib/quick_exit.c (quick_exit): Remove function.
16996         (__new_quick_exit): New function.
16997         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
16998         function.
16999         * stdlib/tst-quick_exit.cc: New file.
17000         * stdlib/tst-thread-quick_exit.cc: New file.
17001         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
17002         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
17003         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
17004         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
17005         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
17006         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
17007         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
17008         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
17009         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
17010         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
17011         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
17012         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
17013         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
17014         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
17015         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
17016         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
17017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
17018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
17019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
17020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
17021         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
17022         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
17023         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
17024         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
17025         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
17026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
17027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
17028         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
17029         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
17030         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
17032 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
17034         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
17035         a typo in comments.
17037 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
17039         [BZ #20213]
17040         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
17041         argument to itself.
17042         * math/libm-test.inc (asin_test_data): Add sNaN tests.
17044 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17046         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
17047         required flags.
17048         (CFLAGS-pwritev64.c): Likewise.
17049         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
17050         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
17051         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
17052         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17053         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
17054         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
17055         syscall from auto-generation.
17056         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
17057         [WORDSIZE == 64] (pwritev64): Remove macro.
17058         [!PWRITEV] (PWRITEV): Likewise.
17059         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
17060         [!PWRITEV] (PWRITE): Likewise.
17061         [!PWRITEV] (OFF_T): Likewise.
17062         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
17063         (LO_HI_LONG): Remove macro.
17064         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
17065         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
17066         (PWRITEV): Remove macro.
17067         (PWRITEV_REPLACEMENTE): Likewise.
17068         (PWRITE): Likewise.
17069         (OFF_T): Likewise.
17070         (pwritev64): New function.
17071         * nptl/tst-cancel4.c (tf_writev): Add test.
17073         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
17074         required flags.
17075         (CFLAGS-preadv64.c): Likewise.
17076         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
17077         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
17078         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
17079         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
17080         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
17081         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
17082         syscall from auto-generation.
17083         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
17084         [WORDSIZE == 64] (preadv64): Remove macro.
17085         [!PREADV] (PREADV): Likewise.
17086         [!PREADV] (PREADV_REPLACEMENT): Likewise.
17087         [!PREADV] (PREAD): Likewise.
17088         [!PREADV] (OFF_T): Likewise.
17089         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
17090         (LO_HI_LONG): Remove macro.
17091         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
17092         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
17093         (PREADV): Remove macro.
17094         (PREADV_REPLACEMENTE): Likewise.
17095         (PREAD): Likewise.
17096         (OFF_T): Likewise.
17097         (preadv64): New function.
17098         * nptl/tst-cancel4.c (tf_preadv): Add test.
17100 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
17102         [BZ #20212]
17103         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
17104         argument to itself.
17105         * math/libm-test.inc (acos_test_data): Add sNaN tests.
17107 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17109         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
17110         New symbol defined as libc_hidden_def.
17111         (strcasestr): Became a weak alias to __strcasestr.
17112         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
17113         according to multi-arch support.  Move __stpncpy hidden
17114         definition from here to...
17115         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
17116         symbol stpncpy.
17117         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
17118         libc_hidden_builtin_def.
17119         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
17120         memset symbol to use when multi-arch support is available.
17122 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
17124         * dlfcn/tst-rec-dlopen.c: Include string.h.
17126 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17128         * manual/install.texi: Remove mention of --without-tls
17129         * INSTALL: Regenerate.
17131 2016-06-05  Florian Weimer  <fweimer@redhat.com>
17133         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
17134         Remove.
17135         (call_function, interposed_malloc_called): New variables.
17136         (malloc): New function.
17137         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
17138         and clear call_function as needed.
17140 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
17142         * include/wchar.h (__wmemset): Use __typeof.
17144 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
17146         * include/wchar.h (__wmemset): Declare function without typeof.
17148 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
17150         [BZ #20205]
17151         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
17152         exponent when incrementing negative subnormal with low mantissa
17153         word zero.
17154         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
17155         Add another test.
17157 2016-06-03  Florian Weimer  <fweimer@redhat.com>
17159         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
17160         __wmemset instead of wmemset.
17162 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
17164         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
17165         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
17166         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
17167         __USE_KERNEL_IPV6_DEFS to 0.
17168         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
17169         Update comment.
17171 2016-06-01  Florian Weimer  <fweimer@redhat.com>
17173         [BZ #19861]
17174         Do not use IFUNC resolver with potentially unrelocated symbol.
17175         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
17176         (DEFINE_FORK): Remove macro and inline definition.
17177         (fork_alias): Renamed from fork_ifunc.
17178         (__fork_alias): Renamed from __fork_ifunc.
17180 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
17182         [BZ 19653]
17183         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
17184         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
17186 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17188         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
17189         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
17190         i386-linux-gnu).
17191         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
17192         Set to no.
17193         * sysdeps/mach/hurd/configure: Refresh.
17195 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17197         [BZ #20178]
17198         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
17199         on failure instead of exit.
17201 2016-05-30  Roland McGrath  <roland@hack.frob.com>
17203         [BZ #3629]
17204         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
17205         of POSIX.1-2008.
17207 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17209         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
17210           Use PLT entry for calling _hurd_self_sigstate.
17212 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
17214         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
17215         available logical processors with SMT level type sharing L2
17216         cache for Intel processors.
17218 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
17220         [BZ #20160]
17221         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
17222         argument to itself before returning the result.
17223         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
17224         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
17225         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
17226         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
17227         Likewise.
17228         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
17229         Likewise.
17230         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
17231         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
17232         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
17233         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
17234         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
17235         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
17237         [BZ #20160]
17238         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
17239         argument to itself before returning the result.
17240         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
17241         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
17242         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
17243         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
17244         Likewise.
17245         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
17246         Likewise.
17247         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
17248         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
17249         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
17250         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
17251         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
17252         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
17254 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17256         * libm-test.inc: Replace usage of M_El with
17257         (lit_e): New macro.
17259 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17261         * libm-test.inc: Replace usage of M_PI_4l with
17262         (lit_pi_4_d): New macro.
17264 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17266         * libm-test.inc: Replace usage of M_PIl with
17267         (lit_pi): New macro.
17269 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17271         * libm-test.inc: Replace usage of M_PI2l with
17272         (lit_pi_2_d): New macro.
17274         * math/test-double.h (LITM): New macro.
17275         * math/test-float.h (LITM): Likewise.
17276         * math/test-ldouble.h (LITM): Likewise.
17278 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17280         * libm-test.inc (M_PI_34l): Rename to
17281         (lit_pi_3_m_4_d): New Macro.
17282         (M_PI_34_LOG10El): Rename to
17283         (lit_pi_3_m_4_ln10_m_d): New Macro.
17284         (M_PI2_LOG10El): Rename to
17285         (lit_pi_2_ln10_m_d):  New Macro.
17286         (M_PI4_LOG10El): Rename to
17287         (lit_pi_4_ln10_m_d):  New Macro.
17288         (M_PI_LOG10El): Rename to
17289         (lit_pi_ln10_d):  New Macro.
17291 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
17293         [BZ #20157]
17294         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
17295         determine whether to negate low half if [_ARCH_PPCGR], and integer
17296         comparison otherwise.
17297         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
17298         determine whether to negate low half.
17300         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
17301         (NO_TEST_INLINE_DOUBLE): Likewise.
17302         (TEST_COND_x86_64): Likewise.
17303         (TEST_COND_x86): Likewise.
17304         (M_PI_6l): Likewise.
17306 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17308         * math/libm-test.inc:
17309         (TEST_FLOAT): Change usage to TEST_COND_binary32.
17310         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
17311         (TEST_LDOUBLE): Update usage to evaluate as true if
17312         the guarded tests match the property being tested.
17313         (LDBL_MAX_EXP): Change to MAX_EXP.
17314         (LDBL_MIN_EXP): Change to MIN_EXP.
17315         (LDBL_MANT_DIG): Change to MANT_DIG, except for
17316         nexttoward tests.
17318 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17320         * math/libm-test.inc:
17321         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
17322         (TYPE_MIN): Likewise.
17323         (TYPE_TRUE_MIN): Likewise.
17324         (TYPE_MAX): Likewise.
17325         (MIN_EXP): Likewise.
17326         (MAX_EXP): Likewise.
17327         (MANT_DIG): Likewise.
17329         (FSTR_MAX): New macro.
17330         (__CONCATX): Likewise.
17331         (QTYPE_STR): Likewise.
17332         (TEST_COND_binary32): Likewise.
17333         (TEST_COND_binary64): Likewise.
17334         (TEST_COND_binary128): Likewise.
17335         (TEST_COND_ibm128): Likewise.
17336         (TEST_COND_intel96): Likewise.
17337         (TEST_COND_m68k96): Likewise.
17339         (TEST_COND_flt_32): Redefine as equivalent format test macro.
17340         (TEST_COND_dbl_64): Likewise.
17341         (TEST_COND_ldbl_96_intel): Likewise.
17342         (TEST_COND_ldbl_96_m68k): Likewise.
17343         (TEST_COND_ldbl_128): Likewise.
17344         (TEST_COND_ldbl_128ibm): Likewise.
17346         (plus_zero): Redefine using LIT macro.
17347         (minus_zero): Likewise.
17348         (plus_infty): Redefine as (INF).
17349         (minux_infty): Redefine as (-INF).
17350         (max_value): Redefine as TYPE_MAX.
17351         (min_value): Redefine as TYPE_MIN.
17352         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
17354         (print_float): Refactor to use snprintf to convert FLOAT values
17355         to string. This brings it closer to dropin replacement of strtof
17356         for the TS 18661 defined types.
17357         (update_stats): Likewise.
17358         (print_complex_function_ulps): Likewise.
17359         (print_max_error): Likewise.
17360         (print_complex_max_error): Likewise.
17361         (check_float_internal): Likewise.
17363         * math/test-float.h (PREFIX): New macro.
17364         (LIT): Likewise.
17365         (TYPE_STR): Likewise.
17366         (FTOSTR): Likewise.
17368         * math/test-double.h (PREFIX): New macro.
17369         (LIT): Likewise.
17370         (TYPE_STR): Likewise.
17371         (FTOSTR): Likewise.
17373         * math/test-ldouble.h (PREFIX): New macro.
17374         (LIT): Likewise.
17375         (TYPE_STR): Likewise.
17376         (FTOSTR): Likewise.
17378 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
17380         [BZ #20156]
17381         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
17382         to itself when zero or not finite.
17383         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
17384         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
17385         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
17386         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
17388 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
17390         [BZ #20153]
17391         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
17392         x * x + x for infinities and NaNs.
17394         [BZ #20151]
17395         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
17396         argument to itself before returning result.
17397         (__ieee754_y0l): Likewise.
17398         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17399         (__ieee754_y1l).
17401         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
17402         (atan_test_data): Likewise.
17403         (ceil_test_data): Likewise.
17404         (cos_test_data): Likewise.
17405         (cosh_test_data): Likewise.
17406         (erf_test_data): Likewise.
17407         (exp2_test_data): Likewise.
17408         (fabs_test_data): Likewise.
17409         (floor_test_data): Likewise.
17410         (ilogb_test_data): Likewise.
17411         (j0_test_data): Likewise.
17412         (j1_test_data): Likewise.
17413         (jn_test_data): Likewise.
17414         (lgamma_test_data): Likewise.
17415         (lrint_test_data): Likewise.
17416         (llrint_test_data): Likewise.
17417         (logb_test_data): Likewise.
17418         (lround_test_data): Likewise.
17419         (llround_test_data): Likewise.
17420         (nearbyint_test_data): Likewise.
17421         (rint_test_data): Likewise.
17422         (round_test_data): Likewise.
17423         (sin_test_data): Likewise.
17424         (sincos_test_data): Likewise.
17425         (sinh_test_data): Likewise.
17426         (sqrt_test_data): Likewise.
17427         (tan_test_data): Likewise.
17428         (tanh_test_data): Likewise.
17429         (tgamma_test_data): Likewise.
17430         (trunc_test_data): Likewise.
17431         (y0_test_data): Likewise.
17432         (y1_test_data): Likewise.
17433         (yn_test_data): Likewise.
17435         * math/libm-test.inc: Update comment about NaN testing.
17436         (TEST_SNAN): New macro.
17437         (snan_value): Likewise.
17438         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
17439         (fpclassify_test_data): Add sNaN tests.
17440         (isfinite_test_data): Likewise.
17441         (isinf_test_data): Likewise.
17442         (isnan_test_data): Likewise.
17443         (isnormal_test_data): Likewise.
17444         (issignaling_test_data): Likewise.
17445         (signbit_test_data): Likewise.
17446         * math/gen-libm-test.pl (%beautify): Add snan_value.
17447         (show_exceptions): Add argument $test_snan.
17448         (parse_args): Handle snan_value as non-finite.  Update call to
17449         show_exceptions.
17450         * math/Makefile (libm-test-no-inline-cflags): Add
17451         -fsignaling-nans.
17453 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17455         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
17456         (CFLAGS-oldsendmsg.c): Add rule.
17457         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
17458         Correct recvmsg symbol name.
17459         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
17460         Likewise.
17462 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17464         * sysdeps/unix/sysv/linux/Makefile
17465         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
17466         oldsendmmsg.
17467         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
17468         sendmmsg.
17469         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17470         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17471         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17472         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
17473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
17474         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17475         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17476         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
17477         Likewise.
17478         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17479         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
17480         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
17481         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
17482         iovlen and controllen fields to adjust to POSIX specification.
17483         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17485         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
17486         and change to correct expected type.
17487         (msghdr.msg_controllen): Likewise.
17488         (cmsghdr.cmsg_len): Likewise.
17489         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
17490         expected POSIX assumption about the size.
17491         (msghdr.msg_controllen): Likewise.
17492         (msghdr.__glibc_reserved1): Likewise.
17493         (msghdr.__glibc_reserved2): Likewise.
17494         (cmsghdr.cmsg_len): Likewise.
17495         (cmsghdr.__glibc_reserved1): Likewise.
17496         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
17497         Add ptw-oldrecvmsg and ptw-oldsendmsg.
17498         (CFLAGS-sendmsg.c): Remove rule.
17499         (CFLAGS-recvmsg.c): Likewise.
17500         (CFLAGS-oldsendmsg.c): Add rule.
17501         (CFLAGS-oldrecvmsg.c): Likewise.
17502         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
17503         recvmsg and sendmsg.
17504         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
17505         Likewise.
17506         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
17507         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
17508         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
17509         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
17510         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
17511         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
17512         Likewise.
17513         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
17514         Likewise.
17515         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
17516         Likewise.
17517         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
17518         Likewise.
17519         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
17520         Likewise.
17521         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
17522         Likewise.
17523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
17524         (GLIBC_2.24): Likewise.
17525         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
17526         Likewise.
17527         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
17528         Likewise.
17529         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
17530         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
17531         Likewise.
17532         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
17533         Likewise.
17534         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
17535         Likewise.
17536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
17537         (GLIBC_2.24): Likewise.
17538         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
17539         Likewise.
17540         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
17541         Likewise.
17542         * sysdeps/unix/sysv/linux/Makefile
17543         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
17544         (CFLAGS-sendmsg.c): Add rule.
17545         (CFLAGS-recvmsg.c): Likewise.
17546         (CFLAGS-oldsendmsg.c): Likewise.
17547         (CFLAGS-oldrecvmsg.c): Likewise.
17548         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
17549         initialization.
17550         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
17551         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
17552         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
17553         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
17554         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
17555         iovlen and controllen fields to adjust to POSIX specification.
17556         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
17557         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
17558         added recvmsg and sendmsg.
17559         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17560         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17561         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17562         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17563         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17564         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17565         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17566         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17567         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
17568         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17569         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17570         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
17571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
17572         Likewise.
17573         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
17574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
17575         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
17576         Likewise.
17577         Likewise.
17578         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17579         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17580         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17581         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17582         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17583         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17584         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
17585         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
17587         Likewise.
17588         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17589         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17591         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
17592         from auto-generation.
17593         (sendmsg): Likewise.
17594         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
17595         (sendmsg): Likewise.
17596         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
17597         (sendmsg): Likewise.
17598         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
17599         (sendmsg): Likewise.
17600         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
17601         (sendmsg): Likewise.
17602         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
17603         (sendmsg): Likewise.
17604         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
17605         Likewise.
17606         (sendmsg): Likewise.
17607         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
17608         (sendmsg): Likewise.
17609         * sysdeps/unix/sysv/linux/i386/kernel-features.h
17610         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17611         Remove.
17612         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17613         Likewise.
17614         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17615         Undefine.
17616         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17617         Likewise.
17618         * sysdeps/unix/sysv/linux/kernel-features.h
17619         (__ASSUME_SENDMSG_SYSCALL): Define.
17620         (__ASSUME_RECVMSG_SYSCALL): Likewise.
17621         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17622         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17623         Remove.
17624         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17625         Likewise.
17626         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17627         Undefine.
17628         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17629         Likewise.
17630         * sysdeps/unix/sysv/linux/s390/kernel-features.h
17631         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17632         Remove.
17633         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17634         Likewise.
17635         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17636         Undefine.
17637         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17638         Likewise.
17639         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17640         (__ASSUME_SENDMSG_SYSCALL): Undefine.
17641         (__ASSUME_RECVMSG_SYSCALL): Likewise.
17642         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17643         (__ASSUME_SENDMSG_SYSCALL): Likewise.
17644         (__ASSUME_RECVMSG_SYSCALL): Likewise.
17645         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17646         (__ASSUME_SENDMSG_SYSCALL): Likewise.
17647         (__ASSUME_RECVMSG_SYSCALL): Likewise.
17649 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17651         * stdlib/gen-tst-strtod-round.c: Add backslash to
17652         compile command in comment.
17653         (printfp): Remove the literal suffix, and define an infinite
17654         value as INF to avoid expansion clash with INFINITY.
17655         (round_str): Remove the literal suffix.
17656         (round_for_all): Likewise, remove the now duplicate ldbl-64
17657         entry, and remove some magic constants.
17659         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
17660         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
17661         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
17662         (_CONCAT): New macro.
17663         (CONCAT): Likewise.
17664         (CHOOSE_ld): Likewise.
17665         (CHOOSE_f): Likewise.
17666         (CHOOSE_d): Likewise.
17667         (FTYPE_MEMBER): Likewise.
17668         (BOOL_MEMBER): Likewise.
17669         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
17670         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
17671         (_XNTRY): Likewise.
17672         (XNTRY): Likewise.
17673         (_ENTRY): Likewise.
17674         (ENTRY): Likewise.
17675         (test_exactness): Generate members via macro.
17676         (test_results): Likewise.
17677         (test): Update members.
17678         (TEST): Redefine using new macros.
17679         (INF): New macro.
17680         (fetestmodes): New structure.
17681         (do_test): Refactor to be type generic.
17682         (test_in_one_mode): Refactor duplicate code into
17683         (GEN_ONE_TEST): New macro.
17685         * stdlib/tst-strtod-round-data.h: Regenerate.
17687         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
17688         Extend to pass additional arbitrary parameters to
17689         generators.
17691 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
17693         [BZ #15479]
17694         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
17695         floating-point state after first floating-point operation on
17696         input.  Restore full floating-point state instead of just rounding
17697         mode.
17698         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
17699         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
17700         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
17701         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
17702         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
17704         [BZ #15479]
17705         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
17706         floating-point state after first floating-point operation on
17707         input.  Restore full floating-point state instead of just rounding
17708         mode.
17709         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
17710         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
17711         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
17712         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
17713         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
17715 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17717         [BZ #19727]
17718         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
17719         valid high surrogate.
17720         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
17721         of an utf16 surrogate.
17722         * iconv/gconv_simple.c (BODY): Likewise.
17723         * iconvdata/bug-iconv12.c: New file.
17724         * iconvdata/Makefile (tests): Add bug-iconv12.
17726 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17728         [BZ #19726]
17729         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
17730         outptrp in case of an illegal input.
17731         * iconv/tst-iconv6.c: New file.
17732         * iconv/Makefile (tests): Add tst-iconv6.
17734 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17736         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
17737         an error in case of a value in range of an utf16 low surrogate.
17739 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17741         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
17742         an error in case of a value in range of an utf16 low surrogate.
17744 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17746         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
17747         Move to ...
17748         * sysdeps/s390/Makefile: ... here.
17749         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
17750         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
17751         (BRANCH_ON_COUNT): New define.
17752         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
17753         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
17754         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
17755         run on s390-32, too.
17756         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
17757         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
17758         run on s390-32, too.
17759         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
17760         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
17761         run on s390-32, too.
17763 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17765         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
17766         etf3eh or new vector loop-variant.
17768 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17770         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
17771         etf3eh or new vector loop-variant.
17773 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17775         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
17776         or new vector loop-variant.
17778 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17780         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
17781         Rename to TR_LOOP and usage of tr instead of troo instruction.
17783 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17785         * sysdeps/s390/multiarch/gconv_simple.c: New File.
17786         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
17788 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17790         * sysdeps/s390/multiarch/8bit-generic.c: New File.
17791         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
17792         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
17793         New override define.
17794         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
17796 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17798         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
17799         * sysdeps/s390/configure.ac: Add test for S390 vector register
17800         support in gcc.
17801         * sysdeps/s390/configure: Regenerated.
17803 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17805         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
17806         Install file from $(objpfx)gconv-modules.
17807         ($(objpfx)gconv-modules): Concatenate architecture specific file
17808         in variable sysdeps-gconv-modules and gconv-modules in src dir.
17809         * sysdeps/s390/gconv-modules: New file.
17810         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
17811         Deleted.
17812         ($(objpfx)gconv-modules-s390): Deleted.
17813         (sysdeps-gconv-modules): New variable.
17815 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
17817         [BZ #15479]
17818         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
17819         of immediate operand to rounding instruction.
17820         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
17821         Likewise.
17822         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
17823         Likewise.
17824         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
17825         Likewise.
17827 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17829         * math/libm-test.inc (MIN_EXP): Directly define as
17830         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
17832 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17834         * math/libm-test.inc (MANT_DIG): Directly define as
17835         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
17837 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17839         * stdlib/gen-tst-strtod-round.c (main):
17840           Change usage to more closely match the generated
17841           output.  Add usage and compilation instructions.
17842           (string_to_fp): Add and use FILE* parameter as
17843           output target.
17844           (print_fp): Likewise.
17845           (round_str): Likewise.
17846           (round_for_all): Likewise.
17847         * stdlib/tst-strtod-round.c (tests): Move into
17848         * stdlib/tst-strtod-round-data.h: New file.
17850 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
17852         [BZ #15479]
17853         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
17854         (__round): Do not force "inexact" exception.
17855         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
17856         variable.
17857         (__round): Do not force "inexact" exception.
17858         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
17859         (__roundf): Do not force "inexact" exception.
17860         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
17861         (__roundl): Do not force "inexact" exception.
17862         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
17863         (__roundl): Do not force "inexact" exception.
17864         * math/libm-test.inc (round_test_data): Do not allow spurious
17865         "inexact" exceptions.
17867         [BZ #15479]
17868         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
17869         exception in comment.
17870         (huge): Remove variable.
17871         (__floor): Do not force "inexact" exception.
17872         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
17873         "inexact" exception in comment.
17874         (huge): Remove variable.
17875         (__floor): Do not force "inexact" exception.
17876         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
17877         exception in comment.
17878         (huge): Remove variable.
17879         (__floorf): Do not force "inexact" exception.
17880         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
17881         exception in comment.
17882         (huge): Remove variable.
17883         (__floorl): Do not force "inexact" exception.
17885         [BZ #15479]
17886         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
17887         exception in comment.
17888         (huge): Remove variable.
17889         (__ceil): Do not force "inexact" exception.
17890         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
17891         "inexact" exception in comment.
17892         (huge): Remove variable.
17893         (__ceil): Do not force "inexact" exception.
17894         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
17895         (__ceilf): Do not force "inexact" exception.
17896         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
17897         exception in comment.
17898         (huge): Remove variable.
17899         (__ceill): Do not force "inexact" exception.
17901 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
17903         * config.h.in (BIND_NOW): New.
17904         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
17905         * configure: Regenerated.
17906         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
17907         indirect branch via the GOT slot.
17909 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17911         [BZ #19765]
17912         * sysdeps/s390/mempcpy.S: New File.
17913         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
17914         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
17915         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17916         Add mempcpy variants.
17917         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
17918         (memcpy): Adjust to be usable from mempcpy entry point.
17919         (__memcpy_mvcle): Likewise.
17920         * sysdeps/s390/s390-64/memcpy.S: Likewise.
17921         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
17922         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
17923         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
17924         (__memcpy_z10): Likewise.
17925         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
17927 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17929         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
17930         Remove __GI_ symbol.
17931         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
17932         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
17933         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
17934         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
17935         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
17936         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
17938 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17940         * sysdeps/s390/s390-64/memcpy.S (memcpy):
17941         Use cghi instead of chi to compare 64bit value.
17943 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17945         * sysdeps/s390/s390-32/memcpy.S (memcpy):
17946         Jump to 1MB check before executing mvc-loop.
17948 2016-05-24  Florian Weimer  <fweimer@redhat.com>
17950         [BZ #6527]
17951         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
17952         unconditionally.
17953         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
17955 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17957         * stdlib/tst-strtod6.c (do_test): Use new type generic
17958         invocation of the test function.
17959         (test): Refactor into ...
17960         (TEST_STRTOD): New macro base function.
17962 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17964         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
17965         (TEST_STRTOD): New macro.
17966         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
17968 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17970         * stdlib/tst-strtod6.c (do_test): Use new type generic
17971         invocation of the test function.
17972         (test): Refactor into ...
17973         (TEST_STRTOD): New macro base function.
17975 2016-05-23  Florian Weimer  <fweimer@redhat.com>
17977         CVE-2016-4429
17978         [BZ #20112]
17979         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
17980         payload.
17982 2016-05-23  Florian Weimer  <fweimer@redhat.com>
17984         [BZ #20111]
17985         * bits/sockaddr.h (_SS_SIZE): Define.
17986         * bits/socket.h (_SS_SIZE): Remove.
17987         (_SS_PADSIZE): Adjust to account for all padding.
17988         (struct sockaddr_storage): Update comment.  Avoid implicit
17989         padding.
17990         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
17991         (_SS_PADSIZE): Adjust to account for all padding.
17992         (struct sockaddr_storage): Update comment.  Avoid implicit
17993         padding.
17994         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
17995         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
17996         (_SS_PADSIZE): Adjust to account for all padding.
17997         (struct sockaddr_storage): Update comment.  Avoid implicit
17998         padding.
17999         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
18000         __SS_SIZE is 126 in this version.
18001         * inet/tst-sockaddr.c: New file.
18002         * inet/Makefile (tests): Add tst-sockaddr.c
18003         (tst-sockaddr.c): Compile with non-strict aliasing.
18005 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
18007         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
18008         [XPG3 || XPG4].
18009         (NL_ARGMAX): Also expect for [XPG3].
18010         (NL_LANGMAX): Likewise.
18011         (NL_MSGMAX): Likewise.
18012         (NL_NMAX): Likewise.
18013         (NL_SETMAX): Likewise.
18014         (NL_TEXTMAX): Likewise.
18015         (NZERO): Likewise.
18016         (TMP_MAX): Likewise.
18017         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
18018         variable.
18020         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
18021         (PF_MAX): Update value.
18022         (AF_KCM): New macro.
18023         (SOL_NETBEUI): Likewise.
18024         (SOL_LLC): Likewise.
18025         (SOL_DCCP): Likewise.
18026         (SOL_NETLINK): Likewise.
18027         (SOL_TIPC): Likewise.
18028         (SOL_RXRPC): Likewise.
18029         (SOL_PPPOL2TP): Likewise.
18030         (SOL_BLUETOOTH): Likewise.
18031         (SOL_PNPIPE): Likewise.
18032         (SOL_RDS): Likewise.
18033         (SOL_IUCV): Likewise.
18034         (SOL_CAIF): Likewise.
18035         (SOL_ALG): Likewise.
18036         (SOL_NFC): Likewise.
18037         (SOL_KCM): Likewise.
18038         (MSG_BATCH): New enum value and macro.
18040 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
18042         [BZ #18185]
18043         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
18044         sharing L2 cache to 2 for Knights Landing.
18046 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
18048         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
18049         (FTW_DP): Do not expect for [XPG3 || XPG4].
18050         (FTW_SL): Do not expect for [XPG3].
18051         (FTW_SLN): Likewise.
18052         (FTW_PHYS): Likewise.
18053         (FTW_MOUNT): Likewise.
18054         (FTW_DEPTH): Likewise.
18055         (FTW_CHDIR): Likewise.
18056         (nftw): Likewise.
18057         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
18058         variable.
18060 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
18062         * manual/errno.texi: Fix various typos & grammar errors.
18064 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
18066         * manual/intro.texi: Fix duplicated typo.
18068 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
18070         [BZ #13304]
18071         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
18072         <float.h>, <math_private.h> and <stdlib.h>.
18073         (add_split): New function.
18074         (mul_split): Likewise.
18075         (ext_val): New typedef.
18076         (store_ext_val): New function.
18077         (mul_ext_val): New function.
18078         (compare): New function.
18079         (add_split_ext): New function.
18080         (__fmal): After checking for Inf, NaN and zero, compute result as
18081         an exact sum of scaled double values in round-to-nearest before
18082         adding those up and adjusting for other rounding modes.
18083         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
18084         tests of fma.
18085         * math/auto-libm-test-out: Regenerated.
18087 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
18089         [BZ #20119]
18090         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
18091         processor level type mask for CPUID with EAX == 11.
18093 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
18095         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
18096         logical threads if the HTT bit is 0.
18097         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
18098         (index_cpu_HTT): Likewise.
18099         (reg_HTT): Likewise.
18101 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
18103         [BZ #20115]
18104         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
18105         Remove alignments on jump targets.
18107 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
18109         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
18110         (getpwent): Likewise.
18111         (setpwent): Likewise.
18112         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
18113         variable.
18115         * conform/data/search.h-data (insque): Do not expect for [XPG3].
18116         (remque): Likewise.
18117         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
18118         variable.
18120 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
18122         * math/libm-test.inc: Update comment not to refer to signs of NaNs
18123         not being tested.
18125 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18127         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
18128         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
18129         call.
18130         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
18131         (__condvar_cleanup1): Likewise.
18133 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18135         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
18136         New
18137         (__pthread_unwind): Renamed to ...
18138         (PTHREAD_UNWIND): This.
18139         (__pthread_enable_asynccancel): Replace
18140         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
18142 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
18144         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
18145         (CLONE_NEWCGROUP): New macro.
18147         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
18148         (Q_GETNEXTQUOTA): New macro.
18150 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18152         [BZ #19907]
18153         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
18154         buffer updated by the previous run.
18155         * string/test-memcpy.c (do_one_test): Likewise.
18156         * benchtests/bench-memmove.c (do_one_test): Add a comment.
18157         * string/test-memmove.c (do_one_test): Likewise.
18159 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
18161         [BZ #20094]
18162         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
18163         not [__USE_XOPEN].
18164         (unlockpt): Likewise.
18165         (ptsname): Likewise.
18166         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
18167         variable.
18169         [BZ #20076]
18170         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
18171         instead of [__USE_UNIX98].
18172         (S_ISSOCK): Likewise.
18173         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
18174         variable.
18176         [BZ #20074]
18177         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
18178         [__USE_POSIX].
18179         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
18180         variable.
18182         [BZ #20051]
18183         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
18184         (ttyslot): Do not declare.
18185         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
18186         (ttyslot): New prototype.
18187         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
18188         variable.
18189         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
18191 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
18193         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
18195 2016-05-13  Florian Weimer  <fweimer@redhat.com>
18197         Fix race condition in tst-mallocfork2, use fewer resources.
18198         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
18199         to current process group.
18200         (signal_sender): Yield in the non-sleeping case.
18202 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
18204         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
18205         (ecvt): Likewise.
18206         (fcvt): Likewise.
18207         (gcvt): Likewise.
18208         (getsubopt): Likewise.
18209         (grantpt): Likewise.
18210         (initstate): Likewise.
18211         (l64a): Likewise.
18212         (mktemp): Likewise.
18213         (mkstemp): Likewise.
18214         (ptsname): Likewise.
18215         (random): Likewise.
18216         (realpath): Likewise.
18217         (setstate): Likewise.
18218         (srandom): Likewise.
18219         (ttyslot): Likewise.
18220         (unlockpt): Likewise.
18221         (valloc): Likewise.
18223         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
18224         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
18225         variable.
18227 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
18229         [BZ #20072]
18230         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
18231         init_cpu_features only if SHARED is defined.
18232         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
18234 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
18236         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
18237         non-inclusive caches on Intel processors.
18239 2016-05-13  Florian Weimer  <fweimer@redhat.com>
18241         * malloc/malloc.c (dumped_main_arena_start)
18242         (dumped_main_arena_end): New variables.
18243         (DUMPED_MAIN_ARENA_CHUNK): New macro.
18244         (do_check_chunk): Skip dumped fake mmapped chunks.
18245         (munmap_chunk): Likewise.
18246         (__libc_free): Do not adjust statistics for fake mmapped chunks.
18247         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
18248         mmapped chunks.
18249         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
18250         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
18251         and dumped_main_arena_end to cover the dumped heap.
18253 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
18255         * conform/data/time.h-data (getdate_err): Do not expect for
18256         [XPG3].
18257         (getdate): Likewise.
18258         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
18259         variable.
18261         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
18262         (F_ULOCK): Likewise.
18263         (F_TEST): Likewise.
18264         (F_TLOCK): Likewise.
18265         (useconds_t): Likewise.
18266         (intptr_t): Do not expect for [XPG3] or [XPG4].
18267         (brk): Do not expect for [XPG3]
18268         (fchown): Likewise.
18269         (fchdir): Likewise.
18270         (ftruncate): Likewise.
18271         (getdtablesize): Likewise.
18272         (gethostid): Likewise.
18273         (getpagesize): Likewise.
18274         (getpgid): Likewise.
18275         (getsid): Likewise.
18276         (getwd): Likewise.
18277         (lchown): Likewise.
18278         (lockf): Likewise.
18279         (readlink): Likewise.
18280         (sbrk): Likewise.
18281         (setpgrp): Likewise.
18282         (setregid): Likewise.
18283         (setreuid): Likewise.
18284         (symlink): Likewise.
18285         (sync): Likewise.
18286         (truncate): Likewise.
18287         (ualarm): Likewise.
18288         (usleep): Likewise.
18289         (vfork): Likewise.
18290         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
18291         variable.
18293         [BZ #20054]
18294         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
18295         not [__USE_UNIX98].
18296         * conform/data/unistd.h-data (gethostname): Do not expect for
18297         [XPG3].
18299         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
18300         [!POSIX] (S_IFBLK): Likewise.
18301         [!POSIX] (S_IFCHR): Likewise.
18302         [!POSIX] (S_IFIFO): Likewise.
18303         [!POSIX] (S_IFREG): Likewise.
18304         [!POSIX] (S_IFDIR): Likewise.
18305         [!POSIX] (S_IFLNK): Likewise.
18306         [!POSIX] (S_IFSOCK): Likewise.
18307         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
18308         variable.
18309         (test-xfail-XPG4/fcntl.h/conform): Likewise.
18311 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
18313         * sysdeps/aarch64/memset.S (__memset):
18314         Rewrite of optimized memset.
18316 2016-05-12  Florian Weimer  <fweimer@redhat.com>
18318         [BZ #19703]
18319         Partially async-signal-safe fork for single-threaded processes.
18320         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
18321         variable.  Do not acquire and reset/release malloc and libio locks
18322         in single-threaded processes.
18323         * malloc/tst-mallocfork2.c: New file.
18324         * malloc/Makefile (tests): Add it.
18326 2016-05-12  Florian Weimer  <fweimer@redhat.com>
18328         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
18329         argument.  Use scratch buffer instead of extend_alloca.
18330         (gethosts): Use scratch buffer instead of extend_alloca.
18331         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
18332         extend_alloca.
18333         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
18335 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
18337         [BZ #20055]
18338         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
18339         instead of [__USE_UNIX98].
18340         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
18341         [__USE_UNIX98].
18342         * conform/data/termios.h-data (tcgetsid): Do not expect for
18343         [XPG3].
18344         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
18345         variable.
18346         (test-xfail-XPG4/termios.h/conform): Likewise.
18348 2016-05-11  Florian Weimer  <fweimer@redhat.com>
18350         Do not use mcheck in localedef.
18351         * locale/programs/localedef.c (turn_on_mcheck)
18352         (__malloc_initialize_hook): Remove.
18354 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18356         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
18357         * sysdeps/s390/s390-64/Makefile: Likewise.
18359 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
18361         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
18362         Remove ifunc-defines.sym.
18363         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
18364         Likewise.
18365         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
18366         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
18367         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
18368         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
18369         rtld-global-offsets.sym.
18370         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
18371         * sysdeps/x86/cpu-features-offsets.sym: This.
18372         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
18373         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
18375 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
18377         [BZ #20073]
18378         * io/sys/stat.h (fchmod): Declare for
18379         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
18380         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
18381         variable.
18383         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
18384         [XPG3] (S_IFSOCK): Likewise.
18385         [XPG3] (S_ISVTX): Likewise.
18386         [XPG3] (S_ISLNK): Likewise.
18387         [XPG3] (S_ISSOCK): Likewise.
18388         [XPG3] (fchmod): Likewise.
18389         [XPG3] (lstat): Likewise.
18390         [XPG3] (mknod): Likewise.
18392         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
18393         [XPG3].  Expect type long and XFAIL for [XPG4].
18394         (st_blocks): Likewise.
18396         [BZ #20044]
18397         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
18398         (pthread_atfork): New prototype.
18399         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
18400         variable.
18402         [BZ #20043]
18403         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
18404         prototype.
18406 2016-05-10  Florian Weimer  <fweimer@redhat.com>
18408         [BZ #20017]
18409         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
18410         gmtime.
18412 2016-05-10  Florian Weimer  <fweimer@redhat.com>
18414         [BZ #19994]
18415         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
18416         flag in _res.options.
18418 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
18420         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
18421         [XPG3 || XPG4].
18422         (blksize_t): Likewise.
18423         (clockid_t): Likewise.
18424         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
18425         variable.
18426         (test-xfail-XPG4/sys/types.h/conform): Likewise.
18428 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
18430         * sysdeps/unix/sysv/linux/s390/init-first.c:
18431         Add VDSO_SYMBOL(getcpu).
18432         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
18433         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
18434         Add VDSO_SYMBOL(getcpu).
18435         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
18436         New define HAVE_GETCPU_VSYSCALL.
18437         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18439 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
18441         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
18442         instead of <sysdeps/x86_64/cacheinfo.c>.
18443         * sysdeps/x86_64/cacheinfo.c: Moved to ...
18444         * sysdeps/x86/cacheinfo.c: Here.
18446 2016-05-04  Florian Weimer  <fweimer@redhat.com>
18448         * malloc/malloc-internal.h: Adjust header file guard.
18450 2016-05-04  Florian Weimer  <fweimer@redhat.com>
18452         [BZ #19787]
18453         * inet/getnameinfo.c (check_sprintf_result): New function.
18454         (CHECKED_SNPRINTF): New macro.
18455         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
18456         to the host buffer.
18457         (gni_host_local): Use checked_copy to copy the host name.
18458         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
18459         (gni_serv_local): Use checked_copy to copy the service name.
18460         (getnameinfo): Remove unnecessary truncation of result buffers.
18462 2016-05-04  Florian Weimer  <fweimer@redhat.com>
18464         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
18465         in case of inet_ntop failure.
18467 2016-05-04  Florian Weimer  <fweimer@redhat.com>
18469         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
18470         avoid long lines.
18471         (gni_host_inet_numeric): Likewise.  Reduce scope of local
18472         variables.
18473         (gni_host_inet, gni_host_local): Add comment.
18474         (gni_host): Add comment.  Use temporary to avoid long lines.
18476 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18478         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
18479         registers specifiers where general purpose registers specifiers should
18480         have been used.
18482 2016-05-04  Florian Weimer  <fweimer@redhat.com>
18484         [BZ #19779]
18485         CVE-2016-1234
18486         Avoid copying names of directory entries.
18487         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
18488         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
18489         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
18490         (struct readdir_result): New type.
18491         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
18492         (GL_READDIR): New macros.
18493         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
18494         (convert_dirent, convert_dirent64): New functions.
18495         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
18496         convert_dirent64.  Adjust references to the readdir result.
18497         * sysdeps/unix/sysv/linux/i386/glob64.c:
18498         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
18499         * posix/bug-glob2.c (LONG_NAME): Define.
18500         (filesystem): Add LONG_NAME.
18501         (my_DIR): Increase the size of room_for_dirent.
18503 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
18505         [BZ #20041]
18506         * misc/sys/select.h (__need_timespec): Only define if
18507         [__USE_XOPEN2K].
18508         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
18509         variable.
18510         (test-xfail-XPG4/utmpx.h/conform): Likewise.
18511         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
18512         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
18514 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18515             Segher Boessenkool  <segher@gcc.gnu.org>
18517         [BZ #20004]
18518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
18519         (__novec_swapcontext): Add missing load.
18521 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
18523         [BZ #20023]
18524         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
18525         <time.h>.
18526         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
18527         variable.
18528         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
18530 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
18533         flags CLONE_VM compare.
18535 2016-05-02  Florian Weimer  <fweimer@redhat.com>
18537         [BZ #20031]
18538         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
18539         completely empty.
18541 2016-05-02  Florian Weimer  <fweimer@redhat.com>
18543         [BZ #19573]
18544         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
18545         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
18546         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
18547         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
18548         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
18549         (hesiod_free_list): Mark as hidden.
18550         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
18551         res_set, res_get.
18552         * hesiod/hesiod.c: Remove unnecessary forward declarations.
18553         (init, __hesiod_res_get, __hesiod_res_set): Remove.
18554         (hesiod_init): Remove obsolete res_ninit call.
18555         (hesiod_end): Do not free resolver state.  Do not invoke callback.
18556         (hesiod_bind): Do not call init.
18557         (get_txt_records): Use res_mkquery, res_send instead of
18558         res_nmkquery, res_nsend.
18559         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
18560         instead of _nss_hesiod_init.
18561         (_nss_hesiod_initgroups_dyn): Likewise.
18562         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
18563         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
18564         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
18566 2016-05-02  Florian Weimer  <fweimer@redhat.com>
18568         * hesiod/hesiod_p.h (DEF_RHS): Remove.
18569         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
18571 2016-05-02  Florian Weimer  <fweimer@redhat.com>
18573         * hesiod/hesiod.h: Remove RCS keyword.
18574         * hesiod/hesiod_p.h: Likewise.
18576         * hesiod/hesiod.c: Likewise.
18578 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
18580         [BZ #12450]
18581         * locale/iso-639.def: Add Samogitian/sgs.
18583 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
18585         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
18587         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
18589 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
18590             Carlos O'Donell  <carlos@redhat.com>
18592         [BZ #19072]
18593         * grp/Makefile (headers): Add grp-merge.h
18594         (routines): Add grp-merge.
18595         * grp/getgrgid_r.c: Include grp-merge.h.
18596         (DEEPCOPY_FN): Define.
18597         (MERGE_FN): Define.
18598         * grp/getgrname_r.c: Include grp-merge.h.
18599         (DEEPCOPY_FN): Define.
18600         (MERGE_FN): Define.
18601         * grp/grp-merge.c: New file.
18602         * grp/grp-merge.h: New file.
18603         * include/grp-merge.h: New file.
18604         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
18605         __copy_grp@GLIBC_PRIVATE.
18606         * manual/nss.texi (Actions in the NSS configuration): Describe
18607         return, continue, and merge.
18608         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
18609         (DEEPCOPY_FN): Define.
18610         (MERGE_FN): Define.
18611         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
18612         (DEEPCOPY_FN): Define.
18613         (MERGE_FN): Define.
18614         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
18615         [!MERGE_FN]: Define __merge_einval.
18616         (CHECK_MERGE): Define.
18617         (REENTRANT_NAME): Process merge if do_merge is true.
18618         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
18619         (__nss_getent_r): Likewise.
18620         * nss/nsswitch.c (nss_parse_service_list): Likewise.
18621         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
18623 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18625         [BZ #20012]
18626         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
18627         length to calculate the buffer to read.
18628         (fmemopen_write): Set the buffer position based on bytes written.
18629         (fmemopen_seek): Return EINVAL for invalid whence modes.
18631         [BZ #19957]
18632         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
18633         tst-getpid2.
18634         (test): Add tst-clone2.
18635         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
18636         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
18637         pid/tid fields for CLONE_VM.
18638         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
18639         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
18640         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
18641         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
18642         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
18643         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
18644         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
18645         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
18646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
18647         Likewise.
18648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18649         Likewise.
18650         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
18651         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
18652         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
18653         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
18654         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
18655         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
18656         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
18657         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
18659 2016-04-29  Florian Weimer  <fweimer@redhat.com>
18661         [BZ #19642]
18662         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
18663         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
18664         (gni_serv_local, gni_serv): New functions extracted from
18665         getnameinfo.
18666         (getnameinfo): Call gni_host and gni_serv to perform the
18667         processing.  Always free scratch buffer.
18669 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18671         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
18672         remaining bytes in the dest string, with zeros.
18674 2016-04-29  Florian Weimer  <fweimer@redhat.com>
18676         [BZ #20010]
18677         CVE-2016-3706
18678         * sysdeps/posix/getaddrinfo.c
18679         (convert_hostent_to_gaih_addrtuple): New function.
18680         (gethosts): Call convert_hostent_to_gaih_addrtuple.
18681         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
18682         AF_INET data.
18684 2016-04-29  Florian Weimer  <fweimer@redhat.com>
18686         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
18687         callback function gl_readdir.
18688         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
18689         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
18690         (glob_in_dir): Remove len.  Use strdup instead of malloc and
18691         memcpy to copy the name.
18692         * manual/pattern.texi (Calling Glob): Document requirements for
18693         implementations of the gl_readdir callback function.
18694         * manual/examples/mkdirent.c: New example.
18695         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
18696         per the manual guidance.
18697         * posix/tst-gnuglob.c (my_readdir): Likewise.
18699 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
18701         [BZ #20014]
18702         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
18703         not [__USE_POSIX].
18704         (getchar_unlocked): Likewise.
18705         (putc_unlocked): Likewise.
18706         (putchar_unlocked): Likewise.
18707         (flockfile): Likewise.
18708         (ftrylockfile): Likewise.
18709         (funlockfile): Likewise.
18710         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
18711         variable.
18712         (test-xfail-XPG4/stdio.h/conform): Likewise.
18714         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
18715         Expect constant.
18716         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
18717         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
18718         variable.
18719         (test-xfail-XPG4/langinfo.h/conform): Likewise.
18720         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
18722         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
18723         [__USE_LARGEFILE64] (off64_t): Likewise.
18724         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
18725         variable.
18727 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18729         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
18731 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18733         * resolv/inet_addr.c: Reindent preprocessor conditionals.
18734         * resolv/res_init.c: Likewise.
18735         * resolv/res_mkquery.c: Likewise.
18737 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18739         * resolv/res_init.c (isascii): Do not define.  Use definition in
18740         <ctype.h>.
18741         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
18742         (LOG_AUTH): Remove.
18743         (SPRINTF): Remove, adjust caller.
18744         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
18746 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18748         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
18749         SUNSECURITY conditional.
18750         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
18752 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18754         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
18755         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
18756         Remove BSD-related preprocessor conditionals.
18757         * conf/portability.h: Remove.
18759 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18761         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
18762         * resolv/res_data.c: Likewise.
18764 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18766         * resolv/res_comp.c: Remove code conditional on __ultrix__.
18767         * resolv/res_data.c: Remove code conditional on ultrix.
18769 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18771         * resolv/res_init.c (RFC1535): Do not define.  Remove
18772         RFC1535 preprocessor conditionals.
18773         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
18774         because there configuration options which make the resolver
18775         behavior different.
18777 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18779         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
18780         RESOLVSORT preprocessor conditionals.
18781         * resolv/nss_dns/dns-host.c: Likewise.
18782         * resolv/res_init.c: Likewise.
18784 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18786         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
18787         is never defined.
18789 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18791         * inet/inet_lnaof.c: Remove SCSS keyword.
18792         * inet/inet_mkadr.c: Likewise.
18793         * inet/inet_net.c: Likewise.
18794         * inet/inet_netof.c: Likewise.
18795         * inet/rcmd.c: Likewise.
18796         * inet/rexec.c: Likewise.
18797         * inet/ruserpass.c: Likewise.
18799 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18801         * resolv/inet_addr.c: Remove _LIBC conditionals.
18802         * resolv/res_data.c: Likewise.
18803         * resolv/res_init.c: Likewise.
18804         * resolv/res_mkquery.c: Likewise.
18805         * resolv/res_libc.c: Update comment.
18806         * resolv/README: Update.
18808 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18810         * resolv/gethnamaddr.c: Remove SCSS keyword.
18811         * resolv/herror.c: Likewise.
18812         * resolv/inet_addr.c: Likewise.
18813         * resolv/inet_net_ntop.c: Likewise.
18814         * resolv/inet_net_pton.c: Likewise.
18815         * resolv/inet_neta.c: Likewise.
18816         * resolv/inet_ntop.c: Likewise.
18817         * resolv/inet_pton.c: Likewise.
18818         * resolv/ns_date.c: Remove RCS keyword.
18819         * resolv/ns_name.c: Likewise.
18820         * resolv/ns_netint.c: Likewise.
18821         * resolv/ns_parse.c: Likewise.
18822         * resolv/ns_print.c: Likewise.
18823         * resolv/ns_samedomain.c: Likewise.
18824         * resolv/ns_ttl.c: Likewise.
18825         * resolv/nsap_addr.c: Likewise.
18826         * resolv/res_comp.c: Remove SCSS and RCS keyword.
18827         * resolv/res_data.c: Remove RCS keyword.
18828         * resolv/res_debug.c: Remove SCSS and RCS keyword.
18829         * resolv/res_init.c: Likewise.
18830         * resolv/res_mkquery.c: Likewise.
18831         * resolv/res_query.c: Likewise.
18832         * resolv/res_send.c: Likewise.
18834 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
18836         * conform/data/stdio.h-data (fdopen): Expect also for
18837         [XPG3 || XPG4].
18839         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
18840         (fseeko): Likewise.
18841         (ftello): Likewise.
18842         (ftrylockfile): Likewise.
18843         (funlockfile): Likewise.
18844         (getc_unlocked): Likewise.
18845         (getchar_unlocked): Likewise.
18846         (putc_unlocked): Likewise.
18847         (putchar_unlocked): Likewise.
18849 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18851         [BZ #19868]
18852         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
18853         DNS packet syntax checks (which were not needed before).  Skip
18854         over non-PTR records.
18856 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18858         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
18859         definition.  Include <stddef.h> instead.
18861 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18863         [BZ #19831]
18864         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
18865         function.
18866         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
18867         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
18869 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18871         [BZ #19862]
18872         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
18873         (getanswer_r): Do not call syslog.
18874         (gaih_getanswer_slice): Likewise.
18875         * resolv/gethnamaddr.c (AskedForGot): Remove.
18876         (getanswer): Do not call syslog.
18877         (gethostbyaddr): Likewise.
18879 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
18881         * conform/data/signal.h-data (union sigval): Expect also if
18882         [XOPEN2K].
18883         (struct sigevent): Likewise.
18884         (SIGEV_NONE): Likewise.
18885         (SIGEV_SIGNAL): Likewise.
18886         (SIGEV_THREAD): Likewise.
18887         (SIGRTMIN): Likewise.
18888         (SIGRTMAX): Likewise.
18889         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
18890         variable.
18891         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
18893 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18895         [BZ #19830]
18896         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
18897         (gaih_getanswer_slice): Likewise.
18898         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
18899         Also check for availability of RR metadata.
18901 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18903         [BZ #19825]
18904         * resolv/res_send.c (send_vc): Remove early *resplen2
18905         initialization.  Set *resplen2 on socket error.  Call
18906         close_and_return_error for other errors.
18908 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
18910         * sysdeps/unix/sysv/linux/netiucv/iucv.h
18911         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
18912         (SCM_IUCV_TRGCLS): New define.
18914 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18916         [BZ #20005]
18917         * libio/fmemopen.c (fmemopen_write): Update internal position after
18918         write.
18919         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
18920         * stdio-common/tst-fmemopen4.c: New file..
18922 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
18924         [BZ #19996]
18925         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
18926         not [__USE_XOPEN2K].
18927         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
18928         variable.
18930         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
18931         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
18932         variable.
18934         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
18935         [__USE_XOPEN2K8].
18936         [__USE_LARGEFILE64] (off64_t): Likewise.
18937         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
18938         variable.
18940 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
18942         [BZ #19989]
18943         * libio/stdio.h (cuserid): Do not declare if
18944         [__USE_XOPEN2K && !__USE_GNU].
18945         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
18946         variable.
18948 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18950         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
18951         (sysdep_routines): Add P8 and PPC64 strcspn targets.
18952         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18953         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
18954         ifunc'ed strcspn.
18955         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
18956         [EALIGN]: Removed.
18957         [END]: Likewise
18958         [STRSPN]: Define instead of the above to control symbol name.
18959         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
18960         New file.
18961         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
18962         Likewise.
18963         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
18964         Likewise.
18965         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
18966         Likewise.
18967         * sysdeps/powerpc/powerpc64/power8/strspn.S:
18968         [INITIAL_MASK]: New macro.
18969         [STRCSPN]: Likewise.
18970         [UPDATE_MASK]: Likewise.
18971         [USE_AS_STRCSPN]: Likewise.
18973 2016-04-25  Florian Weimer  <fweimer@redhat.com>
18975         [BZ #19931]
18976         * stdio-common/tst-vfprintf-width-prec.c: New file.
18977         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
18978         (tests-special): Add tst-vfprintf-width-prec-mem.out.
18979         (generated): Add mtrace-related files.
18980         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
18981         (tst-%-mem.out): New pattern rule, replaces
18982         tst-printf-bz18872-mem.out.
18983         * stdio-common/vfprintf.c (vfprintf): When handling a precision
18984         specifier, deallocate any previously allocated work buffer.
18986 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
18988         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
18989         Add nop before __startcontext, add explaining comments.
18991 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
18993         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
18994         any more. Notably since IPV6_PKTINFO has been reintroduced with a
18995         completely different API.
18997         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
18998         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
18999         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
19000         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
19001         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
19002         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
19003         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
19004         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
19005         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
19006         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
19008 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
19010         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
19012 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
19014         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
19015         when it is the default of 0.
19017 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19019         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
19020         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19021         (sysdep_routines): Add new strcasestr targets.
19022         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19023         (__libc_ifunc_impl_list): Likewise.
19024         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
19025         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
19026         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
19027         * sysdeps/powerpc/powerpc64/power8/Makefile:
19028         New file to add strcasestr-ppc64 to sysdep_routines.
19029         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
19030         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
19032 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
19034         * benchtests/Makefile (wcsmbs-benchset): Include only for
19035         native builds and runs.
19036         (LOCALES): Likewise.
19037         (bench-build): Build timing-type here instead of the bench
19038         target.  Generate locale only for native builds.
19039         * benchtests/README: Add note for cross-building.
19041         * benchtests/Makefile (bench-clean): Clean up extra-objs.
19043         * benchtests/README: Update README to include instructions on
19044         using bench-build.
19046         * Makefile.in (bench-build): New target.
19047         * Rules (PHONY): Add bench-build target.
19048         * benchtests/Makefile (bench): Depend on bench-build.
19049         (bench-build): New target.
19051 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19053         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
19054         profil_reply_port.
19055         (profile_waiter): Do not initialize profil_reply_port.
19056         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
19057         frequency instead of tick length in us.
19059 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
19061         [BZ #18712]
19062         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
19063         (__old_mempcpy_small): Likewise.
19064         (__old_strcpy_small): Likewise.
19065         (__old_stpcpy_small): Likewise.
19066         (__old_strpbrk_c2): Fix compat symbol name.
19067         (__old_strpbrk_c3): Likewise.
19068         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
19069         (__mempcpy_small): Remove.
19070         (__strcpy_small): Remove.
19071         (__stpcpy_small): Remove.
19073 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
19075         [BZ #19400]
19076         * locale/iso-639.def: Add the Talossan/tzl language.
19078 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
19080         [BZ #16983]
19081         * locale/programs/ld-address.c (address_finish): Update postal_fmt
19082         comment.  Add "ln" to strchr check on postal_fmt.
19084 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
19086         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
19087         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
19088         tel_dom_fmt.
19090 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19092         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19093         (sysdep_routines): Added __strlen_power8.
19094         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
19095         __strlen_power8 entry.
19096         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
19097         Implementation for POWER8.
19098         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
19099         for __strlen_power8.
19100         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
19101         Implementation for POWER8.
19103 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
19105         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
19107 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
19109         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
19110         Goldmont and Airmont processors.
19112 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
19114         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
19115         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
19116         (__STRING2_SMALL_GET32): Remove.
19117         (memset): Remove.
19118         (__memset_1): Remove.
19119         (__memset_gc): Remove.
19120         (__mempcpy): Remove.
19121         (mempcpy): Remove.
19122         (__mempcpy_args): Remove.
19123         (strchr): Remove.
19124         (strcpy): Remove.
19125         (strcpy_args): Remove.
19126         (__stpcpy_args): Remove.
19127         (__strcmp_cc): Remove.
19128         (__strcmp_gc): Remove.
19129         (strstr): Remove.
19131 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
19133         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
19134         * nis/nis_call.c (nis_server_cache_add): Likewise.
19136 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19138         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
19140 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19142         * malloc/arena.c (__malloc_fork_lock_parent)
19143         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
19144         internal_function attribute.
19146 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
19148         * stdio-common/printf_fp.c (__printf_fp_l):
19149         Rename ___printf_fp_l to __printf_fp_l and
19150         remove strong alias. Use libc_hidden_def instead
19151         of ldbl_hidden_def macro.
19153 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19155         Remove malloc hooks from fork handler.  They are no longer needed
19156         because malloc runs right before fork, and no malloc calls from
19157         other fork handlers are not possible anymore.
19158         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
19159         declarations.
19160         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
19161         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
19162         (atfork_recursive_cntr): Remove.
19163         (__malloc_fork_lock_parent): Do not override malloc hooks and
19164         thread_arena.
19165         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
19166         thread_arena.
19167         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
19168         thread_arena instead of save_arena.
19170 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19172         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
19173         (thread_atfork, thread_atfork_static): Remove.
19174         * sysdeps/mach/hurd/malloc-machine.h:
19175         (thread_atfork, thread_atfork_static): Remove.
19177 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19179         [BZ #19431]
19180         Run the malloc fork handler as late as possible to avoid deadlocks.
19181         * malloc/malloc-internal.h: New file.
19182         * malloc/malloc.c: Include it.
19183         * malloc/arena.c (ATFORK_MEM): Remove.
19184         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
19185         Update comment.
19186         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
19187         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
19188         Remove outdated comment.
19189         (ptmalloc_init): Do not call thread_atfork.  Remove
19190         thread_atfork_static.
19191         * malloc/tst-malloc-fork-deadlock.c: New file.
19192         * Makefile (tests): Add tst-malloc-fork-deadlock.
19193         (tst-malloc-fork-deadlock): Link against libpthread.
19194         * manual/memory.texi (Aligned Memory Blocks): Update safety
19195         annotation comments.
19196         * sysdeps/nptl/fork.c (__libc_fork): Call
19197         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
19198         __malloc_fork_unlock_child.
19199         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
19201 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19203         [BZ #19613]
19204         Remove union wait.
19205         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
19206         (w_stopsig, w_stopval): Remove.
19207         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
19208         stat_loc argument.
19209         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
19210         (__WAIT_STATUS_DEFN): Remove.
19211         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
19212         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
19213         (wait, wait3, wait4): Use int * for the stat_loc argument.
19214         * posix/wait.c (__wait): Likewise.
19215         * posix/wait3.c (__wait3): Likewise.
19216         * posix/wait4.c (__wait4): Likewise.
19217         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
19218         (__WAIT_STATUS_DEFN): Remove.
19219         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
19220         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
19221         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
19222         argument.
19223         * sysdeps/posix/wait.c (__libc_wait): Likewise.
19224         * sysdeps/posix/wait3.c (__wait3): Likewise.
19225         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
19226         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
19227         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
19228         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
19229         stat_loc argument.
19230         * manual/process.texi (BSD Wait Functions): Remove union wait.
19232 2016-04-13  Andreas Schwab  <schwab@suse.de>
19234         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
19235         (test-extras): Add tst-tlsalign-vars.
19236         * math/Makefile: Wrap long lines.
19237         (libm-vec-test-wrappers): Define.
19238         (test-extras): Add $(libm-vec-test-wrappers).
19239         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
19240         * nss/Makefile (extra-test-objs): Add nss_test1.os.
19241         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
19242         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
19243         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
19244         (extra-test-objs): Add corresponding objects.
19246 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
19248         [BZ #19928]
19249         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
19250         New.
19251         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
19252         times of shared cache size.
19253         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
19254         (VMOVNT): New.
19255         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
19256         (VMOVNT): Likewise.
19257         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
19258         (VMOVNT): Likewise.
19259         (VMOVU): Changed to movups for smaller code sizes.
19260         (VMOVA): Changed to movaps for smaller code sizes.
19261         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
19262         comments.
19263         (PREFETCH): New.
19264         (PREFETCH_SIZE): Likewise.
19265         (PREFETCHED_LOAD_SIZE): Likewise.
19266         (PREFETCH_ONE_SET): Likewise.
19267         Rewrite to use forward and backward loops, which move 4 vector
19268         registers at a time, to support overlapping addresses and use
19269         non temporal store if size is above the threshold and there is
19270         no overlap between destination and source.
19272 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
19274         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
19275         Include dl-vdso.
19276         * sysdeps/unix/sysv/linux/mips/Versions: Add
19277         __vdso_clock_gettime.
19278         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
19279         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
19280         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
19281         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
19282         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
19283         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
19284         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
19285         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
19286         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
19288 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19290         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
19291         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
19292         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
19293         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
19294         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
19295         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
19296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
19297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
19298         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
19299         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
19300         syscalls generation.
19301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19302         [__NR_pwrite64] (__NR_write): Remove define.
19303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19304         [__NR_pwrite64] (__NR_write): Remove define.
19305         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
19306         Remove define.
19307         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
19308         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
19309         Remove define.
19310         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
19311         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
19312         Linux implementation as base.
19313         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
19315         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
19316         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
19317         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
19318         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
19319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
19320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
19321         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
19322         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
19323         syscall generation.
19324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19325         [__NR_pread64] (__NR_pread): Remove define.
19326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19327         [__NR_pread64] (__NR_pread): Likewise.
19328         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
19329         define.
19330         (__libc_pread): Use SYSCALL_LL macro on offset argument.
19331         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
19332         Remove define.
19333         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
19334         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
19335         Linux implementation as base.
19336         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
19337         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
19338         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
19340         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
19341         definition.
19342         (__ALIGNMENT_COUNT): Likewise.
19343         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
19344         (__ALIGNMENT_COUNT): Likewise.
19345         (SYSCALL_LL): New define.
19346         (SYSCALL_LL64): Likewise.
19347         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
19348         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
19349         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
19350         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
19352         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19353         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
19354         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19355         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
19356         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19357         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
19359 2016-04-11  Florian Weimer  <fweimer@redhat.com>
19361         [BZ #19865]
19362         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
19363         original buffer before retry.
19365 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19367         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
19368         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
19369         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
19370         GLRO(dl_auxv) list.
19371         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
19372         including <ldsodefs.h>.
19373         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
19375 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
19377         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
19378         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
19379         $(CPPFLAGS).
19381 2016-04-09  Khem Raj  <raj.khem@gmail.com>
19383         [BZ #17950]
19384         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
19385         Add -mfpmath=387.
19387 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
19389         * sysdeps/i386/configure.ac: Change == to = when calling test.
19390         * sysdeps/x86_64/configure.ac: Likewise.
19391         * sysdeps/i386/configure: Regenerated.
19392         * sysdeps/x86_64/configure: Likewise.
19394 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
19396         [BZ #16137]
19397         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
19398         * benchtests/bench-strcoll.c (input_files): Likewise.
19399         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
19400         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
19401         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
19403 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
19405         [BZ #19929]
19406         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
19407         [__USE_XOPEN2K8 && !__USE_GNU].
19408         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
19409         variable.
19411         [BZ #19925]
19412         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
19413         define if [!__USE_MISC && __USE_XOPEN2K].
19414         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
19415         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
19416         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
19417         Likewise.
19418         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
19419         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
19420         variable.
19421         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
19423 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19425         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19426         (sysdep_routines): Add new strspn targets.
19427         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19428         (__libc_ifunc_impl_list): Add strspn.
19429         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
19430         New file.
19431         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
19432         Likewise.
19433         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
19434         Likewise.
19435         * sysdeps/powerpc/powerpc64/power8/strspn.S:
19436         Likewise.
19438 2016-04-07  Florian Weimer  <fweimer@redhat.com>
19440         * misc/hsearch_r.c: Include <limits.h>.
19442 2016-04-07  Florian Weimer  <fweimer@redhat.com>
19444         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
19446 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
19448         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
19449         (MEMCPY_SYMBOL): New.
19450         (MEMPCPY_SYMBOL): Likewise.
19451         (MEMMOVE_CHK_SYMBOL): Likewise.
19452         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
19453         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
19454         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
19455         Provide alias for memcpy in libc.a and ld.so.
19457 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
19459         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
19460         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
19461         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
19462         Disabled fro now.
19463         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
19464         symbols.  Properly check USE_MULTIARCH on __memset symbols.
19466 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
19468         * benchtests/Makefile (string-benchset): Add memcpy-large,
19469         memmove-large and memset-large.
19470         * benchtests/bench-memcpy-large.c: New file.
19471         * benchtests/bench-memmove-large.c: Likewise.
19472         * benchtests/bench-memmove-large.c: Likewise.
19473         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
19475 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
19477         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
19478         32-bit displacement to avoid long nop between instructions.
19480 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
19482         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
19483         a comment on VMOVU and VMOVA.
19485 2016-04-04  Florian Weimer  <fweimer@redhat.com>
19487         [BZ #19633]
19488         Use specified locale for number formatting in strfmon_l.
19489         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
19490         (__nl_lookup_word): New inline functions.
19491         * include/printf.h (__print_fp_l): Declare.
19492         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
19493         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
19494         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
19495         (___printf_fp): New function.
19496         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
19497         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
19498         * stdlib/tst-strfmon_l.c (do_test): New test.
19499         * stdlib/Makefile (tests): Add kt.
19500         (LOCALES): Build additional locales.
19501         (tst-strfmon_l.out): Require locales.
19503 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
19505         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
19506         if not in libc.
19507         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
19508         Likewise.
19509         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
19510         Likewise.
19511         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
19512         Likewise.
19514 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
19516         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
19517         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
19518         with unaligned_erms.
19519         (__memmove_erms): Skip if source == destination.
19520         (__memmove_unaligned_erms): Don't check source == destination
19521         first.
19523 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
19525         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
19526         bit_arch_Fast_Copy_Backward for Intel Core proessors.
19528 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19530         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
19531         * string/strspn.c (strspn): Likewise.
19533 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
19535         * benchtests/bench-memset.c (do_test): Support 64-byte
19536         alignment.
19537         (test_main): Test 64-byte alignment.
19539 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
19541         * benchtests/bench-memmove.c (test_main): Test 64-byte
19542         alignment.
19544 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
19546         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
19548 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19550         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
19551         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
19552         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
19554         * string/strpbrk.c (strpbrk): Rewrite function.
19555         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
19556         (__strpbrk_c2): Likewise.
19557         (__strpbrk_c3): Likewise.
19558         * string/string-inlines.c
19559         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
19560         Likewise.
19561         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
19562         Likewise.
19564         * string/strspn.c (strcspn): Rewrite function.
19565         * string/bits/string2.h (strspn): Use __builtin_strcspn.
19566         (__strspn_c1): Remove inline function.
19567         (__strspn_c2): Likewise.
19568         (__strspn_c3): Likewise.
19569         * string/string-inlines.c
19570         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
19571         compatibility symbol.
19572         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
19573         Likewise.
19574         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
19575         Likewise.
19576         * string/string-inlines.c: Include generic version.
19578 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
19579             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19581         * string/Version (libc): Add GLIBC_2.24.
19582         * string/strcspn.c (strcspn): Rewrite function.
19583         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
19584         (__strcspn_c1): Remove inline function.
19585         (__strcspn_c2): Likewise.
19586         (__strcspn_c3): Likewise.
19587         * string/string-inline.c
19588         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
19589         compatibility symbol.
19590         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
19591         Likewise.
19592         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
19593         Likewise.
19594         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
19596 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
19598         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
19599         Use ahi instead of aghi to adjust stack pointer.
19601 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19603         [BZ #19853]
19604         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
19605         TEST to take significant digits as second parameter.
19606         [TEST]: Redefine in terms of TEST_N taking 30
19607         significant digits.
19608         (do_test): Add test case to demonstrate precision
19609         failure in the ldbl-128ibm printf.
19610         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
19611         (__mpn_extract_long_double): Carry 7 extra intermediate
19612         bits of precision to aide computing difference when
19613         signs differ.
19615 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
19617         [BZ #19881]
19618         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19619         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
19620         memset-avx512-unaligned-erms.
19621         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19622         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
19623         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
19624         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
19625         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
19626         __memset_sse2_unaligned_erms, __memset_erms,
19627         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
19628         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
19629         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
19630         file.
19631         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
19632         Likewise.
19633         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
19634         Likewise.
19635         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
19636         Likewise.
19638 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
19640         [BZ #19776]
19641         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19642         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
19643         memmove-avx512-unaligned-erms.
19644         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19645         (__libc_ifunc_impl_list): Test
19646         __memmove_chk_avx512_unaligned_2,
19647         __memmove_chk_avx512_unaligned_erms,
19648         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
19649         __memmove_chk_sse2_unaligned_2,
19650         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
19651         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
19652         __memmove_avx512_unaligned_erms, __memmove_erms,
19653         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
19654         __memcpy_chk_avx512_unaligned_2,
19655         __memcpy_chk_avx512_unaligned_erms,
19656         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
19657         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
19658         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
19659         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
19660         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
19661         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
19662         __mempcpy_chk_avx512_unaligned_erms,
19663         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
19664         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
19665         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
19666         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
19667         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
19668         __mempcpy_erms.
19669         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
19670         file.
19671         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
19672         Likewise.
19673         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
19674         Likewise.
19675         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
19676         Likewise.
19678 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
19680         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
19681         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
19682         (La_s390_64_regs): Likewise.
19683         (La_s390_32_retval): Append vector register lrv_v24.
19684         (La_s390_64_retval): Likeweise.
19685         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
19686         Handle extended structs La_s390_32_regs and La_s390_32_retval.
19687         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
19688         Handle extended structs La_s390_64_regs and La_s390_64_retval.
19690 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
19692         [BZ #19916]
19693         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
19694         to create a non-vector/vector version for _dl_runtime_resolve and
19695         _dl_runtime_profile. Move implementation to ...
19696         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
19697         (_dl_runtime_resolve) Save and restore fpr/vrs.
19698         (_dl_runtime_profile) Save and restore vrs and fix some issues
19699         if _dl_call_pltexit is called.
19700         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
19701         Choose the correct resolver function if running on a machine with vx.
19702         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
19703         to create a non-vector/vector version for _dl_runtime_resolve and
19704         _dl_runtime_profile. Move implementation to ...
19705         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
19706         (_dl_runtime_resolve) Save and restore fpr/vrs.
19707         (_dl_runtime_profile) Save and restore vrs and fix some issues
19708         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
19709         Choose the correct resolver function if running on a machine with vx.
19711 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19713         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
19715 2016-03-31  Florian Weimer  <fweimer@redhat.com>
19717         [BZ #19509]
19718         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
19719         skip_map != NULL.
19720         * elf/tst-dlsym-error.c: New file.
19721         * elf/Makefile (tests): Add tst-dlsym-error.
19722         (tst-dlsym-error): Link against libdl.
19724 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
19726         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19727         (__ASSUME_FUTIMESAT): Remove macro.
19728         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
19730 2016-03-29  Florian Weimer  <fweimer@redhat.com>
19732         [BZ #19879]
19733         CVE-2016-3075
19734         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
19735         copy name.
19737 2016-03-29  Florian Weimer  <fweimer@redhat.com>
19739         [BZ #19837]
19740         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
19741         error if parse_line fails.
19743 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
19745         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
19746         (index_cpu_ERMS): Likewise.
19747         (reg_ERMS): Likewise.
19749 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
19751         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
19752         PER_LINUX_FDPIC): Add.
19754 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
19756         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19757         memcpy-avx512-no-vzeroupper.
19758         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
19759         to ...
19760         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
19761         (MEMCPY): Don't define.
19762         (MEMCPY_CHK): Likewise.
19763         (MEMPCPY): Likewise.
19764         (MEMPCPY_CHK): Likewise.
19765         (MEMPCPY_CHK): Renamed to ...
19766         (__mempcpy_chk_avx512_no_vzeroupper): This.
19767         (MEMPCPY_CHK): Renamed to ...
19768         (__mempcpy_chk_avx512_no_vzeroupper): This.
19769         (MEMCPY_CHK): Renamed to ...
19770         (__memmove_chk_avx512_no_vzeroupper): This.
19771         (MEMCPY): Renamed to ...
19772         (__memmove_avx512_no_vzeroupper): This.
19773         (__memcpy_avx512_no_vzeroupper): New alias.
19774         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
19776 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
19778         [BZ #18858]
19779         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19780         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
19781         and mempcpy-avx512-no-vzeroupper.
19782         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
19783         New.
19784         (MEMPCPY): Likewise.
19785         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
19786         (MEMPCPY_CHK): New.
19787         (MEMPCPY): Likewise.
19788         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
19789         (MEMPCPY): Likewise.
19790         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
19791         (MEMPCPY): Likewise.
19792         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
19793         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
19794         Likewise.
19795         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
19796         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
19798 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
19799              Amit Pawar  <Amit.Pawar@amd.com>
19801         [BZ #19583]
19802         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
19803         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
19804         processors.  Set Fast_Copy_Backward for AMD Excavator
19805         processors.
19806         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
19807         New.
19808         (index_arch_Fast_Unaligned_Copy): Likewise.
19809         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
19810         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
19812 2016-03-25  Florian Weimer  <fweimer@redhat.com>
19814         [BZ #19791]
19815         * resolv/res_send.c (close_and_return_error): New function.
19816         (send_dg): Initialize *resplen2 after reopen failure.  Call
19817         close_and_return_error for error returns.  On error paths without
19818         __res_iclose, initialze *resplen2 explicitly.  Update comment for
19819         successful return.
19821 2016-03-25  Florian Weimer  <fweimer@redhat.com>
19823         [BZ #19860]
19824         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
19825         zero if the compiler does not provide the AVX512F bit.
19827 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
19829         [BZ #19848]
19830         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
19831         from 8 to 4.
19832         (__ieee754_powl): Compare integer exponent against 4 not 8.
19833         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
19834         from 8 to 4.
19835         (__ieee754_powl): Compare integer exponent against 4 not 8.
19836         * math/auto-libm-test-in: Add more tests of pow.
19837         * math/auto-libm-test-out: Regenerated.
19838         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
19839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19841 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
19843         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
19844         Make code unconditional.
19845         [!__NR_utimensat]: Remove conditional code.
19846         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
19847         Make code unconditional.
19848         [!__NR_utimensat]: Remove conditional code.
19849         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
19850         Make code unconditional.
19851         [!__NR_utimensat]: Remove conditional code.
19853 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
19855         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
19856         Make code unconditional.
19858 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
19860         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
19861         call-clobbered %eax on retry path.
19862         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
19864 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
19866         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
19867         Don't set %rcx twice before "rep movsb".
19869 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
19871         [BZ #19583]
19872         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
19873         inline.  Check family before setting family, model and
19874         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
19875         bits here.
19876         (init_cpu_features): Replace HAS_CPU_FEATURE and
19877         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
19878         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
19879         for Intel processors with usable AVX2.  Call get_common_indeces
19880         for other processors with family == NULL.
19881         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
19882         (CPU_FEATURES_ARCH_P): Likewise.
19883         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
19884         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
19886 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19888         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
19889         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
19890         $(shared-thread-library) instead of hardcoding the path to libpthread.
19892 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
19894         * sysdeps/unix/sysv/linux/kernel-features.h
19895         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
19896         * sysdeps/unix/sysv/linux/getdents.c
19897         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
19898         [!have_no_getdents64_defined]: Likewise.
19899         (__GETDENTS): Remove __have_no_getdents64 conditional.
19901 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
19903         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
19904         Remove macro.
19905         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
19906         <kernel-features.h>.
19907         (signalfd) [__NR_signalfd4]: Make code unconditional.
19908         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
19910 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19912         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
19913         style.
19915 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
19917         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
19918         (__pthread_enable_asynccancel): Use JUMPTARGET to call
19919         __pthread_unwind.
19920         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
19921         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
19922         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
19923         (__condvar_cleanup1): Likewise.
19925 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
19927         [BZ #19822]
19928         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
19929         move it to the final $@ location.
19931 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19933         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
19934         access where posix_spawn success and pid argument is null.
19935         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
19936         success case.
19938 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
19940         * sysdeps/mach/hurd/i386/c++-types.data: New file.
19942         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
19944         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
19945         and __fcntl.
19946         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
19947         __fcntl only.
19948         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
19949         adding attribute_hidden to __open and __fcntl.
19951         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
19952         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
19953         depend on libc-modules.h,
19954         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
19956 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
19958         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
19959         Remove macro.
19960         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
19961         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
19962         entry.
19964         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
19965         Remove macro.
19966         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
19967         include <kernel-features.h>.
19968         [!__ASSUME_FALLOCATE]: Remove conditional code.
19969         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
19971 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
19973         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
19974         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
19975         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
19976         (_ZGVdN4v_cos_avx2): Likewise.
19977         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
19978         (_ZGVdN4v_cos): Likewise.
19979         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
19980         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
19981         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
19982         (_ZGVdN4v_exp_avx2): Likewise.
19983         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
19984         (_ZGVdN4v_exp): Likewise.
19985         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
19986         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
19987         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
19988         (_ZGVdN4v_log_avx2): Likewise.
19989         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
19990         (_ZGVdN4v_log): Likewise.
19991         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
19992         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
19993         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
19994         (_ZGVdN4vv_pow_avx2): Likewise.
19995         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
19996         (_ZGVdN4vv_pow): Likewise.
19997         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
19998         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
19999         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
20000         (_ZGVdN4v_sin_avx2): Likewise.
20001         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
20002         (_ZGVdN4v_sin): Likewise.
20003         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
20004         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
20005         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
20006         (_ZGVdN4vvv_sincos_avx2): Likewise.
20007         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
20008         (_ZGVdN4vvv_sincos): Likewise.
20009         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
20010         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
20011         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
20012         (_ZGVbN4v_cosf_sse4): Likewise.
20013         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
20014         (_ZGVdN8v_cosf_avx2): Likewise.
20015         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
20016         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
20017         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
20018         (_ZGVbN4v_expf_sse4): Likewise.
20019         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
20020         (_ZGVdN8v_expf_avx2): Likewise.
20021         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
20022         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
20023         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
20024         (_ZGVbN4v_logf_sse4): Likewise.
20025         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
20026         (_ZGVdN8v_logf_avx2): Likewise.
20027         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
20028         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
20029         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
20030         (_ZGVbN4vv_powf_sse4): Likewise.
20031         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
20032         (_ZGVdN8vv_powf_avx2): Likewise.
20033         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
20034         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
20035         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
20036         (_ZGVbN4vvv_sincosf_sse4): Likewise.
20037         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
20038         (_ZGVdN8vvv_sincosf_avx2): Likewise.
20039         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
20040         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
20041         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
20042         (_ZGVbN4v_sinf_sse4): Likewise.
20043         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
20044         (_ZGVdN8v_sinf_avx2): Likewise.
20045         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
20046         Use JUMPTARGET to call callee.
20047         (WRAPPER_IMPL_SSE2_ff): Likewise.
20048         (WRAPPER_IMPL_SSE2_fFF): Likewise.
20049         (WRAPPER_IMPL_AVX): Likewise.
20050         (WRAPPER_IMPL_AVX_ff): Likewise.
20051         (WRAPPER_IMPL_AVX_fFF): Likewise.
20052         (WRAPPER_IMPL_AVX512): Likewise.
20053         (WRAPPER_IMPL_AVX512_ff): Likewise.
20054         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
20055         Likewise.
20056         (WRAPPER_IMPL_SSE2_ff): Likewise.
20057         (WRAPPER_IMPL_SSE2_fFF): Likewise.
20058         (WRAPPER_IMPL_AVX): Likewise.
20059         (WRAPPER_IMPL_AVX_ff): Likewise.
20060         (WRAPPER_IMPL_AVX_fFF): Likewise.
20061         (WRAPPER_IMPL_AVX512): Likewise.
20062         (WRAPPER_IMPL_AVX512_ff): Likewise.
20063         (WRAPPER_IMPL_AVX512_fFF): Likewise.
20065 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20067         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
20068         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
20069         qualifier.
20070         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
20071         internal_function qualifiers.
20073 2016-03-15  Carlos O'Donell <carlos@redhat.com>
20075         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
20076         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
20077         * math/atest-exp.c (exp_mpn): Mark chk unused.
20078         * math/atest-exp2.c (exp_mpn): Likewise.
20079         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
20080         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
20082 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
20084         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
20085         Remove macro.
20086         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
20087         <kernel-features.h>.
20088         [__NR_ppoll]: Make code unconditional.
20089         [!__ASSUME_PPOLL]: Remove conditional code.
20091         * sysdeps/unix/sysv/linux/kernel-features.h
20092         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
20093         (__ASSUME_ACCEPT4): Likewise.
20094         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20095         Define.
20096         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
20097         Likewise.
20098         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20099         Likewise.
20100         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
20101         Likewise.
20102         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
20103         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
20104         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20105         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
20106         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20107         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20108         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20109         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20110         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20111         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20112         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20113         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20114         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20115         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20116         * sysdeps/unix/sysv/linux/i386/kernel-features.h
20117         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20118         Likewise.
20119         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20120         Likewise.
20121         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20122         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
20123         0x040300].
20124         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20125         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
20126         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20127         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20128         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
20129         0x030300].
20130         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
20131         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20132         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20133         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
20134         0x040300].
20135         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20136         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20137         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20138         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20139         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20140         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20141         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
20142         0x030300].
20143         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20144         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20145         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20146         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20147         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20148         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20149         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20150         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20151         * sysdeps/unix/sysv/linux/s390/kernel-features.h
20152         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20153         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
20154         0x040300].
20155         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20156         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20157         * sysdeps/unix/sysv/linux/sh/kernel-features.h
20158         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20159         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20160         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20161         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
20162         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20163         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20164         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20165         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20166         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20167         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20168         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20169         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
20170         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20171         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20172         Likewise.
20173         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20174         Likewise.
20176 2016-03-15  Andreas Schwab  <schwab@suse.de>
20178         [BZ #19257]
20179         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
20180         statp->_u._ext.nscount as loop count.
20182 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
20184         * math/test-signgam-finite-c99.c: Also #undef
20185         __LIBC_INTERNAL_MATH_INLINES.
20186         * math/test-signgam-main.c: Likewise.
20188 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
20190         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
20191         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
20192         (MADV_FREE): Likewise.
20193         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
20194         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
20195         EPOLLEXCLUSIVE.
20197 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
20199         * timezone/README: Remove mention of checktab.awk. Mention wiki
20200         SharedSourceFiles.
20202 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
20204         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
20205         WUNTRACED.
20207 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20209         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
20210         order to match the type of p when calling atomic_exchange_acq().
20212 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20214         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
20215         cfi_offset calls.
20216         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
20217         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
20218         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
20219         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
20220         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
20222 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
20224         * timezone/checktab.awk: Removed.
20226 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
20228         * manual/math.texi (Errors in Math Functions): Document relaxed
20229         accuracy goals for IBM long double.
20230         * math/libm-test.inc (test_exceptions): Always allow spurious
20231         "underflow" and "inexact" exceptions for IBM long double.
20233 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
20235         [BZ #19762]
20236         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
20237         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
20238         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
20239         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
20240         (bit_arch_*): This for feature array.
20241         (bit_*): Renamed to ...
20242         (bit_cpu_*): This for cpu array.
20243         (index_*): Renamed to ...
20244         (index_arch_*): This for feature array.
20245         (index_*): Renamed to ...
20246         (index_cpu_*): This for cpu array.
20247         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
20248         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
20249         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
20250         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
20251         bit_##name with index_cpu_##name and bit_cpu_##name.
20252         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
20253         bit_##name with index_arch_##name and bit_arch_##name.
20255 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
20257         [BZ #19792]
20258         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
20259         Terminate FDE before return label.
20261 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
20263         [BZ #19790]
20264         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
20265         (rintl): Define as macro.
20266         [USE_AS_NEARBYINTL] (__rintl): Likewise.
20267         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
20268         of fesetround.  Ensure results are evaluated before end of scope.
20269         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
20270         USE_AS_NEARBYINTL and include s_rintl.c.
20271         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
20272         Disable exception traps in new environment.
20273         (libc_feholdsetround_ppc_ctx): Likewise.
20275 2016-03-08  Roland McGrath  <roland@hack.frob.com>
20277         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
20278         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
20279         (tst_audit10_aux) [__AVX512F__]: ... here.
20281 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
20283         * include/sys/auxv.h: New file.
20285 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
20287         [BZ #19759]
20288         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
20290 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
20292         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
20293         operand modifier.
20294         (feclearexcept): Likewise.
20296 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20298         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
20299         to reflect the entire 32-bit HWCAP.
20300         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
20301         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
20303 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
20305         [BZ #19783]
20306         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
20307         $(test-via-rtld-prefix).
20308         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
20310 2016-03-08  Florian Weimer  <fweimer@redhat.com>
20312         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
20313         union wait.  Report any non-zero exit status as error.
20315 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20317         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
20318         configured with --enable-hardcoded-path-in-tests.
20320 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
20322         [BZ #19677]
20323         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
20324         (__ieee754_remainderl): Put zero low parts in canonical form.
20325         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
20326         file.  Based on
20327         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
20328         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
20329         with wrapper round test-fmodrem-ldbl-128ibm.c.
20330         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
20331         file.
20332         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
20333         Likewise.
20334         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
20335         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
20337 2016-03-07  Florian Weimer  <fweimer@redhat.com>
20339         [BZ #19610]
20340         * elf/ldconfig.c (opt_link): Update comment.
20341         (options): Update help string for option -X.
20342         (search_dir): Unlink stale symbolic link only if updating symbolic
20343         links.
20344         * elf/tst-ldconfig-X.sh: New file.
20345         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
20346         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
20348 2016-03-07  Andreas Schwab  <schwab@suse.de>
20350         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
20351         needed arguments.
20353 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
20355         [BZ #15333]
20356         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
20357         to lstat64.
20359 2016-03-07  Florian Weimer  <fweimer@redhat.com>
20361         * libio/filedoalloc.c (isatty): Remove.
20362         (local_isatty): Add comment.  Call __isatty directly.
20363         (_IO_file_doallocate): Update comment.  Assume _LIBC.
20364         * libio/wfiledoalloc.c (isatty): Remove.
20365         (_IO_wfile_doallocate): Update comment.
20367 2016-03-07  Florian Weimer  <fweimer@redhat.com>
20369         [BZ #19269]
20370         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
20371         tst-audit4-aux.o.
20372         (tst-audit10): Depend on tst-audit10-aux.o.
20373         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
20374         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
20375         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
20376         instead of inline AVX code.
20377         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
20378         instead of inline AVX512 code.
20379         * sysdeps/x86_64/tst-audit4-aux.c: New file
20380         * sysdeps/x86_64/tst-audit10-aux.c: New file
20382         [BZ #19648]
20383         * test-skeleton.c (main): Do not set RLIMIT_DATA.
20385 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20387         [BZ #14750]
20388         [BZ #10354]
20389         [BZ #18433]
20390         * include/sched.h (__clone): Add hidden prototype.
20391         (__clone2): Likewise.
20392         * include/unistd.h (__dup): Likewise.
20393         * posix/Makefile (tests): Add tst-spawn2.
20394         * posix/tst-spawn2.c: New file.
20395         * sysdeps/posix/dup.c (__dup): Add hidden definition.
20396         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
20397         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
20398         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
20399         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
20400         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
20401         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
20402         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
20403         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
20404         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
20405         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
20406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
20407         Likewise.
20408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20409         Likewise.
20410         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
20411         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
20412         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
20413         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
20414         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
20415         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
20416         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
20417         * sysdeps/unix/sysv/linux/nptl-signals.h
20418         (____nptl_is_internal_signal): New function.
20419         * sysdeps/unix/sysv/linux/spawni.c: New file.
20421         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
20422         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
20423         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
20424         * posix/tst-execvp2.c (do_test): Likewise.
20425         * posix/tst-execvp3.c (do_test): Likewise.
20426         * posix/tst-execvp4.c (do_test): Likewise.
20427         * posix/tst-execvpe1.c: New file.
20428         * posix/tst-execvpe2.c: Likewise.
20429         * posix/tst-execvpe3.c: Likewise.
20430         * posix/tst-execvpe4.c: Likewise.
20431         * posix/tst-execvpe5.c: Likewise.
20432         * posix/tst-execvpe6.c: Likewise.
20434         [BZ #19534]
20435         * posix/execl.c (execl): Remove dynamic memory allocation.
20436         * posix/execle.c (execle): Likewise.
20437         * posix/execlp.c (execlp): Likewise.
20439 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
20441         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
20442         Replace .text with .text.avx512.
20443         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
20444         Likewise.
20446 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
20448         * sysdeps/generic/libnsl.abilist: New file.
20449         * sysdeps/generic/libutil.abilist: New file.
20451 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
20453         [BZ #19762]
20454         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
20455         HAS_ARCH_FEATURE with Fast_Rep_String.
20456         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
20457         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
20458         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
20459         Likewise.
20460         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
20461         Likewise.
20462         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
20463         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
20464         Likewise.
20465         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
20466         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
20467         Likewise.
20469 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
20471         [BZ #19745]
20472         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
20473         with *%rax in call.
20475 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
20477         [BZ #19745]
20478         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
20479         with *__libc_start_main@GOTPCREL(%rip) in call.
20481 2016-03-04  Roland McGrath  <roland@hack.frob.com>
20483         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
20484         inside conditional for nonempty $(CXX).
20486         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
20487         nonempty.
20489         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
20490         to test for empty $(CXX) rather than $(CXX) of "no".
20492 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
20494         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
20496 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
20497             H.J. Lu  <hongjiu.lu@intel.com>
20499         [BZ #18880]
20500         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
20501         instead of Slow_BSF, and also check for Fast_Copy_Backward to
20502         enable __memcpy_ssse3_back.
20504 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
20506         [BZ #19758]
20507         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
20508         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
20510 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
20512         [BZ #19490]
20513         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
20514         (__fentry__): Likewise.
20516 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
20518         * gmon/Makefile (noprof): Add $(sysdep_noprof).
20519         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
20521 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
20523         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
20524         __mcount_internal directly.
20525         (C_LABEL(__fentry__)): Likewise.
20526         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
20527         directly.
20529 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
20531         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20532         (__start_context): Call __setcontext directly.
20534 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
20536         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20537         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20538         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
20539         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
20540         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20541         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20542         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
20543         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20544         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20545         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
20546         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
20547         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
20548         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20549         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20550         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20551         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20552         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
20553         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20554         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20555         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
20556         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
20557         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20558         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20559         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
20560         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
20561         Remove conditional code.
20562         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20563         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
20564         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20565         * sysdeps/unix/sysv/linux/sh/kernel-features.h
20566         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
20567         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20568         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
20569         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
20570         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20571         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20572         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20573         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20575 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
20577         * NEWS (2.23): Fix typo in bug 19048 text.
20579 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
20581         [BZ #14259]
20582         * Makeconfig: Rename msgcatdir to localedir.
20583         Rename inst_msgcatdir to inst_localedir.
20584         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
20585         * config.make.in: Add localedir.
20586         * elf/Makefile ($(objpfx)sotruss): Use localedir.
20587         (ldd-rewrite): Likewise.
20588         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
20589         (install-others): Use inst_localedir.
20590         (CPPFLAGS): Use localedir.
20591         * locale/Makefile (locale-CPPFLAGS): Likewise.
20592         * po/Makefile (mo-installed): Use inst_localedir.
20594         [BZ #19575]
20595         * localedata/charmaps/GB18030: Update comments regarding PAU to
20596         non-PUA mappings.
20598 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
20600         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
20601         test for header.
20602         * sysdeps/unix/sysv/linux/configure: Regenerated.
20603         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
20604         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
20605         Remove conditional code.
20606         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
20608         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
20609         Define to 3.2.0.
20610         (arch_minimum_kernel): Likewise.
20611         * sysdeps/unix/sysv/linux/configure: Regenerated.
20612         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
20613         Define to 2.6.32.
20614         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
20615         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
20616         (arch_minimum_kernel): Define to 2.6.32.
20617         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
20618         * README: Document Linux 3.2 requirement.
20619         * manual/install.texi (Linux): Document Linux 3.2 headers
20620         requirement.
20621         * INSTALL: Regenerated.
20623 2016-02-24  Andreas Schwab  <schwab@suse.de>
20625         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
20626         if !NO_LONG_DOUBLE.
20628 2016-02-22  Roland McGrath  <roland@hack.frob.com>
20630         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
20631         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
20633 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
20635         [BZ #19512]
20636         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
20638 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
20640         * posix/tst-dir.c: Include libc-internal.h.
20642 2016-02-20  Florian Weimer  <fweimer@redhat.com>
20644         [BZ #19056]
20645         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
20646         * manual/filesys.texi (Reading/Closing Directory): Mention
20647         deprecaion.
20648         * posix/tst-dir.c (main): Disable deprecation warning in test.
20650 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
20652         [BZ #19679]
20653         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
20654         Renamed to ...
20655         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
20656         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
20657         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
20658         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
20659         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
20660         * sysdeps/x86_64/dl-trampoline.h
20661         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
20662         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
20664 2016-02-19  Mark Wielaard  <mjw@redhat.com>
20666         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
20668 2016-02-19  Mark Wielaard  <mjw@redhat.com>
20670         * elf/elf.h (R_386_GOT32X): New.
20671         (R_386_NUM): Update.
20672         (R_X86_64_GOTPCRELX: New.
20673         (R_X86_64_REX_GOTPCRELX): New.
20674         (R_X86_64_NUM): Update.
20676 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
20678         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
20680 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
20682         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
20683         assign attr->stackaddr to it, and adjust it down when
20684         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
20685         [_STACK_GROWS_UP]: Delete assert.
20686         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
20687         Implement stack grows up logic.
20688         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
20689         stack grows up logic.
20691 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20693         * NEWS: Update with 2.24 template.
20695 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
20697         [BZ #19678]
20698         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
20699         Ensure +0.0 is returned when taking the next value below the least
20700         positive value.
20702 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20704         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
20705         available.  Do not define NO_THREADS.
20706         * malloc/malloc.c: Do not check NO_THREADS.
20707         * malloc/arena.c: Likewise.
20709 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20711         * malloc/malloc.c (__libc_mallinfo): Update comment.
20712         (struct malloc_par): Remove max_total_mem member, it was always 0.
20713         (int_mallinfo): Store 0 into usmblks (no functional change).
20714         * malloc/hooks.c (struct malloc_state): Document that
20715         max_total_mem is always 0.
20716         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
20717         always 0.
20718         * manual/memory.texi (Statistics of Malloc): Likewise.
20720 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20722         * malloc/malloc.c (sysmalloc): Do not update arena_max.
20723         * malloc/arena.c (arena_max): Remove.
20724         (heap_trim, _int_new_arena): Do not update arena_max.
20726 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20728         * resolv/res_init.c (res_ninit): Update comment.
20730 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20732         [BZ #19505]
20733         * posix/spawn_int.h: Add headers and include guard.
20734         (__spawn_valid_fd): New function.
20735         * posix/spawn_faction_addopen.c
20736         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
20737         * posix/spawn_faction_addclose.c
20738         (posix_spawn_file_actions_addclose): Likewise.
20739         * posix/spawn_faction_adddup2.c
20740         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
20741         second file descriptor.
20742         * posix/spawn_valid_fd.c: New file.
20743         * posix/tst-posix_spawn-fd.c: New file.
20744         * posix/Makefile (routines): Add spawn_valid_fd.
20745         (tests): Add tst-posix_spawn-fd.
20747 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20749         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
20750         (do_test): Limit the number of arenas, so that we can use fewer
20751         outer threads.  Limit timeout to 3 seconds, in preparation for a
20752         larger TIMEOUT value.
20754 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
20756         [BZ #19674]
20757         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
20758         sign in overflowing and underflowing results when overflow or
20759         underflow is detected early.  Include sign in result before rather
20760         than after scaling.
20762         [BZ #19603]
20763         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
20764         (__ieee754_remainderl): Adjust sign of integer version of low part
20765         when taking absolute value of high part.
20766         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20767         * math/libm-test.inc (remainder_test_data): Add another test.
20768         (remquo_test_data): Likewise.
20770 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
20772         [BZ #19602]
20773         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
20774         equal high parts and both low parts zero specially.
20775         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
20776         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
20777         Add test-fmodl-ldbl-128ibm.
20779         [BZ #19595]
20780         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
20781         common logic for all cases of shifting subnormal results.  Do not
20782         insert sign bit in shifted mantissa.  Always pass -1023 as biased
20783         exponent to ldbl_insert_mantissa in subnormal case.
20785         [BZ #19594]
20786         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
20787         on high and low parts then adjust result and use
20788         ldbl_canonicalize_int if needed.
20790         [BZ #19593]
20791         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
20792         on high part and __floor or __ceil on low part then use
20793         ldbl_canonicalize_int if needed.
20795         [BZ #19592]
20796         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
20797         high and low parts then use ldbl_canonicalize_int if needed.
20799         [BZ #17899]
20800         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
20801         New function.
20802         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
20803         on high and low parts then use ldbl_canonicalize_int if needed.
20805 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20807         * configure: Regenerated.
20809         * po/libc.pot: Regenerated.
20811         * po/be.po: Updated translation.
20812         * po/bg.po: Likewise.
20813         * po/ca.po: Likewise.
20814         * po/cs.po: Likewise.
20815         * po/da.po: Likewise.
20816         * po/el.po: Likewise.
20817         * po/eo.po: Likewise.
20818         * po/es.po: Likewise.
20819         * po/fi.po: Likewise.
20820         * po/fr.po: Likewise.
20821         * po/gl.po: Likewise.
20822         * po/hr.po: Likewise.
20823         * po/hu.po: Likewise.
20824         * po/ia.po: Likewise.
20825         * po/id.po: Likewise.
20826         * po/it.po: Likewise.
20827         * po/ja.po: Likewise.
20828         * po/lt.po: Likewise.
20829         * po/nb.po: Likewise.
20830         * po/nl.po: Likewise.
20831         * po/pt_BR.po: Likewise.
20832         * po/rw.po: Likewise.
20833         * po/sk.po: Likewise.
20834         * po/sl.po: Likewise.
20835         * po/sv.po: Likewise.
20836         * po/tr.po: Likewise.
20837         * po/zh_CN.po: Likewise.
20838         * po/zh_TW.po: Likewise.
20840         * version.h (RELEAES): Set to "development".
20841         (VERSION): Set to 2.23.90.
20843         * version.h (RELEASE): Set to "stable".
20844         (VERSION): Set to 2.23.
20845         * include/feature.h (__GLIBC_MINOR__): Set to 23.
20847         * NEWS: Updated fixed bugs.
20849 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
20850             Wilco Dijkstra  <wdijkstr@arm.com>
20852         [BZ #19462]
20853         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
20854         (_STRING_INLINE_unaligned): This.
20855         * include/string.h: Include <string_private.h>.
20856         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
20857         _STRING_INLINE_unaligned.
20858         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
20859         (_STRING_INLINE_unaligned): New.
20860         * sysdeps/aarch64/string_private.h: New file.
20861         * sysdeps/generic/string_private.h: Likewise.
20862         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
20863         * sysdeps/s390/string_private.h: Likewise.
20864         * sysdeps/x86/string_private.h: Likewise.
20865         * sysdeps/m68k/m680x0/m68020/bits/string.h
20866         (_STRING_ARCH_unaligned): Renamed to ...
20867         (_STRING_INLINE_unaligned): This.
20868         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
20869         to ...
20870         (_STRING_INLINE_unaligned): This.
20871         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
20872         to ...
20873         (_STRING_INLINE_unaligned): This.
20874         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
20875         to ...
20876         (_STRING_INLINE_unaligned): This.
20878 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
20879             H.J. Lu  <hongjiu.lu@intel.com>
20881         [BZ #19590]
20882         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
20883         relocation.
20885 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
20887         [BZ #18665]
20888         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
20889         *herrno_p.
20890         (gaih_getanswer): Document functional behviour. Return tryagain
20891         if any result is tryagain.
20892         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
20893         when freed.
20894         * resolv/res_send.c: Add copyright text.
20895         (__libc_res_nsend): Document that MAXPACKET is expected.
20896         (send_vc): Document. Remove buffer reuse.
20897         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
20898         size of the buffer. Add Dprint for truncated UDP buffer.
20900 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
20902         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
20903         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
20904         * INSTALL: Regenerate.
20906 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
20907             Jonathan Wakely  <jwakely@redhat.com>
20908             Carlos O'Donell  <carlos@redhat.com>
20910         [BZ 19439]
20911         * math/Makefile (tests): Add test-math-isinff.
20912         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
20913         * math/bits/mathcalls.h [__USE_MISC]: Use
20914         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
20915         functions not in C++11 and which don't conflict e.g. isinff,
20916         isinfl etc.
20917         * math/test-math-isinff.cc: New file.
20919 2016-02-12  Florian Weimer  <fweimer@redhat.com>
20921         * misc/bug18240.c (do_test): Set RLIMIT_AS.
20923 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20925         [BZ #19529]
20926         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
20928 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20930         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
20932 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
20934         [BZ #19550]
20935         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
20936         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
20937         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
20938         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
20939         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
20940         New syscall entry.
20941         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
20942         New syscall entry.
20943         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
20944         syscall entry.
20946 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
20948         [BZ #18240]
20949         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
20950         unsigned int wraparound.
20952 2016-01-27  Florian Weimer  <fweimer@redhat.com>
20954         [BZ #18240]
20955         * misc/bug18240.c: New test.
20956         * misc/Makefile (tests): Add it.
20958 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
20959             Joseph Myers  <joseph@codesourcery.com>
20961         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
20962         load in branch delay slot when less than a word of input left.
20964 2016-01-27  Andreas Schwab  <schwab@suse.de>
20966         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
20967         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
20968         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
20969         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
20971 2016-01-26  David S. Miller  <davem@davemloft.net>
20973         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
20975 2016-01-25  David S. Miller  <davem@davemloft.net>
20977         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
20978         __sqrtl_finite.
20979         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
20980         instead using versioned_symbol.
20981         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
20982         of entries.
20984         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
20985         __sqrtl_finite to GLIBC_2.23
20987 2016-01-25  Ricchard Henderson  <rth@redhat.com>
20989         * sysdeps/alpha/fpu/libm-test-ulps: Update.
20991 2016-01-25  Andreas Schwab  <schwab@suse.de>
20993         [BZ #17514]
20994         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
20995         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
20996         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
20997         * nptl/tst-mutex-errorcheck.c: New file.
20999 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21001         [BZ #18560]
21002         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
21003         (IPCOP_semop): Likewise.
21004         (IPCOP_semget): Likewise.
21005         (IPCOP_semctl): Likewise.
21006         (IPCOP_msgsnd): Likewise.
21007         (IPCOP_msgrcv): Likewise.
21008         (IPCOP_msgget): Likewise.
21009         (IPCOP_msgctl): Likewise.
21010         (IPCOP_shmat): Likewise.
21011         (IPCOP_shmdt): Likewise.
21012         (IPCOP_shmget): Likewise.
21013         (IPCOP_shmctl): Likewise.
21015 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
21017         * string/tst-endian.c: Include <libc-internal.h>.
21018         (do_test): Ignore tautological-compare warnings around
21019         "htobeXX (beXXtoh (i)) != i" and
21020         "htoleXX (leXXtoh (i)) != i" if-statements.
21022 2016-01-24  David S. Miller  <davem@davemloft.net>
21024         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
21025         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
21026         alias.
21027         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
21028         __sqrtl_finite.
21030         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21032 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
21034         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
21035         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
21036         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
21038 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21040         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
21041         (thread_func): Use new function to simplify barrier check.
21042         (do_test): Use new function to simplify checking barrier exit
21043         code, and actually join the child thread.
21045 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21047         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
21048         semicolon.
21049         (__libc_tend): Likewise.
21050         (__libc_tabort): Likewise.
21052 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
21054         * sysdeps/nios2/libm-test-ulps: Update.
21055         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
21056         (__gtsf2): Likewise.
21057         (__unorddf2): Likewise.
21058         (__unordsf2): Likewise.
21059         (__ledf2): Likewise.
21061 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
21063         * nis/nis_table.c (__follow_path): Disable diagnostic for
21064         uninitialized variable that is a false positive for gcc 4.7.
21065         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
21067 2016-01-20  Roland McGrath  <roland@hack.frob.com>
21069         * sysdeps/nacl/lowlevellock-futex.h
21070         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
21071         Always evaluate PRIVATE argument.
21073 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
21075         [BZ #19490]
21076         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
21077         (pthread_cond_broadcast): Use ENTRY/END
21078         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
21079         (pthread_cond_signal): Likewise.
21080         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
21081         Likewise.
21082         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
21083         Likewise.
21084         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
21085         Likewise.
21087 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
21089         * sysdeps/ieee754/dbl-64/s_finite.c
21090         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
21091         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
21092         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
21093         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
21094         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
21096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
21097         (__gtsf2): Add as optional for libc.so.
21098         (__unordsf2): Likewise.
21099         (__signbit): Remove for libc.so.
21100         (__signbitl): Likewise.
21102 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
21104         * iconvdata/bug-iconv11.c (test_ibm93x):
21105         Use %zu printf format specifier for size_t argument.
21107 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
21109         * math/gen-libm-test.pl (parse_ulps): Do not reduce
21110         already-recorded ulps.
21111         * sysdeps/arm/libm-test-ulps: Regenerated.
21112         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21113         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21114         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
21116 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
21117             Paul Pluzhnikov  <ppluzhnikov@google.com>
21119         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
21120         assembler not supporting AVX-512.
21122 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
21124         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21126 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
21128         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
21129         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21131         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21133         * sysdeps/arm/libm-test-ulps: Regenerated.
21135 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
21137         [BZ #19451]
21138         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
21140 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
21142         [BZ #19486]
21143         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
21144         * sysdeps/generic/fix-fp-int-convert-overflow.h
21145         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
21146         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
21147         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
21148         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
21149         Likewise.
21150         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
21151         Avoid conversions to long int where inexact exceptions
21152         could be raised.
21153         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
21154         Likewise.
21155         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
21156         Avoid conversions to long long int where inexact exceptions
21157         could be raised.
21158         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
21159         Likewise.
21161 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
21163         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
21164         * configure: Regenerated.
21166 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
21168         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
21170 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
21172         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
21173         outside of comment.
21175 2016-01-15  Torvald Riegel  <triegel@redhat.com>
21177         * nptl/tst-barrier1.c: Add description on first line.
21178         * nptl/tst-barrier2.c: Likewise.
21179         * nptl/tst-barrier3.c: Likewise.
21180         * nptl/tst-barrier4.c: Likewise.
21181         * nptl/tst-barrier5.c: Likewise.
21183 2016-01-15  Torvald Riegel  <triegel@redhat.com>
21185         [BZ #18868]
21186         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
21188 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
21190         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
21191         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
21192         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
21193         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
21194         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
21195         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
21196         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21197         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21198         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21199         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21200         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21202 2016-01-15  Torvald Riegel  <triegel@redhat.com>
21204         [BZ #13065]
21205         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
21206         new implementation.
21207         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
21208         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
21209         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
21210         (BARRIER_IN_THRESHOLD): New macro.
21211         * nptl/pthread_barrierattr_setpshared.c
21212         (pthread_barrierattr_setpshared): Clean up.
21213         * nptl/tst-barrier4.c: Correct comment.
21214         * nptl/tst-barrier5.c: New file.
21215         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
21216         (gen-as-const-headers): Remove lowlevelbarrier.sym.
21217         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
21218         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
21219         * nptl/lowlevelbarrier.sym: Remove.
21220         * nptl/DESIGN-barrier.txt: Remove.
21221         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
21222         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
21223         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
21224         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
21225         error.
21226         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
21227         implementation.
21229 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21231         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
21232         (do_child): Mask SIGRTMIN while thr is running.
21234 2016-01-15  Martin Sebor  <msebor@redhat.com>
21236         [BZ #19432]
21237         * iconvdata/Makefile: Add bug-iconv11.
21238         * iconvdata/bug-iconv11.c: New test.
21239         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
21240         * iconvdata/ibm933.c: Same.
21241         * iconvdata/ibm935.c: Same.
21242         * iconvdata/ibm937.c: Same.
21243         * iconvdata/ibm939.c: Same.
21245 2016-01-15  Martin Sebor  <msebor@redhat.com>
21247         [BZ #19443]
21248         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
21249         [DEBUG] (_ufc_set_bits): Declare used.
21250         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
21251         [DEBUG] (print_all): Declare used.
21252         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
21253         operands of the ternary ?: expression to target type.
21254         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
21255         calling the undeclared abort.
21256         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
21258 2016-01-15  Martin Sebor  <msebor@redhat.com>
21260         [BZ #18755]
21261         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
21262         warnings.
21263         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
21264         (__gai_create_helper_thread): Same.
21265         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
21266         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
21267         to suppress -Wmaybe-uninitialized warnings.
21269 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
21271         [BZ #19465]
21272         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
21273         inside if.
21274         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21275         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21276         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21278 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
21280         [BZ #19466]
21281         * time/tst-mktime2.c (time_t_max): Removed.
21282         (time_t_min): Likewise.
21283         (TYPE_SIGNED): New.
21284         (TYPE_MINIMUM): Likewise.
21285         (TYPE_MAXIMUM): Likewise.
21286         (TIME_T_MIN): Likewise.
21287         (TIME_T_MAX): Likewise.
21288         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
21289         and TIME_T_MIN.
21290         (do_test): Likewise.
21292 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
21294         [BZ #19467]
21295         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
21296         index_Fast_Unaligned_Load flag for Excavator family CPUs.
21298 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
21300         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
21302 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
21304         * benchtests/Makefile (PYTHON): Define.
21305         (bench-func): Use $(PYTHON) to run python scripts.
21306         ($(objpfx)bench-%.c): Likewise.
21308 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
21310         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
21311         leading slash when `file_name' is "/".
21313 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
21315         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
21316         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
21317         Likewise.
21318         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
21319         Likewise.
21320         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
21321         Likewise.
21322         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
21323         enum constant and macro.
21324         (PTRACE_SETSIGMASK): Likewise.
21325         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21326         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
21327         (PTRACE_GETSIGMASK): Likewise.
21328         (PTRACE_SETSIGMASK): Likewise.
21329         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21330         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
21331         Likewise.
21332         (PTRACE_SETSIGMASK): Likewise.
21333         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21334         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
21335         (PTRACE_GETSIGMASK): Likewise.
21336         (PTRACE_SETSIGMASK): Likewise.
21337         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21338         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
21339         Likewise.
21340         (PTRACE_SETSIGMASK): Likewise.
21341         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21342         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
21343         Likewise.
21344         (PTRACE_SETSIGMASK): Likewise.
21345         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21346         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
21347         Likewise.
21348         (PTRACE_SETSIGMASK): Likewise.
21349         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21351 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
21352             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21354         [BZ #19439]
21355         * math/bits/mathcalls.h
21356         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
21357         prototype.
21358         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
21360 2016-01-11  Andreas Schwab  <schwab@suse.de>
21362         [BZ #19253]
21363         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
21364         cache when TZDEFRULES was used.
21365         * time/tst-tzname.c: New file.
21366         * time/Makefile (test): Add tst-tzname.
21367         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
21368         * timezone/Makefile (test-zones): Add $(posixrules-file).
21369         ($(testdata)/$(posixrules-file)): New rule.
21371 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
21373         Fix doc quoting problems with Texinfo 5
21374         Without this change, in the info file output, Texinfo 5 quotes code
21375         in text with undirected single quotes 'like this' and generates
21376         code examples that with many PDF readers cannot be cut out of PDFs
21377         and pasted into code.
21378         * manual/libc.texinfo: Configure the libc manual like the GNU
21379         Emacs manual, by using @documentencoding and setting
21380         txicodequoteundirected and txicodequotebacktick.  This way,
21381         Texinfo 5 quotes code in text with directed single quotes ‘like
21382         this’ and produces examples that can be cut out of PDFs.  This
21383         change causes Texinfo 5 to generate info files that contain UTF-8
21384         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
21385         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
21387 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21389         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
21390         __libc_tabort, __libc_tend): New wrappers that enforce compiler
21391         barriers to their respective compiler built-ins.
21392         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
21393         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
21394         * sysdeps/powerpc/sysdep.h: Likewise.
21395         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
21396         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
21397         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
21399 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
21401         * scripts/config.guess: Revert previous shebang change.
21402         * scripts/config.sub: Likewise.
21403         * scripts/mkinstalldirs: Likewise.
21405 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21407         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
21408         PPC_FEATURE2_HAS_IEEE128.
21409         * sysdeps/powerpc/dl-procinfo.c:
21410         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
21412 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
21414         [BZ #19415]
21415         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
21416         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
21417         (_dl_lookup_address): Rewrite using function resolver trampoline.
21418         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
21419         two bits in address.
21421 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
21423         * longlong.h: Change !__SHMEDIA__ to
21424         (!defined (__SHMEDIA__) || !__SHMEDIA__).
21425         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
21427 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
21428             Joseph Myers  <joseph@codesourcery.com>
21429             Mark Shinwell  <shinwell@codesourcery.com>
21430             Andrew Stubbs  <ams@codesourcery.com>
21431             Rich Felker <dalias@libc.org>
21433         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
21435 2016-01-07  Richard Henderson  <rth@redhat.com>
21437         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
21439 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
21441         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
21442         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
21443         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21444         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21445         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
21447 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
21448             Joseph Myers  <joseph@codesourcery.com>
21450         * timezone/private.h: Update from tzcode 2015g.
21451         * timezone/tzfile.h: Likewise.
21452         * timezone/tzselect.ksh: Likewise.
21453         * timezone/zdump.c: Likewise.
21454         * timezone/zic.c: Likewise.
21455         * timezone/ialloc.c: Remove file.
21456         * timezone/scheck.c: Likewise.
21457         * timezone/Makefile (extra-objs): Remove variable.
21458         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
21459         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
21460         -Wno-maybe-uninitialized.
21461         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
21462         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
21463         (CFLAGS-ialloc.c): Remove variable.
21464         (CFLAGS-scheck.c): Likewise.
21465         * timezone/README: Update list of files from tzcode.
21467 2016-01-07  Khem Raj  <raj.khem@gmail.com>
21469         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
21470         instead of __fxprintf when _LIBC is undefined.
21472 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
21474         * catgets/test-gencat.sh: Remove space after shebang.
21475         * conform/GlibcConform.pm: Likewise.
21476         * conform/check-header-lists.sh: Likewise.
21477         * conform/conformtest.pl: Likewise.
21478         * conform/linknamespace.pl: Likewise.
21479         * conform/list-header-symbols.pl: Likewise.
21480         * debug/catchsegv.sh: Likewise.
21481         * elf/genrtldtbl.awk: Likewise.
21482         * elf/tst-pathopt.sh: Likewise.
21483         * elf/tst-rtld-load-self.sh: Likewise.
21484         * grp/tst_fgetgrent.sh: Likewise.
21485         * iconvdata/gen-8bit-gap-1.sh: Likewise.
21486         * iconvdata/gen-8bit-gap.sh: Likewise.
21487         * iconvdata/gen-8bit.sh: Likewise.
21488         * iconvdata/run-iconv-test.sh: Likewise.
21489         * intl/tst-gettext.sh: Likewise.
21490         * intl/tst-gettext2.sh: Likewise.
21491         * intl/tst-gettext4.sh: Likewise.
21492         * intl/tst-gettext6.sh: Likewise.
21493         * intl/tst-translit.sh: Likewise.
21494         * io/ftwtest-sh: Likewise.
21495         * libio/test-freopen.sh: Likewise.
21496         * locale/gen-translit.pl: Likewise.
21497         * malloc/tst-mtrace.sh: Likewise.
21498         * manual/check-safety.sh: Likewise.
21499         * manual/libc-texinfo.sh: Likewise.
21500         * manual/tsort.awk: Likewise.
21501         * manual/xtract-typefun.awk: Likewise.
21502         * nptl/tst-cancel-wrappers.sh: Likewise.
21503         * nptl/tst-tls6.sh: Likewise.
21504         * posix/globtest.sh: Likewise.
21505         * posix/tst-getconf.sh: Likewise.
21506         * posix/wordexp-tst.sh: Likewise.
21507         * scripts/check-c++-types.sh: Likewise.
21508         * scripts/check-local-headers.sh: Likewise.
21509         * scripts/config.guess: Likewise.
21510         * scripts/config.sub: Likewise.
21511         * scripts/cpp: Likewise.
21512         * scripts/cross-test-ssh.sh: Likewise.
21513         * scripts/documented.sh: Likewise.
21514         * scripts/evaluate-test.sh: Likewise.
21515         * scripts/gen-libc-abis: Likewise.
21516         * scripts/gen-sorted.awk: Likewise.
21517         * scripts/list-fixed-bugs.py: Likewise.
21518         * scripts/merge-test-results.sh: Likewise.
21519         * scripts/mkinstalldirs: Likewise.
21520         * scripts/rellns-sh: Likewise.
21521         * scripts/test-installation.pl: Likewise.
21522         * scripts/update-copyrights: Likewise.
21523         * stdio-common/tst-printf.sh: Likewise.
21524         * stdio-common/tst-unbputc.sh: Likewise.
21525         * stdlib/tst-fmtmsg.sh: Likewise.
21526         * stdlib/tst-setcontext3.sh: Likewise.
21527         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
21528         * sysdeps/unix/make-syscalls.sh: Likewise.
21530 2016-01-06  John David Anglin  <dave.anglin@bell.net>
21532         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
21533         asm stw with atomic_exchange_rel.  Add explanatory comment.
21534         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
21535         Likewise.
21537 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
21539         [BZ #19122]
21540         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
21541         * sysdeps/generic/dl-unistd.h: New file.
21542         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
21544 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
21546          [BZ #19122]
21547          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
21548          * sysdeps/generic/dl-mman.h: New file.
21549          * sysdeps/mach/hurd/dl-mman.h: Likewise.
21551 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
21553         * manual/texinfo.tex: Update to version 2016-01-04.21 with
21554         trailing whitespace removed.
21555         * scripts/config.guess: Update to version 2016-01-01.
21556         * scripts/config.sub: Update to version 2016-01-01.
21557         * scripts/move-if-change: Update from gnulib.
21559 2016-01-04  Anton Blanchard  <anton@samba.org>
21561         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
21562         for array indices.
21563         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
21565 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
21567         * NEWS: Update copyright dates.
21568         * catgets/gencat.c (print_version): Likewise.
21569         * csu/version.c (banner): Likewise.
21570         * debug/catchsegv.sh: Likewise.
21571         * debug/pcprofiledump.c (print_version): Likewise.
21572         * debug/xtrace.sh (do_version): Likewise.
21573         * elf/ldconfig.c (print_version): Likewise.
21574         * elf/ldd.bash.in: Likewise.
21575         * elf/pldd.c (print_version): Likewise.
21576         * elf/sotruss.sh: Likewise.
21577         * elf/sprof.c (print_version): Likewise.
21578         * iconv/iconv_prog.c (print_version): Likewise.
21579         * iconv/iconvconfig.c (print_version): Likewise.
21580         * locale/programs/locale.c (print_version): Likewise.
21581         * locale/programs/localedef.c (print_version): Likewise.
21582         * login/programs/pt_chown.c (print_version): Likewise.
21583         * malloc/memusage.sh (do_version): Likewise.
21584         * malloc/memusagestat.c (print_version): Likewise.
21585         * malloc/mtrace.pl: Likewise.
21586         * manual/libc.texinfo: Likewise.
21587         * nptl/version.c (banner): Likewise.
21588         * nscd/nscd.c (print_version): Likewise.
21589         * nss/getent.c (print_version): Likewise.
21590         * nss/makedb.c (print_version): Likewise.
21591         * posix/getconf.c (main): Likewise.
21592         * scripts/test-installation.pl: Likewise.
21593         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
21595         * All files with FSF copyright notices: Update copyright dates
21596         using scripts/update-copyrights.
21597         * intl/plural.c: Regenerated.
21598         * locale/programs/charmap-kw.h: Likewise.
21599         * locale/programs/locfile-kw.h: Likewise.
21601 2016-01-02  Helge Deller  <deller@gmx.de>
21603         [BZ #19285]
21604         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
21605         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
21606         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
21607         (MADV_xxK_PAGES): Remove.
21609 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
21611         [BZ #15421]
21612         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
21613         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
21614         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
21615         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
21617 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
21619         [BZ #19408]
21620         * sysdeps/unix/sysv/linux/personality.c: New file.
21621         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
21622         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
21623         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
21624         (sysdep_routines): Add personality.
21625         (tests): Add tst-personality.
21626         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
21627         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
21628         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
21629         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
21630         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
21631         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
21632         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
21633         Likewise.
21634         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
21635         Likewise.
21636         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
21637         Likewise.
21638         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
21639         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
21640         Likewise.
21642 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
21644         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
21645         (PATH_ARM_SYSTYPE): Remove.
21646         (PATH_CPUINFO): Likewise.
21647         (IO_BASE_FOOTBRIDGE): Likewise.
21648         (IO_SHIFT_FOOTBRIDGE): Likewise.
21649         (struct platform): Likewise.
21650         (init_iosys): Remove compatibility code for 2.4 kernels.
21651         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
21653 2015-12-29  Florian Weimer  <fweimer@redhat.com>
21655         * malloc/tst-malloc-thread-fail.c: New file.
21656         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
21657         (tst-malloc-thread-fail): Link against libpthread.
21659 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
21661         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
21662         (get_parser): New function.
21663         (main): New function.
21665 2015-12-29  Rob Wu  <rob@robwu.nl>
21667         [BZ #19369]
21668         * resolv/res_init.c (__res_vinit): Reset defdname before use.
21670 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
21672         [BZ #19270]
21673         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
21675 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
21677         [BZ #15421]
21678         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
21680 2015-12-23  Torvald Riegel  <triegel@redhat.com>
21682         [BZ #13690]
21683         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
21684         after releasing it.
21685         (__lll_robust_unlock): Likewise.
21686         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
21687         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
21688         (lll_robust_unlock): Likewise.
21689         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
21690         Prevent warnings in callers.
21692 2015-12-23  Florian Weimer  <fweimer@redhat.com>
21694         * malloc/arena.c (list_lock): Update comment.
21696 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21698         * sysdeps/powerpc/hwcapinfo.c: Export symbol
21699         __parse_hwcap_and_convert_at_platform to libc.a.
21701 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21703         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
21704         platform and feature support for POWER9.
21705         * sysdeps/powerpc/dl-procinfo.h: Likewise.
21706         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
21707         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
21708         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
21709         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
21710         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
21711         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
21712         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
21714 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21716         Harmonize generic stdio-lock support with nptl
21718         This fixes build when _IO_funlockfile is a macro, fixes build where
21719         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
21720         stack unwind.
21722         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
21723         _IO_release_lock ): Use cleanup attribute on new
21724         _IO_acquire_lock_file variable instead of assuming that
21725         _IO_release_lock will be called.
21726         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
21727         _IO_acquire_lock_needs_exceptions_enabled.
21728         (_IO_acquire_lock_clear_flags2): New macro.
21730 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21732         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
21734 2015-12-21  Florian Weimer  <fweimer@redhat.com>
21736         [BZ #19182]
21737         * malloc/arena.c (list_lock): Document lock ordering requirements.
21738         (free_list_lock): New lock.
21739         (ptmalloc_lock_all): Comment on free_list_lock.
21740         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
21741         (detach_arena): Update comment.  free_list_lock is now needed.
21742         (_int_new_arena): Use free_list_lock around detach_arena call.
21743         Acquire arena lock after list_lock.  Add comment, including FIXME
21744         about incorrect synchronization.
21745         (get_free_list): Switch to free_list_lock.
21746         (reused_arena): Acquire free_list_lock around detach_arena call
21747         and attached threads counter update.  Add two FIXMEs about
21748         incorrect synchronization.
21749         (arena_thread_freeres): Switch to free_list_lock.
21750         * malloc/malloc.c (struct malloc_state): Update comments to
21751         mention free_list_lock.
21753 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
21755         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
21756         Remove functions.
21757         (sloww, sloww1): Accept argument to offset quadrant.
21758         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
21759         quadrant.
21760         (__sin, __cos): Consolidate common code into new functions.
21761         (reduce_sincos_1, do_sincos_1): New functions.
21762         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
21764         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
21765         code to new functions.
21766         (reduce_sincos_2, do_sincos_2): New functions.
21767         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
21769         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
21770         common code for sincos.
21771         (__cos) [!IN_SINCOS]: Likewise.
21772         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
21773         New function.
21774         (__sincos): Use it.
21776 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
21778         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
21779         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
21780         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21782 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
21784         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
21785         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
21786         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
21787         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
21788         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21789         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
21790         index_Prefer_No_VZEROUPPER): New feature.
21791         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
21792         Prefer_No_VZEROUPPER for Knights Landing.
21794 015-12-18  Torvald Riegel  <triegel@redhat.com>
21796         * math/atest-exp2.c (mp_exp_m1): Remove.
21798 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21800         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
21801         syscalls.
21802         (__SYSCALL0): New macro.
21803         (__SYSCALL1): Likewise.
21804         (__SYSCALL2): Likewise.
21805         (__SYSCALL3): Likewise.
21806         (__SYSCALL4): Likewise.
21807         (__SYSCALL5): Likewise.
21808         (__SYSCALL6): Likewise.
21809         (__SYSCALL_CONCAT_X): Likewise.
21810         (__SYSCALL_CONCAT): Likewise.
21811         (__SYSCALL_DIST): Likewise.
21812         (__SYSCALL_CALL): Likewise.
21814 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
21816         [BZ #19363]
21817         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
21819 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21821         [BZ #19375]
21822         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
21823         negative subnormals.
21825 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
21827         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
21828         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
21829         (INTERNAL_SYSCALL_NCS): Use it.
21830         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
21832 2015-12-16  Florian Weimer  <fweimer@redhat.com>
21834         [BZ #19243]
21835         * malloc/arena.c (get_free_list): Remove assert and adjust
21836         reference count handling.  Add comment about reused_arena
21837         interaction.
21838         (reused_arena): Add comments abount get_free_list interaction.
21839         * malloc/tst-malloc-thread-exit.c: New file.
21840         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
21841         (tst-malloc-thread-exit): Link against libpthread.
21843 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
21845         [BZ #19367]
21846         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
21847         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
21848         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
21849         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
21850         (index_Prefer_MAP_32BIT_EXEC): Likewise.
21852 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
21854         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
21855         Silvermont optimizations for Knights Landing.
21857 2015-12-15  Andreas Schwab  <schwab@suse.de>
21859         [BZ #17197]
21860         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
21861         immediately after emitting SI.
21862         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
21863         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
21864         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
21865         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
21866         * iconvdata/bug-iconv10.c: New file.
21867         * iconvdata/Makefile (tests): Add bug-iconv10.
21868         ($(objpfx)bug-iconv10.out): New rule.
21870 2015-12-15  Florian Weimer  <fweimer@redhat.com>
21872         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
21873         aliasing violation.
21875 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
21877         [BZ #18472]
21878         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
21879         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
21880         conditionals for them.
21881         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
21882         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
21883         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
21884         sys/kdaemon.h.
21885         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
21886         compat-only syscall, obsoleted in glibc 2.23.
21887         (create_module): Likewise.
21888         (get_kernel_syms): Likewise.
21889         (query_module): Likewise.
21890         (uselib): Likewise.
21891         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
21893 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
21895         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
21896         <linux/version.h>.
21897         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
21898         conditional code.
21899         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
21900         and ioshift_name initialization.
21902 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
21904         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
21905         Fix indentation.
21907 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
21909         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
21911 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
21913         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
21915 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
21916             Jakub Wilk  <jwilk@debian.org>
21918         [BZ #19347]
21919         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
21920         to change the group of the device to the tty group.
21922 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
21924         Split large string section; add truncation advice
21925         * manual/examples/strncat.c: Remove.
21926         This example was misleading, as the code would have undefined
21927         behavior if "hello" was longer than SIZE.  Anyway, the manual
21928         shouldn't encourage strncpy+strncat for this sort of thing.
21929         * manual/string.texi (Copying Strings and Arrays): Split into
21930         three sections Copying Strings and Arrays, Concatenating Strings,
21931         and Truncating Strings, as this section was way too long.  All
21932         cross-referenced changed.  Add advice about string-truncation
21933         functions.  Remove misleading strncat example.
21935 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
21937         * manual/nss.texi (NSS Modules Interface): Document
21938         NSS_STATUS_NOTFOUND and SUCCESS.
21940 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
21942         [BZ 18568]
21943         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
21944         201505L, for Unicode 8.
21946 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
21948         * locale/C-translit.h: Regenerate.
21950 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
21952         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
21953         and U+0153.
21955 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
21957         [BZ #19351]
21958         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
21959         expanding log(1+z), compare z rather than its square with epsilon
21960         to determine when to avoid evaluating the expansion.
21962         [BZ #19350]
21963         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
21964         Increase overflow threshold.
21966         [BZ #19349]
21967         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
21968         when small.
21970         * sysdeps/unix/sysv/linux/i386/kernel-features.h
21971         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
21972         New macro.
21973         [__LINUX_KERNEL_VERSION >= 0x040300]
21974         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
21975         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
21976         Likewise.
21977         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
21978         Likewise.
21979         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
21980         Likewise.
21981         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
21982         Likewise.
21983         [__LINUX_KERNEL_VERSION >= 0x040300]
21984         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
21985         [__LINUX_KERNEL_VERSION >= 0x040300]
21986         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
21987         [__LINUX_KERNEL_VERSION >= 0x040300]
21988         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
21989         [__LINUX_KERNEL_VERSION >= 0x040300]
21990         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
21991         [__LINUX_KERNEL_VERSION >= 0x040300]
21992         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
21993         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
21994         Likewise.
21995         [__LINUX_KERNEL_VERSION >= 0x040300]
21996         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
21997         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21998         Likewise.
21999         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
22000         Likewise.
22001         [__LINUX_KERNEL_VERSION >= 0x040300]
22002         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
22003         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
22004         Likewise.
22005         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
22006         Likewise.
22007         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22008         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
22009         Likewise.
22010         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
22011         Likewise.
22012         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
22013         Likewise.
22014         [__LINUX_KERNEL_VERSION >= 0x040300]
22015         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
22016         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
22017         Likewise.
22018         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
22019         Likewise.
22020         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
22021         Likewise.
22022         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
22023         Likewise.
22024         [__LINUX_KERNEL_VERSION >= 0x040300]
22025         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
22026         [__LINUX_KERNEL_VERSION >= 0x040300]
22027         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
22028         [__LINUX_KERNEL_VERSION >= 0x040300]
22029         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
22030         [__LINUX_KERNEL_VERSION >= 0x040300]
22031         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
22032         [__LINUX_KERNEL_VERSION >= 0x040300]
22033         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
22034         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
22035         Likewise.
22036         [__LINUX_KERNEL_VERSION >= 0x040300]
22037         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
22038         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
22039         Likewise.
22040         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
22041         Likewise.
22042         [__LINUX_KERNEL_VERSION >= 0x040300]
22043         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
22044         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
22045         Likewise.
22046         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
22047         Likewise.
22048         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22049         (__ASSUME_SOCKET_SYSCALL): Likewise.
22050         (__ASSUME_BIND_SYSCALL): Likewise.
22051         (__ASSUME_CONNECT_SYSCALL): Likewise.
22052         (__ASSUME_LISTEN_SYSCALL): Likewise.
22053         (__ASSUME_ACCEPT_SYSCALL): Likewise.
22054         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
22055         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
22056         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
22057         (__ASSUME_SEND_SYSCALL): Likewise.
22058         (__ASSUME_SENDTO_SYSCALL): Likewise.
22059         (__ASSUME_RECV_SYSCALL): Likewise.
22060         (__ASSUME_RECVFROM_SYSCALL): Likewise.
22061         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
22062         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
22063         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
22064         (__ASSUME_SENDMSG_SYSCALL): Likewise.
22065         (__ASSUME_RECVMSG_SYSCALL): Likewise.
22066         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22067         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
22068         Likewise.
22069         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
22070         Likewise.
22071         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
22072         Likewise.
22073         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
22074         Likewise.
22075         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
22076         Likewise.
22077         [__LINUX_KERNEL_VERSION >= 0x020625]
22078         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
22079         [__LINUX_KERNEL_VERSION >= 0x020625]
22080         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
22081         [__LINUX_KERNEL_VERSION >= 0x020625]
22082         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
22083         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
22084         Likewise.
22085         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
22086         Likewise.
22087         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
22088         Likewise.
22089         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
22090         Likewise.
22091         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
22092         Likewise.
22093         [__LINUX_KERNEL_VERSION >= 0x020625]
22094         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
22095         [__LINUX_KERNEL_VERSION >= 0x020625]
22096         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
22097         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
22098         Likewise.
22099         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
22100         Likewise.
22102 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
22104         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
22105         record the current if the current ABI and CPU support the FP64
22106         extension.
22107         (has-modd-spreg): Define to record the current if the current ABI and
22108         CPU support 32-bit floating point values in odd FPU registers.
22109         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22110         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
22111         $(has-modd-spreg) equals yes.
22112         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
22113         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
22114         $(has-modd-spreg) equal yes.
22116 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
22118         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
22119         basename.
22121 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
22123         * benchtests/Makefile (bench-math): Move ffs and ffsll...
22124         (bench-string): ... here.
22125         (bench): Add bench-string.
22126         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
22127         to *-benchset to reflect what they are.
22128         (benchset): Adjust.
22130         * benchtests/sincos-inputs: Add inputs from sin-inputs and
22131         cos-inputs.
22133 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
22135         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
22136         __attribute__ ((__simd__)) for vector math function declarations.
22138 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
22140         Fix typo in strncat, wcsncat manual entries
22141         * manual/string.texi (Copying and Concatenation): Fix typos in
22142         sample implementations of strncat and wcsncat, by having them use
22143         the old value of the destination length, not the new one.
22145 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
22147         [BZ #16961]
22148         [BZ #16962]
22149         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
22150         string on the stack for strtod.
22151         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
22152         a string on the stack for strtof.
22153         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
22154         constructing a string on the stack for strtold.
22155         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
22156         __strtold_nan to GLIBC_PRIVATE.
22157         * math/test-nan-overflow.c: New file.
22158         * math/test-nan-payload.c: Likewise.
22159         * math/Makefile (tests): Add test-nan-overflow and
22160         test-nan-payload.
22162 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
22164         Consistency about byte vs character in string.texi
22165         * manual/string.texi (String and Array Utilities):
22166         Distinguish more carefully among bytes, multibyte characters,
22167         and wide characters.  Use "byte" when talking about C 'char',
22168         to distinguish it more clearly from multibyte characters.
22169         Say "wide character" or "multibyte character" instead of
22170         "character", when a wide or multibyte character is intended.
22171         Similarly for "multibyte string" versus "string".
22172         Define these terms more carefully.
22174 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
22176         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
22177         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
22178         Likewise.
22179         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
22180         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
22181         * sysdeps/sh/math_private.h: New file.
22182         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
22183         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
22184         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
22185         long double function name.
22186         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22187         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22188         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22189         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22190         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22191         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
22192         Remove __finitel, __isinfl, and __isnanl.
22193         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22194         Likewise.
22195         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22196         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22197         Remove __finitel.
22198         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22199         Likewise.
22200         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22202 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
22204         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
22205         installed libmvec_nonshared.a.
22207 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22209         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
22210         (sysdep_routines): Likewise.
22211         (sysdep-rtld-routines): Likewise.
22212         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
22213         [$(subdir) = nptl](tests-static): test-get_hwcap-static
22214         * sysdeps/powerpc/Versions: Added new
22215         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
22216         * sysdeps/powerpc/hwcapinfo.c: New file.
22217         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
22218         and parse hwcap, hwcap2 and platform number information.
22219         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
22220         to store HWCAP+HWCAP2 and platform number.
22221         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
22222         for HWCAP+HWCAP2 and platform number in the TCB.
22223         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
22224         the HWCAP, HWCAP2 and platform number in the TCB.
22225         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
22226         (TLS_INIT_TP): Included calls to add the hwcap and
22227         at_platform values in the TCB in TP initialization.
22228         (TLS_DEFINE_INIT_TP): Likewise.
22229         (THREAD_GET_HWCAP): New macro.
22230         (THREAD_SET_HWCAP): Likewise.
22231         (THREAD_GET_AT_PLATFORM): Likewise.
22232         (THREAD_SET_AT_PLATFORM): Likewise.
22233         * sysdeps/powerpc/powerpc32/dl-machine.h:
22234         (dl_platform_init): New function that calls
22235         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
22236         powerpc32.
22237         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
22238         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
22239         this functionality, static linking case.
22240         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
22241         linking case.
22242         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
22243         __parse_hwcap_and_convert_at_platform for the static linking case.
22244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
22245         Included the new __parse_hwcap_and_convert_at_platform symbol in the
22246         ABI list for GLIBC 2.23.
22247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
22248         Likewise.
22249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
22250         Likewise.
22252 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
22254         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
22255         * configure: Regenerate.
22256         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
22257         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
22259 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
22261         * iconvdata/ibm930.c: Add comment explaining encoding uses.
22262         * iconvdata/ibm933.c: Likewise.
22263         * iconvdata/ibm935.c: Likewise.
22264         * iconvdata/ibm937.c: Likewise.
22265         * iconvdata/ibm939.c: Likewise.
22267 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22269         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
22270         pthread_join.
22271         * nptl/tst-cancel21.c (tf): Likewise.
22273 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
22275         [BZ #19313]
22276         * bits/typesizes.h (__CPU_MASK_TYPE): New.
22277         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
22278         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
22279         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
22280         Likewise.
22281         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
22282         Likewise.
22283         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
22284         Likewise.
22285         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
22286         Likewise.
22287         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
22288         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
22289         unsigned long int with __CPU_MASK_TYPE.
22291 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22293         * sysdeps/aarch64/libm-test-ulps: Regenerated.
22295 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
22297         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
22298         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
22299         t512.x.
22300         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
22302 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
22304         [BZ #19214]
22305         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
22306         argument to return extended model.  Update family and model
22307         with extended family and model when family == 0x0f.
22308         (init_cpu_features): Updated.
22310 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22312         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
22313         signed off_t, so 32bit bigger than 2GiB values are fine actually.
22315         * sysdeps/mach/hurd/mmap64.c: New file.
22317 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
22319         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
22320         rights for its main user thread in NEWTASK.
22322 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
22324         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
22325         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
22327 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
22329         [BZ #14259]
22330         * Makeconfig: Rename localedir to complocaledir.
22331         Rename inst_localedir to inst_complocaledir.
22332         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
22333         * config.make.in: Use complocaledir and libc_cv_complocaledir.
22334         * configure.ac: Use libc_cv_complocaledir.
22335         * configure: Regenerate.
22336         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
22337         -DCOMPLOCALEDIR.
22338         * locale/findlocale.c: Use COMPLOCALEDIR.
22339         * locale/loadarchive.c: Likewise.
22340         * locale/programs/locale.c: Likewise.
22341         * locale/programs/localedef.c: Likewise.
22342         * locale/programs/locarchive.c: Likewise.
22343         * localedata/Makefile: Use inst_complocaledir.
22344         * sysdeps/gnu/configure: Regenerate.
22345         * sysdeps/hppa/configure: Regenerate.
22346         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
22347         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22349         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
22350         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
22351         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
22352         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
22354 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
22356         [BZ #19058]
22357         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
22358         AS_NEEDED.
22359         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
22360         workaround.
22361         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
22362         libmvec-static-only-routines): Added new file.
22363         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
22365 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22367         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
22368         of interrupted RPC instead of restoring it.
22370         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
22371         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
22372         libc_hidden_def.
22373         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
22374         into initialized data instead of common. Define rtld_hidden_data_def.
22375         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
22376         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
22377         libc_hidden_def.
22378         (if_freenameindex): Add libc_hidden_weak.
22379         (if_nameindex): Add libc_hidden_weak.
22380         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
22381         __open64.
22382         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
22383         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
22384         * sysdeps/mach/nanosleep.c: Include <time.h>
22385         (__nanosleep): Rename to __libc_nanosleep.
22386         (__nanosleep): Add weak_alias.
22387         (nanosleep): Update alias.
22389 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
22391         * stdlib/strtod_nan.c: New file.
22392         * stdlib/strtod_nan_double.h: Likewise.
22393         * stdlib/strtod_nan_float.h: Likewise.
22394         * stdlib/strtod_nan_main.c: Likewise.
22395         * stdlib/strtod_nan_narrow.h: Likewise.
22396         * stdlib/strtod_nan_wide.h: Likewise.
22397         * stdlib/strtof_nan.c: Likewise.
22398         * stdlib/strtold_nan.c: Likewise.
22399         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
22400         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
22401         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
22402         * wcsmbs/wcstod_nan.c: Likewise.
22403         * wcsmbs/wcstof_nan.c: Likewise.
22404         * wcsmbs/wcstold_nan.c: Likewise.
22405         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
22406         strtold_nan.
22407         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
22408         wcstof_nan.
22409         * include/stdlib.h (__strtof_nan): Declare and use
22410         libc_hidden_proto.
22411         (__strtod_nan): Likewise.
22412         (__strtold_nan): Likewise.
22413         (__wcstof_nan): Likewise.
22414         (__wcstod_nan): Likewise.
22415         (__wcstold_nan): Likewise.
22416         * include/wchar.h (____wcstoull_l_internal): Declare.
22417         * stdlib/strtod_l.c: Do not include <ieee754.h>.
22418         (____strtoull_l_internal): Remove declaration.
22419         (STRTOF_NAN): Define macro.
22420         (SET_MANTISSA): Remove macro.
22421         (STRTOULL): Likewise.
22422         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
22423         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
22424         (STRTOF_NAN): Define macro.
22425         (SET_MANTISSA): Remove macro.
22426         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
22427         (SET_MANTISSA): Remove macro.
22428         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
22429         macro.
22430         (SET_MANTISSA): Remove macro.
22431         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
22432         macro.
22433         (SET_MANTISSA): Remove macro.
22434         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
22435         (SET_MANTISSA): Remove macro.
22436         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
22437         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
22438         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
22440         [BZ #19266]
22441         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
22442         upper case and lower case letters inside NAN(), not using TOLOWER.
22443         * stdlib/tst-strtod-nan-locale-main.c: New file.
22444         * stdlib/tst-strtod-nan-locale.c: Likewise.
22445         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
22446         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
22447         Depend on $(gen-locales).
22448         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
22449         * wcsmbs/tst-wcstod-nan-locale.c: New file.
22450         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
22451         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
22452         Depend on $(gen-locales).
22453         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
22455 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
22457         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
22459         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
22460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
22461         __finitel, __isinfl, and __isnanl.
22462         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22463         Likewise.
22464         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22465         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
22466         __finitel.
22467         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22468         Likewise.
22469         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22471 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
22473         * malloc/memusage.c (me): Remove redundant getenv call.
22475 2015-10-24  Florian Weimer  <fweimer@redhat.com>
22477         [BZ #19143]
22478         [BZ #19164]
22479         * nptl/check-cpuset.h: Remove.
22480         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
22481         Remove CPU set size check.
22482         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
22483         Likewise.
22484         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
22485         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
22486         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
22487         (__pthread_setaffinity_new): Remove CPU set size check.
22488         * sysdeps/unix/sysv/linux/sched_setaffinity.c
22489         (__kernel_cpumask_size): Remove.
22490         (__sched_setaffinity_new): Remove CPU set size check.
22491         * manual/threads.texi (Default Thread Attributes): Remove stale
22492         reference to check_cpuset_attr, determine_cpumask_size in comment.
22493         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
22494         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
22495         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
22496         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
22497         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
22498         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
22499         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
22500         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
22501         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
22502         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
22503         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
22504         skeleton test file.
22505         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
22506         tst-affinity-pid.
22508 2015-11-24  Florian Weimer  <fweimer@redhat.com>
22510         * scripts/update-abilist.sh: New file.
22511         * Makefile (+subdir_targets): Add subdir_update-all-abi.
22512         * Makerules (update-all-abi-%, update-all-abi)
22513         (subdir_update-all-abi): New targets.
22514         * elf/Makefile (update-all-abi): New target.
22516 2015-11-24  Florian Weimer  <fweimer@redhat.com>
22518         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
22519         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
22520         (__libc_lock_define_initialized): Use it.
22521         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
22522         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
22523         * malloc/malloc.c (main_arena): Likewise.
22524         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
22525         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
22527 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
22529         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
22530         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
22531         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
22532         (PTRACE_O_MASK): Update value.
22533         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
22534         New value in enum __ptrace_setoptions.
22535         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
22536         (PTRACE_O_MASK): Update value.
22537         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
22538         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
22539         (PTRACE_O_MASK): Update value.
22540         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
22541         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
22542         (PTRACE_O_MASK): Update value.
22543         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
22544         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
22545         (PTRACE_O_MASK): Update value.
22546         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
22547         New value in enum __ptrace_setoptions.
22548         (PTRACE_O_MASK): Update value.
22549         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
22550         New value in enum __ptrace_setoptions.
22551         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
22552         (PTRACE_O_MASK): Update value.
22554         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
22555         New macro.
22556         (PACKET_AUXDATA): Likewise.
22557         (PACKET_ORIGDEV): Likewise.
22558         (PACKET_VERSION): Likewise.
22559         (PACKET_HDRLEN): Likewise.
22560         (PACKET_RESERVE): Likewise.
22561         (PACKET_TX_RING): Likewise.
22562         (PACKET_LOSS): Likewise.
22563         (PACKET_VNET_HDR): Likewise.
22564         (PACKET_TX_TIMESTAMP): Likewise.
22565         (PACKET_TIMESTAMP): Likewise.
22566         (PACKET_FANOUT): Likewise.
22567         (PACKET_TX_HAS_OFF): Likewise.
22568         (PACKET_QDISC_BYPASS): Likewise.
22569         (PACKET_ROLLOVER_STATS): Likewise.
22570         (PACKET_FANOUT_DATA): Likewise.
22571         (PACKET_MR_UNICAST): Likewise.
22573         [BZ #19242]
22574         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
22575         (TOUPPER): Likewise.
22576         * stdlib/tst-strtol-locale-main.c: New file.
22577         * stdlib/tst-strtol-locale.c: Likewise.
22578         * stdlib/Makefile (tests): Add tst-strtol-locale.
22579         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
22580         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
22581         Depend on $(gen-locales).
22582         * wcsmbs/tst-wcstol-locale.c: New file.
22583         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
22584         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
22585         tr_TR.ISO-8859-9.
22586         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
22587         Depend on $(gen-locales).
22589 2015-11-20  Roland McGrath  <roland@hack.frob.com>
22591         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
22592         __glibc_likely instead of __builtin_expect.  After falling back to
22593         dyncode_create in a non-ET_DYN case, use the allocate_code_data
22594         system interface to register the code pages as occupied.
22596 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
22598         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
22599         [!ARM_MATH_PRIVATE_H].
22600         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
22601         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
22602         [!HPPA_MATH_PRIVATE_H].
22603         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
22604         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
22605         to [!I386_MATH_PRIVATE_H].
22606         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
22607         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
22608         Change guard to [!M68K_MATH_PRIVATE_H].
22609         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
22610         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
22611         guard to [!MICROBLAZE_MATH_PRIVATE_H].
22612         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
22613         macro.
22614         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
22615         [!MIPS_MATH_PRIVATE_H].
22616         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
22617         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
22618         [!NIO2_MATH_PRIVATE_H].
22619         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
22620         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
22621         [!TILE_MATH_PRIVATE_H].
22622         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
22624         [BZ #15421]
22625         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
22626         initialize with 0 and define as weak alias of __signgam.
22627         * include/math.h [!_ISOMAC] (__signgam): Declare.
22628         * math/Makefile (libm-calls): Add w_lgamma_compat.
22629         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
22630         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
22631         test-signgam-ullong-init.
22632         (tests-static): Add test-signgam-uchar-static,
22633         test-signgam-uchar-init-static, test-signgam-uint-static,
22634         test-signgam-uint-init-static, test-signgam-ullong-static and
22635         test-signgam-ullong-init-static.
22636         (CFLAGS-test-signgam-uchar.c): New variable.
22637         (CFLAGS-test-signgam-uchar-init.c): Likewise.
22638         (CFLAGS-test-signgam-uchar-static.c): Likewise.
22639         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
22640         (CFLAGS-test-signgam-uint.c): Likewise.
22641         (CFLAGS-test-signgam-uint-init.c): Likewise.
22642         (CFLAGS-test-signgam-uint-static.c): Likewise.
22643         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
22644         (CFLAGS-test-signgam-ullong.c): Likewise.
22645         (CFLAGS-test-signgam-ullong-init.c): Likewise.
22646         (CFLAGS-test-signgam-ullong-static.c): Likewise.
22647         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
22648         * math/Versions (libm): Add GLIBC_2.23.
22649         * math/lgamma-compat.h: New file.
22650         * math/test-signgam-main.c: Likewise.
22651         * math/test-signgam-uchar-init-static.c: Likewise.
22652         * math/test-signgam-uchar-init.c: Likewise.
22653         * math/test-signgam-uchar-static.c: Likewise.
22654         * math/test-signgam-uchar.c: Likewise.
22655         * math/test-signgam-uint-init-static.c: Likewise.
22656         * math/test-signgam-uint-init.c: Likewise.
22657         * math/test-signgam-uint-static.c: Likewise.
22658         * math/test-signgam-uint.c: Likewise.
22659         * math/test-signgam-ullong-init-static.c: Likewise.
22660         * math/test-signgam-ullong-init.c: Likewise.
22661         * math/test-signgam-ullong-static.c: Likewise.
22662         * math/test-signgam-ullong.c: Likewise.
22663         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
22664         wrapper of w_lgamma_main.c.
22665         * math/w_lgamma_compat.c: New file.
22666         * math/w_lgamma_compatf.c: Likewise.
22667         * math/w_lgamma_compatl.c: Likewise.
22668         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
22669         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
22670         defining compatibility symbols.
22671         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
22672         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
22673         wrapper of w_lgammaf_main.c.
22674         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
22675         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
22676         defining compatibility symbols.
22677         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
22678         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
22679         wrapper of w_lgammal_main.c.
22680         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
22681         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
22682         defining compatibility symbols.
22683         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
22684         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
22685         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
22686         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
22687         <lgamma-compat.h>.
22688         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
22689         (__ieee754_gamma): Define as alias.
22690         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
22691         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
22692         <lgamma-compat.h>.
22693         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
22694         (__ieee754_gammaf): Define as alias.
22695         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
22696         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
22697         <lgamma-compat.h>.
22698         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
22699         (__ieee754_gammal): Define as alias.
22700         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
22701         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
22702         <math/w_lgamma_compat.c>.
22703         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
22704         Define as alias of __lgamma_compat and use in defining lgammal.
22705         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
22706         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
22707         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
22708         (USE_AS_COMPAT): New macro.
22709         (LGAMMA_OLD_VER): Undefine and redefine.
22710         (lgammal): Do not define here.
22711         (gammal): Only define here if [GAMMA_ALIAS].
22712         * conform/linknamespace.pl (@whitelist): Remove signgam.
22713         * sysdeps/nacl/libm.abilist: Update.
22714         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22715         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22716         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22717         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22718         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22719         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22720         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22721         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22722         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22723         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22724         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22725         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22727         Likewise.
22728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22729         Likewise.
22730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22731         Likewise.
22732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22733         Likewise.
22734         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22735         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22736         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22737         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22738         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22740         Likewise.
22741         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22742         Likewise.
22743         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22744         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22745         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22747 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22749         [BZ #16364]
22750         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
22751         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
22753 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
22755         * sysdeps/s390/fpu/bits/mathinline.h:
22756         Use __asm__ [__volatile__] instead of asm [volatile].
22757         * sysdeps/s390/abort-instr.h: Likewise.
22758         * sysdeps/s390/atomic-machine.h: Likewise.
22759         * sysdeps/s390/bits/string.h: Likewise.
22760         * sysdeps/s390/dl-tls.h: Likewise.
22761         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22762         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22763         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22764         * sysdeps/s390/fpu/fesetround.c: Likewise.
22765         * sysdeps/s390/fpu/fpu_control.h: Likewise.
22766         * sysdeps/s390/fpu/s_fma.c: Likewise.
22767         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
22768         * sysdeps/s390/memusage.h: Likewise.
22769         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
22770         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
22771         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
22772         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
22773         * sysdeps/s390/nptl/tls.h: Likewise.
22774         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
22775         * sysdeps/s390/s390-32/backtrace.c: Likewise.
22776         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22777         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
22778         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22779         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
22780         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
22781         * sysdeps/s390/s390-64/backtrace.c: Likewise.
22782         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22783         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
22784         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
22785         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22786         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
22787         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
22788         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
22789         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
22790         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
22791         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
22792         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
22793         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22794         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
22795         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22796         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
22798 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22799             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22801         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
22802         Add lwarx hint, and use macro for acquire instruction.
22803         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
22804         Likewise.
22805         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
22806         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
22807         update to use new atomic macros.
22809 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22811         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
22812         (__lll_trylock_elision): Fix setting of adapt_count.
22813         * sysdeps/unix/sysv/linux/powerpc/htm.h
22814         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
22815         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
22816         (_ABORT_SYSCALL): Renumber, and clarify definition.
22817         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
22819 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22821         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
22822         after system headers to prevent MIN/MAX redefinition.  Define
22823         HAVE_ALLOCA to preserve builtin alloca usage.
22825 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
22827         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
22828         static and don't set or restore rounding.
22829         (__cos)[IN_SINCOS]: Likewise.
22830         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
22831         (__sincos): Set and restore rounding mode.  Remove check for infinite
22832         or NaN input.
22834         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
22836         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
22837         as used.
22839 2015-11-16  Florian Weimer  <fweimer@redhat.com>
22841         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
22843 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
22845         * config.make.in (have-glob-dat-reloc): New.
22846         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
22847         target supports GLOB_DAT relocaton. AC_SUBST.
22848         * configure: Regenerated.
22849         * elf/Makefile (tests): Add tst-prelink.
22850         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
22851         (tst-prelink-ENV): New.
22852         ($(objpfx)tst-prelink-conflict.out): Likewise.
22853         ($(objpfx)tst-prelink-cmp.out): Likewise.
22854         * sysdeps/x86/tst-prelink.c: Moved to ...
22855         * elf/tst-prelink.c: Here.
22856         * sysdeps/x86/tst-prelink.exp: Moved to ...
22857         * elf/tst-prelink.exp: Here.
22858         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
22859         (tst-prelink-ENV): Removed.
22860         ($(objpfx)tst-prelink-conflict.out): Likewise.
22861         ($(objpfx)tst-prelink-cmp.out): Likewise.
22862         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
22864 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
22866         [BZ #14551]
22867         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
22868         (__mpn_construct_long_double): If high part overflows to infinity,
22869         set errno and recompute overflowed result of the correct sign.
22870         * sysdeps/ieee754/ldbl-128ibm/Makefile
22871         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
22872         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
22873         $(libm).
22874         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
22876 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
22878         [BZ #15479]
22879         [BZ #19238]
22880         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
22881         floating-point state after first operation on input.  Restore full
22882         state rather than just rounding mode.
22883         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
22884         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
22885         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
22887         [BZ #19235]
22888         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
22889         add 0.5 to integer arguments.
22890         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
22891         Likewise.
22892         (.LC2): New object.
22894 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
22896         * scripts/pylintrc (reports): Set to no.
22898 2015-11-10  Roland McGrath  <roland@hack.frob.com>
22900         * elf/dl-load.c (open_verify): Take new argument FD.
22901         Skip __open call if passed FD is not -1.
22902         (_dl_map_object, open_path): Update callers.
22903         * elf/dl-sysdep-open.h: New file.
22904         * elf/dl-load.c: Include it.
22905         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
22906         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
22907         * sysdeps/nacl/dl-sysdep-open.h: New file.
22908         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
22909         from libc to rtld.
22911 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
22913         [BZ #19228]
22914         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
22915         and restore full floating-point state.
22916         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
22917         Likewise.
22918         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
22919         Likewise.
22920         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
22921         Likewise.
22922         * math/test-nearbyint-except-2.c: New file.
22923         * math/Makefile (tests): Add test-nearbyint-except-2.
22925 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
22927         [BZ #19178]
22928         * sysdeps/x86/Makefile (tests): Add tst-prelink.
22929         (tst-prelink-ENV): New.
22930         ($(objpfx)tst-prelink-conflict.out): Likewise.
22931         ($(objpfx)tst-prelink-cmp.out): Likewise.
22932         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
22933         * sysdeps/x86/tst-prelink.c: New file.
22934         * sysdeps/x86/tst-prelink.exp: Likewise.
22936 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
22938         * math/auto-libm-test-in: Add another test of pow.
22939         * math/auto-libm-test-out: Regenerated.
22940         * math/libm-test.inc (pow_test_data): Add another test.
22942 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22944         [BZ #19219]
22945         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
22946         weak_alias to nearbyintl.
22948 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
22950         * sysdeps/aarch64/bits/string.h: New file.
22951         (_STRING_ARCH_unaligned): Define.
22953 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
22955         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
22956         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
22957         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
22958         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
22959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
22961 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
22963         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
22964         for original name of the DSO.  Add it to the name list of the DSO
22965         if it is actually given.
22966         (_dl_map_object): Keep track of whether an audit module rewrote
22967         the file name.  If yes, pass the original name to
22968         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
22969         debugging is enabled, log the change of the file name.
22970         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
22971         _dl_map_object_from_fd.
22972         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
22973         * elf/tst-audit11.c: New file
22974         * elf/tst-auditmod11.c: New file.
22975         * elf/tst-audit11mod1.c: New file.
22976         * elf/tst-audit11mod2.c: New file.
22977         * elf/tst-audit11mod2.map: New file.
22978         * elf/tst-audit12.c: New file
22979         * elf/tst-auditmod12.c: New file.
22980         * elf/tst-audit12mod1.c: New file.
22981         * elf/tst-audit12mod2.c: New file.
22982         * elf/tst-audit12mod2.map: New file.
22983         * elf/tst-audit12mod3.c: New file.
22985 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
22987         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
22988         Don't create weak aliases,
22989         because versioned symbols are created later.
22990         * sysdeps/s390/s390-32/setjmp.S
22991         (setjmp, _setjmp): Remove weak and rename to an unique name
22992         in SHARED case due to existing versioned symbols.
22993         * sysdeps/s390/s390-64/setjmp.S: Likewise.
22994         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
22995         (getcontext): Create weak alias only in non SHARED case.
22996         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22998 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
23000         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
23001         (__ASSUME_*_SYSCALL) Define new macros.
23002         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
23003         Remove socketcall syscalls.
23004         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
23005         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
23006         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
23007         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
23008         * sysdeps/unix/sysv/linux/send.c (__libc_send):
23009         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
23011 2015-11-09  Florian Weimer  <fweimer@redhat.com>
23013         [BZ #12926]
23014         Terminate process on invalid netlink response.
23015         * sysdeps/unix/sysv/linux/netlinkaccess.h
23016         (__netlink_assert_response): Declare.
23017         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
23018         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
23019         (sysdep_routines): Add netlink_assert_response.
23020         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
23021         __netlink_assert_response.
23022         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
23023         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
23024         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
23025         __netlink_assert_response.
23027 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
23029         [BZ #19178]
23030         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
23031         (RTYPE_CLASS_PLT): Likewise.
23032         (RTYPE_CLASS_COPY): Likewise.
23033         (RTYPE_CLASS_TLS): Likewise.
23034         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
23035         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
23036         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
23037         DL_DEBUG_PRELINK.
23039 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
23041         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
23042         calls with argument -0.5.
23043         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
23045         * configure.ac (libc_cv_z_nodelete): Remove configure test.
23046         (libc_cv_z_nodlopen): Likewise.
23047         (libc_cv_z_initfirst): Likewise.
23048         * configure: Regenerated.
23050 2015-11-06  Florian Weimer  <fweimer@redhat.com>
23052         Simplify abilist format to be line-based.
23053         * scripts/abilist.awk: Collect descriptors in the descs variable.
23054         (emit): Write descs variable and sort it
23055         externally, with sort.
23056         * sysdeps/**/*.abilist: Convert to new format.
23058 2015-11-06  Mark Wielaard  <mjw@redhat.com>
23060         [BZ #11460]
23061         * io/Makefile (routines): Add fts64.
23062         (tests): Add tst-fts and tst-fts-lfs.
23063         (CFLAGS-fts64.c): New.
23064         * io/Versions (GLIBC_2.23): New.
23065         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
23066         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
23067         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
23068         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
23069         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
23070         (FTSENT64): Likewise.
23071         (fts64_children): Likewise.
23072         (fts64_close): Likewise.
23073         (fts64_open): Likewise.
23074         (fts64_read): Likewise.
23075         (fts64_set): Likewise.
23076         * io/fts64.c: New file.
23077         * io/tst-fts.c: New test.
23078         * io/tst-fts-lfs.c: Likewise.
23079         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
23080         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
23081         fts64_set.
23082         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23083         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
23084         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
23085         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23086         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23087         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
23088         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
23089         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
23090         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
23091         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
23092         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23093         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23094         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
23095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
23096         Likewise.
23097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23098         Likewise.
23099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
23100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
23101         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23102         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23103         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
23104         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23105         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23106         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
23107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
23108         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23109         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23110         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23111         * sysdeps/wordsize-64/fts.c: New file.
23112         * sysdeps/wordsize-64/fts64.c: Likewise.
23113         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
23114         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
23115         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
23116         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
23118 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
23120         * math/libm-test.inc (NON_FINITE): New macro.
23121         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
23122         * math/gen-libm-test.pl (show_exceptions): Add argument
23123         $non_finite.
23124         (parse_args): Update call to show_exceptions.
23125         * math/test-math-finite.h: New file.
23126         * math/test-math-no-finite.h: Likewise.
23127         * math/test-double-finite.c: Likewise.
23128         * math/test-float-finite.c: Likewise.
23129         * math/test-ldouble-finite.c: Likewise.
23130         * math/test-double.c: Include "test-math-no-finite.h".
23131         * math/test-float.c: Include "test-math-no-finite.h".
23132         * math/test-ldouble.c: Include "test-math-no-finite.h".
23133         * math/test-math-inline.h (TEST_FINITE): New macro.
23134         * math/test-math-vector.h (TEST_FINITE): Likewise.
23135         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
23136         (libm-tests): Add test-float-finite and test-double-finite.
23137         ($(objpfx)test-float-finite.o): New dependency on
23138         $(objpfx)libm-test.stmp.
23139         ($(objpfx)test-double-finite.o): Likewise.
23140         ($(objpfx)test-ldouble-finite.o): Likewise.
23141         (libm-test-no-inline-cflags): New variable.
23142         (libm-test-finite-cflags): Likewise.
23143         (CFLAGS-test-float-finite.c): Likewise.
23144         (CFLAGS-test-double-finite.c): Likewise.
23145         (CFLAGS-test-ldouble-finite.c): Likewise.
23146         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
23147         (CFLAGS-test-double.c): Likewise.
23148         (CFLAGS-test-ldouble.c): Likewise.
23150 2015-11-05  Roland McGrath  <roland@hack.frob.com>
23152         * io/fcntl.c (__fcntl): Add ... to prototype.
23153         * misc/ioctl.c (__ioctl): Likewise.
23154         * misc/syscall.c (syscall): Likewise.
23156 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
23158         * scripts/list-fixed-bugs.py: New file.
23160         [BZ #19213]
23161         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
23162         returned for argument 1.
23163         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
23164         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
23165         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
23166         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
23167         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
23168         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
23170         [BZ #19211]
23171         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
23172         __USE_XOPEN], not if [!__USE_ISOC99].
23173         (lgammaf): Likewise.
23174         (lgammal): Likewise.
23175         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
23176         (gammaf): Likewise.
23177         (gammal): Likewise.
23178         * math/test-signgam-finite-c11.c: New file.
23179         * math/test-signgam-finite-c99.c: Likewise.
23180         * math/test-signgam-finite.c: Likewise.
23181         * math/Makefile (tests): Add test-signgam-finite,
23182         test-signgam-finite-c99 and test-signgam-finite-c11.
23183         (CFLAGS-test-signgam-finite.c): New variable.
23184         (CFLAGS-test-signgam-finite-c99.c): Likewise.
23185         (CFLAGS-test-signgam-finite-c11.c): Likewise.
23187         [BZ #19212]
23188         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
23189         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
23190         500].
23191         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
23192         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
23193         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
23194         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
23195         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
23196         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
23197         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
23198         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
23199         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
23200         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
23202         [BZ #19209]
23203         * math/bits/math-finite.h (ldexp): Remove declaration.
23204         (ldexpf): Likewise.
23205         (ldexpl): Likewise.
23207         [BZ #19205]
23208         * math/bits/math-finite.h (acosf): Condition declaration on
23209         [__USE_ISOC99].
23210         (acosl): Likewise.
23211         (acoshf): Likewise.
23212         (acoshl): Likewise.
23213         (asinf): Likewise.
23214         (asinl): Likewise.
23215         (atan2f): Likewise.
23216         (atan2l): Likewise.
23217         (atanhf): Likewise.
23218         (atanhl): Likewise.
23219         (coshf): Likewise.
23220         (coshl): Likewise.
23221         (expf): Likewise.
23222         (expl): Likewise.
23223         (fmodf): Likewise.
23224         (fmodl): Likewise.
23225         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
23226         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
23227         (j0l): Likewise.
23228         (y0f): Likewise.
23229         (y0l): Likewise.
23230         (j1f): Likewise.
23231         (j1l): Likewise.
23232         (y1f): Likewise.
23233         (y1l): Likewise.
23234         (jnf): Likewise.
23235         (jnl): Likewise.
23236         (ynf): Likewise.
23237         (ynl): Likewise.
23238         (lgammaf_r): Condition declaration on [__USE_ISOC99].
23239         (lgammal_r): Likewise.
23240         (__lgamma_r_finite): New declaration.
23241         (__lgammaf_r_finite): Likewise.
23242         (__lgammal_r_finite): Likewise.
23243         (lgamma): Use __lgamma_r_finite.
23244         (lgammaf): Condition definition on [__USE_ISOC99].  Use
23245         __lgammaf_r_finite.
23246         (lgammal): Condition definition on [__USE_ISOC99].  Use
23247         __lgammal_r_finite.
23248         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
23249         __lgamma_r_finite.
23250         (gammaf): Condition definition on [__USE_ISOC99].  Use
23251         __lgammaf_r_finite.
23252         (gammal): Condition definition on [__USE_ISOC99].  Use
23253         __lgammal_r_finite.
23254         (logf): Condition declaration on [__USE_ISOC99].
23255         (logl): Likewise.
23256         (log10f): Likewise.
23257         (log10l): Likewise.
23258         (ldexpf): Likewise.
23259         (ldexpl): Likewise.
23260         (powf): Likewise.
23261         (powl): Likewise.
23262         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
23263         __USE_ISOC99].
23264         (remainderf): Condition declaration on [__USE_ISOC99].
23265         (remainderl): Likewise.
23266         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
23267         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
23268         (scalbl): Likewise.
23269         (sinhf): Condition declaration on [__USE_ISOC99].
23270         (sinhl): Likewise.
23271         (sqrtf): Likewise.
23272         (sqrtl): Likewise.
23274 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
23276         * sysdeps/arm/atomic-machine.h
23277         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
23278         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
23279         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
23280         Remove conditional code.
23281         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
23282         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
23283         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
23284         Change conditional to [__ASSEMBLER__].
23285         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
23286         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
23287         [!__ASSEMBLER__].
23288         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
23289         code.
23290         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
23291         conditional macro definitions.
23292         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
23293         (__arch_compare_and_exchange_val_16_acq): Likewise.
23294         (__arch_compare_and_exchange_val_32_acq): Likewise.
23295         (atomic_exchange_and_add): Likewise.
23296         (atomic_add): Likewise.
23297         (atomic_add_negative): Likewise.
23298         (atomic_add_zero): Likewise.
23299         (atomic_bit_set): Likewise.
23300         (atomic_bit_test_set): Likewise.
23301         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
23302         code unconditional.
23303         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23305         * math/test-math-errno.h: New file.
23306         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
23307         empty.
23308         (TEST_ERRNO): New macro.
23309         (TEST_EXCEPTIONS): Likewise.
23310         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
23311         (TEST_EXCEPTIONS): Likewise.
23312         * math/test-math-vector.h (TEST_ERRNO): Likewise.
23313         * math/test-double.c: Include "test-math-errno.h".
23314         * math/test-float.c: Likewise.
23315         * math/test-ldouble.c: Likewise.
23316         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
23317         code unconditional.
23318         (test_exceptions): Only run code if TEST_EXCEPTIONS.
23319         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
23320         unconditional.
23321         (test_errno): Only run code if TEST_ERRNO.
23322         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
23324 2015-11-04  Florian Weimer  <fweimer@redhat.com>
23326         * nptl/tst-once5.cc: Remove attribution.
23328 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
23330         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
23331         sqrt, tan, tanh, y0, y1 and yn.
23332         * math/auto-libm-test-out: Regenerated.
23333         * math/libm-test.inc (scalb_test_data): Add more tests.
23334         (scalbn_test_data): Likewise.
23335         (scalbln_test_data): Likewise.
23336         (signbit_test_data): Likewise.
23337         (sin_test_data): Likewise.
23338         (sincos_test_data): Likewise.
23339         (sinh_test_data): Likewise.
23340         (sqrt_test_data): Likewise.
23341         (tan_test_data): Likewise.
23342         (tanh_test_data): Likewise.
23343         (tgamma_test_data): Likewise.
23344         (y0_test_data): Likewise.
23345         (y1_test_data): Likewise.
23346         (yn_test_data): Likewise.
23347         (significand_test_data): Likewise.
23348         * sysdeps/i386/fpu/libm-test-ulps: Update.
23350 2015-11-03  David Kastrup  <dak@gnu.org>
23352         [BZ #18604]
23353         * assert/assert.h (assert): Don't macro-expand failed assertion
23354         expression in error message.
23355         * malloc/malloc.c (assert): Likewise.
23357 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
23359         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
23360         test.
23361         * configure: Regenerated.
23363 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
23365         * math/libm-test.inc (modf_test_data): Add more tests.
23366         (nearbyint_test_data): Likewise.
23367         (nextafter_test_data): Likewise.
23368         (nexttoward_test_data): Likewise.
23369         (pow_test_data): Likewise.
23370         (remainder_test_data): Likewise.
23371         (remquo_test_data): Likewise.
23372         (rint_test_data): Likewise.
23374         [BZ #19201]
23375         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
23376         Check for zero remainder in case of large exponents and ensure
23377         correct sign of result in that case.
23378         * math/libm-test.inc (remainder_test_data): Add more tests.
23380         [BZ #6799]
23381         * math/s_nextafter.c: Include <errno.h>.
23382         (__nextafter): Set errno on overflow and underflow.
23383         * math/s_nexttowardf.c: Include <errno.h>.
23384         (__nexttowardf): Set errno on overflow and underflow.
23385         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
23386         (__nextafterl): Set errno on overflow and underflow.
23387         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
23388         (__nexttoward): Set errno on overflow and underflow.
23389         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
23390         (__nexttowardf): Set errno on overflow and underflow.
23391         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
23392         (__nextafterf): Set errno on overflow and underflow.
23393         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
23394         (__nextafterl): Set errno on overflow and underflow.
23395         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
23396         (__nexttoward): Set errno on overflow and underflow.
23397         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
23398         (__nexttowardf): Set errno on overflow and underflow.
23399         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
23400         (__nextafterl): Set errno on overflow and underflow.
23401         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
23402         (__nexttoward): Set errno on overflow and underflow.
23403         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
23404         (__nexttowardf): Set errno on overflow and underflow.
23405         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
23406         (__nexttoward): Set errno on overflow and underflow.
23407         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
23408         (__nexttowardf): Set errno on overflow and underflow.
23409         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
23410         (__nldbl_nexttowardf): Set errno on overflow and underflow.
23411         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
23412         (__nextafterl): Set errno on overflow and underflow.
23413         * math/libm-test.inc (nextafter_test_data): Do not allow errno
23414         setting to be missing on overflow.  Add more tests.
23415         (nexttoward_test_data): Likewise.
23417         * configure.ac (libc_cv_initfini_array): Remove configure test.
23418         * configure: Regenerated.
23420 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
23422         [BZ #19189]
23423         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
23424         non-finite argument handle arguments with negative sign.
23426         * math/libm-test.inc (j0_test_data): Do not test sign of zero
23427         result from infinite argument.
23428         (j1_test_data): Likewise.
23429         (jn_test_data): Likewise.
23430         (y0_test_data): Likewise.
23431         (y1_test_data): Likewise.
23432         (yn_test_data): Likewise.
23434         [BZ #16171]
23435         * math/w_remainder.c (drem): Define as weak alias of __remainder.
23436         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
23437         * math/w_remainderf.c (dremf): Define as weak alias of
23438         __remainderf.
23439         * math/w_remainderl.c (dreml): Define as weak alias of
23440         __remainderl.
23441         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
23442         __remainder.
23443         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
23444         __remainderf.
23445         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
23446         __remainderl.
23447         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
23448         weak alias of remainderl.
23449         * sysdeps/ieee754/ldbl-opt/w_remainder.c
23450         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
23451         alias of __remainder.
23452         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
23453         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
23454         strong alias of __remainderl.
23455         (dreml): Use long_double_symbol.
23456         * math/Makefile (libm-calls): Remove w_drem.
23457         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
23458         (CFLAGS-nldbl-drem.c): Remove variable.
23459         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
23460         * math/w_drem.c: Remove file.
23461         * math/w_dremf.c: Likewise.
23462         * math/w_dreml.c: Likewise.
23463         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
23464         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
23465         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
23467         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
23468         * sysdeps/i386/configure: Regenerated.
23469         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
23470         * sysdeps/x86_64/configure: Regenerated.
23472         * configure.ac (libc_cv_asm_protected_directive): Remove configure
23473         test.
23474         (libc_cv_visibility_attribute): Likewise.
23475         (libc_cv_protected_data): Test unconditionally.
23476         (libc_cv_broken_visibility_attribute): Remove configure test.
23477         (libc_cv_have_sdata_section): Test unconditionally.
23478         * configure: Regenerated.
23480         * include/libc-internal.h (libc_max_align_t): Remove typedef.
23481         * include/scratch_buffer.h: Include <stddef.h> instead of
23482         <libc-internal.h>.
23483         (struct scratch_buffer): Use max_align_t instead of
23484         libc_max_align_t.
23486 2015-10-29  Florian Weimer  <fweimer@redhat.com>
23488         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
23489         instead of extend_alloca.  Change control flow to avoid a goto.
23490         Remove assert which is trivially always true.
23492 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
23494         [BZ #16068]
23495         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
23496         (FE_ALL_EXCEPT_X86): New macro.
23497         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
23498         FE_ALL_EXCEPT.  Ensure precision control is included in
23499         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
23500         handle "denormal operand exception" and clear FZ and DAZ bits.
23501         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
23502         (FE_ALL_EXCEPT_X86): New macro.
23503         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
23504         FE_ALL_EXCEPT.  Ensure precision control is included in
23505         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
23506         handle "denormal operand exception" and clear FZ and DAZ bits.
23507         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
23508         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
23509         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
23510         test-fenv-x87 and test-fenv-sse-2.
23511         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
23513         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
23514         * math/test-double.h (BUILD_COMPLEX): New macro.
23515         * math/test-float.h (BUILD_COMPLEX): Likewise.
23516         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
23518         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
23519         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
23520         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
23521         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
23522         instead of DBL_DENORM_MIN in comment.
23523         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
23524         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
23525         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
23526         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
23527         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
23528         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
23530 2015-10-28  Florian Weimer  <fweimer@redhat.com>
23532         [BZ #19048]
23533         * malloc/malloc.c (struct malloc_state): Update comment.  Add
23534         attached_threads member.
23535         (main_arena): Initialize attached_threads.
23536         * malloc/arena.c (list_lock): Update comment.
23537         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
23538         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
23539         (deattach_arena): New function.
23540         (_int_new_arena): Initialize arena reference count and deattach
23541         replaced arena.
23542         (get_free_list, reused_arena): Update reference count and deattach
23543         replaced arena.
23544         (arena_thread_freeres): Update arena reference count and only put
23545         unreferenced arenas on the free list.
23547 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
23549         [BZ #19181]
23550         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
23551         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
23552         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
23553         * math/test-fenv-clear-main.c: New file.
23554         * math/test-fenv-clear.c: Likewise.
23555         * math/Makefile (tests): Add test-fenv-clear.
23556         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
23557         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
23558         test-fenv-clear-sse.
23559         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
23561         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
23562         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
23563         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
23565 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23567         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
23568         static libc.
23570 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
23572         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
23573         test.
23574         * sysdeps/i386/configure: Regenerated.
23575         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
23576         test.
23577         * sysdeps/x86_64/configure: Regenerated.
23578         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
23579         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23580         memset-avx2 unconditionally instead of conditionally on
23581         [$(config-cflags-avx2) = yes].
23582         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23583         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
23584         unconditional.
23585         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
23586         * sysdeps/x86_64/multiarch/memset_chk.S
23587         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
23588         to [IS_IN (libc) && SHARED].
23590 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
23592         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
23593         configure test.
23594         * sysdeps/arm/configure: Regenerated.
23595         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
23596         Define variable if not already defined.
23598         [BZ #17404]
23599         * sysdeps/mips/atomic-machine.h
23600         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
23601         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
23602         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
23604         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
23605         unconditional.
23606         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
23607         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23608         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
23609         unconditional.
23610         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23611         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
23612         unconditional.
23613         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23614         * stdlib/setenv.c
23615         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
23616         code unconditional.
23617         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
23618         Remove conditional code.
23619         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
23620         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
23621         unconditional.
23622         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
23623         code.
23624         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
23625         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
23626         unconditional.
23627         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
23628         code.
23629         * sysdeps/ieee754/ldbl-128/k_tanl.c
23630         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
23631         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23632         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
23633         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
23634         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23635         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
23636         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
23637         unconditional.
23638         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
23639         code.
23640         * sysdeps/ieee754/ldbl-96/k_tanl.c
23641         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
23642         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23644         * nptl/tst-initializers1-c11.c: New file.
23645         * nptl/tst-initializers1-gnu11.c: Likewise.
23646         * nptl/Makefile (tests): Add these new tests.
23647         (CFLAGS-tst-initializers1-c11.c): New variable.
23648         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
23650         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
23651         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
23652         instead of -std=gnu99.
23653         * configure.ac (systemtap): Test with -std=gnu11 instead of
23654         -std=gnu99.
23655         * configure: Regenerated.
23656         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
23657         in compilation command in comment.
23659         * sysdeps/nptl/configure.ac: Remove file.
23660         * sysdeps/nptl/configure: Remove generated file.
23661         * configure.ac (libc_cv_forced_unwind): Do not substitute.
23662         * configure: Regenerated.
23663         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
23664         * config.make.in (have-forced-unwind): Remove variable.
23665         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
23666         unconditional.
23667         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
23668         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
23669         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
23670         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
23671         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
23672         unconditional.
23674 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23676         [BZ #19174]
23677         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
23678         .skip_lock_out_of_tbegin_retries.
23679         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
23680         (__lll_lock_elision): Likewise, and respect a value of
23681         try_tbegin <= 0.
23683 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23685         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
23686         statement.
23688 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
23690         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
23691         variable.
23692         (test-xfail-ISO11/stdalign.h/conform): Likewise.
23693         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
23695         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
23696         of -std=c1x -D_ISOC11_SOURCE.
23698         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
23699         * configure: Regenerated.
23700         * manual/install.texi (Tools for Compilation): Document
23701         requirement for GCC 4.7 or later.
23702         * INSTALL: Regenerated.
23704 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
23706         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
23707         on CNT to a conditional jump to 'puntdata'.
23709 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
23711         * configure.ac (libc_cv_gcc___thread): Remove configure test.
23712         (libc_cv_gcc_tls_model_attr): Likewise.
23713         * configure: Regenerated.
23715         * configure.ac (libc_cv_need_minus_P): Remove configure test.
23716         * configure: Regenerated.
23717         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
23719 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
23721         * configure.ac (old_glibc_headers): Remove configure test.
23722         * configure: Regenerated.
23723         * config.make.in (old-glibc-headers): Remove variable.
23724         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
23725         (install): Remove dependency on remove-old-headers.
23726         (headers2_0): Remove variable.
23727         (remove-old-headers): Remove rule.
23729         * configure.ac (libc_cv_dot_text): Remove configure test.
23730         (libc_cv_asm_set_directive): Use .text instead of
23731         ${libc_cv_dot_text} in configure test.
23732         * configure: Regenerated.
23734 2015-10-26  Florian Weimer  <fweimer@redhat.com>
23736         [BZ #19168]
23737         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23739 2015-10-26  Florian Weimer  <fweimer@redhat.com>
23741         * configure.ac (CXX): Clear the variable if the C++ toolchain does
23742         not support static linking.
23743         * configure: Regenerate.
23745 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
23747         * math/libm-test.inc (check_float_internal): Do not special-case
23748         errors up to 0.5 ulp.
23750         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
23751         log2.
23752         * math/auto-libm-test-out: Regenerated.
23753         * math/libm-test.inc (MAX_EXP): New macro.
23754         (ilogb_test_data): Add more tests.
23755         (isfinite_test_data): Likewise.
23756         (isgreater_test_data): Likewise.
23757         (isgreaterequal_test_data): Likewise.
23758         (isinf_test_data): Likewise.
23759         (isless_test_data): Likewise.
23760         (islessequal_test_data): Likewise.
23761         (islessgreater_test_data): Likewise.
23762         (isnan_test_data): Likewise.
23763         (isnormal_test_data): Likewise.
23764         (issignaling_test_data): Likewise.
23765         (isunordered_test_data): Likewise.
23766         (j0_test_data): Likewise.
23767         (j1_test_data): Likewise.
23768         (jn_test_data): Likewise.
23769         (lgamma_test_data): Likewise.
23770         (log_test_data): Likewise.
23771         (log10_test_data): Likewise.
23772         (log1p_test_data): Likewise.
23773         (log2_test_data): Likewise.
23774         (logb_test_data): Likewise.
23775         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23777         [BZ #18611]
23778         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
23779         avoid excess range and precision on underflow.
23780         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
23781         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
23782         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
23783         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
23784         underflow.
23785         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23786         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23787         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
23788         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23789         * math/auto-libm-test-in: Do not allow missing errno setting for
23790         tests of j1 and jn.
23791         * math/auto-libm-test-out: Regenerated.
23793 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
23795         [BZ #15491]
23796         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
23797         floating-point environment instead of clearing all exceptions.
23798         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
23799         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
23800         merging in "invalid" exceptions from frndint.
23801         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
23802         * math/test-nearbyint-except.c: New file.
23803         * math/Makefile (tests): Add test-nearbyint-except.
23805 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
23807         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
23809         * sysdeps/tile/libm-test-ulps: Regenerated.
23811 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
23814         (__NR_sync_file_range2): Assume it is always defined.
23815         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
23816         (__NR_sync_file_range): Assume it is always defined.
23818 2015-10-22  Andreas Schwab  <schwab@suse.de>
23820         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
23821         INTERNAL_SYSCALL_ERRNO.
23822         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23823         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
23824         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23825         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
23826         Likewise.
23827         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23829 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
23831         * io/tst-fcntl.c (fd): New static variable.
23832         (do_prepare): Open temporary file here....
23833         (do_test): ...not here.
23835         * io/ftwtest-sh: Also trap on exit to remove temporary files.
23837 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
23839         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
23840         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
23841         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
23842         Moved before "#ifdef __ASSEMBLER__".
23844 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
23846         [BZ #19156]
23847         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
23848         arguments very close to 0.
23850 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
23852         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
23853         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
23855 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
23857         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
23858         New.  Defined for GCC 5 and above when not compiling for
23859         profiling.
23860         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
23862         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
23863         Renamed to ...
23864         (CFLAGS-epoll_pwait.o): This.
23865         (CFLAGS-mmap.c): Renamed to ...
23866         (CFLAGS-mmap.o): This.
23867         (CFLAGS-mmap64.c): Renamed to ...
23868         (CFLAGS-mmap64.o): This.
23869         (CFLAGS-epoll_pwait.os): New.
23870         (CFLAGS-mmap.os): Likewise.
23871         (CFLAGS-mmap64.os): Likewise.
23872         (CFLAGS-semtimedop.os): Likewise.
23873         (CFLAGS-semtimedop.c): Renamed to ...
23874         (CFLAGS-semtimedop.o): This.
23876 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23878         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
23879         warning message.
23881 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
23883         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
23884         * Makefile ($(objpfx)c++-types-check.out): Filter out
23885         $(+gccwarn-c) instead of -Wstrict-prototypes.
23887         * io/fts.c (fts_open): Convert to prototype-style function
23888         definition.
23889         * malloc/mcheck.c (mcheck): Likewise.
23890         (mcheck_pedantic): Likewise.
23891         * posix/regexec.c (re_search_2_stub): Likewise.  Use
23892         internal_function.
23893         (re_search_internal): Likewise.
23894         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
23895         prototype-style function definition.
23896         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
23897         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
23898         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
23899         (xdr_utmpptr): Likewise.
23900         (xdr_utmparr): Likewise.
23901         (xdr_utmpidle): Likewise.
23902         (xdr_utmpidleptr): Likewise.
23903         (xdr_utmpidlearr): Likewise.
23905         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
23906         log, log10 and log2.
23907         * math/auto-libm-test-out: Regenerated.
23908         * math/libm-test.inc (fmod_test_data): Add more tests.
23909         (fpclassify_test_data): Likewise.
23910         (frexp_test_data): Likewise.
23911         (hypot_test_data): Likewise.
23912         (ilogb_test_data): Likewise.
23914 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
23916         * debug/fortify_fail.c (__fortify_fail): Convert to
23917         prototype-style function definition.  Use internal_function.
23918         * libio/genops.c (save_for_backup): Convert to prototype-style
23919         function definition.
23920         * libio/wgenops.c (save_for_wbackup): Likewise.
23921         * login/grantpt.c (grantpt): Likewise.
23922         * login/ptsname.c (ptsname): Likewise.
23923         (__ptsname_r): Likewise.
23924         * login/unlockpt.c (unlockpt): Likewise.
23925         * mach/msgserver.c (__mach_msg_server): Likewise.
23926         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
23927         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
23928         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
23929         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
23930         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
23931         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
23932         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
23933         Likewise.
23934         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
23935         internal_function.
23936         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
23937         prototype-style function definition.
23938         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
23939         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
23940         (__pthread_create_2_0): Likewise.
23941         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
23942         * nptl/register-atfork.c (__register_atfork): Likewise.
23943         * posix/glob.c (glob): Likewise.
23944         * posix/regcomp.c (re_comp): Likewise.
23945         * posix/regexec.c (re_exec): Likewise.
23946         * stdlib/add_n.c [__STDC__]: Make code unconditional.
23947         [!__STDC__]: Remove conditional code.
23948         * stdlib/cmp.c [__STDC__]: Make code unconditional.
23949         [!__STDC__]: Remove conditional code.
23950         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
23951         [!__STDC__]: Remove conditional code.
23952         * stdlib/divrem.c [__STDC__]: Make code unconditional.
23953         [!__STDC__]: Remove conditional code.
23954         * stdlib/lshift.c [__STDC__]: Make code unconditional.
23955         [!__STDC__]: Remove conditional code.
23956         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
23957         [!__STDC__]: Remove conditional code.
23958         * stdlib/mul.c [__STDC__]: Make code unconditional.
23959         [!__STDC__]: Remove conditional code.
23960         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
23961         [!__STDC__]: Remove conditional code.
23962         * stdlib/rshift.c [__STDC__]: Make code unconditional.
23963         [!__STDC__]: Remove conditional code.
23964         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
23965         function definition.
23966         (STRTOF): Likewise.
23967         * stdlib/strtod_l.c (__STRTOF): Likewise.
23968         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
23969         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
23970         (__strtol_l): Likewise.
23971         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
23972         [!__STDC__]: Remove conditional code.
23973         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
23974         definition.
23975         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
23976         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
23977         type.
23978         (__strcasecmp): Convert to prototype-style function definition.
23979         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
23980         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
23981         type.
23982         (__strncasecmp): Convert to prototype-style function definition.
23983         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
23984         * sunrpc/xdr.c (xdr_union): Likewise.
23985         * sunrpc/xdr_array.c (xdr_array): Likewise.
23986         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
23987         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
23988         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
23989         Likewise.
23990         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
23991         Likewise.
23992         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
23993         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
23994         Likewise.
23995         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
23996         (LOCALE_PARAM_PROTO): Likewise.
23997         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
23998         argument type.
23999         (ut_argument_spec): Remove macro.
24000         (ut_argument_spec_iso): Rename to ut_argument_spec.
24001         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
24002         prototype-style function definition.
24003         (memcpy_uppcase): Likewise.
24004         (__strftime_internal): Likewise.
24005         (my_strftime): Likewise.
24006         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
24007         (LOCALE_PARAM_DECL): Likewise.
24008         [_LIBC] (LOCALE_PARAM): Include argument type.
24009         (__strptime_internal): Convert to prototype-style function
24010         definition.
24011         (strptime): Likewise.
24012         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
24013         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
24014         type.
24015         (__wcscasecmp): Convert to prototype-style function definition.
24016         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
24017         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
24018         type.
24019         (__wcsncasecmp): Convert to prototype-style function definition.
24021         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
24022         function definition.
24023         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24024         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24025         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
24026         * elf/dl-minimal.c (_itoa): Likewise.
24027         * hurd/hurdmalloc.c (malloc): Likewise.
24028         (free): Likewise.
24029         (realloc): Likewise.
24030         * inet/inet6_option.c (inet6_option_space): Likewise.
24031         (inet6_option_init): Likewise.
24032         (inet6_option_append): Likewise.
24033         (inet6_option_alloc): Likewise.
24034         (inet6_option_next): Likewise.
24035         (inet6_option_find): Likewise.
24036         * io/ftw.c (FTW_NAME): Likewise.
24037         (NFTW_NAME): Likewise.
24038         (NFTW_NEW_NAME): Likewise.
24039         (NFTW_OLD_NAME): Likewise.
24040         * libio/iofwide.c (_IO_fwide): Likewise.
24041         * libio/strops.c (_IO_str_init_static_internal): Likewise.
24042         (_IO_str_init_static): Likewise.
24043         (_IO_str_init_readonly): Likewise.
24044         (_IO_str_overflow): Likewise.
24045         (_IO_str_underflow): Likewise.
24046         (_IO_str_count): Likewise.
24047         (_IO_str_seekoff): Likewise.
24048         (_IO_str_pbackfail): Likewise.
24049         (_IO_str_finish): Likewise.
24050         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
24051         (_IO_wstr_overflow): Likewise.
24052         (_IO_wstr_underflow): Likewise.
24053         (_IO_wstr_count): Likewise.
24054         (_IO_wstr_seekoff): Likewise.
24055         (_IO_wstr_pbackfail): Likewise.
24056         (_IO_wstr_finish): Likewise.
24057         * locale/programs/localedef.c (normalize_codeset): Likewise.
24058         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24059         (add_locales_to_archive): Likewise.
24060         (delete_locales_from_archive): Likewise.
24061         * malloc/malloc.c (__libc_mallinfo): Likewise.
24062         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
24063         * misc/tsearch.c (__tfind): Likewise.
24064         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
24065         * nptl/pthread_attr_getdetachstate.c
24066         (__pthread_attr_getdetachstate): Likewise.
24067         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
24068         Likewise.
24069         * nptl/pthread_attr_getinheritsched.c
24070         (__pthread_attr_getinheritsched): Likewise.
24071         * nptl/pthread_attr_getschedparam.c
24072         (__pthread_attr_getschedparam): Likewise.
24073         * nptl/pthread_attr_getschedpolicy.c
24074         (__pthread_attr_getschedpolicy): Likewise.
24075         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
24076         Likewise.
24077         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
24078         Likewise.
24079         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
24080         Likewise.
24081         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
24082         Likewise.
24083         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
24084         (__pthread_attr_init_2_0): Likewise.
24085         * nptl/pthread_attr_setdetachstate.c
24086         (__pthread_attr_setdetachstate): Likewise.
24087         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
24088         Likewise.
24089         * nptl/pthread_attr_setinheritsched.c
24090         (__pthread_attr_setinheritsched): Likewise.
24091         * nptl/pthread_attr_setschedparam.c
24092         (__pthread_attr_setschedparam): Likewise.
24093         * nptl/pthread_attr_setschedpolicy.c
24094         (__pthread_attr_setschedpolicy): Likewise.
24095         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
24096         Likewise.
24097         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
24098         Likewise.
24099         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
24100         Likewise.
24101         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
24102         Likewise.
24103         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
24104         Likewise.
24105         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
24106         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
24107         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
24108         use internal_function.
24109         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
24110         prototype-style function definition.
24111         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
24112         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
24113         internal_function.
24114         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
24115         Convert to prototype-style function definition.
24116         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
24117         Likewise.
24118         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
24119         Likewise.
24120         (__pthread_mutex_unlock): Likewise.
24121         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
24122         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
24123         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
24124         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
24125         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
24126         * nss/makedb.c (process_input): Likewise.
24127         * posix/fnmatch.c (__strchrnul): Likewise.
24128         (__wcschrnul): Likewise.
24129         (fnmatch): Likewise.
24130         * posix/fnmatch_loop.c (FCT): Likewise.
24131         * posix/glob.c (globfree): Likewise.
24132         (__glob_pattern_type): Likewise.
24133         (__glob_pattern_p): Likewise.
24134         * posix/regcomp.c (re_compile_pattern): Likewise.
24135         (re_set_syntax): Likewise.
24136         (re_compile_fastmap): Likewise.
24137         (regcomp): Likewise.
24138         (regerror): Likewise.
24139         (regfree): Likewise.
24140         * posix/regexec.c (regexec): Likewise.
24141         (re_match): Likewise.
24142         (re_search): Likewise.
24143         (re_match_2): Likewise.
24144         (re_search_2): Likewise.
24145         (re_search_stub): Likewise.  Use internal_function
24146         (re_copy_regs): Likewise.
24147         (re_set_registers): Convert to prototype-style function
24148         definition.
24149         (prune_impossible_nodes): Likewise.  Use internal_function.
24150         * resolv/inet_net_pton.c (inet_net_pton): Convert to
24151         prototype-style function definition.
24152         (inet_net_pton_ipv4): Likewise.
24153         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24154         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
24155         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
24156         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
24157         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
24158         Make variadic.
24159         * time/strptime_l.c (localtime_r): Convert to prototype-style
24160         function definition.
24161         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
24162         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
24163         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
24164         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
24166         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
24167         definition.
24168         (_ufc_doit_r): Likewise.
24169         * crypt/crypt_util.c (_ufc_copymem): Likewise.
24170         (_ufc_output_conversion_r): Likewise.
24171         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
24172         * inet/rcmd.c (rcmd_af): Likewise.
24173         (rcmd): Likewise.
24174         (ruserok_af): Likewise.
24175         (ruserok): Likewise.
24176         (ruserok2_sa): Likewise.
24177         (ruserok_sa): Likewise.
24178         (iruserok_af): Likewise.
24179         (iruserok): Likewise.
24180         (__ivaliduser): Likewise.
24181         (__validuser2_sa): Likewise.
24182         * inet/rexec.c (rexec_af): Likewise.
24183         (rexec): Likewise.
24184         * inet/ruserpass.c (ruserpass): Likewise.
24185         * locale/programs/xmalloc.c (xcalloc): Likewise.
24186         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
24187         * math/w_drem.c (__drem): Likewise.
24188         * math/w_dremf.c (__dremf): Likewise.
24189         * math/w_dreml.c (__dreml): Likewise.
24190         * misc/daemon.c (daemon): Likewise.
24191         * resolv/res_debug.c (p_fqnname): Likewise.
24192         * stdlib/div.c (div): Likewise.
24193         * string/memcmp.c (memcmp_bytes): Likewise.
24194         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
24195         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
24197         * crypt/cert.c (main): Convert to prototype-style function
24198         definition.
24199         * io/pipe.c (__pipe): Likewise.
24200         * io/pipe2.c (__pipe2): Likewise.
24201         * misc/futimesat.c (futimesat): Likewise.
24202         * misc/utimes.c (__utimes): Likewise.
24203         * posix/execve.c (__execve): Likewise.
24204         * posix/execvp.c (execvp): Likewise.
24205         * posix/execvpe.c (__execvpe): Likewise.
24206         * posix/fexecve.c (fexecve): Likewise.
24207         * socket/socketpair.c (socketpair): Likewise.
24208         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
24209         * stdlib/erand48.c (erand48): Likewise.
24210         * stdlib/erand48_r.c (__erand48_r): Likewise.
24211         * stdlib/jrand48.c (jrand48): Likewise.
24212         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
24213         * stdlib/lcong48.c (lcong48): Likewise.
24214         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
24215         * stdlib/nrand48.c (nrand48): Likewise.
24216         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
24217         * stdlib/seed48.c (seed48): Likewise.
24218         * stdlib/seed48_r.c (__seed48_r): Likewise.
24219         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
24220         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
24221         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
24223 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
24225         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
24226         * configure: Regenerated.
24227         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
24228         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
24229         unconditional.
24230         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24231         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24232         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24233         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
24234         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
24235         unconditional.
24236         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24238         * posix/Makefile (CFLAGS-regex.c): Remove variable.
24239         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
24241         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
24242         function definition.
24243         * crypt/crypt_util.c (__encrypt_r): Likewise.
24244         * libio/genops.c (_IO_no_init): Likewise.
24245         * libio/iofopncook.c (_IO_fopencookie): Likewise.
24246         (_IO_old_fopencookie): Likewise.
24247         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24248         * libio/iogetline.c (_IO_getline): Likewise.
24249         (_IO_getline_info): Likewise.
24250         * libio/iogetwline.c (_IO_getwline): Likewise.
24251         (_IO_getwline_info): Likewise.
24252         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
24253         * libio/vswprintf.c (_IO_vswprintf): Likewise.
24254         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
24255         (find_entry): Likewise.
24256         (iterate_table): Likewise.
24257         (lookup): Likewise.
24258         * login/forkpty.c (forkpty): Likewise.
24259         * misc/hsearch_r.c (__hsearch_r): Likewise.
24260         * misc/select.c (__select): Likewise.
24261         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
24262         Likewise.
24263         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
24264         Likewise.
24265         * nptl/old_pthread_cond_timedwait.c
24266         (__pthread_cond_timedwait_2_0): Likewise.
24267         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
24268         * nptl/pthread_barrierattr_getpshared.c
24269         (pthread_barrierattr_getpshared): Likewise.
24270         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
24271         Likewise.
24272         * nptl/pthread_mutex_setprioceiling.c
24273         (pthread_mutex_setprioceiling): Likewise.
24274         * nptl/pthread_mutexattr_getprioceiling.c
24275         (pthread_mutexattr_getprioceiling): Likewise.
24276         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
24277         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
24278         Likewise.
24279         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
24280         Likewise.
24281         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
24282         Likewise.
24283         * socket/recvfrom.c (__recvfrom): Likewise.
24284         * socket/sendto.c (__sendto): Likewise.
24285         * socket/setsockopt.c (__setsockopt): Likewise.
24286         * stdio-common/_itoa.c (_itoa): Likewise.
24287         * stdio-common/_itowa.c (_itowa): Likewise.
24288         * stdio-common/reg-printf.c (__register_printf_specifier):
24289         Likewise.
24290         (__register_printf_function): Likewise.
24291         * stdio-common/tempname.c (__path_search): Likewise.
24292         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
24293         * stdlib/mul_1.c (mpn_mul_1): Likewise.
24294         * stdlib/random_r.c (__initstate_r): Likewise.
24295         * stdlib/setenv.c (__add_to_environ): Likewise.
24296         * stdlib/submul_1.c (mpn_submul_1): Likewise.
24297         * streams/getpmsg.c (getpmsg): Likewise.
24298         * streams/putmsg.c (putmsg): Likewise.
24299         * streams/putpmsg.c (putpmsg): Likewise.
24300         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
24301         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
24302         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
24303         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
24304         * sunrpc/pm_getport.c (pmap_getport): Likewise.
24305         * sunrpc/svc_udp.c (cache_get): Likewise.
24306         * sunrpc/xdr_array.c (xdr_vector): Likewise.
24307         * sysdeps/mach/hurd/getcwd.c
24308         (__canonicalize_directory_name_internal): Likewise.
24309         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
24310         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
24311         * sysdeps/mach/hurd/select.c (__select): Likewise.
24312         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
24313         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
24314         * sysdeps/sparc/nptl/pthread_barrier_init.c
24315         (__pthread_barrier_init): Likewise.
24316         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
24317         (__pthread_cond_timedwait): Likewise.
24318         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
24319         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
24320         Likewise.
24321         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
24322         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
24323         Likewise.
24324         * sysvipc/semtimedop.c (semtimedop): Likewise.
24325         * time/setitimer.c (__setitimer): Likewise.
24326         * time/strftime_l.c (emacs_strftime): Likewise.
24328 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
24330         * config.make.in (have-ssp): Delete.
24331         (stack-protector): New variable.
24332         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
24333         cache test for -fstack-protector-strong.  Export stack_protector to
24334         the best ssp flag.
24335         * configure: Regenerated.
24336         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
24337         * nscd/Makefile (CFLAGS-nscd): Likewise.
24338         * resolv/Makefile (CFLAGS-libresolv): Likewise.
24340 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
24342         [BZ #19122]
24343         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
24344         attribute_hidden.
24346 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24348         [BZ #18743]
24349         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
24350         code to...
24351         (ELIDE_LOCK): ...here.
24352         (__get_new_count): New function with part of the code from
24353         __elide_lock that updates the value of adapt_count after a
24354         transaction abort.
24355         (__elided_trylock): Moved this code to...
24356         (ELIDE_TRYLOCK): ...here.
24358 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
24360         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
24361         * configure: Regenerate.
24362         * INSTALL: Regenerate.
24363         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
24364         and tweak grammar.
24366 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
24368         * login/programs/pt_chown.c: Include signal.h
24369         (main): Clear any signal mask from the parent process.
24371 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
24373         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
24374         * configure: Regenerated.
24375         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
24376         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
24377         $(gnu89-inline-CFLAGS).
24379         * configure.ac (libc_cv_asm_weak_directive): Remove configure
24380         test.
24381         (libc_cv_asm_weakext_directive): Likewise.
24382         * configure: Regenerated.
24383         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
24384         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
24385         * include/libc-symbols.h
24386         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
24387         #error.
24388         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
24389         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
24391         * sysdeps/arm/backtrace.c (__backtrace): Convert to
24392         prototype-style function definition.
24393         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
24394         * sysdeps/i386/ffs.c (__ffs): Likewise.
24395         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24396         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
24397         Likewise.
24398         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
24399         Likewise.
24400         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
24401         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
24402         Likewise.
24403         * sysdeps/m68k/ffs.c (__ffs): Likewise.
24404         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
24405         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
24406         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
24407         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
24408         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
24409         * sysdeps/mach/hurd/access.c (__access): Likewise.
24410         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
24411         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
24412         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
24413         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
24414         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
24415         (cthread_getspecific): Likewise.
24416         (cthread_setspecific): Likewise.
24417         (__libc_getspecific): Likewise.
24418         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
24419         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
24420         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
24421         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
24422         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
24423         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
24424         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
24425         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
24426         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
24427         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
24428         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
24429         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
24430         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
24431         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
24432         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
24433         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
24434         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
24435         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
24436         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
24437         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
24438         * sysdeps/mach/hurd/link.c (__link): Likewise.
24439         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
24440         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
24441         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
24442         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
24443         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
24444         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
24445         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
24446         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
24447         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
24448         * sysdeps/mach/hurd/rename.c (rename): Likewise.
24449         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
24450         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
24451         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
24452         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
24453         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
24454         * sysdeps/mach/hurd/send.c (__send): Likewise.
24455         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
24456         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
24457         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
24458         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
24459         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
24460         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
24461         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
24462         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
24463         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
24464         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
24465         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
24466         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
24467         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
24468         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
24469         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
24470         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
24471         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
24472         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
24473         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
24474         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
24475         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
24476         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
24477         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
24478         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
24479         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
24480         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
24481         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
24482         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
24483         * sysdeps/posix/alarm.c (alarm): Likewise.
24484         * sysdeps/posix/cuserid.c (cuserid): Likewise.
24485         * sysdeps/posix/dirfd.c (dirfd): Likewise.
24486         * sysdeps/posix/dup.c (__dup): Likewise.
24487         * sysdeps/posix/dup2.c (__dup2): Likewise.
24488         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
24489         (main): Likewise.
24490         * sysdeps/posix/flock.c (__flock): Likewise.
24491         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
24492         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
24493         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
24494         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
24495         * sysdeps/posix/isatty.c (__isatty): Likewise.
24496         * sysdeps/posix/killpg.c (killpg): Likewise.
24497         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
24498         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
24499         * sysdeps/posix/raise.c (raise): Likewise.
24500         * sysdeps/posix/remove.c (remove): Likewise.
24501         * sysdeps/posix/rename.c (rename): Likewise.
24502         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
24503         * sysdeps/posix/seekdir.c (seekdir): Likewise.
24504         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
24505         * sysdeps/posix/sigignore.c (sigignore): Likewise.
24506         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
24507         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
24508         * sysdeps/posix/sigset.c (sigset): Likewise.
24509         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
24510         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
24511         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
24512         * sysdeps/posix/time.c (time): Likewise.
24513         * sysdeps/posix/ttyname.c (getttyname): Likewise.
24514         (ttyname): Likewise.
24515         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
24516         * sysdeps/posix/utime.c (utime): Likewise.
24517         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
24518         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
24519         Likewise.
24520         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
24521         (pthread_spin_trylock): Likewise.
24522         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
24523         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
24524         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
24525         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
24526         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
24527         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
24528         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
24529         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
24530         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
24531         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
24532         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
24533         * sysdeps/s390/ffs.c (__ffs): Likewise.
24534         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
24535         Likewise.
24536         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
24537         Likewise.
24538         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
24539         Likewise.
24540         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
24541         (pthread_barrier_destroy): Likewise.
24542         * sysdeps/sparc/nptl/pthread_barrier_wait.c
24543         (__pthread_barrier_wait): Likewise.
24544         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
24545         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
24546         (__pthread_barrier_wait): Likewise.
24547         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
24548         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
24549         (memcmp_not_common_alignment): Likewise.
24550         (MEMCMP): Likewise.
24551         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
24552         (_wordcopy_fwd_dest_aligned): Likewise.
24553         (_wordcopy_bwd_aligned): Likewise.
24554         (_wordcopy_bwd_dest_aligned): Likewise.
24555         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
24556         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
24557         * sysdeps/unix/bsd/stty.c (stty): Likewise.
24558         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
24559         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
24560         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
24561         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
24562         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
24563         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
24564         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
24565         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
24566         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
24567         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
24568         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
24569         * sysdeps/unix/stime.c (stime): Likewise.
24570         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
24571         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
24572         Likewise.  Use internal_function.
24573         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
24574         Convert to prototype-style function definition.
24575         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
24576         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
24577         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
24578         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24579         Likewise.  Use internal_function.
24580         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
24581         prototype-style function definition
24582         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24583         Likewise.
24584         (__getlogin_r): Likewise.
24585         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
24586         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
24587         (__pthread_cond_broadcast): Likewise.
24588         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
24589         (__pthread_cond_destroy): Likewise.
24590         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
24591         (__pthread_cond_init): Likewise.
24592         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
24593         (__pthread_cond_signal): Likewise.
24594         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
24595         (__pthread_cond_wait): Likewise.
24596         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
24597         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
24598         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
24599         Likewise.
24600         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
24601         Likewise.
24602         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
24603         Likewise.
24604         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
24605         Likewise.
24606         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
24607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
24608         (__ftruncate64): Likewise.
24609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
24610         (truncate64): Likewise.
24611         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
24612         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
24613         (pthread_getcpuclockid): Likewise.
24614         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
24615         Likewise.
24616         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
24617         Likewise.
24618         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
24619         Likewise.
24620         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
24621         Likewise.
24622         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
24623         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
24624         (__libc_sigaction): Likewise.
24625         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
24626         Likewise.
24627         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
24628         (__sigprocmask): Likewise.
24629         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
24630         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
24631         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
24632         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
24633         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24634         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
24635         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24636         Likewise.
24637         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
24638         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
24639         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24640         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
24641         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
24642         Likewise.
24643         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
24644         (__sigprocmask): Likewise.
24645         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
24646         (cfgetispeed): Likewise.
24647         (cfsetospeed): Likewise.
24648         (cfsetispeed): Likewise.
24649         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
24650         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
24651         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
24652         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
24653         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
24654         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
24655         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
24656         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
24657         Likewise.
24658         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
24659         Likewise.
24660         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
24661         Likewise.
24662         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
24663         Likewise.
24664         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
24666 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24668         sunrpc: Rewrite with explicit TLS access using __thread.
24669         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
24670         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
24671         directly.
24672         (__rpc_thread_variables): Access thread_rpc_vars directly.
24673         Eliminate redundant assignment of the tvp variable.
24675 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24677         malloc: Rewrite with explicit TLS access using __thread.
24678         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
24679         (tsd_setspecific, tsd_getspecific): Remove.
24680         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
24681         (tsd_setspecific, tsd_getspecific): Likewise.
24682         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
24683         (tsd_setspecific, tsd_getspecific): Likewise.
24684         * malloc/arena.c (thread_arena): New TLS variable.
24685         (arena_key): Remove variable.
24686         (arena_get): Use thread_arena.
24687         (arena_lookup): Remove macro.
24688         (malloc_atfork, free_atfork, ptmalloc_lock_all)
24689         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
24690         (_int_new_arena, get_free_list, reused_arena)
24691         (arena_thread_freeres): Use thread_arena.
24692         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
24693         tsd_getspecific, tsd_setspecific from safety annotations.
24694         (Allocating Cleared Space): Remove arena_lookup from safety
24695         annotations.
24697 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24699         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
24700         struct scratch_buffer instead of extend_alloca.
24702 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24704         * sysdeps/unix/sysv/linux/kernel-features.h
24705         (__ASSUME_SOCK_CLOEXEC): Remove.
24706         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
24707         (__have_paccept): Remove unused macro.
24708         * include/unistd.h (__have_sock_cloexec): Remove declaration.
24709         * misc/syslog.c (openlog_internal): Remove fallback code for
24710         !__ASSUME_SOCK_CLOEXEC.
24711         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
24712         missing SOCK_CLOEXEC.
24713         * nscd/connections.c (have_sock_cloexec): Remove definition.
24714         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
24715         * nscd/nscd_helper.c (open_socket): Remove fallback code for
24716         !__ASSUME_SOCK_CLOEXEC.
24717         * resolv/res_send.c (__have_o_nonblock): Remove definition.
24718         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
24719         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
24720         definition.
24721         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
24722         code for !__ASSUME_SOCK_CLOEXEC.
24724 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24726         [BZ #18982]
24727         * manual/stdio.texi (Variable Arguments Output): Add portability
24728         note, explaining that vfprintf clobbers the va_list pointer.
24730 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
24732         * math/libm-test.inc (fabs_test_data): Add more tests.
24733         (fdim_test_data): Likewise.
24734         (fma_test_data): Likewise.
24735         (fmax_test_data): Likewise.
24736         (fmin_test_data): Likewise.
24737         (fmod_test_data): Likewise.
24739 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
24741         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
24742         data.
24744 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
24746         * math/libm-test.inc (ceil_test_data): Add more tests and more
24747         expectations for "inexact".
24748         (floor_test_data): Add more tests.
24749         (round_test_data): Likewise.
24750         (trunc_test_data): Likewise.
24752         * crypt/cert.c (good_bye): Convert to prototype-style function
24753         definition.
24754         (get8): Likewise.
24755         (put8): Likewise.
24756         * crypt/crypt-entry.c (crypt): Likewise.
24757         (__fcrypt): Likewise.
24758         * crypt/crypt_util.c (_ufc_prbits): Likewise.
24759         (_ufc_set_bits): Likewise.
24760         (_ufc_clearmem): Likewise.
24761         (__init_des_r): Likewise.
24762         (shuffle_sb): Likewise.
24763         (shuffle_sb): Likewise.
24764         (_ufc_setup_salt_r): Likewise.
24765         (_ufc_mk_keytab_r): Likewise.
24766         (_ufc_dofinalperm_r): Likewise.
24767         (encrypt): Likewise.
24768         (__setkey_r): Likewise.
24769         (setkey): Likewise.
24770         * crypt/md5.c (md5_init_ctx): Likewise.
24771         (md5_read_ctx): Likewise.
24772         (md5_finish_ctx): Likewise.
24773         (md5_stream): Likewise.
24774         (md5_buffer): Likewise.
24775         (md5_process_bytes): Likewise.
24776         * crypt/sha256.c (__sha256_init_ctx): Likewise.
24777         (__sha256_finish_ctx): Likewise.
24778         (__sha256_process_bytes): Likewise.
24779         * crypt/sha512.c (__sha512_init_ctx): Likewise.
24780         (__sha512_finish_ctx): Likewise.
24781         (__sha512_process_bytes): Likewise.
24782         * ctype/isctype.c (__isctype): Likewise.
24783         * debug/backtrace.c (__backtrace): Likewise.
24784         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
24785         * debug/fgets_chk.c (__fgets_chk): Likewise.
24786         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
24787         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
24788         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
24789         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
24790         * debug/memset_chk.c (__memset_chk): Likewise.
24791         * debug/strcat_chk.c (__strcat_chk): Likewise.
24792         * debug/strncat_chk.c (__strncat_chk): Likewise.
24793         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
24794         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
24795         * dirent/dirfd.c (dirfd): Likewise.
24796         * dirent/getdents.c (__getdirentries): Likewise.
24797         * dirent/getdents64.c (getdirentries64): Likewise.
24798         * dirent/rewinddir.c (__rewinddir): Likewise.
24799         * dirent/seekdir.c (seekdir): Likewise.
24800         * dirent/telldir.c (telldir): Likewise.
24801         * elf/sln.c (makesymlinks): Likewise.
24802         (makesymlink): Likewise.
24803         * gmon/gmon.c (__moncontrol): Likewise.
24804         (__monstartup): Likewise.
24805         (write_hist): Likewise.
24806         (write_call_graph): Likewise.
24807         (write_bb_counts): Likewise.
24808         * grp/setgroups.c (setgroups): Likewise.
24809         * inet/inet_lnaof.c (inet_lnaof): Likewise.
24810         * inet/inet_net.c (inet_network): Likewise.
24811         * inet/inet_netof.c (inet_netof): Likewise.
24812         * inet/rcmd.c (rresvport_af): Likewise.
24813         (rresvport): Likewise.
24814         * io/access.c (__access): Likewise.
24815         * io/chdir.c (__chdir): Likewise.
24816         * io/chmod.c (__chmod): Likewise.
24817         * io/chown.c (__chown): Likewise.
24818         * io/close.c (__close): Likewise.
24819         * io/creat.c (creat): Likewise.
24820         * io/creat64.c (creat64): Likewise.
24821         * io/dup.c (__dup): Likewise.
24822         * io/dup2.c (__dup2): Likewise.
24823         * io/dup3.c (__dup3): Likewise.
24824         * io/euidaccess.c (__euidaccess): Likewise.
24825         * io/faccessat.c (faccessat): Likewise.
24826         * io/fchmod.c (__fchmod): Likewise.
24827         * io/fchmodat.c (fchmodat): Likewise.
24828         * io/fchown.c (__fchown): Likewise.
24829         * io/fchownat.c (fchownat): Likewise.
24830         * io/fcntl.c (__fcntl): Likewise.
24831         * io/flock.c (__flock): Likewise.
24832         * io/fts.c (fts_load): Likewise.
24833         (fts_close): Likewise.
24834         (fts_read): Likewise.
24835         (fts_set): Likewise.
24836         (fts_children): Likewise.
24837         (fts_build): Likewise.
24838         (fts_stat): Likewise.
24839         (fts_sort): Likewise.
24840         (fts_alloc): Likewise.
24841         (fts_lfree): Likewise.
24842         (fts_palloc): Likewise.
24843         (fts_padjust): Likewise.
24844         (fts_maxarglen): Likewise.
24845         (fts_safe_changedir): Likewise.
24846         * io/getwd.c (getwd): Likewise.
24847         * io/isatty.c (__isatty): Likewise.
24848         * io/lchown.c (__lchown): Likewise.
24849         * io/link.c (__link): Likewise.
24850         * io/linkat.c (linkat): Likewise.
24851         * io/lseek.c (__libc_lseek): Likewise.
24852         * io/mkdir.c (__mkdir): Likewise.
24853         * io/mkdirat.c (mkdirat): Likewise.
24854         * io/mkfifo.c (mkfifo): Likewise.
24855         * io/mkfifoat.c (mkfifoat): Likewise.
24856         * io/open.c (__libc_open): Likewise.
24857         * io/open64.c (__libc_open64): Likewise.
24858         * io/readlink.c (__readlink): Likewise.
24859         * io/readlinkat.c (readlinkat): Likewise.
24860         * io/rmdir.c (__rmdir): Likewise.
24861         * io/symlink.c (__symlink): Likewise.
24862         * io/symlinkat.c (symlinkat): Likewise.
24863         * io/ttyname.c (ttyname): Likewise.
24864         * io/ttyname_r.c (__ttyname_r): Likewise.
24865         * io/umask.c (__umask): Likewise.
24866         * io/unlink.c (__unlink): Likewise.
24867         * io/unlinkat.c (unlinkat): Likewise.
24868         * io/utime.c (utime): Likewise.
24869         * libio/clearerr.c (clearerr): Likewise.
24870         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
24871         * libio/feof.c (_IO_feof): Likewise.
24872         * libio/feof_u.c (feof_unlocked): Likewise.
24873         * libio/ferror.c (_IO_ferror): Likewise.
24874         * libio/ferror_u.c (ferror_unlocked): Likewise.
24875         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
24876         * libio/fileno.c (__fileno): Likewise.
24877         * libio/fputc.c (fputc): Likewise.
24878         * libio/fputc_u.c (fputc_unlocked): Likewise.
24879         * libio/fputwc.c (fputwc): Likewise.
24880         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
24881         * libio/freopen.c (freopen): Likewise.
24882         * libio/freopen64.c (freopen64): Likewise.
24883         * libio/fseek.c (fseek): Likewise.
24884         * libio/fseeko.c (fseeko): Likewise.
24885         * libio/fseeko64.c (fseeko64): Likewise.
24886         * libio/ftello.c (__ftello): Likewise.
24887         * libio/ftello64.c (ftello64): Likewise.
24888         * libio/fwide.c (fwide): Likewise.
24889         * libio/genops.c (_IO_un_link): Likewise.
24890         (_IO_link_in): Likewise.
24891         (_IO_least_marker): Likewise.
24892         (_IO_switch_to_main_get_area): Likewise.
24893         (_IO_switch_to_backup_area): Likewise.
24894         (_IO_switch_to_get_mode): Likewise.
24895         (_IO_free_backup_area): Likewise.
24896         (_IO_switch_to_put_mode): Likewise.
24897         (__overflow): Likewise.
24898         (__underflow): Likewise.
24899         (__uflow): Likewise.
24900         (_IO_setb): Likewise.
24901         (_IO_doallocbuf): Likewise.
24902         (_IO_default_underflow): Likewise.
24903         (_IO_default_uflow): Likewise.
24904         (_IO_default_xsputn): Likewise.
24905         (_IO_sgetn): Likewise.
24906         (_IO_default_xsgetn): Likewise.
24907         (_IO_sync): Likewise.
24908         (_IO_default_setbuf): Likewise.
24909         (_IO_default_seekpos): Likewise.
24910         (_IO_default_doallocate): Likewise.
24911         (_IO_init): Likewise.
24912         (_IO_old_init): Likewise.
24913         (_IO_default_sync): Likewise.
24914         (_IO_default_finish): Likewise.
24915         (_IO_default_seekoff): Likewise.
24916         (_IO_sputbackc): Likewise.
24917         (_IO_sungetc): Likewise.
24918         (_IO_set_column): Likewise.
24919         (_IO_set_column): Likewise.
24920         (_IO_adjust_column): Likewise.
24921         (_IO_get_column): Likewise.
24922         (_IO_init_marker): Likewise.
24923         (_IO_remove_marker): Likewise.
24924         (_IO_marker_difference): Likewise.
24925         (_IO_marker_delta): Likewise.
24926         (_IO_seekmark): Likewise.
24927         (_IO_unsave_markers): Likewise.
24928         (_IO_nobackup_pbackfail): Likewise.
24929         (_IO_default_pbackfail): Likewise.
24930         (_IO_default_seek): Likewise.
24931         (_IO_default_stat): Likewise.
24932         (_IO_default_read): Likewise.
24933         (_IO_default_write): Likewise.
24934         (_IO_default_showmanyc): Likewise.
24935         (_IO_default_imbue): Likewise.
24936         (_IO_iter_next): Likewise.
24937         (_IO_iter_file): Likewise.
24938         * libio/getc.c (_IO_getc): Likewise.
24939         * libio/getwc.c (_IO_getwc): Likewise.
24940         * libio/iofclose.c (_IO_new_fclose): Likewise.
24941         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
24942         * libio/iofflush.c (_IO_fflush): Likewise.
24943         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
24944         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
24945         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
24946         * libio/iofgets.c (_IO_fgets): Likewise.
24947         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
24948         * libio/iofgetws.c (fgetws): Likewise.
24949         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
24950         * libio/iofopen64.c (_IO_fopen64): Likewise.
24951         * libio/iofopncook.c (_IO_cookie_read): Likewise.
24952         (_IO_cookie_write): Likewise.
24953         (_IO_cookie_seek): Likewise.
24954         (_IO_cookie_close): Likewise.
24955         (_IO_cookie_seekoff): Likewise.
24956         (_IO_old_cookie_seek): Likewise.
24957         * libio/iofputs.c (_IO_fputs): Likewise.
24958         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
24959         * libio/iofputws.c (fputws): Likewise.
24960         * libio/iofputws_u.c (fputws_unlocked): Likewise.
24961         * libio/iofread.c (_IO_fread): Likewise.
24962         * libio/iofread_u.c (__fread_unlocked): Likewise.
24963         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
24964         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
24965         * libio/ioftell.c (_IO_ftell): Likewise.
24966         * libio/iofwrite.c (_IO_fwrite): Likewise.
24967         * libio/iogetdelim.c (_IO_getdelim): Likewise.
24968         * libio/iogets.c (_IO_gets): Likewise.
24969         * libio/iopadn.c (_IO_padn): Likewise.
24970         * libio/iopopen.c (_IO_new_proc_open): Likewise.
24971         (_IO_new_popen): Likewise.
24972         (_IO_new_proc_close): Likewise.
24973         * libio/ioputs.c (_IO_puts): Likewise.
24974         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
24975         (_IO_seekoff): Likewise.
24976         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
24977         (_IO_seekpos): Likewise.
24978         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
24979         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
24980         * libio/ioungetc.c (_IO_ungetc): Likewise.
24981         * libio/ioungetwc.c (ungetwc): Likewise.
24982         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
24983         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
24984         * libio/iowpadn.c (_IO_wpadn): Likewise.
24985         * libio/libc_fatal.c (__libc_fatal): Likewise.
24986         * libio/memstream.c (__open_memstream): Likewise.
24987         (_IO_mem_sync): Likewise.
24988         (_IO_mem_finish): Likewise.
24989         * libio/oldfileops.c (_IO_old_file_init): Likewise.
24990         (_IO_old_file_close_it): Likewise.
24991         (_IO_old_file_finish): Likewise.
24992         (_IO_old_file_fopen): Likewise.
24993         (_IO_old_file_attach): Likewise.
24994         (_IO_old_file_setbuf): Likewise.
24995         (_IO_old_do_write): Likewise.
24996         (old_do_write): Likewise.
24997         (_IO_old_file_underflow): Likewise.
24998         (_IO_old_file_overflow): Likewise.
24999         (_IO_old_file_sync): Likewise.
25000         (_IO_old_file_seekoff): Likewise.
25001         (_IO_old_file_write): Likewise.
25002         (_IO_old_file_xsputn): Likewise.
25003         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
25004         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25005         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
25006         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
25007         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
25008         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
25009         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
25010         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
25011         (_IO_old_popen): Likewise.
25012         (_IO_old_proc_close): Likewise.
25013         * libio/oldpclose.c (__old_pclose): Likewise.
25014         * libio/pclose.c (__new_pclose): Likewise.
25015         * libio/peekc.c (_IO_peekc_locked): Likewise.
25016         * libio/putc.c (_IO_putc): Likewise.
25017         * libio/putc_u.c (putc_unlocked): Likewise.
25018         * libio/putchar.c (putchar): Likewise.
25019         * libio/putchar_u.c (putchar_unlocked): Likewise.
25020         * libio/putwc.c (putwc): Likewise.
25021         * libio/putwc_u.c (putwc_unlocked): Likewise.
25022         * libio/putwchar.c (putwchar): Likewise.
25023         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
25024         * libio/rewind.c (rewind): Likewise.
25025         * libio/setbuf.c (setbuf): Likewise.
25026         * libio/setlinebuf.c (setlinebuf): Likewise.
25027         * libio/vasprintf.c (_IO_vasprintf): Likewise.
25028         * libio/vscanf.c (_IO_vscanf): Likewise.
25029         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
25030         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
25031         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
25032         * libio/wgenops.c (_IO_least_wmarker): Likewise.
25033         (_IO_switch_to_main_wget_area): Likewise.
25034         (_IO_switch_to_wbackup_area): Likewise.
25035         (_IO_wsetb): Likewise.
25036         (_IO_wdefault_pbackfail): Likewise.
25037         (_IO_wdefault_finish): Likewise.
25038         (_IO_wdefault_uflow): Likewise.
25039         (__woverflow): Likewise.
25040         (__wuflow): Likewise.
25041         (__wunderflow): Likewise.
25042         (_IO_wdefault_xsputn): Likewise.
25043         (_IO_wdefault_xsgetn): Likewise.
25044         (_IO_wdoallocbuf): Likewise.
25045         (_IO_wdefault_doallocate): Likewise.
25046         (_IO_switch_to_wget_mode): Likewise.
25047         (_IO_free_wbackup_area): Likewise.
25048         (_IO_switch_to_wput_mode): Likewise.
25049         (_IO_sputbackwc): Likewise.
25050         (_IO_sungetwc): Likewise.
25051         (_IO_adjust_wcolumn): Likewise.
25052         (_IO_init_wmarker): Likewise.
25053         (_IO_wmarker_delta): Likewise.
25054         (_IO_seekwmark): Likewise.
25055         (_IO_unsave_wmarkers): Likewise.
25056         * libio/wmemstream.c (open_wmemstream): Likewise.
25057         (_IO_wmem_sync): Likewise.
25058         (_IO_wmem_finish): Likewise.
25059         * locale/nl_langinfo.c (nl_langinfo): Likewise.
25060         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
25061         * locale/programs/simple-hash.c (init_hash): Likewise.
25062         (delete_hash): Likewise.
25063         (insert_entry): Likewise.
25064         (set_entry): Likewise.
25065         (next_prime): Likewise.
25066         (is_prime): Likewise.
25067         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
25068         (xmalloc): Likewise.
25069         (xrealloc): Likewise.
25070         * locale/programs/xstrdup.c (xstrdup): Likewise.
25071         * localedata/collate-test.c (xstrcoll): Likewise.
25072         * localedata/xfrm-test.c (xstrcmp): Likewise.
25073         * login/getlogin_r.c (__getlogin_r): Likewise.
25074         * login/getpt.c (__posix_openpt): Likewise.
25075         * login/login_tty.c (login_tty): Likewise.
25076         * login/setlogin.c (setlogin): Likewise.
25077         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
25078         (mach_msg_destroy_port): Likewise.
25079         (mach_msg_destroy_memory): Likewise.
25080         * malloc/mcheck.c (flood): Likewise.
25081         * misc/acct.c (acct): Likewise.
25082         * misc/brk.c (__brk): Likewise.
25083         * misc/chflags.c (chflags): Likewise.
25084         * misc/chroot.c (chroot): Likewise.
25085         * misc/fchflags.c (fchflags): Likewise.
25086         * misc/fstab.c (getfsspec): Likewise.
25087         (getfsfile): Likewise.
25088         * misc/fsync.c (fsync): Likewise.
25089         * misc/ftruncate.c (__ftruncate): Likewise.
25090         * misc/ftruncate64.c (__ftruncate64): Likewise.
25091         * misc/getdomain.c (getdomainname): Likewise.
25092         (getdomainname): Likewise.
25093         * misc/gethostname.c (__gethostname): Likewise.
25094         * misc/getpass.c (getpass): Likewise.
25095         * misc/getttyent.c (skip): Likewise.
25096         (value): Likewise.
25097         * misc/gtty.c (gtty): Likewise.
25098         * misc/hsearch.c (hsearch): Likewise.
25099         (hcreate): Likewise.
25100         * misc/hsearch_r.c (__hcreate_r): Likewise.
25101         (__hdestroy_r): Likewise.
25102         * misc/ioctl.c (__ioctl): Likewise.
25103         * misc/mkdtemp.c (mkdtemp): Likewise.
25104         * misc/mkostemp.c (mkostemp): Likewise.
25105         * misc/mkostemp64.c (mkostemp64): Likewise.
25106         * misc/mkostemps.c (mkostemps): Likewise.
25107         * misc/mkostemps64.c (mkostemps64): Likewise.
25108         * misc/mkstemp.c (mkstemp): Likewise.
25109         * misc/mkstemp64.c (mkstemp64): Likewise.
25110         * misc/mkstemps.c (mkstemps): Likewise.
25111         * misc/mkstemps64.c (mkstemps64): Likewise.
25112         * misc/mktemp.c (__mktemp): Likewise.
25113         * misc/preadv.c (preadv): Likewise.
25114         * misc/preadv64.c (preadv64): Likewise.
25115         * misc/pwritev.c (pwritev): Likewise.
25116         * misc/pwritev64.c (pwritev64): Likewise.
25117         * misc/readv.c (__readv): Likewise.
25118         * misc/revoke.c (revoke): Likewise.
25119         * misc/setdomain.c (setdomainname): Likewise.
25120         * misc/setegid.c (setegid): Likewise.
25121         * misc/seteuid.c (seteuid): Likewise.
25122         * misc/sethostid.c (sethostid): Likewise.
25123         * misc/sethostname.c (sethostname): Likewise.
25124         * misc/setregid.c (__setregid): Likewise.
25125         * misc/setreuid.c (__setreuid): Likewise.
25126         * misc/sstk.c (sstk): Likewise.
25127         * misc/stty.c (stty): Likewise.
25128         * misc/syscall.c (syscall): Likewise.
25129         * misc/syslog.c (setlogmask): Likewise.
25130         * misc/truncate.c (__truncate): Likewise.
25131         * misc/truncate64.c (truncate64): Likewise.
25132         * misc/ualarm.c (ualarm): Likewise.
25133         * misc/usleep.c (usleep): Likewise.
25134         * misc/ustat.c (ustat): Likewise.
25135         * misc/writev.c (__writev): Likewise.
25136         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
25137         * nptl/old_pthread_cond_broadcast.c
25138         (__pthread_cond_broadcast_2_0): Likewise.
25139         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
25140         Likewise.
25141         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
25142         Likewise.
25143         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
25144         Likewise.
25145         * nptl/pt-raise.c (raise): Likewise.
25146         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
25147         Likewise.
25148         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
25149         * nptl/pthread_barrierattr_destroy.c
25150         (pthread_barrierattr_destroy): Likewise.
25151         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
25152         Likewise.
25153         * nptl/pthread_barrierattr_setpshared.c
25154         (pthread_barrierattr_setpshared): Likewise.
25155         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
25156         Likewise.
25157         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
25158         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
25159         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
25160         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
25161         Likewise.
25162         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
25163         Likewise.
25164         * nptl/pthread_condattr_getpshared.c
25165         (pthread_condattr_getpshared): Likewise.
25166         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
25167         Likewise.
25168         * nptl/pthread_condattr_setpshared.c
25169         (pthread_condattr_setpshared): Likewise.
25170         * nptl/pthread_detach.c (pthread_detach): Likewise.
25171         * nptl/pthread_equal.c (__pthread_equal): Likewise.
25172         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
25173         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
25174         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
25175         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
25176         Likewise.
25177         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
25178         Likewise.
25179         * nptl/pthread_mutex_getprioceiling.c
25180         (pthread_mutex_getprioceiling): Likewise.
25181         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
25182         Likewise.
25183         * nptl/pthread_mutexattr_getprotocol.c
25184         (pthread_mutexattr_getprotocol): Likewise.
25185         * nptl/pthread_mutexattr_getpshared.c
25186         (pthread_mutexattr_getpshared): Likewise.
25187         * nptl/pthread_mutexattr_getrobust.c
25188         (pthread_mutexattr_getrobust): Likewise.
25189         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
25190         Likewise.
25191         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
25192         Likewise.
25193         * nptl/pthread_mutexattr_setprioceiling.c
25194         (pthread_mutexattr_setprioceiling): Likewise.
25195         * nptl/pthread_mutexattr_setprotocol.c
25196         (pthread_mutexattr_setprotocol): Likewise.
25197         * nptl/pthread_mutexattr_setpshared.c
25198         (pthread_mutexattr_setpshared): Likewise.
25199         * nptl/pthread_mutexattr_setrobust.c
25200         (pthread_mutexattr_setrobust): Likewise.
25201         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
25202         Likewise.
25203         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
25204         Likewise.
25205         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
25206         Likewise.
25207         * nptl/pthread_rwlockattr_getkind_np.c
25208         (pthread_rwlockattr_getkind_np): Likewise.
25209         * nptl/pthread_rwlockattr_getpshared.c
25210         (pthread_rwlockattr_getpshared): Likewise.
25211         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
25212         Likewise.
25213         * nptl/pthread_rwlockattr_setkind_np.c
25214         (pthread_rwlockattr_setkind_np): Likewise.
25215         * nptl/pthread_rwlockattr_setpshared.c
25216         (pthread_rwlockattr_setpshared): Likewise.
25217         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
25218         Likewise.
25219         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
25220         Likewise.
25221         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
25222         Likewise.
25223         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
25224         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
25225         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
25226         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
25227         * nptl/sem_close.c (sem_close): Likewise.
25228         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
25229         * nptl/sem_init.c (__old_sem_init): Likewise.
25230         * nptl/sigaction.c (__sigaction): Likewise.
25231         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
25232         * posix/_exit.c (_exit): Likewise.
25233         * posix/alarm.c (alarm): Likewise.
25234         * posix/confstr.c (confstr): Likewise.
25235         * posix/fpathconf.c (__fpathconf): Likewise.
25236         * posix/getgroups.c (__getgroups): Likewise.
25237         * posix/getpgid.c (__getpgid): Likewise.
25238         * posix/group_member.c (__group_member): Likewise.
25239         * posix/pathconf.c (__pathconf): Likewise.
25240         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
25241         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
25242         * posix/setgid.c (__setgid): Likewise.
25243         * posix/setpgid.c (__setpgid): Likewise.
25244         * posix/setuid.c (__setuid): Likewise.
25245         * posix/sleep.c (__sleep): Likewise.
25246         * posix/sysconf.c (__sysconf): Likewise.
25247         * posix/times.c (__times): Likewise.
25248         * posix/uname.c (__uname): Likewise.
25249         * posix/waitid.c (__waitid): Likewise.
25250         * pwd/getpw.c (__getpw): Likewise.
25251         * resolv/base64.c (b64_pton): Likewise.
25252         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
25253         * resolv/gethnamaddr.c (Dprintf): Likewise.
25254         (gethostbyname): Likewise.
25255         (gethostbyname2): Likewise.
25256         (gethostbyaddr): Likewise.
25257         (_sethtent): Likewise.
25258         (_gethtbyname): Likewise.
25259         (_gethtbyname2): Likewise.
25260         (_gethtbyaddr): Likewise.
25261         (map_v4v6_address): Likewise.
25262         (map_v4v6_hostent): Likewise.
25263         (addrsort): Likewise.
25264         (ht_sethostent): Likewise.
25265         (ht_gethostbyname): Likewise.
25266         (ht_gethostbyaddr): Likewise.
25267         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
25268         (inet_net_ntop_ipv4): Likewise.
25269         * resolv/inet_neta.c (inet_neta): Likewise.
25270         * resolv/inet_ntop.c (inet_ntop): Likewise.
25271         (inet_ntop4): Likewise.
25272         (inet_ntop6): Likewise.
25273         * resolv/inet_pton.c (__inet_pton): Likewise.
25274         (inet_pton4): Likewise.
25275         (inet_pton6): Likewise.
25276         * resolv/res_debug.c (loc_aton): Likewise.
25277         (loc_ntoa): Likewise.
25278         * resource/getpriority.c (__getpriority): Likewise.
25279         * resource/getrusage.c (__getrusage): Likewise.
25280         * resource/nice.c (nice): Likewise.
25281         * resource/setpriority.c (__setpriority): Likewise.
25282         * resource/setrlimit64.c (setrlimit64): Likewise.
25283         * resource/vlimit.c (vlimit): Likewise.
25284         * resource/vtimes.c (vtimes): Likewise.
25285         * rt/aio_error.c (aio_error): Likewise.
25286         * rt/aio_return.c (aio_return): Likewise.
25287         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
25288         * signal/kill.c (__kill): Likewise.
25289         * signal/killpg.c (killpg): Likewise.
25290         * signal/raise.c (raise): Likewise.
25291         * signal/sigaction.c (__sigaction): Likewise.
25292         * signal/sigaddset.c (sigaddset): Likewise.
25293         * signal/sigaltstack.c (sigaltstack): Likewise.
25294         * signal/sigandset.c (sigandset): Likewise.
25295         * signal/sigblock.c (__sigblock): Likewise.
25296         * signal/sigdelset.c (sigdelset): Likewise.
25297         * signal/sigempty.c (sigemptyset): Likewise.
25298         * signal/sigfillset.c (sigfillset): Likewise.
25299         * signal/sighold.c (sighold): Likewise.
25300         * signal/sigignore.c (sigignore): Likewise.
25301         * signal/sigintr.c (siginterrupt): Likewise.
25302         * signal/sigisempty.c (sigisemptyset): Likewise.
25303         * signal/sigismem.c (sigismember): Likewise.
25304         * signal/signal.c (signal): Likewise.
25305         * signal/sigorset.c (sigorset): Likewise.
25306         * signal/sigpause.c (__sigpause): Likewise.
25307         * signal/sigpending.c (sigpending): Likewise.
25308         * signal/sigprocmask.c (__sigprocmask): Likewise.
25309         * signal/sigrelse.c (sigrelse): Likewise.
25310         * signal/sigreturn.c (__sigreturn): Likewise.
25311         * signal/sigset.c (sigset): Likewise.
25312         * signal/sigsetmask.c (__sigsetmask): Likewise.
25313         * signal/sigstack.c (sigstack): Likewise.
25314         * signal/sigsuspend.c (__sigsuspend): Likewise.
25315         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
25316         * signal/sysv_signal.c (__sysv_signal): Likewise.
25317         * socket/accept.c (accept): Likewise.
25318         * socket/accept4.c (__libc_accept4): Likewise.
25319         * socket/bind.c (__bind): Likewise.
25320         * socket/connect.c (__connect): Likewise.
25321         * socket/getpeername.c (getpeername): Likewise.
25322         * socket/getsockname.c (__getsockname): Likewise.
25323         * socket/getsockopt.c (getsockopt): Likewise.
25324         * socket/listen.c (__listen): Likewise.
25325         * socket/recv.c (__recv): Likewise.
25326         * socket/recvmsg.c (__recvmsg): Likewise.
25327         * socket/send.c (__send): Likewise.
25328         * socket/sendmsg.c (__sendmsg): Likewise.
25329         * socket/shutdown.c (shutdown): Likewise.
25330         * socket/sockatmark.c (sockatmark): Likewise.
25331         * socket/socket.c (__socket): Likewise.
25332         * stdio-common/ctermid.c (ctermid): Likewise.
25333         * stdio-common/cuserid.c (cuserid): Likewise.
25334         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
25335         * stdio-common/remove.c (remove): Likewise.
25336         * stdio-common/rename.c (rename): Likewise.
25337         * stdio-common/renameat.c (renameat): Likewise.
25338         * stdio-common/tempname.c (__gen_tempname): Likewise.
25339         * stdio-common/xbug.c (InitBuffer): Likewise.
25340         (AppendToBuffer): Likewise.
25341         (ReadFile): Likewise.
25342         * stdlib/a64l.c (a64l): Likewise.
25343         * stdlib/drand48_r.c (drand48_r): Likewise.
25344         * stdlib/getcontext.c (getcontext): Likewise.
25345         * stdlib/getenv.c (getenv): Likewise.
25346         * stdlib/l64a.c (l64a): Likewise.
25347         * stdlib/llabs.c (llabs): Likewise.
25348         * stdlib/lldiv.c (lldiv): Likewise.
25349         * stdlib/lrand48_r.c (lrand48_r): Likewise.
25350         * stdlib/mrand48_r.c (mrand48_r): Likewise.
25351         * stdlib/putenv.c (putenv): Likewise.
25352         * stdlib/random.c (__srandom): Likewise.
25353         (__initstate): Likewise.
25354         (__setstate): Likewise.
25355         * stdlib/random_r.c (__srandom_r): Likewise.
25356         (__setstate_r): Likewise.
25357         (__random_r): Likewise.
25358         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
25359         * stdlib/setcontext.c (setcontext): Likewise.
25360         * stdlib/setenv.c (setenv): Likewise.
25361         (unsetenv): Likewise.
25362         * stdlib/srand48.c (srand48): Likewise.
25363         * stdlib/srand48_r.c (__srand48_r): Likewise.
25364         * stdlib/swapcontext.c (swapcontext): Likewise.
25365         * stdlib/system.c (__libc_system): Likewise.
25366         * stdlib/tst-strtod.c (expand): Likewise.
25367         * stdlib/tst-strtol.c (expand): Likewise.
25368         * stdlib/tst-strtoll.c (expand): Likewise.
25369         * streams/fattach.c (fattach): Likewise.
25370         * streams/fdetach.c (fdetach): Likewise.
25371         * streams/getmsg.c (getmsg): Likewise.
25372         * streams/isastream.c (isastream): Likewise.
25373         * string/ffs.c (__ffs): Likewise.
25374         * string/ffsll.c (ffsll): Likewise.
25375         * string/memcmp.c (memcmp_common_alignment): Likewise.
25376         (memcmp_not_common_alignment): Likewise.
25377         (MEMCMP): Likewise.
25378         * string/memcpy.c (memcpy): Likewise.
25379         * string/memmove.c (MEMMOVE): Likewise.
25380         * string/memset.c (memset): Likewise.
25381         * string/rawmemchr.c (RAWMEMCHR): Likewise.
25382         * string/strchrnul.c (STRCHRNUL): Likewise.
25383         * string/strerror.c (strerror): Likewise.
25384         * string/strndup.c (__strndup): Likewise.
25385         * string/strverscmp.c (__strverscmp): Likewise.
25386         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
25387         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
25388         (clnttcp_freeres): Likewise.
25389         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
25390         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
25391         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
25392         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
25393         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
25394         (xdr_callhdr): Likewise.
25395         * sunrpc/rpcinfo.c (udpping): Likewise.
25396         (tcpping): Likewise.
25397         (pstatus): Likewise.
25398         (pmapdump): Likewise.
25399         (brdcst): Likewise.
25400         (deletereg): Likewise.
25401         (getprognum): Likewise.
25402         (getvers): Likewise.
25403         (get_inet_address): Likewise.
25404         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
25405         * sunrpc/svc_udp.c (svcudp_create): Likewise.
25406         (svcudp_stat): Likewise.
25407         (svcudp_recv): Likewise.
25408         (svcudp_reply): Likewise.
25409         (svcudp_getargs): Likewise.
25410         (svcudp_freeargs): Likewise.
25411         (svcudp_destroy): Likewise.
25412         * sunrpc/xdr.c (xdr_bytes): Likewise.
25413         (xdr_netobj): Likewise.
25414         (xdr_string): Likewise.
25415         (xdr_wrapstring): Likewise.
25416         * sunrpc/xdr_float.c (xdr_float): Likewise.
25417         (xdr_double): Likewise.
25418         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
25419         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
25420         * sysvipc/ftok.c (ftok): Likewise.
25421         * sysvipc/msgctl.c (msgctl): Likewise.
25422         * sysvipc/msgget.c (msgget): Likewise.
25423         * sysvipc/msgrcv.c (msgrcv): Likewise.
25424         * sysvipc/msgsnd.c (msgsnd): Likewise.
25425         * sysvipc/semget.c (semget): Likewise.
25426         * sysvipc/semop.c (semop): Likewise.
25427         * sysvipc/shmat.c (shmat): Likewise.
25428         * sysvipc/shmctl.c (shmctl): Likewise.
25429         * sysvipc/shmdt.c (shmdt): Likewise.
25430         * sysvipc/shmget.c (shmget): Likewise.
25431         * termios/cfmakeraw.c (cfmakeraw): Likewise.
25432         * termios/speed.c (cfgetospeed): Likewise.
25433         (cfgetispeed): Likewise.
25434         (cfsetospeed): Likewise.
25435         (cfsetispeed): Likewise.
25436         * termios/tcflow.c (tcflow): Likewise.
25437         * termios/tcflush.c (tcflush): Likewise.
25438         * termios/tcgetattr.c (__tcgetattr): Likewise.
25439         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
25440         * termios/tcgetsid.c (tcgetsid): Likewise.
25441         * termios/tcsendbrk.c (tcsendbreak): Likewise.
25442         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
25443         * time/adjtime.c (__adjtime): Likewise.
25444         * time/dysize.c (dysize): Likewise.
25445         * time/ftime.c (ftime): Likewise.
25446         * time/getitimer.c (__getitimer): Likewise.
25447         * time/gettimeofday.c (__gettimeofday): Likewise.
25448         * time/gmtime.c (__gmtime_r): Likewise.
25449         (gmtime): Likewise.
25450         * time/localtime.c (__localtime_r): Likewise.
25451         (localtime): Likewise.
25452         * time/offtime.c (__offtime): Likewise.
25453         * time/settimeofday.c (__settimeofday): Likewise.
25454         * time/stime.c (stime): Likewise.
25455         * time/strftime_l.c (tm_diff): Likewise.
25456         (iso_week_days): Likewise.
25457         * time/strptime.c (strptime): Likewise.
25458         * time/time.c (time): Likewise.
25459         * time/timespec_get.c (timespec_get): Likewise.
25460         * time/tzset.c (tzset_internal): Likewise.
25461         (compute_change): Likewise.
25462         (__tz_compute): Likewise.
25463         * wcsmbs/btowc.c (__btowc): Likewise.
25464         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
25465         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
25466         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
25467         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
25468         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
25469         * wcsmbs/wcscat.c (__wcscat): Likewise.
25470         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25471         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
25472         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
25473         * wcsmbs/wcscspn.c (wcscspn): Likewise.
25474         * wcsmbs/wcsdup.c (wcsdup): Likewise.
25475         * wcsmbs/wcslen.c (__wcslen): Likewise.
25476         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
25477         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
25478         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
25479         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
25480         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25481         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
25482         * wcsmbs/wcsspn.c (wcsspn): Likewise.
25483         * wcsmbs/wcsstr.c (wcsstr): Likewise.
25484         * wcsmbs/wcstok.c (wcstok): Likewise.
25485         * wcsmbs/wctob.c (wctob): Likewise.
25486         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
25487         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25488         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
25489         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
25490         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
25491         * wcsmbs/wmemset.c (__wmemset): Likewise.
25492         * wctype/wcfuncs.c (__towlower): Likewise.
25493         (__towupper): Likewise.
25495         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
25496         (lll_unlock_elision): Add adapt_count parameter.
25498 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
25500         * sysdeps/nptl/configure.ac: Do not give errors based on the
25501         results of top-level configure tests.
25502         * sysdeps/nptl/configure: Regenerated.
25504         * configure.ac (libc_cv_Bgroup): Remove configure test.
25505         * configure: Regenerated.
25506         * config.make.in (have-Bgroup): Remove variable.
25508         * configure.ac (sizeof_long_double): Remove configure test.
25509         * configure: Regenerated.
25510         * config.make.in (sizeof-long-double): Remove variable.
25512         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
25513         * configure: Regenerated.
25514         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
25515         variable.
25516         (exceptions): Likewise.
25517         * sysdeps/arm/configure: Regenerated.
25518         * config.make.in (exceptions): Remove variable.
25519         * Makeconfig (uses-callbacks): Use -fexceptions instead of
25520         $(exceptions).
25521         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
25522         (CFLAGS-vdprintf_chk.c): Likewise.
25523         (CFLAGS-printf_chk.c): Likewise.
25524         (CFLAGS-fprintf_chk.c): Likewise.
25525         (CFLAGS-vprintf_chk.c): Likewise.
25526         (CFLAGS-vfprintf_chk.c): Likewise.
25527         (CFLAGS-gets_chk.c): Likewise.
25528         (CFLAGS-fgets_chk.c): Likewise.
25529         (CFLAGS-fgets_u_chk.c): Likewise.
25530         (CFLAGS-fread_chk.c): Likewise.
25531         (CFLAGS-fread_u_chk.c): Likewise.
25532         (CFLAGS-wprintf_chk.c): Likewise.
25533         (CFLAGS-fwprintf_chk.c): Likewise.
25534         (CFLAGS-vwprintf_chk.c): Likewise.
25535         (CFLAGS-vfwprintf_chk.c): Likewise.
25536         (CFLAGS-fgetws_chk.c): Likewise.
25537         (CFLAGS-fgetws_u_chk.c): Likewise.
25538         * libio/Makefile (CFLAGS-fileops.c): Likewise.
25539         (CFLAGS-fputc.c): Likewise.
25540         (CFLAGS-fputwc.c): Likewise.
25541         (CFLAGS-freopen64.c): Likewise.
25542         (CFLAGS-freopen.c): Likewise.
25543         (CFLAGS-fseek.c): Likewise.
25544         (CFLAGS-fseeko64.c): Likewise.
25545         (CFLAGS-fseeko.c): Likewise.
25546         (CFLAGS-ftello64.c): Likewise.
25547         (CFLAGS-ftello.c): Likewise.
25548         (CFLAGS-fwide.c): Likewise.
25549         (CFLAGS-genops.c): Likewise.
25550         (CFLAGS-getc.c): Likewise.
25551         (CFLAGS-getchar.c): Likewise.
25552         (CFLAGS-getwc.c): Likewise.
25553         (CFLAGS-getwchar.c): Likewise.
25554         (CFLAGS-iofclose.c): Likewise.
25555         (CFLAGS-iofflush.c): Likewise.
25556         (CFLAGS-iofgetpos64.c): Likewise.
25557         (CFLAGS-iofgetpos.c): Likewise.
25558         (CFLAGS-iofgets.c): Likewise.
25559         (CFLAGS-iofgetws.c): Likewise.
25560         (CFLAGS-iofputs.c): Likewise.
25561         (CFLAGS-iofputws.c): Likewise.
25562         (CFLAGS-iofread.c): Likewise.
25563         (CFLAGS-iofsetpos64.c): Likewise.
25564         (CFLAGS-iofsetpos.c): Likewise.
25565         (CFLAGS-ioftell.c): Likewise.
25566         (CFLAGS-iofwrite.c): Likewise.
25567         (CFLAGS-iogetdelim.c): Likewise.
25568         (CFLAGS-iogetline.c): Likewise.
25569         (CFLAGS-iogets.c): Likewise.
25570         (CFLAGS-iogetwline.c): Likewise.
25571         (CFLAGS-ioputs.c): Likewise.
25572         (CFLAGS-ioseekoff.c): Likewise.
25573         (CFLAGS-ioseekpos.c): Likewise.
25574         (CFLAGS-iosetbuffer.c): Likewise.
25575         (CFLAGS-iosetvbuf.c): Likewise.
25576         (CFLAGS-ioungetc.c): Likewise.
25577         (CFLAGS-ioungetwc.c): Likewise.
25578         (CFLAGS-oldfileops.c): Likewise.
25579         (CFLAGS-oldiofclose.c): Likewise.
25580         (CFLAGS-oldiofgetpos64.c): Likewise.
25581         (CFLAGS-oldiofgetpos.c): Likewise.
25582         (CFLAGS-oldiofsetpos64.c): Likewise.
25583         (CFLAGS-oldiofsetpos.c): Likewise.
25584         (CFLAGS-peekc.c): Likewise.
25585         (CFLAGS-putc.c): Likewise.
25586         (CFLAGS-putchar.c): Likewise.
25587         (CFLAGS-putwc.c): Likewise.
25588         (CFLAGS-putwchar.c): Likewise.
25589         (CFLAGS-rewind.c): Likewise.
25590         (CFLAGS-wfileops.c): Likewise.
25591         (CFLAGS-wgenops.c): Likewise.
25592         (CFLAGS-oldiofopen.c): Likewise.
25593         (CFLAGS-iofopen.c): Likewise.
25594         (CFLAGS-iofopen64.c): Likewise.
25595         (CFLAGS-oldtmpfile.c): Likewise.
25596         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
25597         (CFLAGS-fprintf.c): Likewise.
25598         (CFLAGS-printf.c): Likewise.
25599         (CFLAGS-vfwprintf.c): Likewise.
25600         (CFLAGS-vfscanf.c): Likewise.
25601         (CFLAGS-vfwscanf.c): Likewise.
25602         (CFLAGS-fscanf.c): Likewise.
25603         (CFLAGS-scanf.c): Likewise.
25604         (CFLAGS-isoc99_vfscanf.c): Likewise.
25605         (CFLAGS-isoc99_vscanf.c): Likewise.
25606         (CFLAGS-isoc99_fscanf.c): Likewise.
25607         (CFLAGS-isoc99_scanf.c): Likewise.
25608         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
25609         (CFLAGS-isoc99_fwscanf.c): Likewise.
25610         (CFLAGS-isoc99_vwscanf.c): Likewise.
25611         (CFLAGS-isoc99_vfwscanf.c): Likewise.
25613         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
25614         after mkstemp64.
25615         * login/tst-utmp.c (do_prepare): Likewise.
25616         * rt/tst-aio.c (do_prepare): Likewise.
25617         * rt/tst-aio64.c (do_prepare): Likewise.
25619 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25621         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
25622         (__lll_lock_elision): Remove adapt_count decrement...
25623         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
25624         (__lll_trylock_elision): Likewise.
25625         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
25626         (__lll_unlock_elision): ... to here. And utilize
25627         new adapt_count parameter.
25628         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
25629         (__lll_unlock_elision): Update to include adapt_count
25630         parameter.
25631         (lll_unlock_elision): Pass pointer to adapt_count
25632         variable.
25634 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25636         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
25637         Add elision adapt_count parameter to list of arguments.
25638         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
25639         (lll_unlock_elision): Update with new parameter list
25640         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
25641         (lll_unlock_elision): Likewise.
25642         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
25643         (lll_unlock_elision): Likewise.
25645 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
25647         [BZ #19122]
25648         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
25649         attribute_hidden.
25651         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
25652         attribute_hidden.
25653         [IS_IN (rtld)] (__strdup): Likewise.
25654         [IS_IN (rtld)] (__strerror_r): Likewise.
25655         [IS_IN (rtld)] (__strsep_g): Likewise.
25656         [IS_IN (rtld)] (memchr): Likewise.
25657         [IS_IN (rtld)] (memcmp): Likewise.
25658         [IS_IN (rtld)] (memcpy): Likewise.
25659         [IS_IN (rtld)] (memmove): Likewise.
25660         [IS_IN (rtld)] (memset): Likewise.
25661         [IS_IN (rtld)] (rawmemchr): Likewise.
25662         [IS_IN (rtld)] (stpcpy): Likewise.
25663         [IS_IN (rtld)] (strchr): Likewise.
25664         [IS_IN (rtld)] (strcmp): Likewise.
25665         [IS_IN (rtld)] (strlen): Likewise.
25666         [IS_IN (rtld)] (strnlen): Likewise.
25667         [IS_IN (rtld)] (strsep): Likewise.
25669         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
25670         attribute_hidden.
25671         [IS_IN (rtld)] (__strtoul_internal): Likewise.
25673         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
25674         attribute_hidden.
25675         [IS_IN (rtld)] (__libc_sigaction): Likewise.
25677         * include/setjmp.h (__longjmp): Add attribute_hidden.
25678         [IS_IN (rtld)] (__sigsetjmp): Likewise.
25680         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
25681         Add attribute_hidden.
25683         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
25684         [IS_IN (rtld)] (__open): Likewise.
25685         [IS_IN (rtld)] (__fcntl): Likewise.
25687         * include/dirent.h (__opendirat): Add attribute_hidden.
25688         (__getdents): Likewise.
25689         (__getdents64): Likewise.
25690         (__alloc_dir): Likewise.
25691         [IS_IN (rtld)] (__closedir): Likewise.
25692         [IS_IN (rtld)] (__fdopendir): Likewise.
25693         [IS_IN (rtld)] (__readdir): Likewise.
25694         [IS_IN (rtld)] (__readdir64): Likewise.
25695         [IS_IN (rtld)] (__rewinddir): Likewise.
25697         * include/dlfcn.h (_dl_catch_error): Moved to ...
25698         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
25699         attribute_hidden.
25701         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
25702         (_itoa_word): Likewise.
25704         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
25705         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
25706         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
25707         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
25708         (_dl_higher_prime_number): Likewise.
25709         (_dl_debug_printf_c): Likewise.
25710         (_dl_signal_cerror): Likewise.
25711         (_dl_receive_error): Likewise.
25712         (_dl_reloc_bad_type): Likewise.
25713         (_dl_resolve_conflicts): Likewise.
25714         (_dl_check_all_versions): Likewise.
25715         (_dl_check_map_versions): Likewise.
25716         (_dl_sort_fini): Likewise.
25717         (_dl_debug_initialize): Likewise.
25718         (_dl_init_paths): Likewise.
25719         (_dl_show_auxv): Likewise.
25720         (_dl_next_ld_env_entry): Likewise.
25721         (_dl_important_hwcaps): Likewise.
25722         (_dl_load_cache_lookup): Likewise.
25723         (_dl_update_slotinfo): Likewise.
25724         (_dl_show_scope): Likewise.
25726         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
25727         attribute_hidden.
25728         (_wordcopy_fwd_dest_aligned): Likewise.
25729         (_wordcopy_bwd_aligned): Likewise.
25730         (_wordcopy_bwd_dest_aligned): Likewise.
25732         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
25733         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
25734         Likewise.
25735         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
25736         Likewise.
25737         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
25739 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
25741         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
25742         GCC 5 requirement.
25744 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
25746         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
25747         test.
25748         * sysdeps/i386/configure: Regenerated.
25749         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
25750         code unconditional.
25752         * configure.ac (libc_cv_asm_previous_directive): Remove configure
25753         test.
25754         (libc_cv_asm_popsection_directive): Likewise.
25755         * configure: Regenerated.
25756         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
25757         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
25758         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
25759         (__make_section_unallocated): Make definition unconditional.
25760         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
25761         Remove conditional definition.
25762         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
25763         (__make_section_unallocated): Likewise.
25765         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
25766         * configure: Regenerated.
25767         * config.make.in (static-libgcc): Remove variable.
25768         * Makerules (build-shlib-helper): Use -static-libgcc instead of
25769         $(static-libgcc).
25770         (build-module-helper): Likewise.
25772         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
25773         * configure: Regenerated.
25775 2015-10-15  Florian Weimer  <fweimer@redhat.com>
25777         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
25778         (struct char_buffer): New type.
25779         (char_buffer_start, char_buffer_size, char_buffer_error)
25780         (char_buffer_rewind, char_buffer_add): New functions.
25781         (ADDW): Remove macro, replaced by the char_buffer_add function.
25782         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
25783         of extend_alloca.  Make control flow more explicit.
25785 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
25787         [BZ #19137]
25788         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
25789         Add -fomit-frame-pointer.
25790         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
25792 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
25794         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
25795         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
25796         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
25797         only if !__GNUC_PREREQ (5,0).
25798         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
25799         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
25800         (INTERNAL_SYSCALL_NCS): Likewise.
25801         (LOADREGS_0): New macro for GCC 5.
25802         (ASMARGS_0): Likewise.
25803         (LOADREGS_1): Likewise.
25804         (ASMARGS_1): Likewise.
25805         (LOADREGS_2): Likewise.
25806         (ASMARGS_2): Likewise.
25807         (LOADREGS_3): Likewise.
25808         (ASMARGS_3): Likewise.
25809         (LOADREGS_4): Likewise.
25810         (ASMARGS_4): Likewise.
25811         (LOADREGS_5): Likewise.
25812         (ASMARGS_5): Likewise.
25813         (LOADREGS_6): Likewise.
25814         (ASMARGS_6): Likewise.
25816 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
25818         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
25819         -fomit-frame-pointer.
25820         (CFLAGS-mmap64.c): Likewise.
25821         (CFLAGS-semtimedop.c): Likewise.
25822         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
25823         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
25824         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25825         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25827 2015-10-15  Florian Weimer  <fweimer@redhat.com>
25829         [BZ #18928]
25830         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
25831         _dl_pointer_guard member.
25832         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
25833         initializer.
25834         (security_init): Always set up pointer guard.
25835         (process_envvars): Do not process LD_POINTER_GUARD.
25837 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
25839         [BZ #19134]
25840         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
25841         (.LC2): Likewise.
25842         (.LC3): Likewise.
25843         (__lround): Do not add 0.5 to integer or out-of-range arguments.
25845 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25847         [BZ #19129]
25848         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
25849         r0 and r1.
25851 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
25853         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
25855 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
25857         * include/stap-probe.h: Fix macro definition formatting.
25859 2015-10-14  Florian Weimer  <fweimer@redhat.com>
25861         [BZ #19074]
25862         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
25863         load and store num_ifs.
25865 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
25867         [BZ #18822]
25868         * sysdeps/unix/sysv/linux/sched_getaffinity.c
25869         (__sched_getaffinity_new): Add libc_hidden_proto and
25870         libc_hidden_def.
25872 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
25874         [BZ #19007]
25875         * scripts/localplt.awk: Also allow GOT references.
25876         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
25877         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
25878         with "+ REL R_386_GLOB_DAT".
25879         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
25880         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
25882 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
25884         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
25885         INLINE_SYSCALL_ERROR_RETURN_VALUE.
25886         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
25887         Likewise.
25888         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
25889         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
25890         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
25891         INTERNAL_SYSCALLINTERNAL_SYSCALL and
25892         INLINE_SYSCALL_ERROR_RETURN_VALUE.
25893         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
25894         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25895         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
25896         Likewise.
25897         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25899 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
25901         [BZ #19125]
25902         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
25903         <math_private.h> and <stdint.h>.
25904         (__llround): Avoid conversions to and from long long int, and
25905         subtractions, where those might raise spurious exceptions.
25906         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
25907         <math_private.h> and <stdint.h>.
25908         (__llroundf): Avoid conversions to and from long long int, and
25909         subtractions, where those might raise spurious exceptions.
25911 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
25913         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
25914         INLINE_SYSCALL_ERROR_RETURN_VALUE.
25915         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
25916         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
25917         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
25918         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
25919         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
25920         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
25921         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
25922         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25923         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25924         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25925         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
25926         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25927         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25928         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
25929         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
25930         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
25931         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
25932         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
25933         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
25934         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
25935         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
25936         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
25937         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
25938         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
25939         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
25940         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
25941         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25942         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
25943         (__xstat64_conv): Likewise.
25944         (__xstat32_conv): Likewise.
25946 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
25948         * sysdeps/unix/sysv/linux/sysdep.h: New file.
25949         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
25950         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
25951         <sysdeps/unix/sysv/linux/sysdep.h>.
25952         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
25953         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
25954         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
25955         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25956         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
25957         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
25958         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
25959         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
25960         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
25961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25963         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25964         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25965         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25966         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25967         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25968         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
25969         (sysdep-dl-routines): Add sysdep.
25970         [$(subdir) == nptl] (libpthread-routines): Likewise.
25971         [$(subdir) == rt] (librt-routines): Likewise.
25972         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
25973         PIC when branching to SYSCALL_ERROR_LABEL.
25974         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
25975         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
25976         <sysdeps/unix/sysv/linux/sysdep.h>.
25977         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
25978         (SYSCALL_ERROR_ERRNO): Removed.
25979         (SYSCALL_ERROR_HANDLER): Changed to empty.
25980         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
25981         (__syscall_error): New prototype.
25982         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
25983         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
25985 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
25987         [BZ #19124]
25988         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
25989         (_dl_runtime_resolve_avx512): Make it a hidden alias of
25990         _dl_runtime_resolve_avx.
25991         (_dl_runtime_profile_avx512): Make it a hidden alias of
25992         _dl_runtime_profile_avx.
25994 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
25996         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
25997         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
25998         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
25999         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
26001         [BZ #16422]
26002         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
26003         New configure test.
26004         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
26005         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
26006         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
26007         <math_private.h> and <stdint.h>.
26008         (__llrint): Avoid conversions to long long int where those might
26009         raise spurious exceptions.
26010         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
26011         <math_private.h> and <stdint.h>.
26012         (__llrintf): Avoid conversions to long long int where those might
26013         raise spurious exceptions.
26015 2015-10-12  Andreas Schwab  <schwab@suse.de>
26017         [BZ #18969]
26018         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
26019         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
26020         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
26021         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
26022         $(gen-locales).
26023         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
26024         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
26025         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
26026         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
26027         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
26028         $(gen-locales).
26029         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
26030         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
26031         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
26032         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
26033         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
26034         ($(objpfx)tst-ftell-active-handler.out)
26035         ($(objpfx)tst-ftell-append.out)
26036         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
26037         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
26038         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
26039         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
26040         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
26041         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
26042         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
26043         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
26044         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
26045         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
26046         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
26047         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
26048         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
26049         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
26050         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
26051         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
26052         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
26053         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
26054         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
26055         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
26056         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
26057         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
26058         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
26059         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
26060         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
26061         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
26062         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
26063         $(gen-locales).
26064         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
26065         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
26066         $(gen-locales).
26067         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
26068         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
26069         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
26070         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
26071         $(gen-locales).
26072         * libio/tst_wprintf2.c (main): Use explicit locale.
26073         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
26075 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26077         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
26078         __msg_sig_post.
26079         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
26081 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
26083         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
26084         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26086         * sysdeps/arm/libm-test-ulps: Regenerated.
26088         [BZ #15470]
26089         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
26091         [BZ #16399]
26092         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
26093         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
26094         and <fix-fp-int-convert-overflow.h>.
26095         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
26096         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26097         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
26098         and <fix-fp-int-convert-overflow.h>.
26099         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
26100         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26101         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
26102         <fix-fp-int-convert-overflow.h>.
26103         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
26104         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26105         * sysdeps/ieee754/dbl-64/s_lround.c: Include
26106         <fix-fp-int-convert-overflow.h>.
26107         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
26108         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26109         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
26110         and <fix-fp-int-convert-overflow.h>.
26111         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
26112         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26113         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
26114         <limits.h> and <fix-fp-int-convert-overflow.h>.
26115         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
26116         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26117         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
26118         and <fix-fp-int-convert-overflow.h>.
26119         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
26120         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26121         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
26122         and <fix-fp-int-convert-overflow.h>.
26123         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
26124         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26125         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
26127 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
26129         [BZ #18589]
26130         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
26131         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
26132         $(gen-locales).
26134 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26135             Phil Blundell <pb@pbcl.net>
26137         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
26138         * nptl/tst-cancel26.c: New file.
26139         * nptl/tst-cancel27.c: Likewise.
26141 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
26143         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
26144         __ILP32__ isn't defined.
26145         (lrint): Likewise.
26146         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
26147         (lrintf): Likewise.
26148         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
26149         (lrintl): Likewise.
26150         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
26151         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
26152         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
26154 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26156         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
26157         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
26159         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
26160         file.
26161         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
26162         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
26164 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
26166         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
26167         configure test.
26168         * sysdeps/i386/configure: Regenerated.
26169         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
26170         configure test.
26171         * sysdeps/x86_64/configure: Regenerated.
26172         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
26173         Make code unconditional.
26175         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
26176         test.
26177         * sysdeps/i386/configure: Regenerated.
26178         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
26179         test.
26180         * sysdeps/x86_64/configure: Regenerated.
26181         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
26182         Make code unconditional.
26183         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
26184         Likewise.
26185         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
26186         Likewise.
26187         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26188         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
26189         code unconditional.
26190         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26191         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
26192         code unconditional.
26193         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26194         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
26195         code unconditional.
26196         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
26197         code unconditional.
26198         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26199         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
26200         code unconditional.
26201         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26202         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
26203         code unconditional.
26204         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26205         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
26206         code unconditional.
26207         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26208         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
26209         code unconditional.
26210         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26211         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
26213         [BZ #19095]
26214         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
26215         mantissa to long int before shifting left.
26217 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
26219         [BZ #19094]
26220         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
26221         <limits.h>.
26222         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26223         when result overflows but exception would not result from cast.
26224         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
26225         <limits.h>.
26226         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26227         when result overflows but exception would not result from cast.
26228         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
26229         <limits.h>.
26230         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26231         when result overflows but exception would not result from cast.
26232         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
26233         <limits.h>.
26234         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26235         when result overflows but exception would not result from cast.
26236         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
26237         <limits.h>.
26238         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26239         when result overflows but exception would not result from cast.
26240         * math/libm-test.inc (lrint_test_data): Add more tests.
26241         (llrint_test_data): Likewise.
26243 2015-10-08  Roland McGrath  <roland@hack.frob.com>
26245         [BZ #18872]
26246         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
26247         Move out from under [$(run-built-tests) = yes] conditional.
26248         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
26249         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
26251 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
26253         [BZ #18589]
26254         * string/Makefile (tests): Add bug-strcoll2.
26255         (LOCALES): Add cs_CZ.UTF-8.
26256         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
26258         [BZ #18589]
26259         * string/bug-strcoll2.c: New file.
26260         * locale/categories.def: Revert commit
26261         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
26262         * locale/langinfo.h: Likewise.
26263         * locale/localeinfo.h: Likewise.
26264         * locale/C-collate.c: Likewise.
26265         * locale/programs/ld-collate.c (collate_output): Likewise.
26266         * string/strcoll_l.c (STRDIFF): Likewise.
26267         (STRCOLL): Likewise.
26268         * wcsmbs/wcscoll_l.c: Likewise.
26270 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
26272         * math/libm-test.inc (lround_test_data): Do not expect the absence
26273         of "inexact" for some tests with non-integer arguments.
26274         (llround_test_data): Likewise.
26276         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
26277         test.
26278         (libc_cv_cc_sse2avx): Likewise.
26279         * sysdeps/i386/configure: Regenerated.
26280         * sysdeps/i386/i686/multiarch/Makefile
26281         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
26282         [$(subdir) = math].
26283         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
26284         code unconditional.
26285         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
26286         Likewise.
26287         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
26288         Likewise.
26289         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
26290         Likewise.
26291         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
26292         test.
26293         (libc_cv_cc_sse2avx): Likewise.
26294         * sysdeps/x86_64/configure: Regenerated.
26295         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
26296         unconditional.
26297         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
26298         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
26299         unconditional.
26300         (_dl_runtime_profile)
26301         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
26302         conditional code.
26303         * sysdeps/x86_64/fpu/multiarch/Makefile
26304         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
26305         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
26306         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26307         * sysdeps/x86_64/fpu/multiarch/e_exp.c
26308         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26309         * sysdeps/x86_64/fpu/multiarch/e_log.c
26310         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26311         * sysdeps/x86_64/fpu/multiarch/s_atan.c
26312         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26313         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
26314         Likewise.
26315         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
26316         Likewise.
26317         * sysdeps/x86_64/fpu/multiarch/s_sin.c
26318         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26319         * sysdeps/x86_64/fpu/multiarch/s_tan.c
26320         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26321         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
26322         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
26323         (HAVE_SSE2AVX_SUPPORT): Likewise.
26325 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
26327         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
26328         instead of #pragma optimize.
26330 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
26332         [BZ #17195]
26333         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
26334         as is similarly done in systrim and _int_free already.
26336 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26338         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
26340 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
26342         [BZ #19088]
26343         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
26344         <limits.h>.
26345         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
26346         overflows but exception would not result from cast.
26347         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
26348         and <limits.h>.
26349         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
26350         overflows but exception would not result from cast.
26351         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
26352         <limits.h>.
26353         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
26354         overflows but exception would not result from cast.
26355         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
26356         <limits.h>.
26357         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
26358         overflows but exception would not result from cast.
26359         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
26360         <limits.h>.
26361         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
26362         overflows but exception would not result from cast.
26363         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
26364         <limits.h>.
26365         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
26366         overflows but exception would not result from cast.
26367         * math/libm-test.inc (lround_test_data): Add more tests.
26368         (llround_test_data): Likewise.
26370 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
26372         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
26373         (CFLAGS-ialloc.c): Ditto.
26374         (CFLAGS-scheck.c): Ditto.
26376 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
26378         [BZ #19086]
26379         * manual/filesys.texi (Storage Allocation): Fix argument order for
26380         posix_fallocate64.
26382 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
26384         [BZ #19085]
26385         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
26386         exponent below 48 inside case for non-overflowing exponent.
26387         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
26389 2015-10-07  Florian Weimer  <fweimer@redhat.com>
26391         * iconvdata/cp737.h (from_idx): Add const.
26392         * iconvdata/cp775.h (from_idx): Likewise.
26394 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
26396         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
26397         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
26398         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
26400         [BZ #19079]
26401         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
26402         file, conditioned on [!_LP64].
26403         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
26404         [!_LP64] (__lround): Do not define as function or alias.
26405         [!_LP64] (lround): Likewise.
26406         [!_LP64] (__lroundl): Likewise.
26407         [!_LP64] (lroundl): Likewise.
26408         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
26409         macro.
26410         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
26411         Likewise.
26413 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
26415         * math/libm-test.inc (lrint_test_data): Add more tests.
26416         (llrint_test_data): Likewise.
26417         (lround_test_data): Likewise.
26418         (llround_test_data): Likewise.
26420         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
26421         (llrint_test_data): Add tests used for lrint.
26423         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
26424         test.
26425         * sysdeps/i386/configure: Regenerated.
26426         * sysdeps/i386/i686/multiarch/Makefile
26427         [$(config-cflags-sse4) = yes]: Make code unconditional.
26428         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
26429         Likewise.
26430         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
26431         Likewise.
26432         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
26433         test.
26434         * sysdeps/x86_64/configure: Regenerated.
26435         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
26436         Make code unconditional.
26437         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
26438         Likewise.
26439         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
26440         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
26442         * scripts/rpm2dynsym.sh: Remove file.
26444 2015-10-06  Florian Weimer  <fweimer@redhat.com>
26446         * configure.ac (libc_cv_cxx_thread_local): Define.
26447         * configure: Regenerate.
26448         * config.make.in (have-cxx-thread_local): Define.
26449         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
26450         (LDLIBS-tst-thread_local1): Define.
26451         (tests): Add tst-thread_local1.
26452         [have-cxx-thread_local != yes] (tests-unsupported): Add
26453         tst-thread_local1.
26454         * nptl/tst-thread_local1.cc: New file.
26456 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
26458         [BZ #19078]
26459         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
26460         (u_thres): Likewise.
26461         (__expl): Determine whether to call __kernel_standard_l based on
26462         value of result, not argument.
26464         * math/libm-test.inc (scalb_test_data): Add more expectations for
26465         the "inexact" exception.
26467         [BZ #19077]
26468         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
26469         0.0L for argument 1.0L.
26471         [BZ #19076]
26472         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
26473         constant 0.0L when computing infinite result.
26475 2015-10-06  Florian Weimer  <fweimer@redhat.com>
26477         [BZ #10432]
26478         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
26479         malloc_usable_size.
26481 2015-10-06  Florian Weimer  <fweimer@redhat.com>
26483         [BZ #19018]
26484         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
26485         Mangle function pointer before storing it.
26486         (__call_tls_dtors): Demangle function pointer before calling it.
26488 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
26490         [BZ #19012]
26491         * iconv/gconv_db.c (gen_steps): Check for additional errors.
26492         Clean up on failure.
26494 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
26496         [BZ #19071]
26497         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
26498         long int variable to store possibly incremented high part of
26499         mantissa.
26500         * math/libm-test.inc (lround_test_data): Add tests used for
26501         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
26502         for tests requiring 64-bit long.  Do not condition tests on
26503         [TEST_FLOAT] unnecessarily.
26504         (llround_test_data): Add tests used for lround.  Add another
26505         expectation for the "inexact" exception.  Do not condition tests
26506         on [TEST_FLOAT] unnecessarily.
26508         [BZ #887]
26509         [BZ #19049]
26510         [BZ #19050]
26511         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
26512         * sysdeps/ieee754/dbl-64/e_log10.c: Include
26513         <fix-int-fp-convert-zero.h>.
26514         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26515         * sysdeps/ieee754/dbl-64/e_log2.c: Include
26516         <fix-int-fp-convert-zero.h>.
26517         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26518         * sysdeps/ieee754/dbl-64/s_erf.c: Include
26519         <fix-int-fp-convert-zero.h>.
26520         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26521         * sysdeps/ieee754/dbl-64/s_logb.c: Include
26522         <fix-int-fp-convert-zero.h>.
26523         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26524         * sysdeps/ieee754/flt-32/e_log10f.c: Include
26525         <fix-int-fp-convert-zero.h>.
26526         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26527         * sysdeps/ieee754/flt-32/e_log2f.c: Include
26528         <fix-int-fp-convert-zero.h>.
26529         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26530         * sysdeps/ieee754/flt-32/s_erff.c: Include
26531         <fix-int-fp-convert-zero.h>.
26532         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26533         * sysdeps/ieee754/flt-32/s_logbf.c: Include
26534         <fix-int-fp-convert-zero.h>.
26535         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26536         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
26537         <fix-int-fp-convert-zero.h>.
26538         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26539         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
26540         <fix-int-fp-convert-zero.h>.
26541         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26542         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
26543         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
26544         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
26545         file.
26546         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
26548 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
26550         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26552 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
26554         [BZ #19059]
26555         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
26556         overflowing computation.
26557         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26558         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
26559         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26560         Likewise.
26561         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26562         Likewise.
26563         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
26564         Likewise.
26565         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26566         Likewise.
26567         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26568         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26569         Likewise.
26570         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26571         Likewise.
26572         * math/libm-test.inc (nexttoward_test_data): Add more tests.
26574         * nss/rewrite_field.c (__nss_rewrite_field): Use
26575         internal_function.
26576         * nss/valid_field.c (__nss_valid_field): Likewise.
26577         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
26579 2015-10-02  Florian Weimer  <fweimer@redhat.com>
26581         [BZ #18724]
26582         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
26583         (__nss_invalid_field_characters, __nss_valid_field)
26584         (__nss_valid_list_field, __nss_rewrite_field): Declare.
26585         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
26586         tst-field.c: New file.
26587         * nss/Makefile (routines): Add valid_field, rewrite_field.
26588         (tests-static): Define unconditionally.
26589         (tests): Include tests-static.
26590         [build-static-nss] (tests-static): Use append.
26591         [build-static-nss] (tests): Remove modification.
26592         * nss/getent.c (print_group): Call putgrent.  Report error.
26593         (print_gshadow): Call putsgent.  Report error.
26594         (print_passwd): Call putpwent.  Report error.
26595         (print_shadow): Call putspent.  Report error.
26596         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
26597         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
26598         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
26599         name, password, directory, shell fields for valid syntax.  Rewrite
26600         GECOS field to match syntax.
26601         * pwd/Makefile (tests): Add tst-putpwent.
26602         * pwd/tst-putpwent.c: New file.
26603         * grp/putgrent.c (putgrent): Convert to ISO function definition.
26604         Check grName, grpasswd, gr_mem fields for valid syntax.
26605         Change loop variable i to size_t.
26606         * grp/Makefile (tests): Add tst-putgrent.
26607         * grp/tst-putgrent.c: New file.
26608         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
26609         valid syntax.
26610         * shadow/Makefile (tests): Add tst-putspent.
26611         * shadow/tst-putspent.c: New file.
26612         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
26613         sg_mem fields for valid syntax.
26614         * gshadow/Makefile (tests): Add tst-putsgent.
26615         * gshadow/tst-putsgent.c: New file.
26617 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
26619         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
26620         assembly instructions.
26622 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
26624         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
26625         prefix from operands.
26627 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
26629         [BZ #16347]
26630         [BZ #19046]
26631         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
26632         <libc-internal.h>.
26633         (MAXLGM): Do not use diagnostic control macros.
26634         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
26635         threshold for ldbl-128ibm.
26636         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
26637         instead of multiplying by log then subtracting.
26638         * math/auto-libm-test-in: Add more tests of lgamma.
26639         * math/auto-libm-test-out: Regenerated.
26641         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
26642         (TYPE_HEX_DIG): Likewise.
26643         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
26644         precisions when printing floating-point numbers.
26645         (check_float_internal): Likewise.
26647 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
26649         [BZ #16620]
26650         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
26651         of log (10) rounded downward to 48 bits.
26652         (log10_low): Use corresponding low part of log (10).
26654         [BZ #19032]
26655         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
26656         compute result as (x - x) / (x - x) not as 0 / 0.
26657         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
26658         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
26660         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26661         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
26662         and expm1.
26663         * math/auto-libm-test-out: Regenerated.
26664         * math/libm-test.inc (acos_test_data): Add more tests.
26665         (asin_test_data): Likewise.
26666         (asinh_test_data): Likewise.
26667         (atan_test_data): Likewise.
26668         (atanh_test_data): Likewise.
26669         (atan2_test_data): Likewise.
26670         (cbrt_test_data): Likewise.
26671         (ceil_test_data): Likewise.
26672         (copysign_test_data): Likewise.
26673         (cos_test_data): Likewise.
26674         (cosh_test_data): Likewise.
26675         (erf_test_data): Likewise.
26676         (erfc_test_data): Likewise.
26677         (exp_test_data): Likewise.
26678         (exp10_test_data): Likewise.
26679         (exp2_test_data): Likewise.
26680         (expm1_test_data): Likewise.
26681         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26683 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
26685         [BZ #19006]
26686         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
26687         to ...
26688         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
26689         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
26690         to ...
26691         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
26692         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
26693         to ...
26694         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
26695         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
26696         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
26697         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
26698         to ...
26699         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
26700         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
26701         Moved to ...
26702         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
26703         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
26704         Moved to ...
26705         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
26706         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
26707         to ...
26708         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
26709         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
26710         Moved to ...
26711         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
26712         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
26713         to ...
26714         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
26715         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
26716         Removed.
26717         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
26718         Likewise.
26719         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
26720         Likewise.
26721         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
26722         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
26723         Likewise.
26724         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
26725         Likewise.
26726         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
26727         Likewise.
26728         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
26729         Likewise.
26730         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
26731         Likewise.
26732         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
26733         Likewise.
26734         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
26735         Likewise.
26736         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
26737         Likewise.
26738         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
26739         Likewise.
26740         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
26741         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
26742         Likewise.
26743         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
26744         Likewise.
26745         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
26746         Likewise.
26747         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
26748         Likewise.
26749         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
26750         Likewise.
26751         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
26752         Replace ../i486/pthread_cond_timedwait.S with
26753         ../pthread_cond_timedwait.S.
26755 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
26757         * math/libm-test.inc (acos_test_data): Refine expectations for
26758         errno and "inexact" exceptions.
26759         (acosh_test_data): Likewise.
26760         (asin_test_data): Likewise.
26761         (asinh_test_data): Likewise.
26762         (atan_test_data): Likewise.
26763         (atanh_test_data): Likewise.
26764         (atan2_test_data): Likewise.
26765         (cbrt_test_data): Likewise.
26766         (ceil_test_data): Likewise.
26767         (copysign_test_data): Likewise.
26768         (cosh_test_data): Likewise.
26769         (erf_test_data): Likewise.
26770         (erfc_test_data): Likewise.
26771         (exp_test_data): Likewise.
26772         (exp10_test_data): Likewise.
26773         (exp2_test_data): Likewise.
26774         (expm1_test_data): Likewise.
26775         (fabs_test_data): Likewise.
26776         (floor_test_data): Likewise.
26777         (fma_test_data): Likewise.
26778         (fmax_test_data): Likewise.
26779         (fmin_test_data): Likewise.
26780         (fmod_test_data): Likewise.
26781         (fpclassify_test_data): Likewise.
26782         (frexp_test_data): Likewise.
26783         (hypot_test_data): Likewise.
26784         (ilogb_test_data): Likewise.
26785         (isgreater_test_data): Likewise.
26786         (isgreaterequal_test_data): Likewise.
26787         (isinf_test_data): Likewise.
26788         (isless_test_data): Likewise.
26789         (islessequal_test_data): Likewise.
26790         (islessgreater_test_data): Likewise.
26791         (isnan_test_data): Likewise.
26792         (isnormal_test_data): Likewise.
26793         (issignaling_test_data): Likewise.
26794         (isunordered_test_data): Likewise.
26795         (j0_test_data): Likewise.
26796         (j1_test_data): Likewise.
26797         (jn_test_data): Likewise.
26798         (lgamma_test_data): Likewise.
26799         (lrint_test_data): Likewise.
26800         (llrint_test_data): Likewise.
26801         (log_test_data): Likewise.
26802         (log10_test_data): Likewise.
26803         (log1p_test_data): Likewise.
26804         (log2_test_data): Likewise.
26805         (logb_test_data): Likewise.
26806         (lround_test_data): Likewise.
26807         (llround_test_data): Likewise.
26808         (modf_test_data): Likewise.
26809         (nearbyint_test_data): Likewise.
26810         (nextafter_test_data): Likewise.
26811         (nexttoward_test_data): Likewise.
26812         (pow_test_data): Likewise.
26813         (remainder_test_data): Likewise.
26814         (remquo_test_data): Likewise.
26815         (rint_test_data): Likewise.
26816         (round_test_data): Likewise.
26817         (signbit_test_data): Likewise.
26818         (sinh_test_data): Likewise.
26819         (sqrt_test_data): Likewise.
26820         (tanh_test_data): Likewise.
26821         (tgamma_test_data): Likewise.
26822         (trunc_test_data): Likewise.
26823         (y0_test_data): Likewise.
26824         (y1_test_data): Likewise.
26825         (yn_test_data): Likewise.
26826         (significand_test_data): Likewise.
26828 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
26830         * manual/filesys.texi (Storage Allocation): Document that
26831         posix_fallocate emulation fails when fd is open with O_WRONLY.
26833 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
26835         [BZ #19016]
26836         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
26837         allow more cases with X^2 + Y^2 >= 0.5.
26838         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
26839         normal element in sum instead of special-casing based on values of
26840         arguments.
26841         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
26842         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
26843         -1 as normal element in sum instead of special-casing based on
26844         values of arguments.
26845         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
26846         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
26847         (__x2y2m1): Update comment.
26848         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
26849         as normal element in sum instead of special-casing based on values
26850         of arguments.
26851         * math/s_clog.c (__clog): Handle more cases using log1p without
26852         hypot.
26853         * math/s_clog10.c (__clog10): Likewise.
26854         * math/s_clog10f.c (__clog10f): Likewise.
26855         * math/s_clog10l.c (__clog10l): Likewise.
26856         * math/s_clogf.c (__clogf): Likewise.
26857         * math/s_clogl.c (__clogl): Likewise.
26858         * math/auto-libm-test-in: Add more tests of clog and clog10.
26859         * math/auto-libm-test-out: Regenerated.
26860         * sysdeps/i386/fpu/libm-test-ulps: Update.
26861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26863 2015-09-28  Martin Sebor  <msebor@redhat.com>
26865         [BZ #18969]
26866         * string/Makefile (LOCALES): Define.
26867         (gen-locales.mk): Include.
26868         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
26869         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
26870         * string/tst-strxfrm2.c (do_test): Print the name of the locale
26871         on setlocale failure.
26873 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
26875         [BZ #18985]
26876         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
26877         (__strftime_internal): Likewise.
26878         * time/tst-strftime.c (do_bz18985): New test.
26879         (do_test): Call it.
26881 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
26883         [BZ #18956]
26884         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
26885         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
26886         extracting high part.
26887         * math/auto-libm-test-in: Add another test of pow.
26888         * math/auto-libm-test-out: Regenerated.
26889         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26891 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
26893         [BZ #18825]
26894         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
26895         New macro.
26896         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
26897         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
26898         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
26899         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
26900         DBL_NARROW_EVAL, reloading the PIC register as needed.
26901         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
26902         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
26903         FLT_NARROW_EVAL.  Use separate return path for case when first
26904         argument is NaN.
26905         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
26906         DEFINE_LDBL_MIN.
26907         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
26908         PIC register.
26909         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
26910         math_check_force_underflow_nonneg.
26911         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
26912         underflow for subnormal result.
26913         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
26914         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
26915         math_check_force_underflow_nonneg.
26916         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
26917         math_check_force_underflow.
26918         * sysdeps/x86_64/fpu/x86_64-math-asm.h
26919         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
26920         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
26921         DEFINE_LDBL_MIN.
26922         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
26923         * math/auto-libm-test-in: Add more tests of pow.
26924         * math/auto-libm-test-out: Regenerated.
26926 2015-09-25  Florian Weimer  <fweimer@redhat.com>
26928         * nss/bug17079.c (init_test_items): Add diagnostic for
26929         inconsistent entries.
26930         (test_buffer_size): Skip inconsistent entries.
26932 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
26934         [BZ #13304]
26935         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
26936         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
26937         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
26939         [BZ #13304]
26940         * sysdeps/microblaze/s_fma.c: New file.
26941         * sysdeps/microblaze/s_fmaf.c: Likewise.
26942         * sysdeps/microblaze/sfp-machine.h: Likewise.
26944 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
26946         [BZ #17250]
26947         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
26948         member.
26950 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
26952         [BZ #18803]
26953         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
26954         (MO): New macro.
26955         (__ieee754_hypot) [PIC]: Load PIC register.
26956         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
26957         DBL_NARROW_EVAL.
26958         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
26959         math_check_force_underflow_nonneg in case where result might be
26960         tiny.
26961         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
26962         Likewise.
26963         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26964         Likewise.
26965         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
26966         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
26967         * math/auto-libm-test-in: Add more tests of hypot.
26968         * math/auto-libm-test-out: Regenerated.
26970 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
26972         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
26974 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
26976         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
26977         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
26978         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
26979         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
26980         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
26981         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
26982         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
26984         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
26985         LOAD_PIC_REG.
26987         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
26988         (FLT_CHECK_FORCE_UFLOW): Likewise.
26989         (DBL_CHECK_FORCE_UFLOW): Likewise.
26990         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
26991         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
26992         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
26993         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
26994         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
26995         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
26996         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
26997         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
26998         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
26999         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27000         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
27001         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
27002         (flt_min): Replace with use of DEFINE_FLT_MIN.
27003         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
27004         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
27005         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27006         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
27007         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
27008         (flt_min): Replace with use of DEFINE_FLT_MIN.
27009         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
27010         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
27011         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27012         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
27013         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
27014         (flt_min): Replace with use of DEFINE_FLT_MIN.
27015         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
27016         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
27017         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
27018         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
27019         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
27020         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
27021         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
27022         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
27023         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27024         (__atan): Use DBL_CHECK_FORCE_UFLOW.
27025         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
27026         (flt_min): Replace with use of DEFINE_FLT_MIN.
27027         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
27028         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
27029         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27030         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
27031         main computation.
27032         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
27033         (flt_min): Replace with use of DEFINE_FLT_MIN.
27034         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
27035         main computation.
27036         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
27037         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27038         (MO): New macro.
27039         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
27040         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
27041         (flt_min): Replace with use of DEFINE_FLT_MIN.
27042         (MO): New macro.
27043         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
27044         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
27045         (__log1pl): Use MO.
27047         [BZ #19003]
27048         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
27049         $(config-cflags-nofma).
27051 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27053         * sysdeps/aarch64/libm-test-ulps: Regenerated.
27055 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
27057         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
27058         (TWO127): Likewise.
27060         * sysdeps/generic/math_private.h (fabs_tg): New macro.
27061         (min_of_type): Likewise.
27062         (math_check_force_underflow): Likewise.
27063         (math_check_force_underflow_nonneg): Likewise.
27064         (math_check_force_underflow_complex): Likewise.
27065         * math/e_exp2l.c (__ieee754_exp2l): Use
27066         math_check_force_underflow_nonneg.
27067         * math/k_casinh.c (__kernel_casinh): Likewise.
27068         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27069         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27070         * math/s_catan.c (__catan): Use
27071         math_check_force_underflow_complex.
27072         * math/s_catanf.c (__catanf): Likewise.
27073         * math/s_catanh.c (__catanh): Likewise.
27074         * math/s_catanhf.c (__catanhf): Likewise.
27075         * math/s_catanhl.c (__catanhl): Likewise.
27076         * math/s_catanl.c (__catanl): Likewise.
27077         * math/s_ccosh.c (__ccosh): Likewise.
27078         * math/s_ccoshf.c (__ccoshf): Likewise.
27079         * math/s_ccoshl.c (__ccoshl): Likewise.
27080         * math/s_cexp.c (__cexp): Likewise.
27081         * math/s_cexpf.c (__cexpf): Likewise.
27082         * math/s_cexpl.c (__cexpl): Likewise.
27083         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
27084         * math/s_clog10.c (__clog10): Likewise.
27085         * math/s_clog10f.c (__clog10f): Likewise.
27086         * math/s_clog10l.c (__clog10l): Likewise.
27087         * math/s_clogf.c (__clogf): Likewise.
27088         * math/s_clogl.c (__clogl): Likewise.
27089         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
27090         * math/s_csinf.c (__csinf): Likewise.
27091         * math/s_csinh.c (__csinh): Likewise.
27092         * math/s_csinhf.c (__csinhf): Likewise.
27093         * math/s_csinhl.c (__csinhl): Likewise.
27094         * math/s_csinl.c (__csinl): Likewise.
27095         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
27096         * math/s_csqrtf.c (__csqrtf): Likewise.
27097         * math/s_csqrtl.c (__csqrtl): Likewise.
27098         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
27099         * math/s_ctanf.c (__ctanf): Likewise.
27100         * math/s_ctanh.c (__ctanh): Likewise.
27101         * math/s_ctanhf.c (__ctanhf): Likewise.
27102         * math/s_ctanhl.c (__ctanhl): Likewise.
27103         * math/s_ctanl.c (__ctanl): Likewise.
27104         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
27105         instead of volatile.
27106         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
27107         math_check_force_underflow.
27108         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
27109         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
27110         volatile when forcing underflow.
27111         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27112         math_check_force_underflow_nonneg.
27113         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
27114         Likewise.
27115         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
27116         math_check_force_underflow.
27117         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
27118         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
27119         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
27120         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
27121         math_check_force_underflow_nonneg.
27122         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
27123         math_check_force_underflow.
27124         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
27125         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
27126         instead of volatile.
27127         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
27128         math_check_force_underflow.
27129         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
27130         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27131         math_check_force_underflow_nonneg.
27132         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
27133         math_check_force_underflow.
27134         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
27135         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
27136         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
27137         math_check_force_underflow_nonneg.
27138         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
27139         Likewise.
27140         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
27141         math_check_force_underflow.
27142         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27143         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
27144         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
27145         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
27146         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
27147         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
27148         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
27149         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
27150         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
27151         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
27152         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
27153         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
27154         Likewise.
27155         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
27156         math_check_force_underflow_nonneg.
27157         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
27158         Likewise.
27159         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
27160         math_check_force_underflow.
27161         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27162         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
27163         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27164         Likewise.
27165         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
27166         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
27167         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
27168         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
27169         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
27170         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
27171         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
27172         instead of volatile.
27173         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
27174         math_check_force_underflow.
27175         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
27176         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
27177         math_check_force_underflow.
27178         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
27179         Likewise.
27180         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
27181         Use math_check_force_underflow_nonneg.
27182         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
27183         math_check_force_underflow.
27184         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
27185         Likewise.
27186         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27187         Likewise.
27188         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27189         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
27190         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
27191         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
27192         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
27193         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
27194         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
27195         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
27196         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
27197         math_check_force_underflow_nonneg.
27198         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
27199         math_check_force_underflow.
27200         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27201         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
27202         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
27203         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
27204         math_check_force_underflow_nonneg.
27205         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
27206         math_check_force_underflow.
27207         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
27208         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
27209         instead of volatile.
27210         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
27211         math_check_force_underflow.
27213         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
27214         * stdlib/strtod_l.c: Include <math_private.h>.
27215         (overflow_value): Use math_narrow_eval.
27216         (underflow_value): Likewise.
27217         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27218         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
27219         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
27220         (__ieee754_gamma_r): Likewise.
27221         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
27222         Likewise.
27223         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
27224         Likewise.
27225         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
27226         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
27227         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
27228         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
27229         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
27230         (__ieee754_gammaf_r): Likewise.
27231         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
27232         Likewise.
27233         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
27234         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
27235         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
27236         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
27237         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
27238         volatile.
27239         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
27240         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
27241         math_narrow_eval.
27242         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
27243         Likewise.
27244         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27245         Likewise.
27246         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
27247         Likewise.
27248         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
27249         volatile.
27250         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
27251         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
27252         math_narrow_eval.
27253         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27254         Likewise.
27255         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27256         Likewise.
27258 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
27260         * nptl/Versions: Remove ignored symbols.
27262 2015-09-22  Florian Weimer  <fweimer@redhat.com>
27264         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
27265         * nss/Makefile (tests): Update.
27267 2015-09-22  Florian Weimer  <fweimer@redhat.com>
27269         * nss/bug18287.c: New file.
27270         * nss/Makefile (tests): Add bug18287.
27272 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27274         * mach/Versions (__mach_host_self_): Add symbol.
27276 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27278         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
27279         vm_page_size.
27281 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27283         Really fix sysdeps/i386/fpu/s_scalbn.S build
27285         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
27286         (libc: GLIBC_2_22): Remove unused version set.
27288 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
27290         * config.make.in (enable-timezone-tools): New variable.
27291         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
27292         (enable_timezone_tools): Export to generated files.
27293         * configure: Regenerate.
27294         * INSTALL: Regenerate.
27295         * manual/install.texi (--disable-timezone-tools): Document new flag.
27296         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
27297         ifeq ($(enable-timezone-tools),yes) check.
27299 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
27301         * timezone/Makefile: Revert previous change.
27303         [BZ #18980]
27304         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
27305         (DEFINE_DBL_MIN): Likewise.
27306         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
27307         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
27308         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
27309         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
27310         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
27311         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27312         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
27313         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
27314         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
27315         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27316         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
27317         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
27318         (flt_min): Replace with use of DEFINE_FLT_MIN.
27319         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
27320         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
27321         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27322         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
27323         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
27324         (flt_min): Replace with use of DEFINE_FLT_MIN.
27325         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
27326         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
27327         (flt_min): Replace with use of DEFINE_FLT_MIN.
27328         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
27329         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
27330         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
27331         (__ieee754_hypot): Use DBL_NARROW_EVAL.
27332         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
27333         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
27334         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
27335         (__ieee754_pow): Use DBL_NARROW_EVAL.
27336         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
27337         (__ieee754_powf): Use FLT_NARROW_EVAL.
27338         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
27339         (__ieee754_expf_sse2): Convert double-precision result to single
27340         precision.
27341         * sysdeps/i386/fpu/libm-test-ulps: Update.
27343 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27345         * timezone/Makefile: Ignore unused variable errors due to private.h
27346         (time_t_min) and (time_t_max).
27347         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
27348         Likewise.
27350 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
27352         [BZ #18981]
27353         * sysdeps/i386/fpu/i386-math-asm.h: New file.
27354         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
27355         (__ieee754_scalb): Use DBL_NARROW_EVAL.
27356         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
27357         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
27358         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
27359         (__scalbn): Use DBL_NARROW_EVAL.
27360         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
27361         (__scalbnf): Use FLT_NARROW_EVAL.
27363 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27365         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
27366         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
27367         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
27368         * stdio-common/printf_fp.c (___printf_fp):
27369         Use signbit to get the sign. Use isinf macro to allow inlining.
27370         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
27371         * stdio-common/printf_size.c (__printf_size): Likewise.
27373 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
27375         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
27377 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
27379         [BZ #18980]
27380         * sysdeps/generic/math_private.h: Include <float.h>.
27381         (math_narrow_eval): New macro.
27382         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
27383         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
27384         math_narrow_eval on overflowing return value.
27385         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
27386         Likewise.
27387         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
27388         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
27389         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
27390         Likewise.
27391         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
27393 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27395         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
27396         * math/Makefile: Remove isinf_ns.c.
27397         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
27398         * math/multc3.c (__multc3): Likewise.
27399         * math/s_casin.c (__casin): Likewise.
27400         * math/s_casinf.c (__casinf): Likewise.
27401         * math/s_casinl.c (__casinl): Likewise.
27402         * math/s_cproj.c (__cproj): Likewise.
27403         * math/s_cprojf.c (__cprojf): Likewise.
27404         * math/s_cprojl.c (__cprofl): Likewise.
27405         * math/s_ctan.c (__ctan): Likewise.
27406         * math/s_ctanf.c (__ctanf): Likewise.
27407         * math/s_ctanh.c (__ctanh): Likewise.
27408         * math/s_ctanhf.c (__ctanhf): Likewise.
27409         * math/s_ctanhl.c (__ctanhl): Likewise.
27410         * math/s_ctanl.c (__ctanl): Likewise.
27411         * math/w_fmod.c (__fmod): Likewise.
27412         * math/w_fmodf.c (__fmodf): Likewise.
27413         * math/w_fmodl.c (_fmodl): Likewise.
27414         * math/w_remainder.c (__remainder): Likewise.
27415         * math/w_remainderf.c (__remainderf): Likewise.
27416         * math/w_remainderl.c (__remainderl): Likewise.
27417         * math/w_scalb.c (__scalb): Likewise.
27418         * math/w_scalbf.c (__scalbf): Likewise.
27419         * math/w_scalbl.c (__scalbl): Likewise.
27420         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
27421         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
27422         with isinf.
27423         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
27424         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
27425         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
27426         __isinf_nsf with isinf.
27427         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
27428         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
27429         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
27430         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
27431         with isinf.
27432         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
27433         __isinf_nsl with isinf.
27434         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
27435         with isinf.
27436         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
27437         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
27438         __isinf_nsl with isinf.
27439         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
27440         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
27441         with isinf.
27443 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27445         * resolv/base64.c (rcsid): Remove unused static.
27446         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
27447         static.  (tqpi1): Likewise.
27448         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
27449         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
27450         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
27451         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
27452         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
27453         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
27454         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
27455         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
27456         Likewise.
27458 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
27460         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
27461         <nptl/pthreadP.h>.
27462         (_longjmp_unwind): Use __libc_ptf_call.
27463         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
27465 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
27467         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
27468         * sysdeps/arm/__longjmp.S: Likewise.
27470 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27472         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
27473         Use __builtin_signbit.
27474         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
27475         Use __builtin_signbitf.
27476         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
27477         Use __builtin_signbitl.
27478         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
27479         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
27481 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27483         [BZ #15367]
27484         [BZ #17441]
27486         * math/Makefile: Build test-snan.c with -fsignaling-nans.
27487         * math/math.h (fpclassify): Use __builtin_fpclassify when
27488         available.  (signbit): Use __builtin_signbit(f/l).
27489         (isfinite): Use__builtin_isfinite.  (isnormal): Use
27490         __builtin_isnormal.  (isnan): Use __builtin_isnan.
27491         (isinf): Use __builtin_isinf_sign.
27493 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27495         * benchtests/Makefile: Add bench-math-inlines, link with libm.
27496         * benchtests/bench-math-inlines.c: New benchmark.
27497         * benchtests/bench-util.h: New file.
27498         * benchtests/bench-util.c: New file.
27499         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
27501 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
27503         * elf/tst-dlmopen1.c: Define TEST_SO.
27504         (do_test): Use TEST_SO.
27506         * elf/dl-load.c: Include libc-internal.h.
27507         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
27509 2015-09-18  Vincent Bernat  <vincent@bernat.im>
27511         [BZ #17887]
27512         * time/strptime_l.c (__strptime_internal): Make %z accept
27513         [+-]HH:MM time zones.
27515 2015-09-18  Vincent Bernat  <vincent@bernat.im>
27517         [BZ #17886]
27518         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
27519         valid time zone.
27521 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
27523         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
27524         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
27525         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27526         (__ASSUME_FDATASYNC): Delete.
27528 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
27530         * conform/linknamespace.pl: Require weak undefined symbols to be
27531         in the standard namespace.
27532         (%strong_syms): Rename to %seen_syms.
27533         (%strong_seen): Rename to %seen_where.
27535 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
27537         [BZ #18970]
27538         * misc/error.c (error): Replace pthread_setcancelstate with
27539         __pthread_setcancelstate.
27540         (error_at_line): Likewise.
27541         * posix/wordexp.c (parse_comm): Likewise.
27542         * stdlib/fmtmsg.c (fmtmsg): Likewise.
27543         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
27544         (__pthread_setcancelstate): This.
27545         (pthread_setcancelstate): Add an alias.
27546         * nptl/nptl-init.c (pthread_functions): Replace
27547         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
27548         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
27549         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
27550         hidden_proto.
27551         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
27552         it with hidden_def.
27553         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
27554         (pthread_setcancelstate): Renamed to ...
27555         (__pthread_setcancelstate): This.
27556         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
27557         __libc_ptf_call with __pthread_setcancelstate.
27559 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
27560             Andreas Schwab  <schwab@suse.de>
27562         [BZ #17118]
27563         * math/s_ctan.c (__ctan): Determine sign of zero real part of
27564         result when imaginary part of argument is infinite using sine and
27565         cosine.
27566         * math/s_ctanf.c (__ctanf): Likewise.
27567         * math/s_ctanl.c (__ctanl): Likewise.
27568         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
27569         of result when real part of argument is infinite using sine and
27570         cosine.
27571         * math/s_ctanhf.c (__ctanhf): Likewise.
27572         * math/s_ctanhl.c (__ctanhl): Likewise.
27573         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
27574         (ctanh_test_data): Add more tests of ctanh.
27576 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
27578         [BZ #15384]
27579         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
27580         bit-mask as in subtraction.
27581         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
27582         Likewise.
27583         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
27584         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
27585         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
27587         [BZ #18951]
27588         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
27589         underflow exception for small results.
27590         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
27591         Likewise.
27592         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
27593         Likewise.
27594         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
27595         Likewise.
27596         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
27597         Likewise.
27598         * math/auto-libm-test-in: Add more tests of tgamma.
27599         * math/auto-libm-test-out: Regenerated.
27601 2015-09-17  Andreas Schwab  <schwab@suse.de>
27603         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
27605 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
27607         [BZ #18977]
27608         * math/bits/mathcalls.h
27609         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
27610         not declare.
27611         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
27612         Likewise.
27613         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
27614         Likewise.
27615         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
27616         Likewise.
27617         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
27618         Likewise.
27619         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
27620         Likewise.
27621         * conform/data/math.h-data
27622         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
27623         function.
27624         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
27625         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
27626         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
27627         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
27628         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
27629         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
27630         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
27631         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
27632         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
27633         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
27634         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
27636         [BZ #6803]
27637         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
27638         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
27639         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
27640         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
27641         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
27642         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
27643         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
27644         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
27645         [NO_LONG_DOUBLE] (scalbnl): Likewise.
27646         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
27647         Likewise.
27648         [NO_LONG_DOUBLE] (scalbnl): Likewise.
27649         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
27650         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
27651         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
27652         long_double_symbol calls.
27653         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
27654         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
27655         strong alias of __ldexpl.
27656         (scalbnl): Define using long_double_symbol.
27657         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
27658         Remove alias.
27659         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
27660         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
27661         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
27662         (scalbln_test_data): Add more errno expectations.
27664 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
27666         Cache the host port like we cache the task port.  This way we do not
27667         need to call the kernel just to get the port.  Furthermore, we no
27668         longer increase the reference count on every invocation of
27669         `mach_host_self'.
27671         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
27672         Protect declarations against the macro expansion.
27673         * mach/mach_init.c (__mach_host_self_): New variable.
27674         (mach_init): Initialize `__mach_host_self_'.
27675         * mach/mach_init.h (__mach_host_self_): New declaration.
27676         (__mach_host_self, mach_host_self): New macros.
27677         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
27678         Release reference.
27680 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
27682         [BZ #4404]
27683         * po/de.po: Update from Translation Project.
27685         [BZ #16415]
27686         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
27687         (__expm1l): Remove code to handle positive infinity and overflow.
27688         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
27689         variable.
27690         (__expm1l): Remove code to handle positive infinity and overflow.
27692 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
27693             Paul Pluzhnikov  <ppluzhnikov@google.com>
27695         [BZ #18872]
27696         * stdio-common/Makefile (tst-printf-bz18872): New test.
27697         (tst-printf-bz18872-mem.out): Likewise.
27698         * stdio-common/tst-printf-bz18872.sh: Generate new test.
27699         * stdio-common/vfprintf.c: Fix memory leaks.
27701 2015-09-16  Andreas Schwab  <schwab@suse.de>
27703         [BZ #17244]
27704         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
27705         Remove extra va_start/va_end calls.
27707         [BZ #17243]
27708         * posix/execl.c (execl): Add missing va_end.
27709         * posix/execle.c (execle): Likewise.
27710         * posix/execlp.c (execlp): Likewise.
27712 2015-09-15  Roland McGrath  <roland@hack.frob.com>
27714         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
27715         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
27717 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
27719         [BZ #18967]
27720         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
27721         undefine around includes of <bits/mathcalls.h>.
27722         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
27723         not declare function.
27724         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
27725         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
27726         (scalb): Likewise.
27727         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
27728         not define macro.
27729         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
27730         variable.
27731         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
27732         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
27733         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
27735         [BZ #18857]
27736         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
27737         return non-finite argument without doing ordered comparisons on
27738         it.
27740         [BZ #16296]
27741         * math/fenv.h (fegetround): Use __attribute_pure__.
27742         * include/fenv.h (__fegetround): Likewise.
27744         [BZ #18595]
27745         * math/s_ctan.c (__ctan): Force underflow exception for results
27746         whose real or imaginary part has small absolute value.
27747         * math/s_ctanf.c (__ctanf): Likewise.
27748         * math/s_ctanh.c (__ctanh): Likewise.
27749         * math/s_ctanhf.c (__ctanhf): Likewise.
27750         * math/s_ctanhl.c (__ctanhl): Likewise.
27751         * math/s_ctanl.c (__ctanl): Likewise.
27752         * math/auto-libm-test-in: Do not allow missing underflow for ctan
27753         and ctanh.  Add more tests of ctan and ctanh.
27755         [BZ #15918]
27756         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
27757         handling of cases where one argument is an infinity.
27759         [BZ #18875]
27760         [BZ #18966]
27761         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
27762         (MO): New macro.
27763         (__ieee754_exp10): For small results, force underflow exception
27764         and remove excess range and precision from return value.
27765         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
27766         (MO): New macro.
27767         (__ieee754_exp10f): For small results, force underflow exception
27768         and remove excess range and precision from return value.
27769         * math/auto-libm-test-in: Add more tests of exp10.
27770         * math/auto-libm-test-out: Regenerated.
27772 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
27774         [BZ #18875]
27775         [BZ #18961]
27776         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
27777         (MO): New macro.
27778         (__ieee754_exp): For small results, force underflow exception and
27779         remove excess range and precision from return value.
27780         (__exp_finite): Likewise.
27781         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
27782         (MO): New macro.
27783         (__ieee754_expf): For small results, force underflow exception and
27784         remove excess range and precision from return value.
27785         (__expf_finite): Likewise.
27786         * math/auto-libm-test-in: Add more tests of exp.
27787         * math/auto-libm-test-out: Regenerated.
27789         [BZ #16521]
27790         [BZ #18875]
27791         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
27792         small results.
27793         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
27794         (MO): New macro.
27795         (__ieee754_exp2): For small results, force underflow exception and
27796         remove excess range and precision from return value.
27797         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
27798         (MO): New macro.
27799         (__ieee754_exp2f): For small results, force underflow exception
27800         and remove excess range and precision from return value.
27801         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
27802         (MO): New macro.
27803         (__ieee754_exp2l): Force underflow exception for small results.
27804         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
27805         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
27806         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
27807         (MO): New macro.
27808         (__ieee754_exp2l): Force underflow exception for small results.
27809         * math/auto-libm-test-in: Add more tests or exp2.
27810         * math/auto-libm-test-out: Regenerated.
27812 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
27814         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
27816         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
27817         /dev/null.
27819 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27821         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
27822         io fs process)): Drop spurious backslash.
27824 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
27826         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
27827         Use sysinfo system call instead of parsing /proc/meminfo.
27828         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
27829         Likewise.
27831 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
27833         [BZ #16985]
27834         * programs/localedef.c (main): Display argv[remaining] when
27835         output_path is NULL.
27837 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
27839         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
27840         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
27841         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
27842         tanh.
27843         * math/auto-libm-test-out: Regenerated.
27844         * sysdeps/i386/fpu/libm-test-ulps: Update.
27845         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
27846         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27849 2015-09-11  Roland McGrath  <roland@hack.frob.com>
27851         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
27852         Use 'override' keyword to freeze the value here, preventing
27853         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
27855 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
27857         [BZ #14912]
27858         * sysdeps/aarch64/bits/atomic.h: Move to ...
27859         * sysdeps/aarch64/atomic-machine.h: ...here.
27860         (_AARCH64_BITS_ATOMIC_H): Rename macro to
27861         _AARCH64_ATOMIC_MACHINE_H.
27862         * sysdeps/alpha/bits/atomic.h: Move to ...
27863         * sysdeps/alpha/atomic-machine.h: ...here.
27864         * sysdeps/arm/bits/atomic.h: Move to ...
27865         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
27866         * bits/atomic.h: Move to ...
27867         * sysdeps/generic/atomic-machine.h: ...here.
27868         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27869         * sysdeps/i386/bits/atomic.h: Move to ...
27870         * sysdeps/i386/atomic-machine.h: ...here.
27871         * sysdeps/ia64/bits/atomic.h: Move to ...
27872         * sysdeps/ia64/atomic-machine.h: ...here.
27873         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
27874         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
27875         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27876         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
27877         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
27878         * sysdeps/microblaze/bits/atomic.h: Move to ...
27879         * sysdeps/microblaze/atomic-machine.h: ...here.
27880         * sysdeps/mips/bits/atomic.h: Move to ...
27881         * sysdeps/mips/atomic-machine.h: ...here.
27882         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
27883         * sysdeps/powerpc/bits/atomic.h: Move to ...
27884         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
27885         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
27886         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
27887         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
27888         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
27889         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
27890         <atomic-machine.h> instead of <bits/atomic.h>.
27891         * sysdeps/s390/bits/atomic.h: Move to ...
27892         * sysdeps/s390/atomic-machine.h: ...here.
27893         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
27894         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
27895         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27896         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
27897         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
27898         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
27899         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
27900         * sysdeps/tile/bits/atomic.h: Move to ...
27901         * sysdeps/tile/atomic-machine.h: ...here.
27902         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
27903         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
27904         <sysdeps/tile/atomic-machine.h> instead of
27905         <sysdeps/tile/bits/atomic.h>.
27906         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27907         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
27908         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
27909         <sysdeps/tile/atomic-machine.h> instead of
27910         <sysdeps/tile/bits/atomic.h>.
27911         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27912         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
27913         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
27914         <sysdeps/arm/atomic-machine.h> instead of
27915         <sysdeps/arm/bits/atomic.h>.
27916         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
27917         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
27918         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27919         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
27920         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
27921         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27922         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
27923         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
27924         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
27925         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
27926         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
27927         * sysdeps/x86_64/bits/atomic.h: Move to ...
27928         * sysdeps/x86_64/atomic-machine.h: ...here.
27929         * include/atomic.h: Include <atomic-machine.h> instead of
27930         <bits/atomic.h>.
27932         * sysdeps/mips/mips32/libm-test-ulps: Update.
27933         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27935         [BZ #18952]
27936         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
27937         not convert non-integer negative arguments to int to determine the
27938         value of signgam.
27939         * math/auto-libm-test-in: Add more tests of lgamma.
27940         * math/auto-libm-test-out: Regenerated.
27942         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
27943         cosh, csqrt, erfc, expm1 and lgamma.
27944         * math/auto-libm-test-out: Regenerated.
27945         * sysdeps/i386/fpu/libm-test-ulps: Update.
27946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27948 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
27950         [BZ #2542]
27951         [BZ #2543]
27952         [BZ #2558]
27953         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
27954         __lgamma_neg for arguments from -28.0 to -2.0.
27955         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
27956         __lgamma_negf for arguments from -15.0 to -2.0.
27957         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27958         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
27959         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
27960         Call __lgamma_negl for arguments from -33.0 to -2.0.
27961         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
27962         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
27963         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
27964         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
27965         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
27966         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
27967         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
27968         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
27969         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
27970         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
27971         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
27972         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
27973         (__lgamma_neg): Likewise.
27974         (__lgamma_negl): Likewise.
27975         (__lgamma_product): Likewise.
27976         (__lgamma_productl): Likewise.
27977         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
27978         * math/auto-libm-test-in: Add more tests of lgamma.
27979         * math/auto-libm-test-out: Regenerated.
27980         * sysdeps/i386/fpu/libm-test-ulps: Update.
27981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27983 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
27985         [BZ #18675]
27986         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
27988 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
27990         [BZ #14912]
27991         * bits/libc-lock.h: Move to ...
27992         * sysdeps/generic/libc-lock.h: ...here.
27993         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
27994         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
27995         * sysdeps/mach/hurd/libc-lock.h: ...here.
27996         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
27997         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
27998         * sysdeps/mach/bits/libc-lock.h: Move to ...
27999         * sysdeps/mach/libc-lock.h: ...here.
28000         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
28001         * sysdeps/nptl/bits/libc-lock.h: Move to ...
28002         * sysdeps/nptl/libc-lock.h: ...here.
28003         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
28004         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
28005         * sysdeps/nptl/libc-lockP.h: ...here.
28006         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
28007         * crypt/crypt_util.c: Include <libc-lock.h> instead of
28008         <bits/libc-lock.h>.
28009         * dirent/scandir-tail.c: Likewise.
28010         * dlfcn/dlerror.c: Likewise.
28011         * elf/dl-close.c: Likewise.
28012         * elf/dl-iteratephdr.c: Likewise.
28013         * elf/dl-lookup.c: Likewise.
28014         * elf/dl-open.c: Likewise.
28015         * elf/dl-support.c: Likewise.
28016         * elf/dl-writev.h: Likewise.
28017         * elf/rtld.c: Likewise.
28018         * grp/fgetgrent.c: Likewise.
28019         * gshadow/fgetsgent.c: Likewise.
28020         * gshadow/sgetsgent.c: Likewise.
28021         * iconv/gconv_conf.c: Likewise.
28022         * iconv/gconv_db.c: Likewise.
28023         * iconv/gconv_dl.c: Likewise.
28024         * iconv/gconv_int.h: Likewise.
28025         * iconv/gconv_trans.c: Likewise.
28026         * include/link.h: Likewise.
28027         * inet/getnameinfo.c: Likewise.
28028         * inet/getnetgrent.c: Likewise.
28029         * inet/getnetgrent_r.c: Likewise.
28030         * intl/bindtextdom.c: Likewise.
28031         * intl/dcigettext.c: Likewise.
28032         * intl/finddomain.c: Likewise.
28033         * intl/gettextP.h: Likewise.
28034         * intl/loadmsgcat.c: Likewise.
28035         * intl/localealias.c: Likewise.
28036         * intl/textdomain.c: Likewise.
28037         * libidn/idn-stub.c: Likewise.
28038         * libio/libioP.h: Likewise.
28039         * locale/duplocale.c: Likewise.
28040         * locale/freelocale.c: Likewise.
28041         * locale/newlocale.c: Likewise.
28042         * locale/setlocale.c: Likewise.
28043         * login/getutent_r.c: Likewise.
28044         * login/getutid_r.c: Likewise.
28045         * login/getutline_r.c: Likewise.
28046         * login/utmp-private.h: Likewise.
28047         * login/utmpname.c: Likewise.
28048         * malloc/mtrace.c: Likewise.
28049         * misc/efgcvt.c: Likewise.
28050         * misc/error.c: Likewise.
28051         * misc/fstab.c: Likewise.
28052         * misc/getpass.c: Likewise.
28053         * misc/mntent.c: Likewise.
28054         * misc/syslog.c: Likewise.
28055         * nis/nis_call.c: Likewise.
28056         * nis/nis_callback.c: Likewise.
28057         * nis/nss-default.c: Likewise.
28058         * nis/nss_compat/compat-grp.c: Likewise.
28059         * nis/nss_compat/compat-initgroups.c: Likewise.
28060         * nis/nss_compat/compat-pwd.c: Likewise.
28061         * nis/nss_compat/compat-spwd.c: Likewise.
28062         * nis/nss_nis/nis-alias.c: Likewise.
28063         * nis/nss_nis/nis-ethers.c: Likewise.
28064         * nis/nss_nis/nis-grp.c: Likewise.
28065         * nis/nss_nis/nis-hosts.c: Likewise.
28066         * nis/nss_nis/nis-network.c: Likewise.
28067         * nis/nss_nis/nis-proto.c: Likewise.
28068         * nis/nss_nis/nis-pwd.c: Likewise.
28069         * nis/nss_nis/nis-rpc.c: Likewise.
28070         * nis/nss_nis/nis-service.c: Likewise.
28071         * nis/nss_nis/nis-spwd.c: Likewise.
28072         * nis/nss_nisplus/nisplus-alias.c: Likewise.
28073         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
28074         * nis/nss_nisplus/nisplus-grp.c: Likewise.
28075         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
28076         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
28077         * nis/nss_nisplus/nisplus-network.c: Likewise.
28078         * nis/nss_nisplus/nisplus-proto.c: Likewise.
28079         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
28080         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
28081         * nis/nss_nisplus/nisplus-service.c: Likewise.
28082         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
28083         * nis/ypclnt.c: Likewise.
28084         * nptl/libc_pthread_init.c: Likewise.
28085         * nss/getXXbyYY.c: Likewise.
28086         * nss/getXXent.c: Likewise.
28087         * nss/getXXent_r.c: Likewise.
28088         * nss/nss_db/db-XXX.c: Likewise.
28089         * nss/nss_db/db-netgrp.c: Likewise.
28090         * nss/nss_db/nss_db.h: Likewise.
28091         * nss/nss_files/files-XXX.c: Likewise.
28092         * nss/nss_files/files-alias.c: Likewise.
28093         * nss/nsswitch.c: Likewise.
28094         * posix/regex_internal.h: Likewise.
28095         * posix/wordexp.c: Likewise.
28096         * pwd/fgetpwent.c: Likewise.
28097         * resolv/res_hconf.c: Likewise.
28098         * resolv/res_libc.c: Likewise.
28099         * shadow/fgetspent.c: Likewise.
28100         * shadow/lckpwdf.c: Likewise.
28101         * shadow/sgetspent.c: Likewise.
28102         * socket/opensock.c: Likewise.
28103         * stdio-common/reg-modifier.c: Likewise.
28104         * stdio-common/reg-printf.c: Likewise.
28105         * stdio-common/reg-type.c: Likewise.
28106         * stdio-common/vfprintf.c: Likewise.
28107         * stdio-common/vfscanf.c: Likewise.
28108         * stdlib/abort.c: Likewise.
28109         * stdlib/cxa_atexit.c: Likewise.
28110         * stdlib/fmtmsg.c: Likewise.
28111         * stdlib/random.c: Likewise.
28112         * stdlib/setenv.c: Likewise.
28113         * string/strsignal.c: Likewise.
28114         * sunrpc/auth_none.c: Likewise.
28115         * sunrpc/bindrsvprt.c: Likewise.
28116         * sunrpc/create_xid.c: Likewise.
28117         * sunrpc/key_call.c: Likewise.
28118         * sunrpc/rpc_thread.c: Likewise.
28119         * sysdeps/arm/backtrace.c: Likewise.
28120         * sysdeps/generic/ldsodefs.h: Likewise.
28121         * sysdeps/generic/stdio-lock.h: Likewise.
28122         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
28123         * sysdeps/i386/backtrace.c: Likewise.
28124         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28125         * sysdeps/m68k/backtrace.c: Likewise.
28126         * sysdeps/mach/hurd/cthreads.c: Likewise.
28127         * sysdeps/mach/hurd/dirstream.h: Likewise.
28128         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
28129         * sysdeps/nptl/malloc-machine.h: Likewise.
28130         * sysdeps/nptl/stdio-lock.h: Likewise.
28131         * sysdeps/posix/dirstream.h: Likewise.
28132         * sysdeps/posix/getaddrinfo.c: Likewise.
28133         * sysdeps/posix/system.c: Likewise.
28134         * sysdeps/pthread/aio_suspend.c: Likewise.
28135         * sysdeps/s390/s390-32/backtrace.c: Likewise.
28136         * sysdeps/s390/s390-64/backtrace.c: Likewise.
28137         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28138         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
28139         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
28140         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
28141         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
28142         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
28143         * sysdeps/unix/sysv/linux/system.c: Likewise.
28144         * sysdeps/x86_64/backtrace.c: Likewise.
28145         * time/alt_digit.c: Likewise.
28146         * time/era.c: Likewise.
28147         * time/tzset.c: Likewise.
28148         * wcsmbs/wcsmbsload.c: Likewise.
28149         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
28150         instead of <bits/libc-lock.h> in comment.
28152 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
28154         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
28155         Only use .set mips2 if the current ISA is below mips2.
28156         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
28157         Likewise.
28158         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
28159         mips32r2 if the current ISA is below mips32r2.
28160         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
28161         (TLS_IE): Updated to use the TLD_RDHWR macro.
28162         (TLS_LE): Likewise.
28163         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
28164         __ASSEMBLER__ condition.
28166 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28168         Fix parallel build of before-compile targets.
28170         * sysdeps/mach/Makefile ($(patsubst
28171         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
28172         mach-before-compile target.
28173         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
28174         io fs process)): Move rule to dedicated hurd-before-compile target.
28176 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28178         Fix rules generating headers in hurd/ and mach/ when initial make call
28179         has subdir= explicitly set.
28181         * sysdeps/mach/Makefile ($(patsubst
28182         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
28183         calling $(MAKE).
28184         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
28185         io fs process)): Force subdir to hurd when calling $(MAKE).
28186         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
28187         subdir to mach when calling $(MAKE).
28189 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
28191         Check sysheaders when looking for Mach and Hurd headers
28193         * sysdeps/mach/configure.ac: Add sysheaders check.
28194         * sysdeps/mach/configure: Regenerate.
28195         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
28196         * sysdeps/mach/hurd/configure: Regenerate.
28198 2015-09-04  Roland McGrath  <roland@hack.frob.com>
28200         [BZ #18921]
28201         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
28202         Fix inverted sense of test of 'o_directory_works' value.
28203         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
28204         Bernhard Voelker <mail@bernhard-voelker.de>.
28206 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
28208         [BZ #14912]
28209         * bits/linkmap.h: Move to ...
28210         * sysdeps/generic/linkmap.h: ...here.
28211         * sysdeps/aarch64/bits/linkmap.h: Move to ...
28212         * sysdeps/aarch64/linkmap.h: ...here.
28213         * sysdeps/arm/bits/linkmap.h: Move to ...
28214         * sysdeps/arm/linkmap.h: ...here.
28215         * sysdeps/hppa/bits/linkmap.h: Move to ...
28216         * sysdeps/hppa/linkmap.h: ...here.
28217         * sysdeps/ia64/bits/linkmap.h: Move to ...
28218         * sysdeps/ia64/linkmap.h: ...here.
28219         * sysdeps/mips/bits/linkmap.h: Move to ...
28220         * sysdeps/mips/linkmap.h: ...here.
28221         * sysdeps/s390/bits/linkmap.h: Move to ...
28222         * sysdeps/s390/linkmap.h: ...here.
28223         * sysdeps/sh/bits/linkmap.h: Move to ...
28224         * sysdeps/sh/linkmap.h: ...here.
28225         * sysdeps/x86/bits/linkmap.h: Move to ...
28226         * sysdeps/x86/linkmap.h: ...here.
28227         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
28229 2015-09-04  Andreas Schwab  <schwab@suse.de>
28231         [BZ #18635]
28232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
28233         (__makecontext): Terminate FDE before return label.
28234         (__novec_makecontext): Likewise.
28236 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
28238         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
28239         first member of struct sv in syscall macro.
28241 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
28243         [BZ #14912]
28244         * bits/stdio-lock.h: Move to ...
28245         * sysdeps/generic/stdio-lock.h: ...here.
28246         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
28247         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
28248         * sysdeps/nptl/stdio-lock.h: ...here.
28249         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
28250         * include/libio.h: Include <stdio-lock.h> instead of
28251         <bits/stdio-lock.h>.
28252         * sysdeps/nptl/fork.c: Likewise.
28253         * sysdeps/pthread/flockfile.c: Likewise.
28254         * sysdeps/pthread/ftrylockfile.c: Likewise.
28255         * sysdeps/pthread/funlockfile.c: Likewise.
28257         [BZ #14912]
28258         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
28259         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
28260         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
28261         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
28262         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
28263         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
28264         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
28266 2015-09-03  Roland McGrath  <roland@hack.frob.com>
28268         * elf/Makefile (test-xfail-tst-protected1a): New variable.
28269         (test-xfail-tst-protected1b): New variable.
28271 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
28273         [BZ #14912]
28274         * bits/libc-tsd.h: Move to ...
28275         * sysdeps/generic/libc-tsd.h: ...here.
28276         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
28277         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
28278         * sysdeps/mach/hurd/libc-tsd.h: ...here.
28279         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
28280         * include/ctype.h: Include <libc-tsd.h> instead of
28281         <bits/libc-tsd.h>.
28282         * include/rpc/rpc.h: Likewise.
28283         * locale/localeinfo.h: Likewise.
28284         * sunrpc/rpc_thread.c: Likewise.
28285         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
28286         * sysdeps/nptl/malloc-machine.h: Likewise.
28288         * Makefile (headers): Remove bits/libc-lock.h.
28289         * libio/Makefile (headers): Remove bits/stdio-lock.h.
28291         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
28292         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
28293         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
28294         <bits/stdio-lock.h>.
28295         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
28296         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
28298 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
28300         [BZ #18757]
28301         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
28302         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
28303         BZ #18757.
28305 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
28307         * malloc/mtrace.pl: Filter out NULL entries.
28309 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
28311         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
28312         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
28313         macro.
28315         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
28316         (TCP_CC_INFO): Likewise.
28317         (TCP_SAVE_SYN): Likewise.
28318         (TCP_SAVED_SYN): Likewise.
28320 2015-08-31  Brett Neumeier <brett@neumeier.us>
28322         [BZ #18870]
28323         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
28325 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
28327         [BZ #18873]
28328         Fix broken overflow check in posix_fallocate
28329         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
28330         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
28331         Fix parenthesization typo.
28333 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
28335         [BZ #18887]
28336         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
28337         tst-mntent-blank-passno.
28338         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
28339         * misc/tst-mntent-blank-corrupt.c: New test.
28340         * misc/tst-mntent-blank-passno.c: New test ripped from ...
28341         * misc/tst-mntent.c (do_test): ... here.
28343 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
28345         [BZ #4404]
28346         * po/de.po: Fix SIGALRM typo.
28348 2015-08-28  James Perkins  <james@loowit.net>
28350         * time/tst-strptime2.c (tests): Replace short list of test
28351         strings for strptime %z specifier with code which exhaustively
28352         tests every combination of sign and 0 to 5 digits. Tests for
28353         rejection of invalid strings.
28355 2015-08-28  James Perkins  <james@loowit.net>
28357         [BZ #16141]
28358         * time/strptime_l.c (__strptime_internal): Fix %z minutes
28359         calculation, removing incorrect decimal time rounding, so that
28360         all minute values result in a valid seconds value.
28361         * time/strptime_l.c (__strptime_internal): Extend %z time zone
28362         offset range limits to UTC-99:59 through UTC+99:59 to parse
28363         current and historical use cases.
28364         * time/tst-strptime2.c (tests): Modify and add tests for the
28365         strptime %z input field descriptor, specifically conversion of
28366         minutes to seconds and validating an offset range of -9959 to
28367         +9959.
28369 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28370             Dmitry V. Levin  <ldv@altlinux.org>
28372         [BZ #18877]
28373         * posix/Makefile (tests): Add tst-mmap-offset.
28374         * posix/tst-mmap.c: New file.
28375         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
28376         offset calculation for negative values.
28378 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28380         * sysdeps/i386/init-arch.h: New file.
28381         * sysdeps/i386/i586/init-arch.h: Likewise.
28382         * sysdeps/i386/i686/init-arch.h: Likewise.
28383         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
28384         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
28385         * sysdeps/x86/cpu-features.h (bit_I586): New.
28386         (bit_I686): Likewise.
28387         (bit_CX8): Likewise.
28388         (bit_CMOV): Likewise.
28389         (index_CX8): Likewise.
28390         (index_CMOV): Likewise.
28391         (index_I586): Likewise.
28392         (index_I686): Likewise.
28393         (reg_CX8): Likewise.
28394         (reg_CMOV): Likewise.
28395         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
28396         available at compile-time.
28397         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
28398         available at compile-time.
28399         * sysdeps/x86/init-arch.h (USE_I586): New macro.
28400         (USE_I686): Likewise.
28402 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28404         * sysdeps/i386/bcopy.S: New file.
28405         * sysdeps/i386/bzero.S: Likewise.
28406         * sysdeps/i386/memcpy.S: Likewise.
28407         * sysdeps/i386/memmove.S: Likewise.
28408         * sysdeps/i386/mempcpy.S: Likewise.
28409         * sysdeps/i386/memset.S: Likewise.
28410         * sysdeps/i386/bzero.c: Removed.
28411         * sysdeps/i386/memset.c: Likewise.
28412         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
28413         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
28414         * sysdeps/i386/i586/memset_chk.S: Likewise.
28415         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
28416         * sysdeps/i386/memcpy_chk.S: Here.
28417         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
28418         * sysdeps/i386/memmove_chk.S: Here.
28419         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
28420         * sysdeps/i386/mempcpy_chk.S: Likewise.
28421         * sysdeps/i386/i686/memset_chk.S: Moved to ...
28422         * sysdeps/i386/memset_chk.S: Likewise.
28424 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
28426         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
28427         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
28428         file, move DIAG_POP_NEEDS_COMMENT to end of file.
28429         * soft-fp/fmadf4.c: Ditto.
28430         * soft-fp/fmatf4.c: Ditto.
28432 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28434         * sysdeps/i386/i586/Implies: Removed.
28435         * sysdeps/i386/i686/Implies: Likewise.
28437 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28439         * sysdeps/i386/i486/strlen.S: Moved to ...
28440         * sysdeps/i386/strlen.S: Here.
28442 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28444         * sysdeps/i386/i486/strcat.S: Moved to ...
28445         * sysdeps/i386/strcat.S: Here.
28447 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28449         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
28450         * sysdeps/i386/pthread_spin_trylock.S: Here.
28451         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
28452         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
28454 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28456         * sysdeps/i386/i486/string-inlines.c: Moved to ...
28457         * sysdeps/i386/string-inlines.c: Here.
28459 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28461         * sysdeps/i386/i486/htonl.S: Moved ...
28462         * sysdeps/i386/htonl.S: here.
28464 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28466         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
28467         * sysdeps/i386/bits/atomic.h: Here.
28469 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28471         * sysdeps/i386/i486/Versions: Removed.
28473 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
28475         [BZ #2898]
28476         * misc/mktemp.c: Add mkdtemp to the link_warning message.
28477         Based on patch by Aurelien Jarno.
28479 2015-08-26  Stan Shebs  <stanshebs@google.com>
28481         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
28482         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
28484 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
28486         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
28487         * sysdeps/powerpc/dl-procinfo.c:
28488         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
28489         feature so it shows when LD_SHOW_AUXV=1.
28491 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
28493         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
28494         (__arch_compare_and_exchange_val_32_acq): Remove and use common
28495         definition.  ISA 2.07B no longer requires full sync.
28497 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
28499         [BZ #18863]
28500         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
28501         (si_call_addr): Define.
28502         (si_syscall): Define.
28503         (si_arch): Define.
28505 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
28507         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
28508         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
28509         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
28510         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
28511         (__memset_zero_constant_len_parameter): New.
28512         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
28513         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
28514         (__memset_zero_constant_len_parameter): Don't define if
28515         __memset_chk or USE_AS_BZERO are defined.
28517         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
28518         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
28519         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
28521         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
28522         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
28523         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
28524         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
28525         comments.
28526         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
28527         -mno-mmx for $(all-rtld-routines).
28528         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
28529         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
28530         i386.
28532 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
28534         * sysdeps/generic/unwind.h
28535         (_Unwind_Word): Use __mode__(__unwind_word__)
28536         instead of __mode__(__word__).
28537         (_Unwind_Sword): Likewise.
28539         * sysdeps/s390/s390-64/utf8-utf16-z9.c
28540         (MAX_NEEDED_INPUT): New define.
28541         (MAX_NEEDED_OUTPUT): New define.
28543         * NEWS: New item for IBM z13 string optimizations.
28545         * sysdeps/s390/multiarch/memrchr-c.c: New File.
28546         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
28547         * sysdeps/s390/multiarch/memrchr.c: Likewise.
28548         * sysdeps/s390/multiarch/Makefile
28549         (sysdep_routines): Add memrchr functions.
28550         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
28551         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
28553         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
28554         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
28555         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
28556         * sysdeps/s390/multiarch/Makefile
28557         (sysdep_routines): Add wmemcmp functions.
28558         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
28559         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
28560         * benchtests/bench-wmemcmp.c: New File.
28561         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
28563         * sysdeps/s390/multiarch/wmemset-c.c: New File.
28564         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
28565         * sysdeps/s390/multiarch/wmemset.c: Likewise.
28566         * sysdeps/s390/multiarch/Makefile
28567         (sysdep_routines): Add wmemset functions.
28568         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
28569         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
28570         * wcsmbs/wmemset.c: Use WMEMSET if defined.
28571         * string/test-memset.c: Add wmemset support.
28572         * wcsmbs/test-wmemset.c: New File.
28573         * wcsmbs/Makefile (strop-tests): Add wmemset.
28574         * benchtests/bench-memset.c: Add wmemset support.
28575         * benchtests/bench-wmemset.c: New File.
28576         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
28578         * sysdeps/s390/multiarch/memccpy-c.c: New File.
28579         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
28580         * sysdeps/s390/multiarch/memccpy.c: Likewise.
28581         * sysdeps/s390/multiarch/Makefile
28582         (sysdep_routines): Add memccpy functions.
28583         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
28584         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
28585         * string/memccpy.c: Use MEMCCPY if defined.
28587         * sysdeps/s390/multiarch/memchr-vx.S: New File.
28588         * sysdeps/s390/multiarch/memchr.c: Likewise.
28589         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
28590         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
28591         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
28592         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
28593         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
28594         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
28595         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
28596         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
28597         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
28598         and rawmemchr functions.
28599         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
28600         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
28601         and wmemchr.
28602         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
28603         * string/test-memchr.c: Add wmemchr support.
28604         * wcsmbs/test-wmemchr.c: New File.
28605         * wcsmbs/Makefile (strop-tests): Add wmemchr.
28606         * benchtests/bench-memchr.c: Add wmemchr support.
28607         * benchtests/bench-wmemchr.c: New File.
28608         * benchtests/Makefile (wcsmbs-bench): wmemchr.
28610         * sysdeps/s390/multiarch/strcspn-c.c: New File.
28611         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
28612         * sysdeps/s390/multiarch/strcspn.c: Likewise.
28613         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
28614         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
28615         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
28616         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
28617         wcscspn functions.
28618         * sysdeps/s390/multiarch/ifunc-impl-list.c
28619         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
28620         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
28621         * string/test-strcspn.c: Add wcscspn support.
28622         * wcsmbs/test-wcscspn.c: New File.
28623         * wcsmbs/Makefile (strop-tests): Add wcscspn.
28624         * benchtests/bench-strcspn.c: Add wcscspn support.
28625         * benchtests/bench-wcscspn.c: New File.
28626         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
28628         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
28629         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
28630         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
28631         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
28632         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
28633         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
28634         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
28635         wcspbrk functions.
28636         * sysdeps/s390/multiarch/ifunc-impl-list.c
28637         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
28638         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
28639         * string/test-strpbrk.c: Add wcspbrk support.
28640         * wcsmbs/test-wcspbrk.c: New File.
28641         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
28642         * benchtests/bench-strpbrk.c: Add wcspbrk support.
28643         * benchtests/bench-wcspbrk.c: New File.
28644         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
28646         * sysdeps/s390/multiarch/strspn-c.c: New File.
28647         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
28648         * sysdeps/s390/multiarch/strspn.c: Likewise.
28649         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
28650         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
28651         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
28652         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
28653         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
28654         wcsspn functions.
28655         * sysdeps/s390/multiarch/ifunc-impl-list.c
28656         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
28657         * string/test-strspn.c: Add wcsspn support.
28658         * wcsmbs/test-wcsspn.c: New File.
28659         * wcsmbs/Makefile (strop-tests): Add wcsspn.
28660         * benchtests/bench-strspn.c: Add wcsspn support.
28661         * benchtests/bench-wcsspn.c: New File.
28662         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
28664         * sysdeps/s390/multiarch/strrchr-c.c: New File.
28665         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
28666         * sysdeps/s390/multiarch/strrchr.c: Likewise.
28667         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
28668         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
28669         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
28670         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
28671         wcsrchr functions.
28672         * sysdeps/s390/multiarch/ifunc-impl-list.c
28673         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
28674         * benchtests/bench-wcsrchr.c: New File.
28675         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
28677         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
28678         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
28679         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
28680         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
28681         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
28682         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
28683         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
28684         wcschrnul functions.
28685         * sysdeps/s390/multiarch/ifunc-impl-list.c
28686         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
28687         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
28688         * string/test-strchr.c: Add wcschrnul support.
28689         * wcsmbs/test-wcschrnul.c: New File.
28690         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
28691         * benchtests/bench-strchr.c: Add wcschrnul support.
28692         * benchtests/bench-wcschrnul.c: New File.
28693         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
28695         * sysdeps/s390/multiarch/strchr-c.c: New File.
28696         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
28697         * sysdeps/s390/multiarch/strchr.c: Likewise.
28698         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
28699         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
28700         * sysdeps/s390/multiarch/wcschr.c: Likewise.
28701         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
28702         wcschr functions.
28703         * sysdeps/s390/multiarch/ifunc-impl-list.c
28704         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
28705         * string/strchr.c (STRCHR): Define and use macro.
28706         * benchtests/bench-wcschr.c: New File.
28707         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
28709         * sysdeps/s390/multiarch/strncmp-c.c: New File.
28710         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
28711         * sysdeps/s390/multiarch/strncmp.c: Likewise.
28712         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
28713         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
28714         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
28715         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
28716         wcsncmp functions.
28717         * sysdeps/s390/multiarch/ifunc-impl-list.c
28718         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
28719         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
28720         * benchtests/bench-strncmp.c: Add wcsncmp support.
28721         * benchtests/bench-wcsncmp.c: New File.
28722         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
28724         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
28725         * sysdeps/s390/multiarch/strcmp.c: Likewise.
28726         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
28727         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
28728         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
28729         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
28730         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
28731         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
28732         wcscmp functions.
28733         * sysdeps/s390/multiarch/ifunc-impl-list.c
28734         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
28735         * string/strcmp.c (STRCMP): Define and use macro.
28736         * benchtests/bench-wcscmp.c: New File.
28737         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
28738         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
28739         instead of _HAVE_STRING_ARCH_memchr.
28741         * sysdeps/s390/multiarch/strncat-c.c: New File.
28742         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
28743         * sysdeps/s390/multiarch/strncat.c: Likewise.
28744         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
28745         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
28746         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
28747         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
28748         wcsncat functions.
28749         * sysdeps/s390/multiarch/ifunc-impl-list.c
28750         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
28751         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
28752         * string/test-strncat.c: Add wcsncat support.
28753         * wcsmbs/test-wcsncat.c: New File.
28754         * wcsmbs/Makefile (strop-tests): Add wcsncat.
28755         * benchtests/bench-strncat.c: Add wcsncat support.
28756         * benchtests/bench-wcsncat.c: New File.
28757         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
28759         * sysdeps/s390/multiarch/strcat-c.c: New File.
28760         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
28761         * sysdeps/s390/multiarch/strcat.c: Likewise.
28762         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
28763         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
28764         * sysdeps/s390/multiarch/wcscat.c: Likewise.
28765         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
28766         wcscat functions.
28767         * sysdeps/s390/multiarch/ifunc-impl-list.c
28768         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
28769         * string/strcat.c (STRCAT): Define and use macro.
28770         * wcsmbs/wcscat.c: Use WCSCAT if defined.
28771         * string/test-strcat.c: Add wcscat support.
28772         * wcsmbs/test-wcscat.c: New File.
28773         * wcsmbs/Makefile (strop-tests): Add wcscat.
28774         * benchtests/bench-strcat.c: Add wcscat support.
28775         * benchtests/bench-wcscat.c: New File.
28776         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
28778         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
28779         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
28780         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
28781         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
28782         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
28783         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
28784         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
28785         wcpncpy functions.
28786         * sysdeps/s390/multiarch/ifunc-impl-list.c
28787         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
28788         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
28789         * string/test-stpncpy.c: Add wcpncpy support.
28790         * wcsmbs/test-wcpncpy.c: New File.
28791         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
28792         * benchtests/bench-stpncpy.c: Add wcpncpy support.
28793         * benchtests/bench-wcpncpy.c: New File.
28794         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
28796         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
28797         * sysdeps/s390/multiarch/strncpy.c: Likewise.
28798         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
28799         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
28800         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
28801         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
28802         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
28803         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
28804         wcsncpy functions.
28805         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
28806         * sysdeps/s390/multiarch/ifunc-impl-list.c
28807         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
28808         * string/test-strncpy.c: Add wcsncpy support.
28809         * wcsmbs/test-wcsncpy.c: New File.
28810         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
28811         * benchtests/bench-strncpy.c: Add wcsncpy support.
28812         * benchtests/bench-wcsncpy.c: New File.
28813         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
28815         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
28816         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
28817         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
28818         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
28819         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
28820         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
28821         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
28822         wcpcpy functions.
28823         * string/stpcpy.c: Use STPCPY if defined.
28824         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
28825         * sysdeps/s390/multiarch/ifunc-impl-list.c
28826         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
28827         * string/test-stpcpy.c: Add wcpcpy support.
28828         * wcsmbs/test-wcpcpy.c: New File.
28829         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
28830         * benchtests/bench-stpcpy.c: Add wcpcpy support.
28831         * benchtests/bench-wcpcpy.c: New File.
28832         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
28834         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
28835         * sysdeps/s390/multiarch/strcpy.c: Likewise.
28836         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
28837         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
28838         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
28839         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
28840         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
28841         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
28842         wcscpy functions.
28843         * sysdeps/s390/multiarch/ifunc-impl-list.c
28844         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
28845         * benchtests/bench-wcscpy.c: New File.
28846         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
28848         * sysdeps/s390/multiarch/strnlen-c.c: New File.
28849         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
28850         * sysdeps/s390/multiarch/strnlen.c: Likewise.
28851         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
28852         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
28853         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
28854         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
28855         wcsnlen functions.
28856         * sysdeps/s390/multiarch/ifunc-impl-list.c
28857         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
28858         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
28859         * string/test-strnlen.c: Add wcsnlen support.
28860         * wcsmbs/test-wcsnlen.c: New File.
28861         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
28862         * benchtests/bench-strnlen.c: Add wcsnlen support.
28863         * benchtests/bench-wcsnlen.c: New File.
28864         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
28866         * sysdeps/s390/multiarch/Makefile: New File.
28867         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
28868         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
28869         * sysdeps/s390/multiarch/strlen.c: Likewise.
28870         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
28871         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
28872         * sysdeps/s390/multiarch/wcslen.c: Likewise.
28873         * string/strlen.c (STRLEN): Define and use macro.
28874         * sysdeps/s390/multiarch/ifunc-impl-list.c
28875         (IFUNC_VX_IMPL): New macro function.
28876         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
28877         * benchtests/Makefile (wcsmbs-bench): New variable.
28878         (string-bench-all): Added wcsmbs-bench.
28879         * benchtests/bench-wcslen.c: New File.
28881         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
28882         s390_vx_libc_ifunc2): New macro function.
28884         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
28885         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
28886         assembler support.
28887         * sysdeps/s390/configure: Regenerated.
28889         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
28890         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
28892         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
28893         * sysdeps/s390/dl-procinfo.h: Add vector capability.
28894         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
28896         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
28897         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
28898         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
28899         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
28900         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
28901         (memcmp, bcmp): Use __memcmp_default as alias source.
28902         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
28903         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
28904         Rename to __memcmp_default.
28905         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
28906         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
28907         (memcpy): Use __memcpy_default as alias source.
28908         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
28909         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
28910         Rename to __memcpy_default.
28911         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
28912         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
28913         (memset): Use __memset_default as alias source.
28914         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
28915         * sysdeps/s390/s390-32/memset.S (__memset_g5):
28916         Rename to __memset_default.
28917         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
28918         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
28919         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
28920         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
28921         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
28922         (memcmp, bcmp): Use __memcmp_default as alias source.
28923         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
28924         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
28925         Rename to __memcmp_default.
28926         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
28927         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
28928         (memcpy): Use __memcpy_default as alias source.
28929         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
28930         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
28931         Rename to __memcpy_default.
28932         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
28933         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
28934         (memset): Use __memset_default as alias source.
28935         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
28936         * sysdeps/s390/s390-64/memset.S (__memset_z900):
28937         Rename to __memset_default.
28938         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
28939         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
28941         [BZ #18610]
28942         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
28943         __ieee_instruction_pointer to __unused.
28944         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
28945         __ieee_instruction_pointer.
28946         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
28947         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
28948         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
28949         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
28950         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
28951         Mark dxc-field as reserved.
28953 2015-08-25  Roland McGrath  <roland@hack.frob.com>
28955         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
28956         if the weak reference is not null.
28958 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
28960         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
28962         [BZ #11214]
28963         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
28965 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28967         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
28968         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
28969         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
28970         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
28971         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
28972         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
28973         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
28974         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
28975         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
28976         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
28977         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
28978         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
28979         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
28980         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
28981         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
28982         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
28983         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
28984         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
28986 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
28988         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
28989         register other than r0 for tabort, it has special meaning.
28990         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
28991         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
28992         transaction before starting syscall.
28994 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28996         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
28998 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
29000         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
29002         * sysdeps/x86_64/rtld-memcmp.c: Removed.
29003         * sysdeps/x86_64/rtld-memset.S: Likewise.
29004         * sysdeps/x86_64/rtld-strchr.S: Likewise.
29005         * sysdeps/x86_64/rtld-strlen.S: Likewise.
29006         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
29007         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
29009         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
29011 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
29013         * debug/strcpy_chk.c: Improve performance.
29014         * debug/stpcpy_chk.c: Likewise.
29015         * sysdeps/x86_64/strcpy_chk.S: Remove.
29016         * sysdeps/x86_64/stpcpy_chk.S: Remove.
29018         [BZ #18240]
29019         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
29021 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
29023         [BZ #15128]
29024         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
29025         ifuncmain8.
29026         (modules-names): Add ifuncmod8.
29027         ($(objpfx)ifuncmain8): New rule.
29028         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
29029         <cpuid.h>.
29030         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
29031         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
29032         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
29033         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
29034         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
29035         * sysdeps/x86_64/dl-trampoline.h: Likewise.
29036         * sysdeps/x86_64/ifuncmain8.c: New file.
29037         * sysdeps/x86_64/ifuncmod8.c: Likewise.
29038         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
29039         Removed.
29040         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
29041         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
29042         Change rtld_savespace_sse to __glibc_unused2.
29043         (RTLD_CHECK_FOREIGN_CALL): Removed.
29044         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
29045         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
29046         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
29048 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
29050         * sysdeps/aarch64/bzero.S (__bzero): Remove.
29052 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
29054         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
29055         Unconditionally set __fpcr to avoid uninialized warning.
29056         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
29058 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29060         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
29061         is corrupt.
29063         * malloc/arena.c (arena_get2): Drop unused argument.
29064         (arena_lock): Adjust.
29065         (arena_get_retry): Likewise.
29067 2015-08-24  Andreas Schwab  <schwab@suse.de>
29069         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
29070         Don't define.
29071         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
29072         (__ASSUME_IPC64): Don't undef.
29073         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
29074         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
29075         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
29076         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
29077         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
29078         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
29079         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
29080         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
29081         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
29082         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
29083         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
29084         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
29085         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
29086         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
29087         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
29088         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
29089         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
29090         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
29091         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
29092         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
29093         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
29095 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
29097         * manual/Makefile (install): Only build manual when perl is available.
29099 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
29101         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
29102         '#undef memcpy' by '#undef memchr'.
29104 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
29106         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
29107         memchr not point to the internal __GI_memchr implementation.
29109 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
29111         * timezone/Makefile (CFLAGS-zdump.c): Remove
29112         -Wno-strict-prototypes.
29113         (CFLAGS-zic.c): Likewise.
29114         (CFLAGS-ialloc.c): Likewise.
29115         (CFLAGS-scheck.c): Likewise.
29117         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
29118         -Wno-error=undef.
29120 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
29122         * i386/i686/multiarch/strcasestr-c.c: Removed.
29123         * x86_64/multiarch/strcasestr.c: Likewise.
29124         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29125         Remove strcasestr.
29127 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
29129         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
29131         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
29132         variables for high and low parts before possibly modifying them.
29134 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
29136         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
29137         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
29138         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
29139         of "multiarch/init-arch.h".
29140         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
29141         * sysdeps/x86/init-arch.h: This.
29143 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
29145         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
29146         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
29148 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
29150         [BZ #17787]
29151         * manual/macros.texi: Add twoexp macro.
29152         * manual/filesys.texi: Fix exponents.
29153         * manual/llio.texi: Likewise.
29154         * manual/stdio.texi: Likewise.
29156 2015-08-20  Florian Weimer  <fweimer@redhat.com>
29158         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
29159         incorrect use.
29161 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
29163         [BZ #18370]
29164         * math/s_csqrt.c (__csqrt): Force underflow exception for results
29165         whose real or imaginary part has small absolute value.
29166         * math/s_csqrtf.c (__csqrtf): Likewise.
29167         * math/s_csqrtl.c (__csqrtl): Likewise.
29168         * math/auto-libm-test-in: Add more tests of csqrt.
29169         * math/auto-libm-test-out: Regenerated.
29170         * sysdeps/i386/fpu/libm-test-ulps: Update.
29172 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
29174         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
29175         __ppc_set_ppr_very_low): New functions.
29176         * manual/platform.texi: Add documentation about
29177         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
29179 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
29181         * string/stpncpy.c (stpncpy): Improve performance using
29182         __strnlen/memcpy/memset.
29184 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
29186         [BZ #18796]
29187         * scripts/test-installation.pl: Don't add -lmvec to build options if
29188         libmvec wasn't built.
29190 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
29192         [BZ #14341]
29193         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
29194         case when there is a gap between DT_REL and DT_JMPREL sections.
29195         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
29196         (LDFLAGS-tst-split-dynreloc): New.
29197         (tst-split-dynreloc-ENV): Likewise.
29198         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
29199         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
29201 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
29203         [BZ #18822]
29204         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
29205         attribute_hidden.
29206         (__xstat64_conv): Likewise.
29207         (__xstat32_conv): Likewise.
29209 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
29211         [BZ #18822]
29212         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
29213         Don't load %ebx when calling __setcontext.  Call __setcontext
29214         with HIDDEN_JUMPTARGET.
29215         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
29216         libc_hidden_def.
29218 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
29220         * sysdeps/i386/i686/Makefile
29221         [$(subdir) == string] (sysdep_routines): Moved to ...
29222         * sysdeps/i386/Makefile: Here.
29223         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
29224         * sysdeps/i386/cacheinfo.c: Here.
29225         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
29226         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
29227         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
29228         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
29230 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
29232         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
29233         __i586__ is defined.
29234         (HAS_I686): Defined to 1 if __i686__ is defined.
29236 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
29238         * elf/Makefile [$(have-z-execstack) = yes]
29239         (CPPFLAGS-tst-execstack.c): New variable.
29241         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
29242         conditional to [defined UTMPX || _HAVE_UT_TYPE].
29243         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
29244         UTMPX || _HAVE_UT_TV].
29245         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
29246         UTMPX || _HAVE_UT_TV - 0].
29248 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
29250         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
29251         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
29252         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
29254 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
29256         * sysdeps/powerpc/dl-procinfo.c:
29257         (_dl_powerpc_cap_flags): Added missing strings for some
29258         hwcap features.
29259         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
29261 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
29263         Port the 0x7efe...feff pattern to GCC 6.
29264         See Steve Ellcey's bug report in:
29265         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
29266         * string/memrchr.c (MEMRCHR):
29267         * string/rawmemchr.c (RAWMEMCHR):
29268         * string/strchr.c (strchr):
29269         * string/strchrnul.c (STRCHRNUL):
29270         Rewrite code to avoid issues with signed shift overflow.
29272 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
29274         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
29275         whether cpuid is available only if HAS_CPUID is 0.
29276         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
29277         (HAS_I586): Likewise.
29278         (HAS_I686): Likewise.
29280 2015-08-18  Zack Weinberg  <zackw@panix.com>
29282         * misc/Versions (libc): Add GLIBC_2.23.
29284 2015-08-18  Alan Modra  <amodra@gmail.com>
29286         [BZ #18421]
29287         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
29288         .Lp__global.
29289         (_start): Load %dp via .Lp__global.
29290         [!SHARED]: Use .section .rodata.
29292 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29294         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
29295         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
29297 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29299         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
29300         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
29302 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29304         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
29305         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
29307 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29309         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
29310         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
29312 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29314         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
29315         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
29317 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29319         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
29320         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
29322 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29324         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
29326 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29328         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
29329         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
29330         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29331         (__ASSUME_LWS_CAS): Delete.
29333 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29335         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
29336         * sysdeps/hppa/configure: Regenerated.
29337         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
29338         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
29339         * sysdeps/hppa/nptl/tls.h: Likewise.
29341 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
29343         [BZ #18823]
29344         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
29345         for scaling up small arguments.
29346         * math/s_csqrtf.c (__csqrtf): Likewise.
29347         * math/s_csqrtl.c (__csqrtl): Likewise.
29348         * math/auto-libm-test-in: Add more tests of csqrt.
29349         * math/auto-libm-test-out: Regenerated.
29351 2015-08-17  Andreas Schwab  <schwab@suse.de>
29353         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
29354         version set GLIBC_2.19.
29356 2015-08-16  Zack Weinberg  <zackw@panix.com>
29358         [BZ #18681]
29359         * misc/regexp.h: This interface is no longer supported.
29360         Remove all contents, leaving only an #error directive.
29361         * misc/regexp.c (loc1, loc2, locs, step, advance):
29362         Demote to compatibility symbols.
29364 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
29366         [BZ #18084]
29367         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
29368         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
29369         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
29370         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
29371         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
29372         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
29373         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
29374         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
29375         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
29377 2015-08-15  Zack Weinberg  <zackw@panix.com>
29379         [BZ #18795]
29380         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
29381         buffer length is known to be too large, not if it's known to be
29382         small enough.
29383         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
29384         overflow at runtime, involving a length parameter, twice: once
29385         with a compile-time constant length parameter, once without.
29387 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
29389         [BZ #18824]
29390         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
29391         scaling x * y up instead of down.
29392         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29393         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29394         * math/auto-libm-test-in: Add more tests of fma.
29395         * math/auto-libm-test-out: Regenerated.
29397 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
29399         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29401 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29403         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
29404         unnecessary movq.
29405         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
29406         Likewise.
29408 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
29410         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
29411         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
29412         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
29413         and tgamma.
29414         * math/auto-libm-test-out: Regenerated.
29415         * sysdeps/i386/fpu/libm-test-ulps: Update.
29416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29418         [BZ #16520]
29419         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
29420         (__tanh): Force underflow exception for arguments with small
29421         absolute value.
29422         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
29423         (__tanhf): Force underflow exception for arguments with small
29424         absolute value.
29425         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
29426         (__tanhl): Force underflow exception for arguments with small
29427         absolute value.
29428         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
29429         (__tanhl): Force underflow exception for arguments with small
29430         absolute value.
29431         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
29432         (__tanhl): Force underflow exception for arguments with small
29433         absolute value.
29434         * math/auto-libm-test-in: Add more tests of tanh.
29435         * math/auto-libm-test-out: Regenerated.
29436         * sysdeps/i386/fpu/libm-test-ulps: Update.
29438 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29440         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
29441         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
29443 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29445         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
29446         <cpuid.h>.
29448 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29450         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
29451         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
29453 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29455         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
29456         Remove $(objpfx)init-arch.o.
29457         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
29458         init-arch.
29459         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
29460         (INIT_ARCH_EXT): Defined as empty.
29461         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
29462         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
29463         __init_cpu_features call.  Replace HAS_XXX with
29464         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
29465         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
29466         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
29467         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
29468         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
29469         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
29470         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
29471         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
29472         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
29473         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
29474         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
29475         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
29476         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
29477         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
29478         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
29479         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
29480         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
29481         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
29482         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
29483         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
29484         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
29485         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
29486         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
29487         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
29488         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
29489         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
29490         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
29491         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
29492         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
29493         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
29494         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
29495         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
29496         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
29497         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
29498         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
29499         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
29501 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29503         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
29504         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
29505         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
29506         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
29507         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
29508         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
29509         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
29510         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
29511         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
29512         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
29513         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
29514         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
29515         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
29516         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29517         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29518         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29519         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29520         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29521         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29522         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29523         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29524         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29525         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29526         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29527         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29528         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29529         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29530         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29531         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29532         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29533         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29534         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29535         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29536         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29537         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29538         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29539         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29540         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29541         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29542         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29543         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29544         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29545         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29547 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29549         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
29550         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
29551         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29552         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29553         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29554         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
29555         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29556         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
29557         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29558         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29559         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29560         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
29561         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
29562         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
29563         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
29564         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
29565         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
29566         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
29567         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
29568         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
29569         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
29570         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
29571         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
29572         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29573         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29574         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
29575         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
29576         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
29577         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
29578         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29579         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29580         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29581         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29582         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29583         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29584         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29585         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29586         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29587         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29588         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29589         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29590         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29591         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29593 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29595         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
29596         (dl_platform_init): Call init_cpu_features.
29597         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
29598         * sysdeps/i386/i686/cacheinfo.c
29599         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
29600         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
29601         * sysdeps/i386/i686/multiarch/Versions: Removed.
29602         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
29603         Removed.
29604         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
29605         * sysdeps/unix/sysv/linux/x86/Makefile
29606         (libpthread-sysdep_routines): Remove init-arch.
29607         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
29608         <sysdeps/x86_64/dl-procinfo.c> instead of
29609         sysdeps/generic/dl-procinfo.c>.
29610         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
29611         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
29612         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
29613         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
29614         [$(subdir) == elf] (tests-static): Add
29615         tst-get-cpu-features-static.
29616         * sysdeps/x86/Versions: New file.
29617         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
29618         * sysdeps/x86/cpu-features.c: Likewise.
29619         * sysdeps/x86/cpu-features.h: Likewise.
29620         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
29621         * sysdeps/x86/libc-start.c: Likewise.
29622         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
29623         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
29624         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
29625         * sysdeps/x86_64/dl-procinfo.c: Likewise.
29626         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
29627         Assume USE_MULTIARCH is defined and don't check it.
29628         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
29629         (is_amd): Likewise.
29630         (max_cpuid): Likewise.
29631         (intel_check_word): Likewise.
29632         (__cache_sysconf): Don't call __init_cpu_features.
29633         (__x86_preferred_memory_instruction): Removed.
29634         (init_cacheinfo): Don't call __init_cpu_features. Replace
29635         __cpu_features with GLRO(dl_x86_cpu_features).
29636         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
29637         (dl_platform_init): Call init_cpu_features.
29638         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
29639         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
29640         * sysdeps/x86_64/multiarch/Versions: Removed.
29641         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
29642         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
29643         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
29644         Removed.
29645         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
29647 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
29649         [BZ #18820]
29650         * libio/Makefile (test-fmemopen-mem): New test.
29651         * libio/test-fmemopen.c (do_bz18820): New test.
29652         * libio/fmemopen.c (__fmemopen): Fix memory leak.
29653         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
29655 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
29657         [BZ #16734]
29658         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
29659         (FREE_BUF): Delete.
29660         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
29661         * libio/genops.c (_IO_setb): Use malloc and free directly.
29662         (_IO_default_doallocate, _IO_default_finish): Likewise.
29663         ( _IO_unbuffer_all): Likewise.
29664         ( libc_freeres_fn): Likewise.
29665         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
29666         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
29667         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
29668         (_IO_wdefault_doallocate): Likewise.
29670 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
29672         [BZ #18086]
29673         * sysdeps/posix/nice.c (nice): Restore old errno.
29674         * posix/tst-nice.c (do_test): Add test for BZ #18086.
29676 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
29678         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
29680 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29682         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
29683         __bcopy and add a weak_alias to bcopy.
29684         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
29685         for static build.
29687         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
29688         cleanup macro usage.
29689         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
29690         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
29691         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
29692         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
29693         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
29694         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
29695         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
29696         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
29697         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
29698         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
29699         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
29700         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
29701         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
29702         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
29703         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
29704         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
29705         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
29706         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
29707         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
29709         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
29710         libc_hidden_def.
29711         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
29713         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
29714         (sysdep_routines): Add strstr-ppc64.
29715         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
29717 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
29719         [BZ #18778]
29720         * elf/Makefile (tests): Add Add tst-nodelete2.
29721         (modules-names): Add tst-nodelete2mod.
29722         (tst-nodelete2mod.so-no-z-defs): New.
29723         ($(objpfx)tst-nodelete2): Likewise.
29724         ($(objpfx)tst-nodelete2.out): Likewise.
29725         (LDFLAGS-tst-nodelete2): Likewise.
29726         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
29727         out of loop through all loaded libraries.
29728         * elf/tst-nodelete2.c: New file.
29729         * elf/tst-nodelete2mod.c: Likewise.
29730         * elf/tst-znodelete-zlib.cc: Delete.
29732 2015-08-11  Andreas Schwab  <schwab@suse.de>
29734         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
29735         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
29736         (__openat64_nocancel): Likewise.
29738 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
29740         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
29741         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
29742         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
29743         * math/auto-libm-test-out: Regenerated.
29744         * sysdeps/i386/fpu/libm-test-ulps: Update.
29745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29747 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
29749         [BZ #18790]
29750         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
29751         threshold for returning +/- 1.
29752         * math/auto-libm-test-in: Add more tests of tanh.
29753         * math/auto-libm-test-out: Regenerated.
29754         * sysdeps/i386/fpu/libm-test-ulps: Update.
29756 2015-08-10  Andreas Schwab  <schwab@suse.de>
29758         [BZ #18781]
29759         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
29760         MORE_OFLAGS to oflag.
29761         * io/test-lfs.c (do_test): Test openat64.
29763 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
29765         [BZ #18789]
29766         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
29767         smaller threshold for returning the argument.
29768         * math/auto-libm-test-in: Add more tests of sinh.
29769         * math/auto-libm-test-out: Regenerated.
29770         * sysdeps/i386/fpu/libm-test-ulps: Update.
29772 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
29774         [BZ #18674]
29775         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
29776         break.
29778 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
29780         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
29781         (generated): Don't add $(addprefix z.,$(tzfiles)).
29783 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
29785         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
29786         * scripts/sysd-rules.awk: Likewise.
29788 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
29790         * iconvdata/tst-tables.sh: Change echo -n to printf.
29791         * nss/db-Makefile: Likewise.
29792         * posix/tst-getconf.sh: Likewise.
29793         * stdio-common/tst-unbputc.sh: Likewise.
29795 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
29797         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
29798         MADV_*_PAGES defines behind this feature check.
29800 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
29802         [BZ #18480]
29803         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
29804         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
29805         Define.
29806         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
29807         LOAD_REGS_5, LOAD_REGS_6): Update.
29808         (INTERNAL_SYSCALL): Update using new LOAD defines.
29809         (INTERNAL_SYSCALL_NCS): Likewise.
29810         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
29812 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
29814         [BZ #16734]
29815         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
29817 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
29819         [BZ #17905]
29820         * catgets/Makefile (tst-catgets-mem): New test.
29821         * catgets/catgets.c (catopen): Don't use unbounded alloca.
29822         * catgets/open_catalog.c (__open_catalog): Likewise.
29823         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
29825 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
29827         [BZ #18787]
29828         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
29829         clobber registers.
29830         (atomic_compare_and_exchange_val_acq): Use register asms to assign
29831         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
29832         Cast return to __typeof (oldval).
29834 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
29836         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
29837         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
29838         and delete sys/syscall.h include.
29840 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
29842         [BZ #16517]
29843         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
29844         (tan): Force underflow exception for arguments with small absolute
29845         value.
29846         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
29847         (__kernel_tanf): Force underflow exception for arguments with
29848         small absolute value.
29849         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
29850         (__kernel_tanl): Force underflow exception for arguments with
29851         small absolute value.
29852         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
29853         (__kernel_tanl): Force underflow exception for arguments with
29854         small absolute value.
29855         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
29856         (__kernel_tanl): Force underflow exception for arguments with
29857         small absolute value.
29858         * math/auto-libm-test-in: Add more tests of tan.
29859         * math/auto-libm-test-out: Regenerated.
29861 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29863         Fix sysdeps/i386/fpu/s_scalbn.S build
29865         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
29867 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
29869         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
29871 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29873         Fix gcrt0.o compilation
29875         When static-start-installed-name is different from
29876         start-installed-name, we must not use the shared objects.
29878         * csu/Makefile
29879         (extra-objs): Add gmon-start.o when building shared library and
29880         $(static-start-installed-name) is different from
29881         $(start-installed-name).
29882         $(objpfx)g$(static-start-installed-name): When building shared
29883         library and $(static-start-installed-name) is different from
29884         $(static-start-installed-name), revert to non-shared rule,
29885         i.e. using $(objpfx)% and gmon-start.o.
29887 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
29889         [BZ #16519]
29890         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
29891         (__ieee754_sinh): Force underflow exception for arguments with
29892         small absolute value.
29893         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
29894         (__ieee754_sinhf): Force underflow exception for arguments with
29895         small absolute value.
29896         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
29897         (__ieee754_sinhl): Force underflow exception for arguments with
29898         small absolute value.
29899         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
29900         (__ieee754_sinhl): Force underflow exception for arguments with
29901         small absolute value.
29902         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
29903         (__ieee754_sinhl): Force underflow exception for arguments with
29904         small absolute value.
29905         * math/auto-libm-test-in: Add more tests of sinh.
29906         * math/auto-libm-test-out: Regenerated.
29907         * sysdeps/i386/fpu/libm-test-ulps: Update.
29909 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
29911         * libio/oldfileops.c: Include unistd.h.
29913 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
29915         * stdlib/isomac.c: Include ctype.h.
29917 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
29919         * dirent/tst-seekdir.c (main): Converted to ...
29920         (do_test): ... this.
29921         (TEST_FUNCTION): New macro.
29922         Include test-skeleton.c.
29923         * elf/tst-dlmodcount.c (main): Converted to ...
29924         (do_test): ... this.
29925         (TEST_FUNCTION): New macro.
29926         Include test-skeleton.c.
29927         * elf/tst-order-main.c (main): Converted to ...
29928         (do_test): ... this.
29929         (TEST_FUNCTION): New macro.
29930         Include test-skeleton.c.
29931         * elf/tst-pie2.c (main): Converted to ...
29932         (do_test): ... this.
29933         (TEST_FUNCTION): New macro.
29934         Include test-skeleton.c.
29935         * inet/tst-ether_aton.c (main): Converted to ...
29936         (do_test): ... this.
29937         (TEST_FUNCTION): New macro.
29938         Include test-skeleton.c.
29939         * misc/tst-mntent.c (main): Converted to ...
29940         (do_test): ... this.
29941         (TEST_FUNCTION): New macro.
29942         Include test-skeleton.c.
29943         * misc/tst-tsearch.c (main): Converted to ...
29944         (do_test): ... this.
29945         (TEST_FUNCTION): New macro.
29946         Include test-skeleton.c.
29947         * posix/tst-regexloc.c (main): Converted to ...
29948         (do_test): ... this.
29949         (TEST_FUNCTION): New macro.
29950         Include test-skeleton.c.
29951         * resolv/tst-aton.c (main): Converted to ...
29952         (do_test): ... this.
29953         (TEST_FUNCTION): New macro.
29954         Include test-skeleton.c.
29955         * stdio-common/test-fwrite.c (main): Converted to ...
29956         (do_test): ... this.
29957         (TEST_FUNCTION): New macro.
29958         Include test-skeleton.c.
29959         * stdio-common/tst-ferror.c (main): Converted to ...
29960         (do_test): ... this.
29961         (TEST_FUNCTION): New macro.
29962         Include test-skeleton.c.
29963         * stdio-common/tst-printf.c (main): Converted to ...
29964         (do_test): ... this.
29965         (TEST_FUNCTION): New macro.
29966         Include test-skeleton.c.
29967         * stdio-common/tst-printfsz.c (main): Converted to ...
29968         (do_test): ... this.
29969         (TEST_FUNCTION): New macro.
29970         Include test-skeleton.c.
29971         * stdlib/tst-strtod.c (main): Converted to ...
29972         (do_test): ... this.
29973         (TEST_FUNCTION): New macro.
29974         Include test-skeleton.c.
29975         * string/tst-strlen.c (main): Converted to ...
29976         (do_test): ... this.
29977         (TEST_FUNCTION): New macro.
29978         Include test-skeleton.c.
29979         * string/tst-svc.c (main): Converted to ...
29980         (do_test): ... this.
29981         (TEST_FUNCTION): New macro.
29982         Include test-skeleton.c.
29983         * time/tst-strptime.c (main): Converted to ...
29984         (do_test): ... this.
29985         (TEST_FUNCTION): New macro.
29986         Include test-skeleton.c.
29987         * timezone/tst-timezone.c (main): Converted to ...
29988         (do_test): ... this.
29989         (TEST_FUNCTION): New macro.
29990         Include test-skeleton.c.
29992 2015-08-05  Zack Weinberg  <zackw@panix.com>
29994         * misc/regexp.h: Update comments.
29996 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
29998         [BZ #18635]
29999         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
30000         before return label.
30002 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
30004         [BZ #18661]
30005         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
30006         when calling __errno_location.
30007         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
30008         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
30010 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
30012         [BZ #18661]
30013         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
30014         (__lll_timedwait_tid): Align stack to 16 bytes when calling
30015         __gettimeofday.
30017 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
30019         [BZ #18661]
30020         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30021         (__start_context): Don't use pop to restore %rdi so that stack
30022         is aligned to 16 bytes when calling __setcontext.
30024 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
30026         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
30027         only for libc.
30028         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
30030 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
30032         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
30033         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
30034         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
30036 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
30038         * string/memccpy.c (memccpy):
30039         Improve performance by using memchr/memcpy/__mempcpy.
30041 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
30043         * string/strncpy.c (strncpy):
30044         Improve performance by using __strnlen/memcpy.
30046 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
30048         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
30049         Optimize to avoid an unnecessary FPCR read.
30051 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
30053         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
30054         Optimize to reduce FPCR/FPSR accesses.
30056 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
30058         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
30059         dead->data[category] != NULL.
30061 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
30063         [BZ #18647]
30064         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
30065         and |x| close to 1, use absolute value of x when computing log.
30066         * math/auto-libm-test-in: Add more tests of pow.
30067         * math/auto-libm-test-out: Regenerated.
30069 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30071         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
30072         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
30073         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
30075 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
30077         [BZ #18525]
30078         * locales/km_KH: Remove timezone definition.
30079         * locales/lo_LA: Likewise.
30080         * locales/my_MM: Likewise.
30081         * locales/nan_TW@latin: Likewise.
30082         * locales/th_TH: Likewise.
30083         * locales/uk_UA: Likewise.
30085 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
30087         [BZ #18265]
30088         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
30089         (wcsncat): Likewise.
30090         (wcscmp): Likewise.
30091         (wcsncmp): Likewise.
30093 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
30095         * test-skeleton.c (usage): New function.
30096         (main): Call usage when opt is '?'.
30098 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
30100         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
30101         before first use.
30103 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
30105         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
30106         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
30107         in there too.
30109 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
30111         * version.h (RELEASE): Set to "development".
30112         (VERSION): Set to "2.22.90"
30114         * version.h (RELEASE): Set to "stable".
30115         (VERSION): Set to "2.22"
30116         * include/features.h (__GLIBC_MINOR__): Set to 22.
30118 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
30120         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
30121         Restructure macro to avoid "value computed is not used" warning.
30122         (atomic_compare_and_exchange_val_acq): Likewise.
30124 2015-08-04  Andreas Schwab  <schwab@suse.de>
30126         [BZ #18635]
30127         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
30128         ret.
30129         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
30131 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
30133         * po/pl.po: Updated translation.
30134         * po/uk.po: Likewise.
30135         * po/fi.po: Likewise.
30136         * po/ko.po: Likewise.
30137         * po/ru.po: Likewise.
30138         * po/vi.po: Likewise.
30140 2015-07-31  Zack Weinberg  <zackw@panix.com>
30142         [BZ #18681]
30143         * regexp.h: Add unconditional #warning stating that this header
30144         will be removed soon.  Revise banner comment to match.
30145         (compile): Consistently use ERROR instead of RETURN to report
30146         errors (partial fix for BZ #18681).
30147         * regexp.c: Don't include regexp.h. Remove some unnecessary
30148         declarations.
30150 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
30152         * po/libc.pot: Regenerated.
30154 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
30156         [BZ #18740]
30157         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
30158         float-vlen4-arch-ext-cflags): Removed.
30159         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
30160         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
30162 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
30164         [BZ #14113]
30165         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
30166         aligned to __aligned__.
30167         (pthread_cond_t, pthread_rwlock_t): Likewise.
30169 2015-07-30  Torvald Riegel  <triegel@redhat.com>
30171         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
30173 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
30175         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
30176         (struct sigaction): Change sa_flags from a long to an int, and add
30177         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
30179 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
30181         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
30182         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
30183         sysdeps/generic/sysdep.h include.
30184         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
30185         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
30186         sysdeps/hppa/sysdep.h.
30187         (ENTRY, PSEUDO): Undefine before defining.
30189 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
30191         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
30192         from scratch to use INTERNAL_SYSCALL.
30194 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
30196         [BZ #18078]
30197         * scripts/check-localplt.awk: Support alternate relocations.
30198         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
30199         sections.
30200         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
30201         malloc entries with + REL R_386_GLOB_DAT.
30202         * sysdeps/x86_64/localplt.data: New file.
30204 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
30206         [BZ #18731]
30207         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
30208         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30209         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30211 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
30213         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
30215 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
30217         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
30218         directly in terms of __sync_fetch_and_add and delete (int) cast.
30220 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
30222         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
30223         the -D_ASM_IA64_CURRENT_H flag.
30225 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
30227         [BZ #18641]
30228         * pwd/pwd.h (putpwent): Delete __nonnull markings.
30230 2015-07-27  Andreas Schwab  <schwab@suse.de>
30232         * conform/conformtest.pl (checknamespace): Filter out string
30233         literals while tokenizing.
30235 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
30237         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
30238         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
30239         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
30241 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
30243         * nptl/tst-join7mod.c: Add #include <string.h>.
30245 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
30247         * sysdeps/nios2/libm-test-ulps: Update.
30249 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
30251         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
30252         Fix order of arguments to the rt_sigprocmask syscall.
30253         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
30254         Likewise.
30256 2015-07-24  Roland McGrath  <roland@hack.frob.com>
30258         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
30260 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30262         [BZ #18457]
30263         * nptl/Makefile (tests): New test case tst-join7.
30264         (modules-names): New test case module tst-join7mod.
30265         * nptl/tst-join7.c: New file.
30266         * nptl/tst-join7mod.c: New file.
30267         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
30268         all translation units in libc.so, libpthread.so and rtld.
30270 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30272         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30274 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
30276         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
30277         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
30278         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
30279         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
30280         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
30281         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
30282         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
30283         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
30284         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
30285         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
30286         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
30287         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
30288         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
30289         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
30290         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
30291         implementation.
30293 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30295         [BZ #17711]
30296         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
30297         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
30298         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
30299         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
30300         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
30301         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
30303 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30305         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
30306         instead of just saying load lock in the comments.
30308 2015-07-23  Roland McGrath  <roland@hack.frob.com>
30310         * sysdeps/unix/Subdirs: Moved ...
30311         * sysdeps/posix/Subdirs: ... here.
30312         * login/pty.h (struct termios, struct winsize): Add forward decls.
30313         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
30314         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
30315         * sysdeps/arm/nacl/libc.abilist: Updated.
30316         * sysdeps/nacl/libutil.abilist: New file.
30318         * bits/signum.h: Update comments to mention 1003.1-2013 too.
30319         (SIGWINCH): New macro.
30321         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
30322         * sysdeps/arm/nacl/libc.abilist: Add it.
30324 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
30326         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
30328 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
30330         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
30331         Swap __glibc_reserved0 and sa_flags order.
30333 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30335         [BZ #18657]
30336         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
30337         are pending TLS destructor calls.
30338         * include/link.h (struct link_map): Add concurrency note for
30339         L_TLS_DTOR_COUNT.
30340         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
30341         Don't touch the link map flag.  Atomically increment
30342         l_tls_dtor_count.
30343         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
30344         Avoid taking the load lock and don't touch the link map flag.
30345         * stdlib/tst-tls-atexit-nodelete.c: New test case.
30346         * stdlib/Makefile (tests): Use it.
30347         * stdlib/tst-tls-atexit.c (do_test): dlopen
30348         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
30349         to allow tst-tls-atexit-nodelete test case to use it.
30351 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
30353         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
30354         to bits/types.h.
30355         (msgqnum_t): New typedef.
30356         (msglen_t): Likewise.
30357         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
30358         and msg_qbytes type to msglen_t.
30360 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
30362         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
30363         pad0 to __glibc_reserved0.
30364         (struct stat64): Likewise.
30366 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
30368         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
30369         Change sa_flags from a long to an int and add __glibc_reserved0 before
30370         it for padding.
30372 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
30374         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
30375         anonymous by deleting "siginfo" name.
30377 2015-07-21  Roland McGrath  <roland@hack.frob.com>
30379         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
30380         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
30381         rather than __nacl_irt_filename.
30382         * sysdeps/nacl/xstat.c (__xstat): Likewise.
30384         * NEWS: New item for arm-nacl port.
30385         * sysdeps/arm/nacl/libc.abilist: New file.
30386         * sysdeps/nacl/ld.abilist: New file.
30387         * sysdeps/nacl/libBrokenLocale.abilist: New file.
30388         * sysdeps/nacl/libanl.abilist: New file.
30389         * sysdeps/nacl/libcrypt.abilist: New file.
30390         * sysdeps/nacl/libdl.abilist: New file.
30391         * sysdeps/nacl/libm.abilist: New file.
30392         * sysdeps/nacl/libpthread.abilist: New file.
30393         * sysdeps/nacl/libresolv.abilist: New file.
30394         * sysdeps/nacl/librt.abilist: New file.
30396 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
30398         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
30399         __startcontext to initialize the new context.
30400         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
30401         up CFI directive to forbid further backtracing.
30403 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
30405         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
30406         reference.
30407         * charmaps/ANSI_X3.4-1968: Likewise.
30408         * charmaps/BS_4730: Likewise.
30409         * charmaps/BS_VIEWDATA: Likewise.
30410         * charmaps/CP1250: Likewise.
30411         * charmaps/CP1251: Likewise.
30412         * charmaps/CP1252: Likewise.
30413         * charmaps/CP1253: Likewise.
30414         * charmaps/CP1254: Likewise.
30415         * charmaps/CP1255: Likewise.
30416         * charmaps/CP1256: Likewise.
30417         * charmaps/CSN_369103: Likewise.
30418         * charmaps/EBCDIC-DK-NO: Likewise.
30419         * charmaps/GB_1988-80: Likewise.
30420         * charmaps/GREEK-CCITT: Likewise.
30421         * charmaps/GREEK7: Likewise.
30422         * charmaps/INIS-8: Likewise.
30423         * charmaps/ISIRI-3342: Likewise.
30424         * charmaps/ISO_2033-1983: Likewise.
30425         * charmaps/ISO_5427-EXT: Likewise.
30426         * locales/POSIX: Likewise.
30427         * locales/ar_SA: Likewise.
30428         * locales/be_BY: Likewise.
30429         * locales/be_BY@latin: Likewise.
30430         * locales/ca_ES: Likewise.
30431         * locales/cs_CZ: Likewise.
30432         * locales/da_DK: Likewise.
30433         * locales/de_BE: Likewise.
30434         * locales/de_CH: Likewise.
30435         * locales/de_LU: Likewise.
30436         * locales/en_AU: Likewise.
30437         * locales/en_BW: Likewise.
30438         * locales/en_CA: Likewise.
30439         * locales/en_DK: Likewise.
30440         * locales/en_GB: Likewise.
30441         * locales/en_IE: Likewise.
30442         * locales/en_NZ: Likewise.
30443         * locales/en_ZA: Likewise.
30444         * locales/en_ZW: Likewise.
30445         * locales/es_AR: Likewise.
30446         * locales/es_BO: Likewise.
30447         * locales/es_CL: Likewise.
30448         * locales/es_CO: Likewise.
30449         * locales/es_DO: Likewise.
30450         * locales/es_EC: Likewise.
30451         * locales/es_ES: Likewise.
30452         * locales/es_HN: Likewise.
30453         * locales/es_MX: Likewise.
30454         * locales/es_PA: Likewise.
30455         * locales/es_PE: Likewise.
30456         * locales/es_PY: Likewise.
30457         * locales/es_SV: Likewise.
30458         * locales/es_US: Likewise.
30459         * locales/es_UY: Likewise.
30460         * locales/es_VE: Likewise.
30461         * locales/et_EE: Likewise.
30462         * locales/fa_IR: Likewise.
30463         * locales/fo_FO: Likewise.
30464         * locales/fr_CA: Likewise.
30465         * locales/fr_CH: Likewise.
30466         * locales/gv_GB: Likewise.
30467         * locales/he_IL: Likewise.
30468         * locales/hr_HR: Likewise.
30469         * locales/id_ID: Likewise.
30470         * locales/is_IS: Likewise.
30471         * locales/it_CH: Likewise.
30472         * locales/iw_IL: Likewise.
30473         * locales/kl_GL: Likewise.
30474         * locales/ko_KR: Likewise.
30475         * locales/kw_GB: Likewise.
30476         * locales/lg_UG: Likewise.
30477         * locales/lt_LT: Likewise.
30478         * locales/lv_LV: Likewise.
30479         * locales/mi_NZ: Likewise.
30480         * locales/nhn_MX: Likewise.
30481         * locales/nl_BE: Likewise.
30482         * locales/pl_PL: Likewise.
30483         * locales/sk_SK: Likewise.
30484         * locales/sl_SI: Likewise.
30485         * locales/sv_FI: Likewise.
30486         * locales/tl_PH: Likewise.
30487         * locales/tr_TR: Likewise.
30488         * locales/vi_VN: Likewise.
30490 2015-07-21  Khem Raj  <raj.khem@gmail.com>
30492         [BZ #17475]
30493         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
30494         of tu_IN and bh_IN.
30496 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
30498         [BZ #18694]
30499         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
30500         bits/wordsize.h.
30501         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
30503 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30505         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
30506         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
30507         (spawn_thread): New function.
30508         (load): Rename to reg_dtor_and_close.  Move dlopen to...
30509         (do_test): ... here.  Use IS_LOADED to test for its
30510         availability.
30512 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
30514         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
30516 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
30518         [BZ #18696]
30519         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
30520         si_addr_bnd.
30521         (si_lower): New.
30522         (si_upper): Likewise.
30524 2015-07-16  David S. Miller  <davem@davemloft.net>
30526         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
30528 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30530         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
30531         buffer.
30532         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
30533         fail output information.
30535 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30537         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
30538         and strstr-ppc64..
30539         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
30540         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
30541         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
30542         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
30543         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
30545 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
30547         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
30548         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
30549         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
30550         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
30552 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
30554         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
30555         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
30556         rtld_hidden_proto.
30557         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
30559 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30561         * tst-nodelete-opened.c (do_test): Add comment to clarify how
30562         the test can fail.
30564         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
30566         [BZ #18676]
30567         * elf/tst-nodelete-opened.c: New test case.
30568         * elf/tst-nodelete-opened-lib.c: New test case module.
30569         * elf/Makefile (tests, modules-names): Use them.
30570         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
30571         early.
30573 2015-07-15  David S. Miller  <davem@davemloft.net>
30575         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
30576         futex-intenal.h
30577         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
30578         * sysdeps/sparc/sparc64/Makefile: Likewise.
30579         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
30580         Remove space from macro define.
30581         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
30583 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
30585         [BZ #17475]
30586         * locale/iso-639.def: Update Bhili and Tulu language codes as
30587         per iso639-3.
30589 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
30591         * elf/tst-leaks1.c (main): Converted to ...
30592         (do_test): ... this.
30593         (TEST_FUNCTION): New macro.
30594         Include test-skeleton.c.
30595         * localedata/tst-langinfo.c (main): Converted to ...
30596         (do_test): ... this.
30597         (TEST_FUNCTION): New macro.
30598         Include test-skeleton.c.
30599         * math/test-fpucw.c (main): Converted to ...
30600         (do_test): ... this.
30601         (TEST_FUNCTION): New macro.
30602         Include test-skeleton.c.
30603         * math/test-tgmath.c (main): Converted to ...
30604         (do_test): ... this.
30605         (TEST_FUNCTION): New macro.
30606         Include test-skeleton.c.
30607         * math/test-tgmath2.c (main): Converted to ...
30608         (do_test): ... this.
30609         (TEST_FUNCTION): New macro.
30610         Include test-skeleton.c.
30611         * setjmp/tst-setjmp.c (main): Converted to ...
30612         (do_test): ... this.
30613         (TEST_FUNCTION): New macro.
30614         Include test-skeleton.c.
30615         * stdio-common/tst-sscanf.c (main): Converted to ...
30616         (do_test): ... this.
30617         (TEST_FUNCTION): New macro.
30618         Include test-skeleton.c.
30619         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
30620         (do_test): ... this.
30621         (TEST_FUNCTION): New macro.
30622         Include test-skeleton.c.
30624         * elf/tst-audit9.c (main): Converted to ...
30625         (do_test): ... this.
30626         (TEST_FUNCTION): New macro.
30627         Include test-skeleton.c.
30629 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
30631         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
30633 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
30635         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
30636         New variable.
30638 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
30640         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
30642 2015-07-14  Roland McGrath  <roland@hack.frob.com>
30644         * sysdeps/generic/dl-fileid.h: New file.
30645         * sysdeps/posix/dl-fileid.h: New file.
30646         * sysdeps/nacl/dl-fileid.h: New file.
30647         * include/link.h: Include <dl-fileid.h>.
30648         (struct link_map): Replace l_dev and l_ino with l_file_id.
30649         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
30650         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
30651         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
30653 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30655         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
30657 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30659         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
30660         Add iff $CXX is set.
30661         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
30662         Likewise.
30663         (tst-nodelete-zmodiff): Likewise.
30664         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
30666 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30668         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
30670 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
30672         * sysdeps/aarch64/fpu/math_private.h
30673         (define math_opt_barrier): Add AArch64 version.
30674         (math_force_eval): Likewise.
30676 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
30678         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
30680 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
30682         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
30683         %ld with %jd and cast to intmax_t.
30684         (do_test_length_zero): Likewise.
30686 2015-07-10  Roland McGrath  <roland@hack.frob.com>
30688         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
30690 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
30692         * sysdeps/tile/libm-test-ulps: Regenerated.
30694         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
30695         Comment out the whole function, not just its body.
30697 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30699         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
30700         locks.
30702         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
30704 2015-07-10  Torvald Riegel  <triegel@redhat.com>
30706         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
30707         (sem_assume_only_signals_cause_futex_EINTR): Remove.
30709 2015-07-10  Torvald Riegel  <triegel@redhat.com>
30711         * sysdeps/nptl/futex-internal.h: New file.
30712         * sysdeps/nacl/futex-internal.h: New file.
30713         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
30714         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
30715         error checking.
30716         (setxid_unmark_thread): Likewise.
30717         (__nptl_setxid): Likewise.
30718         (__wait_lookup_done): Likewise.
30719         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
30720         * nptl/nptl-init.c (sighandler_setxid): Likewise.
30721         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
30722         * nptl/pthread_once.c (clear_once_control): Likewise.
30723         (__pthread_once_slow): Likewise.
30724         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
30725         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
30726         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
30727         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
30728         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
30729         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
30730         Likewise.
30731         (__pthread_rwlock_rdlock): Likewise.
30732         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
30733         Likewise.
30734         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
30735         Likewise.
30736         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
30737         Likewise.
30738         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
30739         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
30740         Likewise.
30741         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
30742         __ASSUME_PRIVATE_FUTEX check.
30743         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
30744         Check that shared futexes are supported.
30745         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
30746         wrappers with error checking.
30747         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
30748         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
30749         * nptl/pthread_barrierattr_setpshared.c
30750         (pthread_barrierattr_setpshared): Check that shared futexes are
30751         supported.
30752         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
30753         Likewise.
30754         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
30755         Likewise.
30756         * nptl/sem_init.c (futex_private_if_supported): Remove.
30757         (__new_sem_init): Adapt and check that shared futexes are supported.
30758         * nptl/sem_open.c (sem_open): Likewise.
30759         * nptl/sem_post.c (futex_wake): Remove.
30760         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
30761         (do_futex_wait): Use futex wrappers with error checking.
30762         * nptl/sem_wait.c: Include lowlevellock.h.
30763         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
30764         Use futex_supports_pshared.
30765         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
30766         Use futex wrappers with error checking.
30767         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
30768         Likewise.
30769         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
30770         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
30771         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
30772         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
30773         (futex_wake): Likewise.
30774         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
30775         (do_futex_wait): Use futex wrappers with error checking.
30776         (__new_sem_wait_slow): Update EINTR handling.
30777         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
30779 2015-07-09  Martin Sebor  <msebor@redhat.com>
30781         [BZ #18435]
30782         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
30783         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
30784         * nptl/Makefile (test-xfail-tst-once5): Define.
30786 2015-07-09  Roland McGrath  <roland@hack.frob.com>
30788         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
30789         * elf/dl-minimal.c: For readability, reorder some definitions and
30790         introduce more page breaks.  Include <stdio.h>.
30791         (__libc_fatal): New function.
30793         * include/unistd.h: Add rtld_hidden_proto for _exit.
30794         * posix/_exit.c: Add rtld_hidden_def.
30795         * sysdeps/mach/hurd/_exit.c: Likewise.
30796         * sysdeps/nacl/_exit.c: Likewise.
30797         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
30798         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
30800 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
30802         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
30803         bndmov encoding with zero displacement.
30805 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
30806             H.J. Lu  <hongjiu.lu@intel.com>
30808         [BZ #18134]
30809         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
30810         * sysdeps/i386/configure: Regenerated.
30811         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
30812         (_dl_runtime_profile): Save and restore Intel MPX return bound
30813         registers when calling _dl_call_pltexit.  Add
30814         PRESERVE_BND_REGS_PREFIX before return.
30815         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
30816         (LRV_BND1_OFFSET): Likewise.
30817         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
30818         lrv_bnd1.
30819         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
30820         typo in bndmov encoding.
30821         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
30822         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
30823         branch instructions to preserve bounds.
30825 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
30828         [GLIBC_2.22]: Add fmemopen.
30830 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30832         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
30833         returns an error, also try to use host port from __mach_host_self for
30834         the __vm_wire call.
30835         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
30837 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30839         [BZ #18400]
30840         [BZ #18648]
30841         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
30842         Fix pr_uid and pr_gid members.
30843         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
30844         definition to elf_greg_t.
30846 2015-07-08  Roland McGrath  <roland@hack.frob.com>
30848         [BZ #18383]
30849         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
30850         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
30851         * sysdeps/arm/configure: Regenerated.
30852         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
30853         (test-xfail-tst-tlsalign-static): Variable removed.
30855         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
30856         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
30857         rather than explicit 'ln -s'.
30859         * resolv/rpc/netdb.h: New file.
30860         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
30862 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30864         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
30865         length buffers.
30866         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
30867         test-skeleton.c.
30869         [BZ #6544]
30870         [BZ #11216]
30871         [BZ #12836]
30872         [BZ #13151]
30873         [BZ #13152]
30874         [BZ #14292]
30875         * include/stdio.h (fmemopen): Remove hidden prototype.
30876         (__fmemopen): Add new hidden prototype.
30877         * libio/Makefile: Add oldfmemopen object.
30878         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
30879         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
30880         compliance.
30881         * libio/oldfmemopen.c: New file: old fmemopen implementation for
30882         symbol compatibility.
30883         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
30884         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
30885         fmemopen.
30886         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
30887         on append and read mode.
30888         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
30889         fmemopen.
30890         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
30891         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
30892         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
30893         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
30894         Likewise.
30895         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
30896         [GLIBC_2.22]: Likewise.
30897         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
30898         Likewise.
30899         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
30900         Likewise.
30901         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
30902         [GLIBC_2.22]: Likewise.
30903         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
30904         [GLIBC_2.22]: Likewise.
30905         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
30906         [GLIBC_2.22]: Likewise.
30907         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
30908         [GLIBC_2.22]: Likewise.
30909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
30910         [GLIBC_2.22]: Likewise.
30911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
30912         [GLIBC_2.22]: Likewise.
30913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
30914         [GLIBC_2.22]: Likewise.
30915         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
30916         Likewise.
30917         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
30918         Likewise.
30919         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
30920         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
30921         [GLIBC_2.22]: Likewise.
30922         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
30923         [GLIBC_2.22]: Likewise.
30924         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
30925         [GLIBC_2.22]: Likewise.
30926         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
30927         [GLIBC_2.22]: Likewise.
30928         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
30929         Likewise.
30930         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
30931         Likewise.
30932         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
30933         Likewise.
30934         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
30935         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
30937 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
30939         [BZ #18643]
30940         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
30941         IPV6_PATHMTU, and IPV6_DONTFRAG.
30943 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
30945         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
30946         and _IO_UNBUFFERED.
30947         * libio/oldfileops.c: Likewise.
30948         * libio/wfileops.c: Likewise.
30950 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
30952         * nscd/selinux.c: Delete selinux/flask.h include.
30954 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
30956         [BZ #18641]
30957         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
30958         (putpwent): Likewise.
30959         (getpwnam): Likewise.
30960         (getpwent_r): Likewise.
30961         (getpwuid_r): Likewise.
30962         (getpwnam_r): Likewise.
30963         (fgetpwent_r): Likewise.
30965 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
30967         [BZ #18557]
30968         * inet/rcmd.c (__validuser2_sa): Check user first to
30969         short-circuit host check.
30971 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
30972             Mikhail Ilin  <m.ilin@samsung.com>
30974         [BZ #17833]
30975         * elf/Makefile (tests): Add tst-nodelete.
30976         (modules-names): Add tst-nodelete-uniquemod.
30977         (tst-nodelete-uniquemod.so-no-z-defs): New.
30978         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
30979         (tst-nodelete-zmod.so-no-z-defs): Likewise.
30980         ($(objpfx)tst-nodelete): Likewise.
30981         ($(objpfx)tst-nodelete.out): Likewise.
30982         (LDFLAGS-tst-nodelete): Likewise.
30983         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
30984         * elf/dl-close.c (_dl_close_worker): Add a parameter to
30985         implement forced object deletion.
30986         (_dl_close): Pass false to _dl_close_worker.
30987         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
30988         * elf/tst-nodelete.cc: New file.
30989         * elf/tst-nodeletelib.cc: Likewise.
30990         * elf/tst-znodeletelib.cc: Likewise.
30991         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
30993 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
30995         [BZ #18508]
30996         * stdlib/Makefile ($(objpfx)tst-makecontext3):
30997         Depend on $(libdl).
30998         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
30999         is not called infinitely times.
31000         (backtrace_helper): New function.
31001         (trace_arg): New struct.
31002         (st1): Enlarge stack size.
31003         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31004         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
31005         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31006         Likewise.
31008 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
31010         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31012 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
31014         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
31015         Include sys/types.h instead of bits/types.h.
31016         Remove inclusion of bits/wordsize.h.
31018 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
31020         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
31021         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
31022         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
31023         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
31024         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
31025         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
31027 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
31029         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
31030         link-defines.sym.
31031         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
31032         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
31033         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
31034         and LR_SIZE.
31035         * sysdeps/i386/link-defines.sym: New file.
31037 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
31039         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
31040         (modules-names): Add tst-auditmod3a tst-auditmod3b.
31041         ($(objpfx)tst-audit3): New rule.
31042         ($(objpfx)tst-audit3.out): Likewise.
31043         * sysdeps/i386/tst-audit3.c: New file.
31044         * sysdeps/i386/tst-audit3.h: Likewise.
31045         * sysdeps/i386/tst-auditmod3a.c: Likewise.
31046         * sysdeps/i386/tst-auditmod3b.c: Likewise.
31048 2015-07-07  Torvald Riegel  <triegel@redhat.com>
31050         [BZ #18633]
31051         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
31052         pointer in C code.
31053         (__strcat_c): Likewise.
31054         (__strcat_g): Likewise.
31056 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
31058         [BZ #18592]
31059         * misc/sbrk.c: Set errno to ENOMEM on overflow.
31061 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
31063         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
31064         New function.  (__ieee754_sqrtf): New function.
31065         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
31066         New function.
31067         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
31068         New function.
31070 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
31072         * sysdeps/ieee754/support.c: Remove unused file.
31074 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31076         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
31077         registers instead of d ones so the layout is kernel abi compatible.
31078         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
31079         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
31080         Likewise.
31082 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31084         * sysdeps/aarch64/libm-test-ulps: Regenerated.
31086 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
31088         [BZ #18619]
31089         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
31090         and return argument in case of subnormal argument.
31092 2015-07-01  Martin Sebor  <msebor@redhat.com>
31094         [BZ #18435]
31095         * nptl/Makefile: Add tst-once5.cc.
31096         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
31097         Remove macro redefinitions.
31098         * nptl/tst-once5.cc: New test.
31100 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
31102         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
31104         * sysdeps/arm/libm-test-ulps: Regenerated.
31106         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
31107         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31109 2015-06-30  Torvald Riegel  <triegel@redhat.com>
31111         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
31112         lll_lock_wait_private and lll_futex_wake probes.
31114         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
31115         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
31116         Likewise.
31117         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
31118         atomic_spin_nop.
31119         * sysdeps/x86_64/bits/atomic.h: Likewise.
31120         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
31121         to atomic_spin_nop and move ...
31122         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
31123         ... here and ...
31124         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
31125         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
31126         atomic_spin_nop instead of BUSY_WAIT_NOP.
31127         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
31128         Likewise.
31129         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
31130         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
31131         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
31132         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
31133         instead of atomic_delay.
31135 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
31137         [BZ #18613]
31138         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
31139         X_ADJ not X when adjusting exponent.
31140         (__ieee754_gamma_r): Do intermediate computations in
31141         round-to-nearest then adjust overflowing and underflowing results
31142         as needed.
31143         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
31144         of X_ADJ not X when adjusting exponent.
31145         (__ieee754_gammaf_r): Do intermediate computations in
31146         round-to-nearest then adjust overflowing and underflowing results
31147         as needed.
31148         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
31149         log of X_ADJ not X when adjusting exponent.
31150         (__ieee754_gammal_r): Do intermediate computations in
31151         round-to-nearest then adjust overflowing and underflowing results
31152         as needed.  Use 1.0L not 1.0f as numerator of division.
31153         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
31154         log of X_ADJ not X when adjusting exponent.
31155         (__ieee754_gammal_r): Do intermediate computations in
31156         round-to-nearest then adjust overflowing and underflowing results
31157         as needed.  Use 1.0L not 1.0f as numerator of division.
31158         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
31159         of X_ADJ not X when adjusting exponent.
31160         (__ieee754_gammal_r): Do intermediate computations in
31161         round-to-nearest then adjust overflowing and underflowing results
31162         as needed.  Use 1.0L not 1.0f as numerator of division.
31163         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
31164         to auto-libm-test-in.
31165         (tgamma_test): Use ALL_RM_TEST.
31166         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
31167         tests of tgamma with spurious-overflow.
31168         * math/auto-libm-test-out: Regenerated.
31169         * math/gen-libm-have-vector-test.sh: Do not check for START.
31170         * sysdeps/i386/fpu/libm-test-ulps: Update.
31171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31173         [BZ #18612]
31174         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
31175         arguments, just return 0.5 times the argument, with underflow
31176         forced as needed.
31177         * math/auto-libm-test-in: Add more tests of j1.
31178         * math/auto-libm-test-out: Regenerated.
31180         [BZ #16559]
31181         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
31182         (__ieee754_j1): Force underflow exception for small results.
31183         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
31184         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
31185         (__ieee754_j1f): Force underflow exception for small results.
31186         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
31187         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31188         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
31189         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
31190         (__ieee754_j1l): Force underflow exception for small results.
31191         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31192         * math/auto-libm-test-in: Add more tests of j1 and jn.
31193         * math/auto-libm-test-out: Regenerated.
31195         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
31196         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
31197         (PF_MPLS): Likewise.
31198         (AF_IB): Likewise.
31199         (AF_MPLS): Likewise.
31200         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
31201         value and macro.
31202         (MS_RMT_MASK): Include MS_LAZYTIME.
31204 2015-06-26  Mel Gorman  <mgorman@suse.de>
31206         [BZ #18502]
31207         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
31208         already minimal.
31210 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
31212         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
31213         (DT_MIPS_NUM): Update.
31214         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
31215         DT_MIPS_RLD_MAP_REL.
31217 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
31219         [BZ #16559]
31220         [BZ #18602]
31221         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
31222         round-to-nearest internally then recompute results that
31223         underflowed to zero in the original rounding mode.
31224         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
31225         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31226         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
31227         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31228         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
31229         * sysdeps/i386/fpu/libm-test-ulps: Update.
31230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31232 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
31234         * NEWS: Fixed description of link with vector math library.
31236 2015-06-25  Andreas Schwab  <schwab@suse.de>
31238         [BZ #18549]
31239         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
31240         * libio/test-fmemopen.c (do_test): Add test for it.
31242 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
31244         [BZ #17841]
31245         * Makeconfig (no-pie-ldflag): New.
31246         (+link): Set to $(+link-pie) if default to PIE.
31247         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
31248         * config.make.in (build-pie-default): New.
31249         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
31250         is default.  AC_SUBST.
31251         * configure: Regenerated.
31252         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
31254 2015-06-24  Roland McGrath  <roland@hack.frob.com>
31256         * nptl/descr.h (struct pthread): Change type of field setxid_futex
31257         to 'unsigned int'.
31259         * resolv/gai_misc.h (struct waitlist): Change type of field
31260         counterp to 'volatile unsigned int *'.
31261         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
31262         FUTEXADDR and OLDVAL.
31263         * resolv/getaddrinfo_a.c (getaddrinfo_a):
31264         Give local variable TOTAL type 'volatile unsigned int'.
31265         (struct async_waitlist): Change type of field counter to 'unsigned int'.
31266         * resolv/gai_suspend.c (gai_suspend):
31267         Give local variable CNTR type 'unsigned int'.
31269         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
31270         counterp to 'volatile unsigned int *'.
31271         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
31272         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
31273         (aio_suspend): Give local variable CNTR type 'unsigned int'.
31274         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
31275         Give local variable TOTAL type 'volatile unsigned int'.
31276         (struct async_waitlist): Change type of field counter to 'unsigned int'.
31278 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
31280         [BZ #18383]
31281         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
31282         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
31283         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
31284         comment for i386/x86-64.
31285         (test-xfail-tst-tlsalign-extern-static): Removed.
31287 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
31289         * math/test-double.h: New file.
31290         * math/test-float.h: Likewise.
31291         * math/test-ldouble.h: Likewise.
31292         * math/test-math-inline.h: Likewise.
31293         * math/test-math-no-inline.h: Likewise.
31294         * math/test-math-scalar.h: Likewise.
31295         * math/test-math-vector.h: Likewise.
31296         * math/test-vec-loop.h: Remove file.  Contents moved into
31297         test-math-vector.h.
31298         * math/libm-test.inc (MATHCONST): Do not document macro.
31299         * math/test-double.c: Include test-double.h, test-math-no-inline.h
31300         and test-math-scalar.h.
31301         (FUNC): Remove macro.
31302         (FUNC_TEST): Likewise.
31303         (FLOAT): Likewise.
31304         (MATHCONST): Likewise.
31305         (PRINTF_EXPR): Likewise.
31306         (PRINTF_XEXPR): Likewise.
31307         (PRINTF_NEXPR): Likewise.
31308         (TEST_DOUBLE): Likewise.
31309         (TEST_MATHVEC): Likewise.
31310         (__NO_MATH_INLINES): Likewise.
31311         * math/test-float.c: Include test-float.h, test-math-no-inline.h
31312         and test-math-scalar.h.
31313         (FUNC): Remove macro.
31314         (FUNC_TEST): Likewise.
31315         (FLOAT): Likewise.
31316         (MATHCONST): Likewise.
31317         (PRINTF_EXPR): Likewise.
31318         (PRINTF_XEXPR): Likewise.
31319         (PRINTF_NEXPR): Likewise.
31320         (TEST_FLOAT): Likewise.
31321         (TEST_MATHVEC): Likewise.
31322         (__NO_MATH_INLINES): Likewise.
31323         * math/test-idouble.c: Include test-double.h, test-math-inline.h
31324         and test-math-scalar.h.
31325         (FUNC): Remove macro.
31326         (FUNC_TEST): Likewise.
31327         (FLOAT): Likewise.
31328         (MATHCONST): Likewise.
31329         (PRINTF_EXPR): Likewise.
31330         (PRINTF_XEXPR): Likewise.
31331         (PRINTF_NEXPR): Likewise.
31332         (TEST_DOUBLE): Likewise.
31333         (TEST_MATHVEC): Likewise.
31334         (TEST_INLINE): Likewise.
31335         (__NO_MATH_INLINES): Likewise.
31336         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
31337         test-math-scalar.h.
31338         (FUNC): Remove macro.
31339         (FUNC_TEST): Likewise.
31340         (FLOAT): Likewise.
31341         (MATHCONST): Likewise.
31342         (PRINTF_EXPR): Likewise.
31343         (PRINTF_XEXPR): Likewise.
31344         (PRINTF_NEXPR): Likewise.
31345         (TEST_FLOAT): Likewise.
31346         (TEST_MATHVEC): Likewise.
31347         (TEST_INLINE): Likewise.
31348         (__NO_MATH_INLINES): Likewise.
31349         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
31350         and test-math-scalar.h.
31351         (FUNC): Remove macro.
31352         (FUNC_TEST): Likewise.
31353         (FLOAT): Likewise.
31354         (MATHCONST): Likewise.
31355         (PRINTF_EXPR): Likewise.
31356         (PRINTF_XEXPR): Likewise.
31357         (PRINTF_NEXPR): Likewise.
31358         (TEST_LDOUBLE): Likewise.
31359         (TEST_MATHVEC): Likewise.
31360         (TEST_INLINE): Likewise.
31361         (__NO_MATH_INLINES): Likewise.
31362         * math/test-ldouble.c: Include test-ldouble.h,
31363         test-math-no-inline.h and test-math-scalar.h.
31364         (FUNC): Remove macro.
31365         (FUNC_TEST): Likewise.
31366         (FLOAT): Likewise.
31367         (MATHCONST): Likewise.
31368         (PRINTF_EXPR): Likewise.
31369         (PRINTF_XEXPR): Likewise.
31370         (PRINTF_NEXPR): Likewise.
31371         (TEST_LDOUBLE): Likewise.
31372         (TEST_MATHVEC): Likewise.
31373         (__NO_MATH_INLINES): Likewise.
31374         * math/test-double-vlen2.h: Include test-double.h,
31375         test-math-no-inline.h and test-math-vector.h.
31376         (FLOAT): Remove macro.
31377         (FUNC): Likewise.
31378         (MATHCONST): Likewise.
31379         (PRINTF_EXPR): Likewise.
31380         (PRINTF_XEXPR): Likewise.
31381         (PRINTF_NEXPR): Likewise.
31382         (TEST_DOUBLE): Likewise.
31383         (TEST_MATHVEC): Likewise.
31384         (__NO_MATH_INLINES): Likewise.
31385         (CNCT): Likewise.
31386         (CONCAT): Likewise.
31387         (WRAPPER_NAME): Likewise.
31388         (WRAPPER_DECL): Likewise.
31389         (WRAPPER_DECL_ff): Likewise.
31390         (WRAPPER_DECL_fFF): Likewise.
31391         (VECTOR_WRAPPER): Likewise.
31392         (VECTOR_WRAPPER_ff): Likewise.
31393         (VECTOR_WRAPPER_fFF): Likewise.
31394         (VEC_LEN): New macro.
31395         * math/test-double-vlen4.h: Include test-double.h,
31396         test-math-no-inline.h and test-math-vector.h.
31397         (FLOAT): Remove macro.
31398         (FUNC): Likewise.
31399         (MATHCONST): Likewise.
31400         (PRINTF_EXPR): Likewise.
31401         (PRINTF_XEXPR): Likewise.
31402         (PRINTF_NEXPR): Likewise.
31403         (TEST_DOUBLE): Likewise.
31404         (TEST_MATHVEC): Likewise.
31405         (__NO_MATH_INLINES): Likewise.
31406         (CNCT): Likewise.
31407         (CONCAT): Likewise.
31408         (WRAPPER_NAME): Likewise.
31409         (WRAPPER_DECL): Likewise.
31410         (WRAPPER_DECL_ff): Likewise.
31411         (WRAPPER_DECL_fFF): Likewise.
31412         (VECTOR_WRAPPER): Likewise.
31413         (VECTOR_WRAPPER_ff): Likewise.
31414         (VECTOR_WRAPPER_fFF): Likewise.
31415         (VEC_LEN): New macro.
31416         * math/test-double-vlen8.h: Include test-double.h,
31417         test-math-no-inline.h and test-math-vector.h.
31418         (FLOAT): Remove macro.
31419         (FUNC): Likewise.
31420         (MATHCONST): Likewise.
31421         (PRINTF_EXPR): Likewise.
31422         (PRINTF_XEXPR): Likewise.
31423         (PRINTF_NEXPR): Likewise.
31424         (TEST_DOUBLE): Likewise.
31425         (TEST_MATHVEC): Likewise.
31426         (__NO_MATH_INLINES): Likewise.
31427         (CNCT): Likewise.
31428         (CONCAT): Likewise.
31429         (WRAPPER_NAME): Likewise.
31430         (WRAPPER_DECL): Likewise.
31431         (WRAPPER_DECL_ff): Likewise.
31432         (WRAPPER_DECL_fFF): Likewise.
31433         (VECTOR_WRAPPER): Likewise.
31434         (VECTOR_WRAPPER_ff): Likewise.
31435         (VECTOR_WRAPPER_fFF): Likewise.
31436         (VEC_LEN): New macro.
31437         * math/test-float-vlen4.h: Include test-float.h,
31438         test-math-no-inline.h and test-math-vector.h.
31439         (FLOAT): Remove macro.
31440         (FUNC): Likewise.
31441         (MATHCONST): Likewise.
31442         (PRINTF_EXPR): Likewise.
31443         (PRINTF_XEXPR): Likewise.
31444         (PRINTF_NEXPR): Likewise.
31445         (TEST_FLOAT): Likewise.
31446         (TEST_MATHVEC): Likewise.
31447         (__NO_MATH_INLINES): Likewise.
31448         (CNCT): Likewise.
31449         (CONCAT): Likewise.
31450         (WRAPPER_NAME): Likewise.
31451         (WRAPPER_DECL): Likewise.
31452         (WRAPPER_DECL_ff): Likewise.
31453         (WRAPPER_DECL_fFF): Likewise.
31454         (VECTOR_WRAPPER): Likewise.
31455         (VECTOR_WRAPPER_ff): Likewise.
31456         (VECTOR_WRAPPER_fFF): Likewise.
31457         (VEC_LEN): New macro.
31458         * math/test-float-vlen8.h: Include test-float.h,
31459         test-math-no-inline.h and test-math-vector.h.
31460         (FLOAT): Remove macro.
31461         (FUNC): Likewise.
31462         (MATHCONST): Likewise.
31463         (PRINTF_EXPR): Likewise.
31464         (PRINTF_XEXPR): Likewise.
31465         (PRINTF_NEXPR): Likewise.
31466         (TEST_FLOAT): Likewise.
31467         (TEST_MATHVEC): Likewise.
31468         (__NO_MATH_INLINES): Likewise.
31469         (CNCT): Likewise.
31470         (CONCAT): Likewise.
31471         (WRAPPER_NAME): Likewise.
31472         (WRAPPER_DECL): Likewise.
31473         (WRAPPER_DECL_ff): Likewise.
31474         (WRAPPER_DECL_fFF): Likewise.
31475         (VECTOR_WRAPPER): Likewise.
31476         (VECTOR_WRAPPER_ff): Likewise.
31477         (VECTOR_WRAPPER_fFF): Likewise.
31478         (VEC_LEN): New macro.
31479         * math/test-float-vlen16.h: Include test-float.h,
31480         test-math-no-inline.h and test-math-vector.h.
31481         (FLOAT): Remove macro.
31482         (FUNC): Likewise.
31483         (MATHCONST): Likewise.
31484         (PRINTF_EXPR): Likewise.
31485         (PRINTF_XEXPR): Likewise.
31486         (PRINTF_NEXPR): Likewise.
31487         (TEST_FLOAT): Likewise.
31488         (TEST_MATHVEC): Likewise.
31489         (__NO_MATH_INLINES): Likewise.
31490         (CNCT): Likewise.
31491         (CONCAT): Likewise.
31492         (WRAPPER_NAME): Likewise.
31493         (WRAPPER_DECL): Likewise.
31494         (WRAPPER_DECL_ff): Likewise.
31495         (WRAPPER_DECL_fFF): Likewise.
31496         (VECTOR_WRAPPER): Likewise.
31497         (VECTOR_WRAPPER_ff): Likewise.
31498         (VECTOR_WRAPPER_fFF): Likewise.
31499         (VEC_LEN): New macro.
31500         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
31501         test-vec-loop.h.
31502         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
31503         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
31504         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
31505         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31506         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31507         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31508         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
31510 2015-06-24  Roland McGrath  <roland@hack.frob.com>
31512         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
31513         (__getlogin_r): ... this.
31515 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
31517         [BZ #18594]
31518         * math/s_ccosh.c (__ccosh): Compare with least normal value
31519         instead of comparing class with FP_SUBNORMAL.
31520         * math/s_ccoshf.c (__ccoshf): Likewise.
31521         * math/s_ccoshl.c (__ccoshl): Likewise.
31522         * math/s_cexp.c (__cexp): Likewise.
31523         * math/s_cexpf.c (__cexpf): Likewise.
31524         * math/s_cexpl.c (__cexpl): Likewise.
31525         * math/s_csin.c (__csin): Likewise.
31526         * math/s_csinf.c (__csinf): Likewise.
31527         * math/s_csinh.c (__csinh): Likewise.
31528         * math/s_csinhf.c (__csinhf): Likewise.
31529         * math/s_csinhl.c (__csinhl): Likewise.
31530         * math/s_csinl.c (__csinl): Likewise.
31531         * math/s_ctan.c (__ctan): Likewise.
31532         * math/s_ctanf.c (__ctanf): Likewise.
31533         * math/s_ctanh.c (__ctanh): Likewise.
31534         * math/s_ctanhf.c (__ctanhf): Likewise.
31535         * math/s_ctanhl.c (__ctanhl): Likewise.
31536         * math/s_ctanl.c (__ctanl): Likewise.
31537         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
31538         csin, csinh, ctan and ctanh.
31539         * math/auto-libm-test-out: Regenerated.
31540         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
31541         * sysdeps/i386/fpu/libm-test-ulps: Update.
31542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31544 2015-06-24  Roland McGrath  <roland@hack.frob.com>
31546         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
31547         return value is wrong, print the expected value too.
31549 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
31551         [BZ #18585]
31552         * elf/readlib.c (is_gdb_python_file): New.
31553         (process_file): Don't issue errors on filenames with -gdb.py
31554         suffix.
31556 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
31558         * math/auto-libm-test-in: Add more tests of csin and csinh.
31559         * math/auto-libm-test-out: Regenerated.
31560         * math/libm-test.inc (csin_test_data): Remove tests moved to
31561         auto-libm-test-in.
31562         (csinh_test_data): Likewise.
31564         [BZ #18593]
31565         * math/s_csin.c (__csin): Negate before rather than after possibly
31566         overflowing multiplication.
31567         * math/s_csinf.c (__csinf): Likewise.
31568         * math/s_csinh.c (__csinh): Likewise.
31569         * math/s_csinhf.c (__csinhf): Likewise.
31570         * math/s_csinhl.c (__csinhl): Likewise.
31571         * math/s_csinl.c (__csinl): Likewise.
31572         * math/auto-libm-test-in: Add some tests of csin and csinh.
31573         * math/auto-libm-test-out: Regenerated.
31574         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
31575         (csinh_test_data): Likewise.
31576         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31578         [BZ #18586]
31579         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
31580         underflow exception for small results.
31582 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
31584         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
31585         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
31586         variable and included header.
31587         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
31588         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
31589         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
31590         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
31591         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
31592         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
31593         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
31594         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
31595         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
31596         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
31597         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
31598         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
31599         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
31600         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
31601         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
31602         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
31604 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
31606         [BZ #16526]
31607         [BZ #16538]
31608         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
31609         (__sin): Force underflow exception for arguments with small
31610         absolute value.
31611         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
31612         (__kernel_sinf): Force underflow exception for arguments with
31613         small absolute value.
31614         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
31615         (__kernel_sincosl): Force underflow exception for arguments with
31616         small absolute value.
31617         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
31618         (__kernel_sinl): Force underflow exception for arguments with
31619         small absolute value.
31620         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
31621         (__kernel_sincosl): Force underflow exception for arguments with
31622         small absolute value.
31623         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
31624         (__kernel_sinl): Force underflow exception for arguments with
31625         small absolute value.
31626         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
31627         (__kernel_sinl): Force underflow exception for arguments with
31628         small absolute value.
31629         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
31630         (__kernel_sinf): Force underflow exception for arguments with
31631         small absolute value.
31632         * math/auto-libm-test-in: Add more tests of sin and sincos.
31633         * math/auto-libm-test-out: Regenerated.
31635         [BZ #18245]
31636         [BZ #18583]
31637         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
31638         (__kernel_standard_l): Use feholdexcept and fesetenv around
31639         conversion to double instead of special-casing overflow and
31640         underflow.
31641         * math/libm-test.inc (fmod_test_data): Add more tests.
31642         (remainder_test_data): Likewise.
31643         (sqrt_test_data): Likewise.
31645 2015-06-23  Torvald Riegel  <triegel@redhat.com>
31647         [BZ #17403]
31648         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
31649         atomic_read_barrier, atomic_write_barrier): Define.
31650         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
31651         atomic_read_barrier, atomic_write_barrier): Define.
31653 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
31655         * math/Makefile [$(PERL) != no]
31656         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
31657         dependency on libm-test.stmp below the inclusion of Rules.
31659 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
31661         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
31662         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
31663         and included header.
31664         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
31665         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
31666         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
31667         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
31668         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
31669         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
31670         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
31671         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
31672         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
31673         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
31674         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
31675         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
31676         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
31677         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
31678         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
31679         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
31680         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
31681         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
31682         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
31684 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
31686         [BZ #18371]
31687         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
31688         intermediate but not final result might underflow.
31689         * math/s_csqrtf.c (__csqrtf): Likewise.
31690         * math/s_csqrtl.c (__csqrtl): Likewise.
31691         * math/auto-libm-test-in: Add more tests of csqrt.
31692         * math/auto-libm-test-out: Regenerated.
31693         * sysdeps/i386/fpu/libm-test-ulps: Update.
31695         [BZ #18219]
31696         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
31697         threshold on absolute value of exponent for which scaling is used.
31698         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
31699         * math/auto-libm-test-in: Add more tests of exp2.
31700         * math/auto-libm-test-out: Regenerated.
31702 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
31704         [BZ #17977]
31705         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
31706         when initializing interface list, based on the bug analysis
31707         and the patch proposed by Eric Newton.
31708         * resolv/tst-res_hconf_reorder.c: New test.
31709         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
31710         tst-res_hconf_reorder.
31711         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
31712         and $(shared-thread-library).
31713         (tst-res_hconf_reorder-ENV): New variable.
31715         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
31716         in comment.
31718 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
31720         [BZ #16353]
31721         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
31722         (__expm1): Force underflow exception for arguments with small
31723         absolute value.
31724         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
31725         (__expm1f): Force underflow exception for arguments with small
31726         absolute value.
31727         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
31728         (__expm1): Force underflow exception for arguments with small
31729         absolute value.
31730         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
31731         (__expm1f): Force underflow exception for arguments with small
31732         absolute value.
31733         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31734         Check for small arguments before calling __expm1.
31735         * math/auto-libm-test-in: Do not mark underflow exceptions as
31736         possibly missing for bug 16353.
31737         * math/auto-libm-test-out: Regenerated.
31739 2015-06-22  Andreas Schwab  <schwab@suse.de>
31741         [BZ #18513]
31742         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
31743         PTR queries.
31745 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
31747         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
31749         * string/strcoll_l.c: Remove unused struct element idxnow.
31751 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
31753         [BZ #18569]
31754         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
31755         underflow and return argument in case of subnormal argument.
31756         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
31757         Likewise.
31758         * math/auto-libm-test-in: Add more tests of expm1.
31759         * math/auto-libm-test-out: Regenerated.
31761         [BZ #16361]
31762         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
31763         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
31764         tiny results.
31765         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
31766         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
31767         tiny results.
31768         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
31769         mark underflow exceptions as possibly missing for bug 16361.
31770         * math/auto-libm-test-out: Regenerated.
31772 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
31774         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
31775         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
31776         Remove variable.
31777         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
31778         (test-xfail-XOPEN2K8/utmpx.h/conform).
31780         * conform/conformtest.pl ($xerrors): New variable.
31781         (note_error): New function.
31782         (compiletest): New argument $xfail.  Use not_error.
31783         (runtest): Likewise.
31784         (top level): Handle xfail- lines.  Update calls to compiletest and
31785         runtest.  Handle xfail- and optional- in headers listed with
31786         allow-header.
31787         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
31788         (O_EXEC): Likewise.
31789         (O_SEARCH): Likewise.
31790         * conform/data/stropts.h-data (ioctl): Likewise.
31791         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
31792         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
31793         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
31794         (msghdr.msg_controllen): Likewise.
31795         (cmsghdr.cmsg_len): Likewise.
31796         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
31797         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
31798         variable.
31799         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
31800         (test-xfail-XPG4/stropts.h/conform): Likewise.
31801         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
31802         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
31803         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
31804         (test-xfail-UNIX98/stropts.h/conform): Likewise.
31805         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
31806         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
31807         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
31808         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
31809         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
31810         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
31811         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
31812         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
31813         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
31814         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
31815         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
31816         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
31817         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
31818         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
31819         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
31821 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
31823         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
31824         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
31825         definitions for proper unfolding of __MATHDECL_VEC.
31827 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
31829         * benchtests/bench-strcoll.c:
31830         Include string.h.
31831         (main): Remove unused variable res.
31833 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
31835         * timezone/Makefile (%/UTC %/Universal):
31836         Generate test-result files for UTC and Universal.
31838 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
31840         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31842 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
31844         [BZ #16350]
31845         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
31846         for arguments with small absolute value.
31847         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
31848         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
31849         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
31850         (__asinh): Force underflow exception for arguments with small
31851         absolute value.
31852         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
31853         (__asinhf): Force underflow exception for arguments with small
31854         absolute value.
31855         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
31856         (__asinhl): Force underflow exception for arguments with small
31857         absolute value.
31858         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
31859         (__asinhl): Force underflow exception for arguments with small
31860         absolute value.
31861         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
31862         (__asinhl): Force underflow exception for arguments with small
31863         absolute value.
31864         * math/auto-libm-test-in: Do not mark underflow exceptions as
31865         possibly missing for bug 16350.
31866         * math/auto-libm-test-out: Regenerated.
31868         * include/bits/ipc.h: Remove file.
31869         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
31870         variable.
31871         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
31872         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
31873         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
31874         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
31875         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
31876         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
31877         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
31878         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
31879         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
31881         * math/auto-libm-test-in: Remove spurious underflow allowance for
31882         tests of cexp.
31883         * math/auto-libm-test-out: Regenerated.
31885         [BZ #18558]
31886         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
31887         unconditional definition.
31888         (MCAST_BLOCK_SOURCE): Likewise.
31889         (MCAST_UNBLOCK_SOURCE): Likewise.
31890         (MCAST_LEAVE_GROUP): Likewise.
31891         (MCAST_JOIN_SOURCE_GROUP): Likewise.
31892         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
31893         (MCAST_MSFILTER): Likewise.
31894         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
31895         Remove variable.
31896         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
31897         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
31898         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
31899         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
31900         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
31902 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
31904         * NEWS: Mention addition of x86_64 vector sincosf.
31905         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
31906         * math/test-float-vlen4.h: Likewise.
31907         * math/test-float-vlen8.h: Likewise.
31908         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31909         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
31910         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31911         * sysdeps/x86_64/fpu/Versions: New versions added.
31912         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31913         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
31914         Added build of SSE, AVX2 and AVX512 IFUNC versions.
31915         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
31916         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
31917         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
31918         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
31919         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
31920         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
31921         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
31922         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
31923         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
31924         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
31925         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
31926         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
31927         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
31928         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
31929         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
31930         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31931         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
31932         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31933         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
31934         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31935         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
31937         * NEWS: Mention addition of x86_64 vector sincos.
31938         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
31939         * math/math.h (__MATHDECL_VEC): New macro.
31940         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
31941         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
31942         declaration under condition.
31943         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
31944         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
31945         TEST_VEC_LOOP change.
31946         * math/test-double-vlen4.h: Likewise.
31947         * math/test-double-vlen8.h: Likewise.
31948         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
31949         * math/test-float-vlen4.h: Likewise.
31950         * math/test-float-vlen8.h: Likewise.
31951         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31952         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
31953         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31954         * sysdeps/x86_64/fpu/Versions: New versions added.
31955         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31956         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
31957         Added build of SSE, AVX2 and AVX512 IFUNC versions.
31958         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
31959         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
31960         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
31961         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
31962         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
31963         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
31964         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
31965         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
31966         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
31967         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
31968         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
31969         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
31970         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
31971         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
31972         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
31973         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
31974         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
31975         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
31976         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
31977         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
31978         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
31980         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31981         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
31982         redirections for powf.
31983         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31984         * sysdeps/x86_64/fpu/Versions: New versions added.
31985         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31986         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
31987         Added build of SSE, AVX2 and AVX512 IFUNC versions.
31988         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
31989         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
31990         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
31991         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
31992         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
31993         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
31994         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
31995         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
31996         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
31997         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
31998         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
31999         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
32000         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
32001         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
32002         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
32003         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32004         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
32005         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32006         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
32007         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32008         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32009         * math/test-float-vlen16.h: Fixed 2 argument macro.
32010         * math/test-float-vlen4.h: Likewise.
32011         * math/test-float-vlen8.h: Likewise.
32012         * NEWS: Mention addition of x86_64 vector powf.
32014 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
32016         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32017         and redefine.
32018         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32019         and redefine.
32020         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
32021         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
32022         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32024         [BZ #18553]
32025         * resource/getpriority.c (getpriority): Rename to __getpriority
32026         and define as weak alias of __getpriority.
32027         * resource/setpriority.c (setpriority): Rename to __setpriority
32028         and define as weak alias of __setpriority.
32029         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
32030         __getpriority and define as weak alias of __getpriority.
32031         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
32032         __setpriority and define as weak alias of __setpriority.
32033         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
32034         strong name.
32035         (setpriority): Use __setpriority as strong name.
32036         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
32037         __getpriority and define as weak alias of __getpriority.
32038         * include/sys/resource.h (__getpriority): Declare.  Use
32039         libc_hidden_proto.
32040         (__setpriority): Likewise.
32041         (getpriority): Don't use libc_hidden_proto.
32042         (setpriority): Likewise.
32043         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
32044         getpriority.  Call __setpriority instead of setpriority.
32045         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
32046         Remove variable.
32048         [BZ #18547]
32049         * misc/getttyent.c (getttynam): Rename to __getttynam and define
32050         as weak alias of __getttynam.  Use prototype function definition.
32051         Call __setttyent, __getttyent and __endttyent instead of
32052         setttyent, getttyent and endttyent.
32053         (getttyent): Rename to __getttyent and define as weak alias of
32054         __getttyent.  Call __setttyent instead of setttyent.  Call
32055         __fgets_unlocked instead of fgets_unlocked.
32056         (setttyent): Rename to __setttyent and define as weak alias of
32057         __setttyent.
32058         (endttyent): Rename to __endttyent and define as weak alias of
32059         __endttyent.
32060         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
32061         (__setttyent): Likewise.
32062         (__endttyent): Likewise.
32063         (getttyent): Don't use libc_hidden_proto.
32064         (setttyent): Likewise.
32065         (endttyent): Likewise.
32066         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
32067         __endttyent instead of setttyent, getttyent and endttyent.
32068         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
32069         Remove variable.
32071         [BZ #18546]
32072         * socket/recv.c (__recv): Use libc_hidden_def.
32073         * socket/socket.c (__socket): Likewise.
32074         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
32075         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
32076         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
32077         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
32078         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
32079         libc_hidden_def.
32080         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
32081         libc_hidden_weak.
32082         * include/sys/socket.h (__socket): Do not use attribute_hidden.
32083         Use libc_hidden_proto.
32084         (__recv): Likewise.
32085         * socket/Versions (libc): Export __recv and __socket at version
32086         GLIBC_PRIVATE.
32087         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
32088         instead of recv.
32089         (init_mq_netlink): Call __socket instead of socket.
32090         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
32091         Remove variable.
32093         [BZ #18545]
32094         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
32095         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
32096         hidden_weak.
32097         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
32098         define as alias of __mq_timedsend.  Use hidden_weak.
32099         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
32100         __mq_timedsend as strong name.
32101         (mq_timedreceive): Use __mq_timedreceive as strong name.
32102         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
32103         (__mq_timedreceive): Likewise.
32104         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
32105         __mq_timedreceive instead of mq_timedreceive.
32106         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
32107         instead of mq_timedsend.
32108         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
32109         Remove variable.
32111         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
32112         hidden_def and hidden_weak instead of libc_hidden_def and
32113         libc_hidden_weak.
32114         (top level): Refer to hidden_def in comment.
32115         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
32116         macro.  Use it instead of libc_hidden_def.
32117         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
32118         specify __GI_* name explicitly.
32119         (mq_timedreceive): Likewise.
32120         (mq_setattr): Likewise.
32122         [BZ #18544]
32123         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
32124         __pthread_barrier_init and define as weak alias of
32125         __pthread_barrier_init.
32126         * sysdeps/sparc/nptl/pthread_barrier_init.c
32127         (pthread_barrier_init): Likewise.
32128         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
32129         __pthread_barrier_wait and define as weak alias of
32130         __pthread_barrier_wait.
32131         * sysdeps/sparc/nptl/pthread_barrier_wait.c
32132         (pthread_barrier_wait): Likewise.
32133         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
32134         (pthread_barrier_wait): Likewise.
32135         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
32136         (pthread_barrier_wait): Likewise.
32137         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
32138         (pthread_barrier_wait): Likewise.
32139         * nptl/Versions (libpthread): Export __pthread_barrier_init and
32140         __pthread_barrier_wait at version GLIBC_PRIVATE.
32141         * include/pthread.h (__pthread_barrier_init): Declare.
32142         (__pthread_barrier_wait): Likewise.
32143         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
32144         Call __pthread_barrier_wait instead of pthread_barrier_wait.
32145         (helper_thread): Likewise.
32146         (init_mq_netlink): Call __pthread_barrier_init instead of
32147         pthread_barrier_init.
32149         [BZ #18542]
32150         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
32151         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
32152         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
32153         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
32154         vswscanf.
32155         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
32156         Remove variable.
32158         [BZ #18540]
32159         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
32160         strong alias of _IO_fflush.  Use libc_hidden_def.
32161         * libio/iofflush_u.c (fflush_unlocked): Rename to
32162         __fflush_unlocked and define as weak alias of __fflush_unlocked.
32163         Use libc_hidden_weak.
32164         * include/stdio.h (__fflush_unlocked): Declare.  Use
32165         libc_hidden_proto.
32166         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
32167         fflush_unlocked.
32168         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
32169         Remove variable.
32171         [BZ #18539]
32172         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
32173         define as weak alias of __addseverity.
32174         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
32175         Remove variable.
32176         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
32177         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
32178         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
32180         [BZ #18536]
32181         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
32182         (__tfind): Likewise.
32183         (__tdelete): Likewise.
32184         (__twalk): Likewise.
32185         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
32186         __twalk to GLIBC_PRIVATE.
32187         * include/search.h (__tsearch): Use libc_hidden_proto.
32188         (__tfind): Likewise.
32189         (__tdelete): Likewise.
32190         (__twalk): Likewise.
32191         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
32192         Call __tdelete instead of tdelete.
32193         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
32194         tfind.  Call __tsearch instead of tsearch.
32195         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
32196         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
32197         Remove variable.
32198         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
32200         [BZ #18534]
32201         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
32202         (dprintf): Define as a weak alias of __dprintf, not a strong
32203         alias.
32204         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
32205         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
32206         dprintf.
32207         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
32208         Remove variable.
32209         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
32210         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
32212         [BZ #18533]
32213         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
32214         not a strong alias.
32215         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
32216         Remove variable.
32218         [BZ #18532]
32219         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
32220         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
32221         (in6addr_loopback): Rename to __in6addr_loopback and define as
32222         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
32223         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
32224         libc_hidden_proto.
32225         (__in6addr_any): Likewise.
32226         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
32227         in6addr_any.
32228         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
32229         variable.
32230         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
32232 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
32234         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
32235         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
32236         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32237         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32238         redirections for pow.
32239         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32240         * sysdeps/x86_64/fpu/Versions: New versions added.
32241         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32242         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32243         build of SSE, AVX2 and AVX512 IFUNC versions.
32244         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
32245         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
32246         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
32247         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
32248         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
32249         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
32250         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
32251         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
32252         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
32253         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
32254         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
32255         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
32256         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
32257         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
32258         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32259         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32260         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32261         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32262         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32263         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32264         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32265         * NEWS: Mention addition of x86_64 vector pow.
32267         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32268         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32269         redirections for expf.
32270         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32271         * sysdeps/x86_64/fpu/Versions: New versions added.
32272         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32273         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32274         build of SSE, AVX2 and AVX512 IFUNC versions.
32275         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
32276         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
32277         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
32278         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
32279         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
32280         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
32281         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
32282         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
32283         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
32284         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
32285         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
32286         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
32287         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
32288         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
32289         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32290         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
32291         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32292         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
32293         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32294         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32295         * NEWS: Mention addition of x86_64 vector expf.
32297         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
32298         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
32299         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32300         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32301         redirections for exp.
32302         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32303         * sysdeps/x86_64/fpu/Versions: New versions added.
32304         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32305         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32306         build of SSE, AVX2 and AVX512 IFUNC versions.
32307         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
32308         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
32309         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
32310         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
32311         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
32312         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
32313         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
32314         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
32315         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
32316         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
32317         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
32318         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
32319         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
32320         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32321         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32322         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32323         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32324         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32325         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32326         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32327         * NEWS: Mention addition of x86_64 vector exp.
32329         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32330         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32331         redirections for logf.
32332         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32333         * sysdeps/x86_64/fpu/Versions: New versions added.
32334         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32335         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32336         build of SSE, AVX2 and AVX512 IFUNC versions.
32337         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
32338         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
32339         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
32340         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
32341         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
32342         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
32343         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
32344         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
32345         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
32346         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
32347         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
32348         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
32349         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
32350         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
32351         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32352         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
32353         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32354         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
32355         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32356         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32357         * NEWS: Mention addition of x86_64 vector logf.
32359         * bits/libm-simd-decl-stubs.h: Added stubs for log.
32360         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
32361         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32362         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32363         redirections for log.
32364         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32365         * sysdeps/x86_64/fpu/Versions: New versions added.
32366         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32367         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32368         build of SSE, AVX2 and AVX512 IFUNC versions.
32369         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
32370         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
32371         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
32372         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
32373         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
32374         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
32375         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
32376         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
32377         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
32378         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
32379         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
32380         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
32381         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
32382         test.
32383         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32384         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32385         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32386         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32387         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32388         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32389         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32390         * NEWS: Mention addition of x86_64 vector log.
32392 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32394         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
32395         cfi_adjust_cfa_offset argument.
32396         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
32397         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
32399         [BZ #18034]
32400         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
32401         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
32402         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
32403         ordering using ldar.
32404         (_dl_tlsdesc_dynamic): Likewise.
32405         (_dl_tlsdesc_return_lazy): Likewise.
32406         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
32407         relaxed atomics instead of volatile and synchronize with release store.
32408         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
32409         volatile.
32410         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
32412 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
32414         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32415         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
32416         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32417         * sysdeps/x86_64/fpu/Versions: New versions added.
32418         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32419         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32420         build of SSE, AVX2 and AVX512 IFUNC versions.
32421         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
32422         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
32423         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
32424         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
32425         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
32426         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
32427         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
32428         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
32429         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
32430         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
32431         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
32432         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
32433         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
32434         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
32435         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32436         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
32437         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32438         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
32439         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32440         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32441         * NEWS: Mention addition of x86_64 vector sinf.
32443 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
32445         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
32446         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
32447         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
32448         Remove variable.
32449         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
32450         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
32452 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
32454         [BZ #18530]
32455         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
32456         strong alias of _IO_fputs.  Use libc_hidden_def.
32457         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
32458         and define as weak alias of __fputs_unlocked.  Use
32459         libc_hidden_weak.
32460         * include/stdio.h (__fputs_unlocked): Declare.  Use
32461         libc_hidden_proto.
32462         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
32463         fputs_unlocked.
32465         [BZ #18529]
32466         * resolv/netdb.h [__USE_POSIX]: Change condition to
32467         [__USE_XOPEN2K].
32468         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
32469         not expect.
32470         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
32471         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
32472         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
32473         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
32474         [XPG4 || UNIX98] (AI_ALL): Likewise.
32475         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
32476         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
32477         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
32478         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
32479         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
32480         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
32481         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
32482         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
32483         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
32484         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
32485         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
32486         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
32487         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
32488         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
32489         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
32490         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
32491         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
32492         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
32493         [XPG4 || UNIX98] (gai_strerror): Likewise.
32494         [XPG4 || UNIX98] (getaddrinfo): Likewise.
32495         [XPG4 || UNIX98] (getnameinfo): Likewise.
32497         [BZ #18528]
32498         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
32499         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
32500         __USE_XOPEN2K8].
32501         (getgrent): Likewise.
32502         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
32503         expect.
32504         [XPG3 || POSIX2008] (endgrent): Likewise.
32505         [XPG3] (setgrent): Likewise.
32506         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
32507         variable.
32508         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
32510         [BZ #18527]
32511         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
32512         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
32513         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
32514         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
32515         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
32516         * include/unistd.h (__getlogin_r): Declare.  Use
32517         libc_hidden_proto.
32518         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
32519         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
32520         variable.
32521         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
32522         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
32523         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
32525 2015-06-12  Martin Sebor  <msebor@redhat.com>
32527         [BZ #18512]
32528         * Makerules (check-install-supported): New target.
32529         (install): Add check-install-supported as a dependency.
32530         * manual/install.texi (Installing the C Library): Document
32531         that overriding prefix and exec_prefix is not supported.
32532         Mention DESTDIR.
32533         * INSTALL: Regenerate from the above.
32535 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
32537         [BZ #18519]
32538         * posix/Versions (libc): Export __libc_pread at version
32539         GLIBC_PRIVATE.
32540         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
32541         instead of pread.
32542         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
32543         variable.
32545         [BZ #18522]
32546         * misc/efgcvt_r.c
32547         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
32548         (cvt_symbol): Use weak_alias instead of strong_alias.
32549         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
32550         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
32551         Remove variable.
32552         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
32553         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
32555         [BZ #18520]
32556         * inet/herrno.c (h_errno): Rename to __h_errno.
32557         (__libc_h_errno): Define as alias of __h_errno not h_errno.
32558         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
32559         to __h_errno instead of h_errno.
32560         * nptl/herrno.c (h_errno): Rename to __h_errno.
32561         (__h_errno_location): Refer to __h_errno not h_errno.
32562         * resolv/Versions (h_errno): Rename to __h_errno.
32563         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
32564         Remove variable.
32565         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
32567 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
32569         * configure.ac: More strict check for AVX512 assembler support.
32570         * configure: Regenerated.
32572         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
32573         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
32574         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32575         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
32576         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32577         * sysdeps/x86_64/fpu/Versions: New versions added.
32578         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32579         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32580         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32581         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
32582         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
32583         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
32584         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
32585         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
32586         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
32587         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
32588         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
32589         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
32590         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
32591         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
32592         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
32593         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
32594         test.
32595         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32596         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32597         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32598         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32599         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32600         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32601         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32602         * NEWS: Mention addition of x86_64 vector sin.
32604 2015-06-11  Florian Weimer  <fweimer@redhat.com>
32606         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
32607         comment.
32609 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
32611         [BZ #18479]
32612         * nptl/pt-interp.c: New file.
32613         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
32614         Add pt-interp.
32615         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
32616         $(common-objpfx)runtime-linker.h.
32618 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
32620         * Makeconfig (+interp): Remove unused variable.
32621         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
32622         only.  Depend on $(common-objpfx)runtime-linker.h instead of
32623         $(elf-objpfx)runtime-linker.h.
32624         ($(elf-objpfx)runtime-linker.h): Rename to
32625         $(common-objpfx)runtime-linker.h and move ...
32626         * Makerules [$(build-shared) = yes]: ... here.
32627         * elf/interp.c: Include <runtime-linker.h> instead of
32628         <elf/runtime-linker.h>.
32630 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32632         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
32633         (__gettimeofday_syscall): Remove vsyscall fallback.
32634         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
32635         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
32636         Add syscall fallback function.
32637         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
32638         if vDSO is not present.
32639         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
32640         fallback function.
32641         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
32642         present.
32643         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
32644         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
32646 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
32648         [BZ #18497]
32649         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
32650         of wcscmp.
32651         (wcscmp): Define as weak alias of WCSCMP.
32652         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
32653         wcscoll.
32654         (USE_HIDDEN_DEF): Define.
32655         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
32656         __wcscoll.  Don't use libc_hidden_weak.
32657         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
32658         wcscmp.
32659         * sysdeps/i386/i686/multiarch/wcscmp-c.c
32660         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
32661         __GI_wcscmp.
32662         (weak_alias): Undefine and redefine.
32663         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
32664         __wcscmp and define as weak alias of __wcscmp.
32665         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
32666         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
32667         (__wcscoll): Likewise.
32668         (wcscmp): Don't use libc_hidden_proto.
32669         (wcscoll): Likewise.
32670         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
32671         wcscoll.
32672         * posix/regexec.c (check_node_accept_bytes): Likewise.
32673         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
32674         variable.
32675         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
32676         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
32678         [BZ #18507]
32679         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
32680         __fstatvfs and define as weak alias of __fstatvfs.  Use
32681         libc_hidden_weak.
32682         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
32683         and define as weak alias of __statvfs.  Use libc_hidden_weak.
32684         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
32685         Define as alias of __fstatvfs, not fstatvfs.
32686         (fstatvfs64): Likewise.
32687         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
32688         Define as alias of __statvfs, not statvfs.
32689         (statvfs64): Likewise.
32690         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
32691         Remove variable.
32693 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32696         (HAVE_GETCPU_VSYSCALL): Define.
32697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32698         (HAVE_GETCPU_VSYSCALL): Likewise.
32699         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
32700         * sysdeps/unix/sysv/linux/sched_getcpu.c
32701         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
32702         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
32703         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
32704         prototype.
32705         * sysdeps/unix/sysv/linux/x86_64/init-first.c
32706         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
32707         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
32708         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
32709         Define.
32710         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
32711         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32712         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
32713         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32715 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
32717         * sysdeps/x86_64/fpu/Makefile: New file.
32718         * sysdeps/x86_64/fpu/Versions: New file.
32719         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
32720         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
32721         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
32722         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
32723         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
32724         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
32725         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
32726         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
32727         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
32728         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
32729         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
32730         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
32731         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
32732         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32733         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32734         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
32735         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
32736         * sysdeps/x86_64/configure.ac: Options for libmvec build.
32737         * sysdeps/x86_64/configure: Regenerated.
32738         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
32739         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
32740         * manual/install.texi (Configuring and compiling): Document
32741         --disable-mathvec.
32742         * INSTALL: Regenerated.
32743         * NEWS: Mention addition of libmvec and x86_64 vector cos.
32745         * math/Makefile: Added rules for vector tests.
32746         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
32747         declaration under condition.
32748         * math/test-double-vlen2.h: New file.
32749         * math/test-double-vlen4.h: New file.
32750         * math/test-double-vlen8.h: New file.
32751         * math/test-vec-loop.h: Added initialization macro.
32752         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
32753         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
32754         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
32755         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
32756         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
32757         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
32758         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
32759         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
32760         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
32761         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
32762         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
32764         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32765         * sysdeps/x86_64/fpu/Versions: New versions added.
32766         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
32767         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
32768         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
32769         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
32770         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
32771         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
32772         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
32773         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
32774         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
32775         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
32776         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
32777         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
32778         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
32779         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32780         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32781         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32782         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
32783         * NEWS: Mention addition of x86_64 vector cosf.
32785         * math/Makefile: Added CFLAGS for new tests.
32786         * math/test-float-vlen16.h: New file.
32787         * math/test-float-vlen4.h: New file.
32788         * math/test-float-vlen8.h: New file.
32789         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
32790         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
32791         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32792         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
32793         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
32794         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
32795         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
32796         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
32797         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
32798         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
32799         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
32801 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
32803         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
32804         * locale/programs/ld-ctype.c: Likewise.
32806 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
32808         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
32809         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
32810         bit_ZMM16_31_state): New macro.
32811         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32812         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
32814 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
32816         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
32818 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
32820         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
32822 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
32824         [BZ #18498]
32825         * libio/memstream.c (open_memstream): Rename to __open_memstream
32826         and define as weak alias of __open_memstream.
32827         * include/stdio.h (__open_memstream): Declare.  Use
32828         libc_hidden_proto.
32829         (open_memstream): Don't use libc_hidden_proto.
32830         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
32831         open_memstream.
32832         * posix/getopt.c (_getopt_internal_r): Likewise.
32833         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
32834         variable.
32835         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
32836         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
32837         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
32839         [BZ #18496]
32840         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
32841         instead of wcrtomb.
32843         [BZ #18483]
32844         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
32845         [__USE_XOPEN2K8].  Remove redundant #endif.
32846         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
32847         Remove redundant #if.
32848         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
32849         Remove variable.
32850         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
32851         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
32853         [BZ #18495]
32854         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
32855         (__iswlower): Likewise.
32856         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
32857         (__iswlower): Likewise.
32858         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
32859         instead of towlower.
32860         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
32861         instead of iswlower.  Call __towupper instead of towupper.
32862         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
32863         instead of iswalnum.
32865 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32867         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
32868         errors to stderr.
32870 2015-06-05  Florian Weimer  <fweimer@redhat.com>
32872         [BZ #15661]
32873         [BZ #17322]
32874         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
32875         Check for overflow properly.  Check for O_APPEND.  Ignore large
32876         file system block sizes.  Add comments about problems.
32877         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
32878         * manual/filesys.texi (Storage Allocation): New node.
32880 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32882         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
32883         cancellable syscalls.
32884         (SYS_ify): Add guard to no redefine it.
32885         (INLINE_SYSCALL): Likewise.
32886         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
32887         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
32888         SYSCALL_CANCEL instead.
32889         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
32890         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
32891         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
32892         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
32893         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
32894         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
32895         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
32896         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
32897         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
32898         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
32899         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
32900         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
32901         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
32902         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
32903         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
32904         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
32905         Likewise.
32906         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
32907         (__libc_pread64): Likewise.
32908         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
32909         (__libc_preadv): Likewise.
32910         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
32911         (__libc_readv64): Likewise.
32912         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
32913         (__libc_pwrite): Likewise.
32914         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
32915         (__libc_pwrite64): Likewise.
32916         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
32917         (__libc_pwritev): Likewise.
32918         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
32919         (__libc_pwritev64): Likewise.
32920         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
32921         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
32922         (sync_file_range): Likewise.
32923         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
32924         Likewise.
32925         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
32926         Likewise.
32927         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
32928         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
32929         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
32930         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
32931         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
32932         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
32933         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
32934         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
32935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
32936         Likewise.
32937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32938         (__libc_read64): Likewise.
32939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
32940         Likewise.
32941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
32942         Likewise.
32943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
32944         Likewise.
32945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
32946         Likewise.
32947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32948         (__libc_pread64): Likewise.
32949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
32950         Likewise.
32951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32952         (__libc_pwrite64): Likewise.
32953         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
32954         (sync_file_range): Likewise.
32955         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
32956         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
32957         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
32958         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
32959         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
32960         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
32961         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
32962         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
32963         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
32964         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
32965         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32966         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
32967         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
32968         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
32969         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
32970         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
32971         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
32972         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
32973         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
32974         Likewise.
32975         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
32976         Likewise.
32977         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
32978         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
32979         Likewise.
32980         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
32981         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
32982         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
32983         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
32984         Likewise.
32985         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
32986         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
32987         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
32988         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
32989         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
32991 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
32993         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
32994         Include dl-vdso.
32995         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
32996         Use VDSO routines for gettimeofday, clock_gettime if
32997         available.
32998         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
32999         Declare VDSO symbols.
33000         * sysdeps/unix/sysv/linux/arm/sysdep.h:
33001         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
33002         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
33003         * sysdeps/unix/sysv/linux/arm/Versions: Add
33004         __vdso_clock_gettime.
33006 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33008         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
33009         be an inline implementation regardless of library is built within.
33010         (open_not_cancel_2): Likewise.
33011         (__read_nocancel): Likewise.
33012         (__write_nocancel): Likewise.
33013         (openat_not_cancel): Likewise.
33014         (openat_not_cancel_3): Likewise.
33015         (openat64_not_cancel): Likewise.
33016         (openat64_not_cancel_3): Likewise.
33017         (__close_nocancel): Likewise.
33018         (pause_not_cancel): Likewise.
33019         (nanosleep_not_cancel): Likewise.
33020         (sigsuspend_not_cancel): Likewise.
33022 2015-06-04  Torvald Riegel  <triegel@redhat.com>
33024         [BZ #14958]
33025         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
33026         wake-up.
33027         (__pthread_rwlock_rdlock_slow): Likewise.
33028         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
33029         Likewise.
33030         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
33031         Likewise.
33032         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
33033         * nptl/tst-rwlock16.c: New file.
33034         * nptl/Makefile (tests): Add new test.
33036 2015-06-04  Torvald Riegel  <triegel@redhat.com>
33038         [BZ #18324]
33039         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
33040         missing wake-up of readers.
33041         * nptl/tst-rwlock15.c: New file.
33042         * nptl/Makefile (tests): Add new test.
33044 2015-06-03  Roland McGrath  <roland@hack.frob.com>
33046         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
33047         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
33048         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
33049         and __nacl_supply_interface_rtld.
33050         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
33051         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
33052         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
33053         Add __nacl_supply_interface_rtld.
33054         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
33056 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
33058         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
33059         isfinite.
33060         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33061         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
33063 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
33065         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
33066         __signbit* with standard C99 macros.
33067         * math/e_exp10l.c: Likewise.
33068         * math/e_exp2l.c: Likewise.
33069         * math/e_scalb.c: Likewise.
33070         * math/e_scalbf.c: Likewise.
33071         * math/e_scalbl.c: Likewise.
33072         * math/s_ldexp.c: Likewise.
33073         * math/s_ldexpf.c: Likewise.
33074         * math/s_ldexpl.c: Likewise.
33075         * math/w_atan2.c: Likewise.
33076         * math/w_atan2f.c: Likewise.
33077         * math/w_atan2l.c: Likewise.
33078         * math/w_cosh.c: Likewise.
33079         * math/w_coshf.c: Likewise.
33080         * math/w_coshl.c: Likewise.
33081         * math/w_exp10.c: Likewise.
33082         * math/w_exp10f.c: Likewise.
33083         * math/w_exp10l.c: Likewise.
33084         * math/w_exp2.c: Likewise.
33085         * math/w_exp2f.c: Likewise.
33086         * math/w_exp2l.c: Likewise.
33087         * math/w_fmod.c: Likewise.
33088         * math/w_fmodf.c: Likewise.
33089         * math/w_fmodl.c: Likewise.
33090         * math/w_hypot.c: Likewise.
33091         * math/w_hypotf.c: Likewise.
33092         * math/w_hypotl.c: Likewise.
33093         * math/w_jnl.c: Likewise.
33094         * math/w_lgamma.c: Likewise.
33095         * math/w_lgamma_r.c: Likewise.
33096         * math/w_lgammaf.c: Likewise.
33097         * math/w_lgammaf_r.c: Likewise.
33098         * math/w_lgammal.c: Likewise.
33099         * math/w_lgammal_r.c: Likewise.
33100         * math/w_pow.c: Likewise.
33101         * math/w_powf.c: Likewise.
33102         * math/w_powl.c: Likewise.
33103         * math/w_remainder.c: Likewise.
33104         * math/w_remainderf.c: Likewise.
33105         * math/w_remainderl.c: Likewise.
33106         * math/w_scalb.c: Likewise.
33107         * math/w_scalbf.c: Likewise.
33108         * math/w_scalbl.c: Likewise.
33109         * math/w_scalbln.c: Likewise.
33110         * math/w_scalblnf.c: Likewise.
33111         * math/w_scalblnl.c: Likewise.
33112         * math/w_sinh.c: Likewise.
33113         * math/w_sinhf.c: Likewise.
33114         * math/w_sinhl.c: Likewise.
33115         * math/w_tgamma.c: Likewise.
33116         * math/w_tgammaf.c: Likewise.
33117         * math/w_tgammal.c: Likewise.
33118         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33119         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
33120         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33121         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33122         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33123         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33124         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
33125         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33126         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33127         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33128         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33129         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33130         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33131         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33132         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33133         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33134         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33135         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33136         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33137         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33138         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33139         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33140         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33141         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33142         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33143         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33144         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
33145         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33146         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33147         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33148         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
33149         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
33150         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
33151         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
33152         * stdio-common/printf_fp.c: Likewise.
33153         * stdio-common/printf_fphex.c: Likewise.
33154         * stdio-common/printf_size.c: Likewise.
33156 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
33158         [BZ #18470]
33159         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
33160         strnlen.
33161         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
33162         Remove variable.
33163         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
33164         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
33165         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
33166         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
33167         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
33168         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
33169         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
33170         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
33171         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
33172         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
33174         [BZ #18468]
33175         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
33176         weak alias of __wmemchr.  Use libc_hidden_weak.
33177         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
33178         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
33179         instead of wmemchr.
33181 2015-06-02  Roland McGrath  <roland@hack.frob.com>
33183         [BZ #18383]
33184         * elf/tst-tlsalign-extern.c: New file.
33185         * elf/tst-tlsalign-extern-static.c: New file.
33186         * elf/tst-tlsalign-vars.c: New file.
33187         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
33188         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
33189         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
33190         ($(objpfx)tst-tlsalign-extern-static): Likewise.
33191         (test-xfail-tst-tlsalign-extern-static): New variable.
33193 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
33195         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
33196         Use variable name _sc_err instead of err.
33197         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
33198         instead of ret.
33199         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
33200         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
33201         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
33202         (INLINE_SYSCALL): Likewise.
33204         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
33205         * include/string.h (__strnlen): Use libc_hidden_proto.
33206         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
33207         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
33208         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
33209         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
33210         (libc_hidden_def): Undefine and redefine.
33211         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
33212         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
33213         __GI_strnlen.
33214         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
33215         libc_hidden_def.
33216         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
33218         [BZ #18469]
33219         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
33220         weak alias of __towlower.  Use libc_hidden_weak.
33221         (towupper): Rename to __towupper and define as weak alias of
33222         __towupper.  Use libc_hidden_weak.
33223         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
33224         (__towupper): Likewise.
33225         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
33226         __towlower instead of towlower.
33228 2015-06-02  Roland McGrath  <roland@hack.frob.com>
33230         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
33231         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
33233 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33235         * sysdeps/aarch64/libm-test-ulps: Update.
33237 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33239         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
33240         Define.
33241         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33242         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
33243         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
33244         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33245         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
33246         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
33247         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
33249 2015-06-01  Martin Sebor  <msebor@redhat.com>
33251         [BZ #18116]
33252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33253         (__setcontext): Use extended four-operand version of mtsf whenever
33254         possible.
33255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33256         (__novec_swapcontext): Likewise.
33258 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
33260         * benchtests/scripts/compare_bench.py: New file.
33261         * benchtests/scripts/import_bench.py (mean): New function.
33262         (split_list): Likewise.
33263         (do_for_all_timings): Likewise.
33264         (compress_timings): Likewise.
33266         * benchtests/scripts/import_bench.py: New file.
33267         * benchtests/scripts/validate_benchout.py: Import import_bench
33268         instead of jsonschema.
33269         (validate_bench): Remove function.
33270         (main): Use import_bench.
33272 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
33274         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
33275         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
33277 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33279         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33281 2015-05-28  Roland McGrath  <roland@hack.frob.com>
33283         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
33284         set THREAD_SELF->tid to a magic value and futex-wake it.
33285         Pass its address to the thread_exit system call.
33286         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
33287         bit is clear.
33288         * sysdeps/nacl/lowlevellock.h: New file.
33289         * sysdeps/nacl/lll_timedwait_tid.c: New file.
33291         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
33292         Add TIMEOUT to current time, don't subtract it.
33294 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
33296         [BZ #2981]
33297         [BZ #18422]
33298         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
33299         ($(objpfx)tst-audit2.out): Also depend on
33300         $(objpfx)tst-auditmod9b.so.
33301         * elf/tst-audit2.c: Include <dlfcn.h>.
33302         (calloc_called): New.
33303         (calloc): Allow to be called more than once.
33304         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
33306 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
33308         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
33309         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
33311 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
33313         * stdlib/monetary.h: Fix comment.
33315 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
33317         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
33318         Avoid using variables in #defines that might cause shadowing.
33319         (INTERNAL_VSYSCALL_CALL): Likewise.
33321 2015-05-26  Roland McGrath  <roland@hack.frob.com>
33323         * sysdeps/nacl/lll_timedlock_wait.c: New file.
33325         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
33326         * nptl/lll_timedlock_wait.c: ... to this new file.
33327         * nptl/Makefile (libpthread-routines): Add it.
33328         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
33329         * nptl/lll_timedwait_tid.c: ... to this new file.
33330         * nptl/Makefile (libpthread-routines): Add it.
33331         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
33332         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
33333         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
33334         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
33335         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
33336         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
33337         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
33338         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
33339         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
33340         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
33342 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33344         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
33345         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33346         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
33347         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
33348         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
33349         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
33350         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33351         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
33352         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33353         * sysdeps/unix/sysv/linux/tile/sysdep.h
33354         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33355         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
33356         using vDSO syscall macro.
33358 2015-05-26  Andriy Rysin  <arysin@gmail.com>
33360         [BZ #17293]
33361         * uk_UA: Fix sorting order for Ukrainian locale
33363 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
33365         * stdlib/monetary.h: Fix comment.
33367 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33369         [BZ #18234]
33370         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
33371         st_mtim and st_ctim members.
33372         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
33373         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
33374         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
33375         (struct stat64): Likewise.
33376         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
33377         (struct stat64): Likewise.
33378         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
33379         (struct stat64): Likewise.
33381 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33383         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
33384         Define and include sysdep-vdso.h.
33385         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
33386         Likewise.
33387         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
33388         Likewise.
33389         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
33390         Define with VDSO_SYMBOL and use PTR_MANGLE.
33391         (__vdso_clock_gettime): Likewise.
33392         (__vdso_clock_getres): Likewise.
33393         (_libc_vdso_platform_setup): Likewise.
33394         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
33395         Likewise.
33396         (_libc_vdso_platform_setup): Likewise.
33397         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
33398         Likewise.
33399         (__vdso_clock_gettime): Likewise.
33400         (__vdso_clock_getres): Likewise.
33401         (__vdso_get_tbfreq): Likewise.
33402         (__vdso_getcpu): Likewise.
33403         (__vdso_time): Likewise.
33404         (__vdso_sigtramp_rt64): Likewise.
33405         (__vdso_signtramp32): Likewise.
33406         (__vdso_sigtramp_rt32): Likewise.
33407         (_libc_vdso_platform_setup): Likewise.
33408         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
33409         Likewise.
33410         (__vdso_clock_gettime): Likewise.
33411         (__vdso_clock_getres): Likewise.
33412         (_libc_vdso_platform_setup): Likewise.
33413         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
33414         Likewise.
33415         (__vdso_clock_gettime): Likewise.
33416         (_libc_vdso_platform_setup): Likewise.
33417         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
33418         Likewise.
33419         (__vdso_getcpu): Likewise.
33420         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
33421         Use VDSO_SYMBOL macro to define.
33422         (__vdso_clock_gettime): Likewise.
33423         (__vdso_clock_getres): Likewise.
33424         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
33425         Likewise.
33426         (__vdso_clock_gettime): Likewise.
33427         (__vdso_clock_getres): Likewise.
33428         (__vdso_get_tbfreq): Likewise.
33429         (__vdso_getcpu): Likewise.
33430         (__vdso_time): Likewise.
33431         (__vdso_sigtramp_rt64): Likewise.
33432         (__vdso_signtramp32): Likewise.
33433         (__vdso_sigtramp_rt32): Likewise.
33434         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
33435         Likewise.
33436         (__vdso_clock_gettime): Likewise.
33437         (__vdso_clock_getres): Likewise.
33438         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
33439         Likewise.
33440         (__vdso_clock_gettime): Likewise.
33441         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
33442         Likewise.
33443         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
33444         macro.
33445         (INTERNAL_VSYSCALL): Likewise.
33446         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
33447         Remove macro.
33448         (INTERNAL_VSYSCALL): Likewise.
33449         (INTERNAL_VSYSCALL_NCS): Likewise.
33450         (INTERNAL_VSYSCALL_CALL): New macro.
33451         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
33452         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
33453         Likewise.
33454         (INTERNAL_VSYSCALL): Likewise.
33455         (INTERNAL_VSYSCALL_NCS): Likewise.
33456         (INTERNAL_VSYSCALL_CALL): New macro.
33457         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
33458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33459         (INLINE_VSYSCALL): Remove macro.
33460         (INTERNAL_VSYSCALL): Remove macro.
33461         (INTERNAL_VSYSCALL_NCS): Remove macro.
33462         (INTERNAL_VSYSCALL_CALL): New macro.
33463         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
33464         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
33465         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
33466         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
33467         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
33468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33469         (INLINE_VSYSCALL): Remove macro.
33470         (INTERNAL_VSYSCALL): Likewise.
33471         (INTERNAL_VSYSCALL_NCS): Likewise.
33472         (INTERNAL_VSYSCALL_CALL): New macro.
33473         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
33474         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
33475         PTR_DEMANGLE on vDSO pointer.
33476         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
33477         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
33478         macro.
33479         (INTERNAL_SYSCALL): Likewise.
33480         (INTERNAL_VSYSCALL_NCS): Remove macro.
33481         (INTERNAL_VSYSCALL_CALL): New macro.
33482         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
33483         Remove macro.
33484         (INTERNAL_VSYSCALL): Likewise.
33485         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
33486         sysdep-vdso.h instead of libc-vdso.h.
33487         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
33488         definition.
33489         (INLINE_VSYSCALL): Likewise.
33490         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
33491         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
33492         definition.
33493         (INLINE_VSYSCALL): Likewise.
33494         (INTERNAL_VSYSCALL): Likewise.
33495         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
33496         * sysdeps/unix/sysv/linux/timespec_get.c
33497         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
33498         (timespec_get): Use ANSI prototype.
33499         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
33500         and definition for Linux.
33502 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
33504         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
33505         * include/libc-symbols.h: libmvec_hidden_* macro series added.
33507 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33509         [BZ #2981]
33510         [BZ #18410]
33511         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
33512         for missing DT_PLTRELSZ.
33514 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
33516         Remove obsolete aliases that broke 'locale -a'
33517         [BZ #18412]
33518         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
33519         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
33520         breaking some applications that use 'locale -a' output.
33521         Change the encoding of this file from Latin-1 to ASCII to avoid
33522         other potential problems with people grepping this file.
33524 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33526         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
33527         -fasynchronous-unwind-tables.
33528         (CFLAGS-sendto.c): Likewise.
33529         (CFLAGS-sendmsg.c): Likewise.
33530         (CFLAGS-connect.c): Likewise.
33531         (CFLAGS-recvmsg.c): Likewise.
33532         (CFLAGS-recvfrom.c): Likewise.
33533         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
33534         (SOCKETCALL): New macro: non-cancellable socketcall.
33535         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
33536         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
33537         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
33538         * sysdeps/unix/sysv/linux/accept.c: New file.
33539         * sysdeps/unix/sysv/linux/bind.c: Likewise.
33540         * sysdeps/unix/sysv/linux/connect.c: Likewise.
33541         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
33542         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
33543         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
33544         * sysdeps/unix/sysv/linux/listen.c: Likewise.
33545         * sysdeps/unix/sysv/linux/recv.c: Likewise.
33546         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
33547         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
33548         * sysdeps/unix/sysv/linux/send.c: Likewise.
33549         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
33550         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
33551         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
33552         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
33553         * sysdeps/unix/sysv/linux/socket.c: Likewise.
33554         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
33555         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
33556         prototype.
33557         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
33558         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
33559         instead of __internal_xxx function.
33560         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
33561         prototype.
33562         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
33563         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
33564         instead of __internal_xxx function.
33565         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
33566         prototype.
33567         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
33568         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
33569         instead of __internal_xxx function.
33570         * sysdeps/unix/sysv/linux/accept.S: Remove file.
33571         * sysdeps/unix/sysv/linux/bind.S: Likewise.
33572         * sysdeps/unix/sysv/linux/connect.S: Likewise.
33573         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
33574         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
33575         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
33576         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
33577         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
33578         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
33579         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
33580         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
33581         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
33582         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
33583         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
33584         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
33585         * sysdeps/unix/sysv/linux/listen.S: Likewise.
33586         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
33587         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
33588         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
33589         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
33590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
33591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
33592         * sysdeps/unix/sysv/linux/recv.S: Likewise.
33593         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
33594         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
33595         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
33596         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
33597         * sysdeps/unix/sysv/linux/send.S: Likewise.
33598         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
33599         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
33600         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
33601         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
33602         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
33603         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
33604         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
33605         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
33606         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
33607         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
33608         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
33609         socketcall is implemented in GLIBC.
33611 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
33613         * soft-fp/fmadf4.c: Include <libc-internal.h>.
33614         (__fma): Ignore uninitialized warnings around packing.
33615         * soft-fp/fmasf4.c: Include <libc-internal.h>.
33616         (__fmaf): Ignore uninitialized warnings around packing.
33617         * soft-fp/fmatf4.c: Include <libc-internal.h>.
33618         (__fmal): Ignore uninitialized warnings around packing.
33620         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
33621         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
33622         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
33623         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
33625         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
33626         switch statement into default case.
33627         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
33629         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
33630         a conditional in forcing "inexact".
33631         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
33632         Likewise.
33634 2015-05-22  Roland McGrath  <roland@hack.frob.com>
33636         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
33637         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
33638         for each INTERNAL_SYSCALL use.
33640 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
33642         [BZ #438]
33643         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
33644         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
33645         variable.
33647         [BZ #18444]
33648         * string/basename.c (basename): Rename to __basename and define as
33649         weak alias of __basename.  Use libc_hidden_weak.
33650         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
33651         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
33652         __basename instead of basename.
33653         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
33654         Remove variable.
33655         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
33657 2015-05-18  Florian Weimer  <fweimer@redhat.com>
33659         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
33660         (_IO_JUMPS_FILE_plus): New.
33661         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
33662         _IO_CAST_FIELD_ACCESS.
33663         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
33664         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
33665         * libio/freopen.c (freopen): Likewise.
33666         * libio/freopen64.c (freopen64): Likewise.
33667         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
33668         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
33669         * libio/iofwide.c (_IO_fwide): Likewise.
33670         * libio/memstream.c (open_memstream): Likewise.
33671         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
33672         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
33673         * libio/oldiopopen.c (_IO_old_popen): Likewise.
33675 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
33677         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
33678         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
33679         NADJ.
33680         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
33681         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
33682         NADJ.
33683         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
33684         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
33685         NADJ.
33687         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
33688         (p == 4) case.
33690         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
33691         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
33692         Remove variable.
33693         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
33694         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
33695         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
33697 2015-05-21  Florian Weimer  <fweimer@redhat.com>
33699         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
33700         Adjust jump table label generation macros.
33702 2015-05-21  Florian Weimer  <fweimer@redhat.com>
33704         * stdio-common/vfprintf.c (vfprintf): Move local variables
33705         args_malloced, specs, specs_malloced, and the code after
33706         do_positional to the printf_positional function.
33707         (printf_positional): New function.
33709 2015-05-21  Florian Weimer  <fweimer@redhat.com>
33711         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
33712         function.
33713         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
33714         STEP4_TABLE, process_arg): Move macro definitions
33715         out of the vfprintf function.  (Cosmetic change only.)
33717 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
33719         * benchtests/Makefile (stdio-common-bench): Define.
33720         (benchset): Add stdio-common-bench.
33721         * sprintf-inputs: New file.
33722         * sprintf-source.c: New file.
33724 2015-05-21  Andreas Schwab  <schwab@suse.de>
33726         [BZ #13028]
33727         [BZ #17053]
33728         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
33729         of struct __res_state.
33730         * resolv/res_send.c (__libc_res_nsend): Likewise.
33731         (get_nsaddr): New function.
33732         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
33733         statp directly.
33735 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
33737         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
33738         -D_POSIX_C_SOURCE=199506L.
33740         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
33742         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
33743         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
33744         Do not mention otherwise.
33745         [POSIX] (_XOPEN_VERSION): Do not expect.
33746         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
33747         [POSIX] (_POSIX2_C_BIND): Likewise.
33748         [POSIX] (_POSIX2_VERSION): Likewise.
33749         [POSIX] (_XOPEN_XPG2): Likewise.
33750         [POSIX] (_XOPEN_XPG3): Likewise.
33751         [POSIX] (_XOPEN_XPG4): Likewise.
33752         [POSIX] (_XOPEN_UNIX): Likewise.
33753         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
33754         [POSIX] (_POSIX_BARRIERS): Likewise.
33755         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
33756         [POSIX] (_POSIX_CPUTIME): Likewise.
33757         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
33758         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
33759         [POSIX] (_POSIX_SHELL): Likewise.
33760         [POSIX] (_POSIX_SPAWN): Likewise.
33761         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
33762         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
33763         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
33764         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
33765         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
33766         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
33767         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
33768         [POSIX] (_XBS5_LP64_OFF64): Likewise.
33769         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
33770         [POSIX] (_POSIX_TIMEOUTS): Likewise.
33771         [POSIX] (_POSIX2_PBS): Likewise.
33772         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
33773         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
33774         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
33775         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
33776         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
33777         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
33778         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
33779         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
33780         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
33781         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
33782         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
33783         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
33784         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
33785         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
33786         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
33787         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
33788         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
33789         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
33790         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
33791         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
33792         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
33793         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
33794         [POSIX] (_SC_2_C_BIND): Likewise.
33795         [POSIX] (_SC_2_C_VERSION): Likewise.
33796         [POSIX] (_SC_2_PBS): Likewise.
33797         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
33798         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
33799         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
33800         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
33801         [POSIX] (_SC_2_PBS_TRACK): Likewise.
33802         [POSIX] (_SC_ATEXIT_MAX): Likewise.
33803         [POSIX] (_SC_BARRIERS): Likewise.
33804         [POSIX] (_SC_BASE): Likewise.
33805         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
33806         [POSIX] (_SC_DEVICE_IO): Likewise.
33807         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
33808         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
33809         [POSIX] (_SC_FD_MGMT): Likewise.
33810         [POSIX] (_SC_FIFO): Likewise.
33811         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
33812         [POSIX] (_SC_FILE_LOCKING): Likewise.
33813         [POSIX] (_SC_FILE_SYSTEM): Likewise.
33814         [POSIX] (_SC_IOV_MAX): Likewise.
33815         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
33816         [POSIX] (_SC_NETWORKING): Likewise.
33817         [POSIX] (_SC_PAGE_SIZE): Likewise.
33818         [POSIX] (_SC_PASS_MAX): Likewise.
33819         [POSIX] (_SC_PIPE): Likewise.
33820         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
33821         [POSIX] (_SC_REGEXP): Likewise.
33822         [POSIX] (_SC_SHELL): Likewise.
33823         [POSIX] (_SC_SIGNALS): Likewise.
33824         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
33825         [POSIX] (_SC_SPIN_LOCKS): Likewise.
33826         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
33827         [POSIX] (_SC_USER_GROUPS): Likewise.
33828         [POSIX] (_SC_USER_GROUPS_R): Likewise.
33829         [POSIX] (_SC_STREAMS): Likewise.
33830         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
33831         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
33832         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
33833         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
33834         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
33835         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
33836         [POSIX] (_PC_FILESIZEBITS): Likewise.
33837         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
33838         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
33839         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
33840         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
33841         [POSIX] (uid_t): Likewise.
33842         [POSIX] (gid_t): Likewise.
33843         [POSIX] (off_t): Likewise.
33844         [POSIX] (pid_t): Likewise.
33845         [POSIX] (cuserid): Allow.
33846         (_SC_2_CHAR_TERM): Require constant.
33847         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
33848         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
33849         variable.
33851 2015-05-20  Roland McGrath  <roland@hack.frob.com>
33853         * sysdeps/nacl/pthread-pids.h: New file.
33854         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
33855         (create_thread): Use __nacl_get_tid to initialize PD->tid.
33857         * nptl/pthread-pids.h: New file.
33858         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
33859         * nptl/nptl-init.c: Include <pthread-pids.h>.
33860         (__pthread_initialize_minimal_internal):
33861         Call __pthread_initialize_pids instead of set_tid_address syscall.
33863         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
33864         * sysdeps/posix/usleep.c: ... here.
33866 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33868         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
33869         call_pselect6 object.
33870         [$(subdir) = io]: Remove call_sync_file_range object.
33871         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
33872         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
33873         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
33874         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
33876 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
33878         * math/s_cproj.c: Add include "math_private.h".
33879         * math/s_cprojf.c: Likewise.
33880         * math/s_cprojl.c: Likewise.
33882 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
33884         [BZ #18244]
33885         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
33886         high mantissa bit when testing whether P is a NaN.
33887         * math/libm-test.inc (remainder_test_data): Add more tests.
33888         (remquo_test_data): Likewise.
33890         [BZ #18049]
33891         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
33892         below -32, return the argument, with underflow if subnormal.
33893         * math/auto-libm-test-in: Add more tests of atanh.
33894         * math/auto-libm-test-out: Regenerated.
33896 2015-05-19  Roland McGrath  <roland@hack.frob.com>
33898         [BZ #18434]
33899         * nptl/tst-sem15.c: New file.
33900         * nptl/Makefile (tests): Add it.
33901         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
33902         s/<</>>/ to fix typo in EOVERFLOW check.
33903         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
33905 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33907         * manual/strings.texi (envz_remove): Fix typo in safety
33908         annotations.
33910 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
33911             Steve Ellcey  <sellcey@imgtec.com>
33913         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
33914         in order to avoid strict alias warnings.
33915         (iruserok_af): Ditto for ra.
33917 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
33919         [BZ #17581]
33920         * malloc/hooks.c
33921         (magicbyte): Convert to a function and avoid returning 0x01.
33922         (mem2mem_check): Avoid using a length byte equal to the magic byte.
33923         (mem2chunk_check): Fix unsigned comparisons to zero.
33924         Hoist defs of sz and magic.
33926 2015-05-19  Richard Henderson  <rth@redhat.com>
33928         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
33930         * sysdeps/alpha/fpu/libm-test-ulps: Update.
33932 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33934         [BZ #16159]
33935         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
33936         * malloc/arena.c (arena_lock): Check if arena is corrupt.
33937         (reused_arena): Find a non-corrupt arena.
33938         (heap_trim): Pass arena to unlink.
33939         * malloc/hooks.c (malloc_check_get_size): Pass arena to
33940         malloc_printerr.
33941         (top_check): Likewise.
33942         (free_check): Likewise.
33943         (realloc_check): Likewise.
33944         * malloc/malloc.c (malloc_printerr): Add arena argument.
33945         (unlink): Likewise.
33946         (munmap_chunk): Adjust.
33947         (ARENA_CORRUPTION_BIT): New macro.
33948         (arena_is_corrupt): Likewise.
33949         (set_arena_corrupt): Likewise.
33950         (sysmalloc): Use mmap if there are no usable arenas.
33951         (_int_malloc): Likewise.
33952         (__libc_malloc): Don't fail if arena_get returns NULL.
33953         (_mid_memalign): Likewise.
33954         (__libc_calloc): Likewise.
33955         (__libc_realloc): Adjust for additional argument to
33956         malloc_printerr.
33957         (_int_free): Likewise.
33958         (malloc_consolidate): Likewise.
33959         (_int_realloc): Likewise.
33960         (_int_memalign): Don't touch corrupt arenas.
33961         * malloc/tst-malloc-backtrace.c: New test case.
33963         * Makefile (summarize-tests): Fix return value on success.
33965         * manual/string.texi (Envz Functions): Add envz_remove.
33967 2015-05-18  Roland McGrath  <roland@hack.frob.com>
33969         * sysdeps/posix/opendir.c: Include <stdbool.h>.
33970         (invalid_name): New function, broken out of ...
33971         (__opendirat): ... here.  Call it.
33972         (need_isdir_precheck): New function, broken out of ...
33973         (__opendirat): ... here.  Call it.
33974         Use __fxstatat64, not __xstatat64.
33975         (opendir_oflags): New function, broken out of ...
33976         (__opendirat): ... here.  Call it.
33977         (opendir_tail): New function, broken out of ...
33978         (__opendirat): ... here.  Call it.
33979         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
33980         opendir_tail, rather than punting to __opendirat.
33981         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
33983 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33985         * .gitignore: Ignore generated *.pyc.
33987 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
33989         * include/stdio.h: Define __need_wint_t.
33990         * test-skeleton.c: Avoid `for' loop initial declaration.
33991         * nptl/tst-initializers1.c: Use test-skeleton.c.
33993 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33995         [BZ #18418]
33996         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
33998 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
34000         [BZ #16352]
34001         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
34002         (__ieee754_atanh): Force underflow exception for results with
34003         small absolute value.
34004         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
34005         (__ieee754_atanhf): Force underflow exception for results with
34006         small absolute value.
34007         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
34008         (__ieee754_atanh): Force underflow exception for results with
34009         small absolute value.
34010         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
34011         (__ieee754_atanhf): Force underflow exception for results with
34012         small absolute value.
34013         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
34014         (__ieee754_atanhl): Force underflow exception for results with
34015         small absolute value.
34016         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
34017         (__ieee754_atanhl): Force underflow exception for results with
34018         small absolute value.
34019         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
34020         (__ieee754_atanhl): Force underflow exception for results with
34021         small absolute value.
34022         * math/auto-libm-test-in: Do not allow missing underflow
34023         exceptions from atanh.
34024         * math/auto-libm-test-out: Regenerated.
34026         [BZ #18221]
34027         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
34028         2**-28 as threshold for returning x or +/- 1/x.
34029         * math/auto-libm-test-in: Add more tests of tan.
34030         * math/auto-libm-test-out: Regenerated.
34032         [BZ #18220]
34033         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
34034         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
34035         * math/auto-libm-test-in: Add another test of lgamma.
34036         * math/auto-libm-test-out: Regenerated.
34038 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
34040         * stdio-common/printf_fp.c (___printf_fp): Use abs.
34041         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
34042         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
34043         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
34044         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
34045         (ADD2A): Use fabs.  (SUB2A): Use fabs.
34046         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
34047         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
34048         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
34049         (log1): Use fabs.  (my_log2): Use fabs.
34050         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
34051         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
34052         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
34053         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
34054         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
34055         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
34056         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
34057         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
34058         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
34059         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
34060         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
34062 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
34064         [BZ #18217]
34065         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
34066         as threshold for returning 1 - x.
34067         * math/auto-libm-test-in: Add more tests of erfc.
34068         * math/auto-libm-test-out: Regenerated.
34070 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
34072         [BZ #18196]
34073         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
34074         threshold for large arguments.
34075         * math/auto-libm-test-in: Add another test of atan.
34076         * math/auto-libm-test-out: Regenerated.
34078         [BZ #16339]
34079         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
34080         (__log1p): Force underflow exception for results with small
34081         absolute value.
34082         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
34083         (__log1pf): Force underflow exception for results with small
34084         absolute value.
34085         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
34086         (__log1p): Force underflow exception for results with small
34087         absolute value.
34088         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
34089         (__log1pf): Force underflow exception for results with small
34090         absolute value.
34091         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
34092         (__log1pl): Force underflow exception for results with small
34093         absolute value.
34094         * math/auto-libm-test-in: Do not allow missing underflow
34095         exceptions from log1p.
34096         * math/auto-libm-test-out: Regenerated.
34098 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
34099             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34101         [BZ #16704]
34102         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
34104 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
34106         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
34107         (libmvec): New variable.
34108         * configure.ac: Added option for mathvec build.
34109         * configure: Regenerated.
34110         * mathvec/Depend: New file.
34111         * mathvec/Makefile: New file.
34112         * shlib-versions: Added libmvec.
34113         * math/Makefile: Added rule for libm.so installation.
34115         * bits/math-vector.h: New file.
34116         * bits/libm-simd-decl-stubs.h: New header.
34117         * math/Makefile (headers): Added new header
34118         libm-simd-decl-stubs.h.
34119         * math/math.h (__MATHCALL_VEC): New macro.
34121         * math/gen-libm-have-vector-test.sh: Script generates series of macros
34122         for conditions in testing functions.
34123         * math/Makefile: Added call of libm-have-vector-test.sh.
34124         * math/libm-test.inc (HAVE_VECTOR): New macros.
34126         * math/libm-test.inc: START refactored.
34127         * math/test-double.c (TEST_MATHVEC): Add define.
34128         * math/test-float.c: Likewise.
34129         * math/test-idouble.c: Likewise.
34130         * math/test-ifloat.c: Likewise.
34131         * math/test-ildoubl.c: Likewise.
34132         * math/test-ldouble.c: Likewise.
34133         * sysdeps/generic/math-tests-arch.h
34134         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
34135         architecture check.
34137         * math/test-double.c (FUNC_TEST): New macro.
34138         * math/test-float.c: Likewise.
34139         * math/test-idouble.c: Likewise.
34140         * math/test-ifloat.c: Likewise.
34141         * math/test-ildoubl.c: Likewise.
34142         * math/test-ldouble.c: Likewise.
34143         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
34145 2015-05-13  Roland McGrath  <roland@hack.frob.com>
34147         * sysdeps/nacl/fdopendir.c: New file.
34149         * dirent/scandir-tail.c: New file.
34150         * dirent/scandir64-tail.c: New file.
34151         * dirent/Makefile (routines): Add them.
34152         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
34153         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
34154         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
34155         [!SCANDIR] (SCANDIR_TAIL): New macro.
34156         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
34157         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
34158         (SCANDIRAT): Macro removed.
34159         (SCANDIR_TAIL): New macro.
34160         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
34161         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
34162         (SCANDIRAT): Just call __opendirat and __scandir_tail.
34163         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
34164         (READDIR): Macro removed.
34165         (SCANDIR_TAIL): New macro.
34166         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
34167         (SCANDIR_TAIL): New macro.
34169         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
34170         * dirent/scandir-cancel.c: ... to this new file.
34171         * dirent/Makefile (routines): Add it.
34172         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
34173         * sysdeps/unix/sysv/linux/i386/scandir64.c
34174         (SKIP_SCANDIR_CANCEL): Macro removed.
34175         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
34177         * dirent/tst-scandir.c: New file.
34178         * dirent/tst-scandir64.c: New file.
34179         * dirent/Makefile (tests): Add them.
34181 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
34183         [BZ #18409]
34184         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
34186 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34188         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
34189         list.
34191 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
34193         * benchtests/bench-strcoll.c: New benchmark.
34194         * benchtests/Makefile: Generate locales and run benchmark.
34195         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
34196         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
34197         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
34198         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
34199         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
34200         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
34201         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
34202         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
34203         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
34204         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
34205         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
34206         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
34207         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
34208         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
34209         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
34210         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
34211         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
34212         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
34213         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
34214         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
34215         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
34216         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
34217         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
34218         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
34220 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
34222         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
34223         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34225 2015-05-12  Roland McGrath  <roland@hack.frob.com>
34227         * posix/uname-values.h: New file.
34228         * posix/uname.c: Include that instead of <config-name.h>.
34229         * sysdeps/nacl/uname-values.h: New file.
34230         * sysdeps/arm/nacl/uname-values.h: New file.
34232 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
34234         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
34235         splitting into fields.
34237 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
34239         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
34240         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
34241         * locale/localeinfo.h: Add enum collation_encoding_type.
34242         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
34243         * programs/ld-collate.c (collate_output): Add encoding type info.
34244         * string/strcoll_l.c (STRDIFF): New function.
34245         * (STRCOLL): Use STRDIFF to skip over equal prefix.
34246         * wcsmbs/wcscoll_l.c: Define STRDIFF.
34248 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
34250         [BZ #18397]
34251         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
34252         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
34253         <fpu_control.h> instead of <math/fpu_control.c>.
34254         * sysdeps/mips/mips32/fpu/Makefile: New file.
34256 2015-05-11  Andreas Schwab  <schwab@suse.de>
34258         [BZ #18007]
34259         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
34260         nss_endgrent.
34261         (_nss_compat_endgrent): Call nss_endgrent.
34262         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
34263         nss_endpwent.
34264         (_nss_compat_endpwent): Call nss_endpwent.
34265         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
34266         needent, call nss_setspent only if non-zero.
34267         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
34268         (internal_endspent): Don't call nss_endspent.
34269         (_nss_compat_endspent): Call nss_endspent.
34270         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
34271         Remove.  All uses removed.
34272         (internal_setent): Remove parameter stayopen, add parameter
34273         stream.  Use it instead of global variable.
34274         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
34275         (internal_endent, internal_getent): Add parameter stream.  Use it
34276         instead of global variable.
34277         (CONCAT(_nss_files_end,ENTNAME))
34278         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
34279         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
34280         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
34281         uses removed.
34282         (internal_setent, internal_endent): Add parameter stream.  Use it
34283         instead of global variable.
34284         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
34285         stream.
34286         (get_next_alias): Add parameter stream.
34287         (_nss_files_getaliasent_r): Pass global stream.
34288         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
34289         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
34290         (_nss_files_gethostbyname4_r): Pass local stream to
34291         internal_setent, internal_getent and internal_endent.  Remove
34292         locking.
34294 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34296         * tst-strfmon1.c (tests): Update expected currency symbol.
34298 2015-05-08  Roland McGrath  <roland@hack.frob.com>
34300         * sysdeps/nacl/gethostname.c: New file.
34302 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
34304         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
34305         and sinh.
34306         * math/auto-libm-test-out: Regenerated.
34307         * sysdeps/i386/fpu/libm-test-ulps: Update.
34308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34310 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
34312         [BZ #18125]
34313         * stdlib/tst-setcontext3.c: New file.
34314         * stdlib/tst-setcontext3.sh: New file.
34315         * stdlib/Makefile (tests): Add tst-setcontext3.
34316         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
34317         to verify test program created output file.
34318         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
34319         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
34320         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
34321         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
34323 2015-05-06  Roland McGrath  <roland@hack.frob.com>
34325         [BZ #18383]
34326         * elf/tst-tlsalign.c: New file.
34327         * elf/tst-tlsalign-static.c: New file.
34328         * elf/tst-tlsalign-lib.c: New file.
34329         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
34330         (tests-static): Add tst-tlsalign-static.
34331         (modules-names): Add tst-tlsalign-lib.
34332         (test-xfail-tst-tlsalign): New variable.
34333         (test-xfail-tst-tlsalign-static): New variable.
34335         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
34336         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
34338 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
34340         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
34341         csqrt, erfc, sin and sincos.
34342         * math/auto-libm-test-out: Regenerated.
34343         * sysdeps/i386/fpu/libm-test-ulps: Update.
34344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34346 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34348         * sysdeps/aarch64/libm-test-ulps: Update.
34350 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
34352         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
34353         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
34354         * math/auto-libm-test-out: Regenerated.
34355         * sysdeps/i386/fpu/libm-test-ulps: Update.
34356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34358 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
34360         [BZ #18265]
34361         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
34362         (wcsncpy): Likewise.
34364 2015-05-05  Florian Weimer  <fweimer@redhat.com>
34366         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
34367         Assume __ASSUME_FALLOCATE is always true.
34368         * sysdeps/unix/sysv/linux/posix_fallocate64.c
34369         (__posix_fallocate64_l64): Likewise.
34370         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
34371         (posix_fallocate): Likewise.
34372         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
34373         (__posix_fallocate64_l64): Likewise.
34374         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34375         [!__ASSUME_FALLOCATE]: Add comment.
34377 2015-05-05  Florian Weimer  <fweimer@redhat.com>
34379         * sysdeps/unix/sysv/linux/i386/Makefile
34380         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
34381         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
34382         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
34383         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
34384         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
34385         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
34386         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
34388 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
34390         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
34391         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
34392         tgamma.
34393         * math/auto-libm-test-out: Regenerated.
34394         * sysdeps/i386/fpu/libm-test-ulps: Update.
34395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34397 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
34399         * math/auto-libm-test-in: Add more tests of tgamma.
34400         * math/auto-libm-test-out: Regenerated.
34401         * sysdeps/i386/fpu/libm-test-ulps: Update.
34402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34404         * math/auto-libm-test-in: Add more tests of tanh.
34405         * math/auto-libm-test-out: Regenerated.
34406         * sysdeps/i386/fpu/libm-test-ulps: Update.
34407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34409         * math/auto-libm-test-in: Add more tests of tan.
34410         * math/auto-libm-test-out: Regenerated.
34411         * sysdeps/i386/fpu/libm-test-ulps: Update.
34412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34414         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
34415         * math/auto-libm-test-out: Regenerated.
34416         * sysdeps/i386/fpu/libm-test-ulps: Update.
34417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34419         * math/auto-libm-test-in: Add another test of pow.
34420         * math/auto-libm-test-out: Regenerated.
34421         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34423         * math/auto-libm-test-in: Add more tests of lgamma.
34424         * math/auto-libm-test-out: Regenerated.
34425         * sysdeps/i386/fpu/libm-test-ulps: Update.
34426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34428         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
34429         log1p.
34430         * math/auto-libm-test-out: Regenerated.
34431         * sysdeps/i386/fpu/libm-test-ulps: Update.
34432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34434 2015-05-01  Mark Wielaard  <mjw@redhat.com>
34436         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
34437         Elf64_Chdr structs and ELFCOMPRESS constants.
34439 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
34441         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
34442         expm1.
34443         * math/auto-libm-test-out: Regenerated.
34444         * sysdeps/i386/fpu/libm-test-ulps: Update.
34445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34447         * math/auto-libm-test-in: Add more tests of erf and erfc.
34448         * math/auto-libm-test-out: Regenerated.
34449         * sysdeps/i386/fpu/libm-test-ulps: Update.
34450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34452 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34454         * config.h.in (HAVE_AARCH64_BE): Add.
34456 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
34458         * math/auto-libm-test-in: Add more tests of csqrt.
34459         * math/auto-libm-test-out: Regenerated.
34460         * sysdeps/i386/fpu/libm-test-ulps: Update.
34461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34463         * math/auto-libm-test-in: Add more tests of cosh and sinh.
34464         * math/auto-libm-test-out: Regenerated.
34465         * sysdeps/i386/fpu/libm-test-ulps: Update.
34466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34468         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
34470 2015-04-29  Roland McGrath  <roland@hack.frob.com>
34472         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
34473         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
34475         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
34476         (euidaccess, eaccess): Define as weak aliases.
34478         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
34479         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
34480         but __suseconds_t is often 'long int' so some sources assume that
34481         type is being used (e.g. they use %ld to print tv_usec).
34483 2015-04-29  Florian Weimer  <fweimer@redhat.com>
34485         [BZ #18007]
34486         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
34487         (CVE-2014-8121)
34488         * nss/tst-nss-getpwent.c: New file.
34489         * nss/Makefile (tests): Add new test.
34491 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
34493         [BZ #18346]
34494         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
34495         exponents less than 48 as cases where high part of mantissa needs
34496         examining to determine whether argument is integral.
34497         * math/libm-test.inc (round_test_data): Add more tests.
34499 2015-04-28  Mark Wielaard  <mjw@redhat.com>
34501         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
34503 2015-04-27  David S. Miller  <davem@davemloft.net>
34505         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
34506         __tls_get_addr.
34507         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
34509 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
34511         [BZ #18333]
34512         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
34514 2015-04-27  Florian Weimer  <fweimer@redhat.com>
34516         [BZ #18333]
34517         * time/tzset.c (parse_tzname): Return error on memory allocation
34518         failure.
34519         * test-skeleton.c (struct temp_name_list): Change type of name
34520         member to non-const.
34521         (add_temp_file): Create a copy of the file name.
34522         (delete_temp_files): Deallocate memory.
34523         (create_temp_file): Add comment.
34525 2015-04-24  Florian Weimer  <fweimer@redhat.com>
34527         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
34528         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
34530 2015-04-24  Roland McGrath  <roland@hack.frob.com>
34532         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
34533         * sysdeps/arm/configure: Regenerated.
34535 2015-04-24  Florian Weimer  <fweimer@redhat.com>
34537         [BZ #17715]
34538         * time/tzfile.c (__tzfile_read): Check for large values of
34539         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
34540         * time/tzset.c (__tzstring_len): New function, based on the old
34541         __tzstring function.
34542         (__tzstring): Call __tzstring_len.
34543         (parse_tzname): New helper function extracted from
34544         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
34545         the input string.
34546         (parse_offset): New helper function extracted from
34547         __tzset_parse_tz.  Replace switch with fallthrough with
34548         initialization before sscanf.
34549         (parse_rule): Likewise.
34550         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
34551         new-style function definition.
34552         * timezone/Makefile (tests): Add tst-tzset.
34553         (tst-tzset.out): Dependencies on time zone files.
34554         (tst-tzset-ENV): Set TZDIR.
34555         (testdata/XT%): Copy crafted time zone files.
34556         * timezone/README: Mention crafted time zone files.
34557         * timezone/testdata/XT1, timezone/testdata/XT2,
34558         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
34559         files.
34560         * timezone/tst-tzset.c: New test.
34562 2015-04-24  Florian Weimer  <fweimer@redhat.com>
34564         * Makeconfig (+gccwarn): Remove -Winline.
34566 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
34568         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
34570 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
34572         * NEWS: Mention sysconf() cache information support for s390.
34573         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
34575 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
34577         * math/k_casinh.c (__kernel_casinh): Use __copysign.
34578         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
34579         (__nearbyint): Likewise.
34580         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
34581         (copysignl): Likewise.
34583 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
34585         [BZ #18287]
34586         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
34587         based on padding.  (CVE-2015-1781)
34589 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34591         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
34592         libc-vdso.h.
34593         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
34594         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
34595         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
34596         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
34597         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
34598         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
34599         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
34600         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34601         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
34602         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
34603         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
34604         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
34605         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
34606         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
34607         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
34608         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
34609         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
34610         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
34611         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
34612         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
34613         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
34614         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
34615         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
34617 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
34619         * stdlib/setenv.c (__add_to_environ):
34620         Dump core quickly if setenv (..., NULL, ...) is called.
34621         This time, do it the right way, and pacify GCC with a pragma.
34623 2015-04-17  Roland McGrath  <roland@hack.frob.com>
34625         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
34626         IMAP->l_prev cannot be null, and #if out the code for the contrary
34627         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
34628         believe that NS (&_dl_ns[NSID]) could point outside the array.
34630         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
34631         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
34632         before using NSID as an index.
34634 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
34636         [BZ #17825]
34637         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
34638         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
34639         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
34641 2015-04-17  Roland McGrath  <roland@hack.frob.com>
34643         Add preliminary port to Google Native Client on ARM.
34644         * abi-tags (.*-.*-nacl.*): New entry.
34645         * sysdeps/arm/nacl: New directory.
34646         * sysdeps/nacl: New directory.
34648 2015-04-16  David S. Miller  <davem@davemloft.net>
34650         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
34651         lowlevellock-futex.h
34653 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
34655         * sysdeps/tile/configure.ac: New file.
34656         * sysdeps/tile/configure: Regenerated.
34658 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34660         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
34661         conditionals for weak_alias and libc_hidden_weak.
34662         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
34663         libc_hidden_weak and weak_alias.
34664         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
34665         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
34666         and weak_alias for static one.
34668 2015-04-15  David S. Miller  <davem@davemloft.net>
34670         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
34672 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34674         [BZ #18206]
34675         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
34676           Use signed comparision instead of substraction to avoid
34677           overflow bug.
34678         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
34679           Take the sign of ret.
34680         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
34681           Do not expect precise return values. Only the sign matters.
34682         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
34683         * wcsmbs/test-wcsncmp.c: New File.
34684         * string/test-strncmp.c: Add wcsncmp support.
34686 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34688         [BZ #6792]
34689         * math/w_log1p.c: New file.
34690         * math/w_log1pf.c: Likewise.
34691         * math/w_log1pl.c: Likewise.
34692         * math/Makefile (libm-calls): Add w_log1p.
34693         * math/s_log1pl.c (log1pl): Remove weak_alias.
34694         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
34695         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
34696         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
34697         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
34698         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
34699         [NO_LONG_DOUBLE] (log1pl): Likewise.
34700         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
34701         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
34702         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
34703         (log1p): Remove long_double_symbol.
34704         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
34705         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
34706         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
34707         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
34708         remove weak_alias for corresponding log1p function.
34709         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
34710         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
34711         * sysdeps/ia64/fpu/w_log1p.c: New file.
34712         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
34713         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
34714         * math/libm-test.inc (log1p_test_data): Add errno expectations.
34716 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
34718         [BZ #18247]
34719         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
34720         decimal exponent by 1.
34721         * stdlib/tst-strtod-round-data: Add more tests.
34722         * stdlib/tst-strtod-round.c (tests): Regenerated.
34724 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
34726         * math/auto-libm-test-in: Add more tests of clog and clog10.
34727         * math/auto-libm-test-out: Regenerated.
34728         * sysdeps/i386/fpu/libm-test-ulps: Update.
34729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34731 2015-04-09  Roland McGrath  <roland@hack.frob.com>
34733         * Makeconfig (module-cppflags): Exclude all .v.i files.
34734         (skip-module-cppflags): Variable removed.
34736         * configure.ac (libc_config_ok): Initialize before reading
34737         preconfigure scripts, not after.
34738         * configure: Regenerated.
34740         * test-skeleton.c (TIMEOUT): Move #define to top level.
34741         (main): Grok environment variable TEST_DIRECT.  If set, print
34742         test expectation details into that file and then behave as if
34743         given --direct.
34745 2015-04-09  Florian Weimer  <fweimer@redhat.com>
34747         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
34748         warning on 32-bit.
34750 2015-04-08  David S. Miller  <davem@davemloft.net>
34752         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34754 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
34756         * math/auto-libm-test-in: Add more tests of atanh.
34757         * math/auto-libm-test-out: Regenerated.
34758         * sysdeps/i386/fpu/libm-test-ulps: Update.
34759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34761         * math/auto-libm-test-in: Add more tests of atan.
34762         * math/auto-libm-test-out: Regenerated.
34763         * sysdeps/i386/fpu/libm-test-ulps: Update.
34764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34766 2015-04-08  Florian Weimer  <fweimer@redhat.com>
34768         * elf/pldd.c (main): Rewrite to use struct
34769         scratch_buffer instead of extend_alloca.
34770         * elf/pldd-xx.c (find_maps): Likewise.
34771         * grp/initgroups.c: Include <scratch_buffer.h> instead of
34772         <alloca.h>.
34773         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
34774         scratch_buffer instead of extend_alloca.
34775         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
34776         grp/compat-initgroups.c.
34777         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
34778         Rewrite to use struct scratch_buffer instead of extend_alloca.
34779         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
34780         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34782 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
34784         * math/auto-libm-test-in: Add more tests of cbrt.
34785         * math/auto-libm-test-out: Regenerated.
34786         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34788         * math/auto-libm-test-in: Add more tests of cabs.
34789         * math/auto-libm-test-out: Regenerated.
34790         * sysdeps/i386/fpu/libm-test-ulps: Update.
34791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34793         [BZ #18210]
34794         [BZ #18211]
34795         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
34796         (__ieee754_atan2): Set FE_TONEAREST mode for internal
34797         computations.
34798         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
34799         clog10.
34800         * math/auto-libm-test-out: Regenerated.
34801         * sysdeps/i386/fpu/libm-test-ulps: Update.
34802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34804         [BZ #18197]
34805         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
34806         (atan): Set FE_TONEAREST mode for internal computations.
34807         * math/auto-libm-test-in: Add more tests of atan.
34808         * math/auto-libm-test-out: Regenerated.
34810 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
34812         [BZ #17930]
34813         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
34815 2015-04-07  Florian Weimer  <fweimer@redhat.com>
34817         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
34819 2015-04-07  Florian Weimer  <fweimer@redhat.com>
34821         * include/scratch_buffer.h: New file.
34822         * malloc/scratch_buffer_grow.c: Likewise.
34823         * malloc/scratch_buffer_grow_preserve.c: Likewise.
34824         * malloc/scratch_buffer_set_array_size.c: Likewise.
34825         * malloc/tst-scratch_buffer.c: Likewise.
34826         * malloc/Makefile (routines): Add scratch_buffer_grow.
34827         (tests): Add test case.
34828         * malloc/Versions (GLIBC_PRIVATE): Export
34829         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
34830         __libc_scratch_buffer_set_array_size.
34832 2015-04-06  Richard Henderson  <rth@redhat.com>
34834         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
34835         * sysdeps/alpha/fpu/libm-test-ulps: Update.
34837         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
34838         unsigned int before printing.
34840 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34842         [BZ #17596]
34843         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
34844         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
34846 2015-04-02  Florian Weimer  <fweimer@redhat.com>
34848         * include/libc-internal.h (libc_max_align_t): Define.
34850 2015-04-02  Andreas Schwab  <schwab@suse.de>
34852         [BZ #16850]
34853         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
34855 2015-04-02  Mel Gorman  <mgorman@suse.de>
34857         [BZ #17195]
34858         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
34859         as well as the main arena.
34861 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
34863         [BZ #18185]
34864         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
34865         sharing L2 cache to 2 for Silvermont/Knights Landing.
34867 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
34869         [BZ #17711]
34870         * config.make.in (have-protected-data): New.
34871         * configure.ac: Check linker support for protected data symbol.
34872         * configure: Regenerated.
34873         * elf/Makefile (modules-names): Add tst-protected1moda and
34874         tst-protected1modb if $(have-protected-data) is yes.
34875         (tests): Add tst-protected1a and tst-protected1b if
34876         $(have-protected-data) is yes.
34877         ($(objpfx)tst-protected1a): New.
34878         ($(objpfx)tst-protected1b): Likewise.
34879         (tst-protected1modb.so-no-z-defs): Likewise.
34880         * elf/tst-protected1a.c: New file.
34881         * elf/tst-protected1b.c: Likewise.
34882         * elf/tst-protected1mod.h: Likewise.
34883         * elf/tst-protected1moda.c: Likewise.
34884         * elf/tst-protected1modb.c: Likewise.
34886 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
34888         [BZ #17711]
34889         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
34890         indicates it is called from do_lookup_x on relocation against
34891         protected data, skip the data definion in the executable from
34892         copy reloc.
34893         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
34894         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
34895         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
34896         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
34897         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
34898         otherwise to 0.
34899         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
34900         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
34901         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
34902         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
34903         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
34904         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
34906 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
34908         * sysdeps/nptl/pthread.h: Remove duplicate definition of
34909         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
34911 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
34913         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
34914         THREAD_SETMEM_NC.
34915         * sysdeps/x86_64/nptl/tls.h: Ditto.
34917 2015-03-27  Roland McGrath  <roland@hack.frob.com>
34919         * dlfcn/tststatic.c (main): Converted to ...
34920         (do_test): ... this.
34921         (TEST_FUNCTION): New macro.
34922         Include test-skeleton.c.
34924 2015-03-26  Alan Modra  <amodra@gmail.com>
34926         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
34927         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
34928         zero for undefined weak.
34929         (elf_machine_plt_conflict): Similarly.
34931 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
34933         * math/auto-libm-test-in: Add more tests of acosh, asinh and
34934         atanh.
34935         * math/auto-libm-test-out: Regenerated.
34936         * sysdeps/i386/fpu/libm-test-ulps: Update.
34937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34939         * math/auto-libm-test-in: Add another test of asin.
34940         * math/auto-libm-test-out: Regenerated.
34941         * sysdeps/i386/fpu/libm-test-ulps: Update.
34942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34944         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
34945         Remove macro.
34946         (LLL_EBX_REG): Likewise.
34947         (LLL_ENTER_KERNEL): Likewise.
34949         * math/auto-libm-test-in: Add more tests of asin.
34950         * math/auto-libm-test-out: Regenerated.
34951         * sysdeps/i386/fpu/libm-test-ulps: Update.
34952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34954         [BZ #18138]
34955         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
34956         libc_do_syscall_args): New structure.
34957         (INTERNAL_SYSCALL_MAIN_0): New macro.
34958         (INTERNAL_SYSCALL_MAIN_1): Likewise.
34959         (INTERNAL_SYSCALL_MAIN_2): Likewise.
34960         (INTERNAL_SYSCALL_MAIN_3): Likewise.
34961         (INTERNAL_SYSCALL_MAIN_4): Likewise.
34962         (INTERNAL_SYSCALL_MAIN_5): Likewise.
34963         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
34964         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
34965         Replace conditional definitions by conditional definitions of ....
34966         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
34967         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
34968         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
34969         (libpthread-sysdep_routines): Add libc-do-syscall.
34970         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
34971         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
34972         to __NR_futex not 240.
34974 2015-03-25  Alan Modra  <amodra@gmail.com>
34976         * NEWS: Advertise TLS optimization.
34977         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
34978         (DT_PPC_NUM): Increment.
34979         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
34980         (CHECK_STATIC_TLS): Use here.
34981         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
34982         TLS descriptors.
34983         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
34984         * sysdeps/powerpc/dl-tls.c: New file.
34985         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
34986         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
34987         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
34988         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
34989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
34990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
34991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
34993 2015-03-25  Alan Modra  <amodra@gmail.com>
34995         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
34996         for overlapping .opd entries" to "support...".
34997         * sysdeps/powerpc/powerpc64/configure: Regenerate
34999 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
35001         * math/auto-libm-test-in: Add more tests of acos.
35002         * math/auto-libm-test-out: Regenerated.
35003         * sysdeps/i386/fpu/libm-test-ulps: Update.
35004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35006         * math/auto-libm-test-in: Add more tests of expm1.
35007         * math/auto-libm-test-out: Regenerated.
35008         * sysdeps/i386/fpu/libm-test-ulps: Update.
35009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35011 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
35013         * math/auto-libm-test-in: Add more tests of cosh and sinh.
35014         * math/auto-libm-test-out: Regenerated.
35015         * sysdeps/i386/fpu/libm-test-ulps: Update.
35016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35018         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
35019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35021         * math/auto-libm-test-in: Add more tests of log2.
35022         * math/auto-libm-test-out: Regenerated.
35023         * sysdeps/i386/fpu/libm-test-ulps: Update.
35024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35026 2015-03-23  Roland McGrath  <roland@hack.frob.com>
35028         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
35029         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
35030         _IO_IS_APPENDING bit in READ_WRITE instead.
35032 2015-03-23  Florian Weimer  <fweimer@redhat.com>
35034         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
35035         (__determine_cpumask_size): Replace extend_alloca with a
35036         variable-length array.  Do not treat res == 0 as an error.
35038 2015-03-23  Florian Weimer  <fweimer@redhat.com>
35040         [BZ #18100]
35041         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
35042         and integer overflow.
35043         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
35044         (main): Add integer overflow tests.
35045         * manual/pattern.texi (Calling Wordexp): Document additional use
35046         for WRDE_SYNTAX.
35048 2015-03-23  Alan Modra  <amodra@gmail.com>
35050         * config.h.in: Remove HAVE_ASM_PPC_REL16.
35051         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
35052         and false branch of conditional.
35053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
35054         Likewise.
35056 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
35058         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
35059         libc-modules.h
35060         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
35061         unused declaration of _hurd_intr_rpc_msg_in_trap.
35062         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
35063         defined instead of whether it is non-zero.
35064         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
35065         input constraint instead of both input and output constraint.  Use ecx
35066         clobber instead of %ecx.
35067         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
35068         mutex_unlock): Use a statement expression instead of an expression list.
35069         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
35070         type to vm_size_t instead of vm_address_t.
35071         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
35072         defined instead of whether it is non-zero.
35073         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
35074         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
35075         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
35076         comparisons with mapaddr.
35077         * nscd/nscd-client.h: Include <time.h>.
35078         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
35079         9th parameter to __vm_region instead of int.
35080         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
35081         * scripts/check-local-headers.sh (exclude): Add device/,
35082         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
35083         cthreads.h.
35085 2015-03-19  Roland McGrath  <roland@hack.frob.com>
35087         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
35088         to account for alignment padding.
35089         * sysdeps/arm/memmove.S: Likewise.
35091 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
35093         * sysdeps/unix/sysv/linux/generic/README: New file.
35095 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
35097         [BZ #18138]
35098         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
35099         (futex_abstimed_wait)
35100         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
35101         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
35102         of lll_futex_timed_wait.
35104 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
35106         [BZ #17542]
35107         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
35109 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
35111         [BZ #17090]
35112         [BZ #17620]
35113         [BZ #17621]
35114         [BZ #17628]
35115         * NEWS: Update.
35116         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
35117         entries with Static TLS too.  Skip entries past the end of the
35118         allocated DTV, from Alan Modra.
35119         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
35120         Static TLS DTV entry set up from...
35121         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
35122         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
35123         * nptl/allocatestack.c (init_one_static_tls): ... and here...
35124         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
35125         for Static TLS.
35126         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
35127         that the slot we find is associated with the given map before
35128         using its generation count.
35129         * nptl_db/db_info.c: Include ldsodefs.h.
35130         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
35131         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
35132         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
35133         (link_map::l_tls_offset): New struct field.
35134         (dtv_t::counter): Likewise.
35135         (rtld_global): New struct.
35136         (_rtld_global): New rtld variable.
35137         (dl_tls_dtv_slotinfo_list): New rtld global field.
35138         (dtv_slotinfo_list): New struct.
35139         (dtv_slotinfo): Likewise.
35140         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
35141         (td_lookup): Rename to...
35142         (td_mod_lookup): ... this.  Use new mod parameter instead of
35143         LIBPTHREAD_SO.
35144         * nptl_db/td_thr_tlsbase.c: Include link.h.
35145         (dtv_slotinfo_list, dtv_slotinfo): New functions.
35146         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
35147         addresses even if the DTV is out of date or missing them.
35148         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
35149         index zero-length arrays.
35150         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
35151         (td_lookup): Make it a macro implemented in terms of...
35152         (td_mod_lookup): ... this declaration.
35153         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
35154         (DB_MAIN_VARIABLE): Likewise.
35156 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35158         [BZ #18134]
35159         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
35161 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
35163         * stdlib/setenv.c (__add_to_environ): Revert previous change.
35165 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
35167         [BZ #18128]
35168         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
35169         (atomic_add, atomic_increment_and_test)
35170         (atomic_decrement_and_test): Fix 64-bit arithmetic.
35172 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
35174         * stdlib/setenv.c (__add_to_environ):
35175         Dump core quickly if setenv (..., NULL, ...) is called.
35177 2015-03-13  Roland McGrath  <roland@hack.frob.com>
35179         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
35180         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
35181         all the necessary asm magic in one place.
35182         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
35183         using those.
35185 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
35187         [BZ #14906]
35188         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
35189         traced file mtime. Use consistent log message.
35190         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
35191         (register_traced_file): Call install_watches. Always set mtime.
35192         (invalidate_cache): Iterate over all trace files. Call install_watches.
35193         (inotify_check_files): Don't inline. Handle watching parent
35194         directories and configuration file movement in and out.
35195         (handle_inotify_events): New function.
35196         (main_loop_poll): Call handle_inotify_events.
35197         (main_loop_epoll): Likewise.
35198         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
35199         (struct traced_file): Use array of inotify fds. Add parent directory,
35200         and basename.
35201         (struct database_dyn): Remove unused file_mtime.
35202         (init_traced_file): New inline function.
35203         (define_traced_file): New macro.
35204         * nss/nss_db/db-init.c: Use define_traced_file.
35205         (_nss_db_init): Use init_traced_file.
35206         * nss/nss_files/files-init.c: Use define_traced_file.
35207         (_nss_files_init): Use init_traced_file.
35209 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
35211         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
35212         [_LIBC]: Do not include <stdlib.h>.
35213         [!_LIBC] (abort): Remove declaration.
35214         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
35215         _FP_STATIC_ASSERT instead of conditionally calling abort.
35216         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
35217         (_FP_EXTEND_CNAN): Likewise.
35218         (FP_TRUNC): Likewise.
35219         (__FP_CLZ): Likewise.
35220         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
35222 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
35224         * manual/string.texi (XPG basename): Fix prototype.
35226 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35228         [BZ #18080]
35229         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
35230         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
35231         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
35232         (__setcontext): Likewise.
35233         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
35234         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
35235         Call rt_sigprocmask syscall one time to set new signal mask
35236         and retrieve the current signal mask instead of two calls.
35237         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
35238         (__swapcontext): Likewise.
35239         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
35240         * stdlib/tst-setcontext2.c: New file.
35242 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35244         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35246 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
35248         [BZ #18093]
35249         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
35250         the wrong size.
35252 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
35254         [BZ #18043]
35255         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
35257 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
35259         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
35260         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
35261         Remove define.
35262         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
35263         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
35264         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
35265         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
35266         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
35267         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
35268         define.
35269         * nptl_db/td_symbol_list.c (td_lookup): Remove
35270         HAVE_ASM_GLOBAL_DOT_NAME code.
35271         * sysdeps/powerpc/powerpc64/configure.ac: Remove
35272         HAVE_ASM_GLOBAL_DOT_NAME check.
35273         * sysdeps/powerpc/powerpc64/configure: Regenerate.
35274         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
35275         (DOT_LABEL): Remove define.
35276         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
35277         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
35278         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
35279         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
35280         (__TLS_GET_ADDR): Likewise.
35281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
35282         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
35284 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
35286         [BZ #18111]
35287         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
35288         (_FPU_SETCW): Initialize cw from fpsr before storing.
35289         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
35290         (fesetexceptflag): Rewrite using fpu_control.h.
35291         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
35293 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
35295         [BZ #18110]
35296         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
35297         asms.
35298         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
35300 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
35302         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
35303         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
35304         abort.
35305         (_FP_FMA): Likewise.
35306         (_FP_DIV): Likewise.
35308 2015-03-10  Roland McGrath  <roland@hack.frob.com>
35310         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
35311         with 0 in that case.
35312         * Makefile (summarize-tests): New canned sequence, factored out of
35313         commands for targets tests and xtests.  Display summary lines that
35314         don't start with PASS: or XFAIL: rather than ones that do start with
35315         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
35316         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
35317         do start with ERROR: or FAIL:.
35318         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
35319         (except for [$(build-shared) = yes]).
35320         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
35321         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
35322         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
35323         * nptl/Makefile: Revert 2015-03-04 changes.
35324         [$(CXX) empty] (tests-unsupported): New variable.
35325         * debug/Makefile: Likewise.
35327         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
35328         gnulib file.  Replace __attribute with __attribute__ throughout.
35330 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
35332         * sysdeps/hppa/fpu/libm-test-ulps: Update.
35334 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
35336         [BZ #18104]
35337         * math/auto-libm-test-in: Add another test of pow.
35338         * math/auto-libm-test-out: Regenerated.
35340 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35342         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
35343         $(config-cflags-nofma).
35345 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
35347         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
35348         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
35349         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
35350         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
35351         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
35352         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
35353         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
35354         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
35355         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
35356         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
35357         Add comment on closing #endif.
35359 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
35361         * posix/wordexp.c (CHAR_IN_SET): New macro.
35362         (parse_param): Use it.
35364 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35366         * sysdeps/powerpc/fpu/libm-test-ulps: update.
35368 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
35370         [BZ #18043]
35371         * posix/wordexp.c (parse_param): Fix buffer overflow.
35372         * posix/wordexp-test.c (test_case): Add test case.
35374 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
35376         [BZ #18042]
35377         * posix/wordexp.c (parse_backtick): Fix off-by-one.
35378         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
35380 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
35382         [BZ #18043]
35383         * posix/wordexp-test.c (test_case): Add test for BZ #18043
35384         (do_bz18043): Delete.
35385         (at_page_end): New.
35386         (testit): Refactor to have words at the edge of unreadable page.
35388 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
35390         [BZ #16734]
35391         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
35392         Cleanup read-only streams as well.
35393         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
35395 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35397         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
35398         <bits/libc-lockP.h>
35400 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
35402         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
35403         on [__KERNEL__].
35404         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
35405         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
35406         * soft-fp/op-common.h (_FP_DECL): Likewise.
35408 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
35410         * elf/ifuncdep2.c (global): Replace
35411         __attribute__((visibility("protected"))) with
35412         asm (".protected global").
35413         * elf/ifuncmod1.c (global): Likewise.
35414         * elf/ifuncmod5.c (global): Likewise.
35416 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
35418         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
35419         <asm/sfp-machine.h> instead of <sfp-machine.h>.
35421 2015-03-06  Roland McGrath  <roland@hack.frob.com>
35423         * manual/install.texi (Configuring and compiling):
35424         Document test-wrapper-env-only.
35425         * INSTALL: Regenerated.
35427 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35429         [BZ #18043]
35430         * posix/wordexp.c (parse_param): Fix buffer overflow.
35431         * posix/wordexp-test.c (do_bz18043): Add test case.
35433 2015-03-06  Vincent Bernat  <vincent@bernat.im>
35435         * time/tst-strptime2.c (do_test): Ensure failing tests are
35436         reported correctly.
35437         * time/tst-strptime3.c (do_test): Likewise.
35439 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
35441         Fix aio_error thread-safety.
35442         * sysdeps/pthread/aio_error.c: New file
35443         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
35444         synchronization.
35446 2015-03-06  Florian Weimer  <fweimer@redhat.com>
35448         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
35449         (group_number, vfprintf): Use it.
35450         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
35451         (JUMP, REF): Use it.
35452         (WORK_BUFFER_SIZE): New enum constant.
35453         (process_arg, vfprintf): Use it.
35455 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
35457         * manual/errno.texi (Error Messages): Complete example function
35458         by adding missing #define.
35459         (program_invocation_name): Add statement indicating GNU
35460         extension and reference which header file declares the variable.
35461         (program_invocation_short_name): Likewise.
35463 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
35465         * manual/errno.texi (Error Messages): Delete strerror ISO C89
35466         compatibility note.
35468 2015-03-05  Roland McGrath  <roland@hack.frob.com>
35470         * Makeconfig (test-wrapper-env-only): New variable.
35471         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
35472         then use that with $(test-wrapper-env-only) rather than using
35473         $(test-wrapper-env) $(run-program-env) $($*-ENV).
35475 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
35477         [BZ #18082]
35478         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
35479         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
35480         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
35481         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
35482         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
35483         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
35484         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
35485         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
35486         Likewise.
35487         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
35488         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
35489         Likewise.
35490         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
35491         Likewise.
35492         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
35493         Likewise.
35494         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
35495         Likewise.
35496         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
35497         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
35498         Likewise.
35499         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
35500         Likewise.
35501         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
35502         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
35504 2015-03-04  Roland McGrath  <roland@hack.frob.com>
35506         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
35507         (ETH_ALEN): New macro.
35508         (struct ether_addr): Use it for length of ether_addr_octet.
35510         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
35511         (setdb): Don't call __nss_configure_lookup for "rpc".
35512         (do_test): Don't call test_rpc.
35513         (output_rpcent, test_rpc): Functions moved ...
35514         * sunrpc/test-rpcent.c: ... to this new file.
35515         * sunrpc/Makefile (tests): Add it.
35517         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
35518         __xpg_sigpause.
35519         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
35520         * nptl/tst-signal6.c: Likewise.
35521         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
35522         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
35524         * configure.ac (libc_cv_cxx_link_ok): New check.
35525         Reset CXX to empty if it fails to link.
35526         * configure: Regenerated.
35527         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
35528         bug-atexit3-lib only if $(CXX) is nonempty.
35529         * nptl/Makefile (tests): Likewise for tst-cancel24.
35530         (tests, tests-static): Likewise for tst-cancel24-static.
35531         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
35532         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
35533         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
35534         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
35536 2015-03-04  Andreas Schwab  <schwab@suse.de>
35538         [BZ #17631]
35539         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
35540         for non-GCC compilers.
35541         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
35542         Likewise.
35544 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
35546         [BZ #17776]
35547         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
35548         integer before bitwise and assembly operations.
35549         (feclearexcept): Likewise.
35550         * math/test-fenvinline.c: New file.
35551         * math/Makefile: Add test-fenvinline test.
35553 2015-03-03  Alan Modra  <amodra@gmail.com>
35555         [BZ #16512]
35556         * scripts/localplt.awk: Strip off symbol version.
35557         * NEWS: Mention bug fix.
35559 2015-03-02  Roland McGrath  <roland@hack.frob.com>
35561         * sysdeps/pthread/timer_routines.c
35562         (timer_free_list, thread_free_list, thread_active_list): Make static.
35564 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
35566         [BZ #17779]
35567         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
35568         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
35569         Undefine.
35570         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35571         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
35572         Likewise.
35573         * sysdeps/unix/sysv/linux/sh/kernel-features.h
35574         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
35575         Likewise.
35577 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
35579         [BZ #18036]
35580         * posix/fnmatch_loop.c (END): Detect invalid pattern.
35581         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
35583 2015-03-02  Andreas Schwab  <schwab@suse.de>
35585         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
35586         variable name.
35588 2015-03-02  Florian Weimer  <fweimer@redhat.com>
35590         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
35591         Return error status.
35593 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
35595         [BZ #15969]
35596         * locale/findlocale.c (_nl_find_locale): Introduce const
35597         version of loc_name and drop unsafe type casts.
35599 2015-02-27  Roland McGrath  <roland@hack.frob.com>
35601         * dlfcn/tststatic2.c (main): Converted to ...
35602         (do_test): ... this.
35603         (TEST_FUNCTION): New macro.
35604         Include test-skeleton.c.
35606 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
35608         [BZ #17711]
35609         * elf/Makefile (tests): Add vismain only if PIE is enabled.
35610         (tests-pie): Add vismain.
35611         (CFLAGS-vismain.c): New.
35612         * elf/vismain.c: Add comments for PIE requirement.
35614 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
35616         [BZ #18046]
35617         [BZ #18047]
35618         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
35619         0x1p-56L as threshold for just returning the argument.
35620         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
35621         0x1p-32L as threshold for just returning the argument.
35622         * math/auto-libm-test-in: Add more tests of atanh.
35623         * math/auto-libm-test-out: Regenerated.
35624         * sysdeps/i386/fpu/libm-test-ulps: Update.
35625         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
35627 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
35629         * string/bcopy.c (bcopy): Call memmove for performance.
35631 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
35633         * string/bzero.c (__bzero): Call memset for performance.
35635 2015-02-27  John David Anglin  <dave.anglin@bell.net>
35637         [BZ #18068]
35638         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
35639         to 00100000.
35641 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
35643         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
35645 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
35647         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
35648         (__kernel_standard): Use CSTR macro when setting exc.name.
35649         * sysdeps/ieee754/Makefile [$(subdir) = math]
35650         (CFLAGS-k_standard.c): Remove variable.
35652         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
35653         setting p and q from "else if" to "else".
35654         (qzero): Likewise.
35655         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
35656         (qone): Likewise.
35657         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
35658         (qzerof): Likewise.
35659         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
35660         (qonef): Likewise.
35661         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
35662         (qzero): Likewise.
35663         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
35664         (qone): Likewise.
35666         [BZ #18038]
35667         [BZ #18039]
35668         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
35669         return pi/2 for arguments below 0x1p-113L.
35670         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
35671         return pi/2 for arguments below 0x1p-106L.
35672         * math/auto-libm-test-in: Add more tests of acos.
35673         * math/auto-libm-test-out: Regenerated.
35675         [BZ #16351]
35676         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
35677         (MO): New macro.
35678         (__ieee754_asin): Force underflow exception for results with small
35679         absolute value.
35680         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
35681         (MO): New macro.
35682         (__ieee754_asinf): Force underflow exception for results with
35683         small absolute value.
35684         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
35685         (__ieee754_asin): Force underflow exception for results with small
35686         absolute value.
35687         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
35688         (__ieee754_asinf): Force underflow exception for results with
35689         small absolute value.
35690         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
35691         (__ieee754_asinl): Force underflow exception for results with
35692         small absolute value.
35693         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
35694         (__ieee754_asinl): Force underflow exception for results with
35695         small absolute value.
35696         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
35697         (__ieee754_asinl): Force underflow exception for results with
35698         small absolute value.
35699         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
35700         Include <math.h>.
35701         * math/auto-libm-test-in: Do not mark underflow exceptions as
35702         possibly missing for bug 16351.
35703         * math/auto-libm-test-out: Regenerated.
35705         [BZ #18030]
35706         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
35707         of power of 2 down when low part has opposite sign.
35708         * math/libm-test.inc (logb_test_data): Add more tests.
35710 2015-02-26  Andreas Schwab  <schwab@suse.de>
35712         [BZ #18032]
35713         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
35714         over collating symbol inside a bracket expression.  Minor cleanup.
35715         * posix/tst-fnmatch3.c (do_test): Add test case.
35717 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
35719         [BZ #18029]
35720         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
35721         Adjust exponent of power of 2 down when low part has opposite
35722         sign.
35723         * math/libm-test.inc (ilogb_test_data): Add more tests.
35725 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
35727         [BZ #15969]
35728         * locale/findlocale.c (_nl_find_locale): Fix constness error in
35729         the previous change.
35731         [BZ #15969]
35732         * locale/findlocale.c (_nl_find_locale): Retry archive search
35733         after alias expansion.
35735 2015-02-25  Roland McGrath  <roland@hack.frob.com>
35737         * iconv/tst-iconv3.c (main): Converted to ...
35738         (do_test): ... this.
35739         (TEST_FUNCTION): New macro.
35740         Include test-skeleton.c.
35742         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
35743         (convert): Make function static.
35744         (test_unalign): Likewise.  Add const to argument pointee types.
35745         (main): Replace with static function do_test.
35746         Print "Succeeded." only if RET is zero.
35747         (TEST_FUNCTION): New macro.
35748         Include test-skeleton.c.
35750         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
35751         returns a null pointer.
35753 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35755         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
35756         to __memcpy_ppc only for static builds.
35758 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
35760         [BZ #18020]
35761         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
35762         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
35763         * math/auto-libm-test-in: Add more tests of asinh.
35764         * math/auto-libm-test-out: Regenerated.
35765         * sysdeps/i386/fpu/libm-test-ulps: Update.
35766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35768 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
35770         [BZ #15850]
35771         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
35772         and ip6_mtuinfo definitions here.
35773         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
35774         in this define too.  Update comment.
35776 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
35778         * elf/sprof.c (load_shobj): Tweak error message to match others.
35780 2015-02-24  Kevin Easton  <kevin@guarana.org>
35782         [BZ #16145] (partial fix)
35783         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
35784         to reduce lock contention.
35786 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
35788         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
35789         (struct timex): Update time comment.
35790         (ADJ_SETOFFSET): Define.
35792 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
35794         [BZ #18019]
35795         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
35796         2**56 not 2**28 as threshold for log (2x) formula.
35797         * math/auto-libm-test-in: Add more tests of acosh.
35798         * math/auto-libm-test-out: Regenerated.
35799         * sysdeps/i386/fpu/libm-test-ulps: Update.
35800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35802 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
35804         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
35805         parenthesis around the buf assignment.
35806         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
35808 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
35810         [BZ #16783]
35811         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
35812         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
35813         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
35814         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
35815         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
35816         * math/libm-test.inc (scalb_test_data): Add more tests.
35818 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
35820         [BZ #17916]
35821         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
35822         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
35824 2015-02-24  Eric Rannaud  <e@nanocritical.com>
35826         [BZ #17523]
35827         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
35828         * io/bits/fcntl2.h (open): Use it.
35829         (openat): Likewise.
35830         * io/open.c (__libc_open): Likewise.
35831         * io/open64.c (__libc_open64): Likewise.
35832         * io/open64_2.c (__open64_2): Likewise.
35833         * io/open_2.c (__open_2): Likewise.
35834         * io/openat.c (__openat): Likewise.
35835         * io/openat64.c (__openat64): Likewise.
35836         * io/openat64_2.c (__openat64_2): Likewise.
35837         * io/openat_2.c (__openat_2): Likewise.
35838         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
35839         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
35840         * sysdeps/posix/open64.c (__libc_open64): Likewise.
35841         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
35842         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
35843         (__open_nocancel): Likewise.
35844         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
35845         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
35846         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
35848 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35850         [BZ #14841]
35851         * resolv/gethnamaddr.c (getanswer): Skip logging if
35852         RES_USE_DNSSEC is set.
35853         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
35855 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
35857         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
35859 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
35861         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
35862         201304L, for Unicode 7.
35864 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
35866         [BZ #17836]
35867         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
35868         shared library.  Add gmon-start.os otherwise.
35869         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
35870         $(objpfx)gmon-start.os if builing shared library.
35871         ($(objpfx)g$(static-start-installed-name)): Likewise.
35873 2015-02-23  Andreas Schwab  <schwab@suse.de>
35875         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
35877 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
35879         [BZ #17269]
35880         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
35881         (enlarge_userbuf): Likewise.
35883 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
35885         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
35886         * math/atest-exp.c (TIMEOUT): Adjust to 200.
35887         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
35888         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
35890 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
35892         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
35893         expression inside statement expression.
35895 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
35897         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
35898         <sysdeps/nptl/lowlevellock.h> and remove macros and
35899         functions that are now defined there.
35900         (SYS_futex): Remove.
35901         (lll_compare_and_swap): Remove.
35902         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
35904 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
35906         [BZ #17999]
35907         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
35908         instead of scandirat.
35909         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
35910         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
35911         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
35912         __scandirat.
35913         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
35914         (__scandirat): Declare.  Use libc_hidden_proto.
35915         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
35916         Remove variable.
35917         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
35919 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
35921         [BZ #15319]
35922         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
35923         (MO): New macro.
35924         (__ieee754_atan2): For results with small absolute value, force
35925         underflow exception and remove excess range and precision from
35926         return value.
35927         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
35928         (MO): New macro.
35929         (__ieee754_atan2f): For results with small absolute value, force
35930         underflow exception and remove excess range and precision from
35931         return value.
35932         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
35933         (MO): New macro.
35934         (__atan): For results with small absolute value, force underflow
35935         exception and remove excess range and precision from return value.
35936         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
35937         (MO): New macro.
35938         (__atanf): For results with small absolute value, force underflow
35939         exception and remove excess range and precision from return value.
35940         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
35941         <math.h>.
35942         (__ieee754_atan2): Force underflow exception for results with
35943         small absolute value.
35944         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
35945         <math_private.h>.
35946         (atan): Force underflow exception for results with small absolute
35947         value.
35948         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
35949         (__atanf): Force underflow exception for results with small
35950         absolute value.
35951         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
35952         <math.h>.
35953         (__atanl): Force underflow exception for results with small
35954         absolute value.
35955         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
35956         (__atanl): Force underflow exception for results with small
35957         absolute value.
35958         * sysdeps/x86/fpu/bits/mathinline.h
35959         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
35960         (__ieee754_atan2): Only define inline for long double.
35961         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
35962         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
35963         * math/auto-libm-test-in: Do not mark underflow exceptions as
35964         possibly missing for bug 15319.  Add more tests of atan2.
35965         * math/auto-libm-test-out: Regenerated.
35966         * math/libm-test.inc (casin_test_data): Do not mark underflow
35967         exceptions as possibly missing for bug 15319.
35968         (casinh_test_data): Likewise.
35969         * sysdeps/i386/fpu/libm-test-ulps: Update.
35971 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
35973         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
35974         * sysdeps/mips/bits/endian.h: Fix comments.
35976 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
35978         [BZ #17996]
35979         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
35980         (hdestroy_r): Likewise.
35981         (hsearch_r): Likewise.
35982         (__hcreate_r): Declare and use libc_hidden_proto.
35983         (__hdestroy_r): Likewise.
35984         (__hsearch_r): Likewise.
35985         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
35986         (hcreate): Call __hcreate_r instead of hcreate_r.
35987         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
35988         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
35989         as weak alias of __hcreate_r.
35990         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
35991         __hdestroy_r.
35992         (hsearch_r): Rename to __hsearch_r and define as weak alias of
35993         __hsearch_r.
35994         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
35995         Remove variable.
35996         (test-xfail-XPG4/search.h/linknamespace): Likewise.
35997         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
35998         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
35999         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
36001 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36003         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
36004         arena_lock into a single arena_get.
36006 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
36008         * dl-reloc.c: Inlucde libc-internal.h.
36009         (_dl_try_allocate_static_tls): Call ALIGN_UP.
36010         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
36011         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
36012         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
36013         (grow_heap): Likewise.
36014         * malloc/malloc.c: Include libc-internal.h.
36015         (do_check_malloc): Call powerof2.
36016         (sysmalloc): Use pagesize. Call ALIGN_UP.
36017         (systrim): Use pagesize.
36018         (mremap_chunk): Use pagesize. Call ALIGN_UP.
36019         (__libc_valloc): Use pagesize.
36020         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
36022 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
36024         [BZ #17991]
36025         * include/sys/resource.h (__getrlimit64): Declare.  Use
36026         libc_hidden_proto.
36027         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
36028         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
36029         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
36030         getrlimit64.
36031         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
36032         __getrlimit64.
36033         [!getrlimit64] (getrlimit64): Define as weak alias of
36034         __getrlimit64.  Use libc_hidden_weak.
36035         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
36036         using __getrlimit64 not __new_getrlimit64.
36037         (__GI_getrlimit64): Likewise.
36038         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
36039         Likewise.
36040         (__GI_getrlimit64): Likewise.
36041         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
36042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
36043         (getrlimit): Add __getrlimit64 alias.
36044         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
36045         Likewise.
36046         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
36047         Remove variable.
36048         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
36049         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
36051 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
36053         * libio/fileops.c: Add missing sys/mman.h
36054         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
36056 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
36058         * manual/math.texi (Errors in Math Functions): Clarify goals
36059         regarding inexact and underflow exceptions.
36061 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
36063         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
36064         * sysdeps/mips/memset.S: Ditto.
36066 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
36068         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
36070 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
36072         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
36073         (__v1longjmp): Remove versioned symbol.
36074         (__v1siglongjmp): Remove alias and versioned symbol.
36075         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
36076         (__v2siglongjmp): Likewise.
36078 2015-02-16  Torvald Riegel  <triegel@redhat.com>
36080         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
36082 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
36084         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
36086 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
36088         [BZ #17987]
36089         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
36090         zero result does not depend on the sign resulting from
36091         subtraction.
36092         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
36093         Likewise.
36094         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
36095         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
36096         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
36097         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
36098         * math/libm-test.inc (remquo_test_data): Add more tests.
36100 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
36102         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
36103         Problem reported by J William Piggott.
36105 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
36107         [BZ #17978]
36108         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
36109         products 4 * y and 2 * y where those would overflow.
36110         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
36111         Likewise.
36112         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
36113         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
36114         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
36115         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
36116         * math/libm-test.inc (remquo_test_data): Add more tests.
36118         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
36120         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
36121         [defined _COMPILING_NEWLIB].
36122         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
36123         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
36125         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
36126         [!defined __mips_isa_rev || __mips_isa_rev < 6].
36128 2015-02-16  Torvald Riegel  <triegel@redhat.com>
36130         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
36131         acquired.
36133 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
36135         [BZ #17792]
36136         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
36137         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
36138         HOST_STACK_END_ADDR): Likewise.
36140 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
36142         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
36143         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
36144         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
36146 2015-02-13  Roland McGrath  <roland@hack.frob.com>
36148         * sysdeps/generic/c++-types.data: New file.
36149         * sysdeps/generic/ld.abilist: New file.
36150         * sysdeps/generic/libBrokenLocale.abilist: New file.
36151         * sysdeps/generic/libanl.abilist: New file.
36152         * sysdeps/generic/libc.abilist: New file.
36153         * sysdeps/generic/libcrypt.abilist: New file.
36154         * sysdeps/generic/libdl.abilist: New file.
36155         * sysdeps/generic/libm.abilist: New file.
36156         * sysdeps/generic/libpthread.abilist: New file.
36157         * sysdeps/generic/libresolv.abilist: New file.
36158         * sysdeps/generic/librt.abilist: New file.
36160 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
36162         [BZ #17569]
36163         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
36164         Compute absolute value of x as modified by fmod, not original
36165         value of x.
36166         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
36167         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
36168         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
36169         RUN_TEST_ffI_f1_mod8.
36170         (remquo_test_data): Add more tests.
36172 2015-02-13  Roland McGrath  <roland@hack.frob.com>
36174         * sysdeps/init_array/pt-crti.S: New file.
36176 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
36178         [BZ #17967]
36179         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
36180         __builtin_fmaf instead of relying on contraction of a * b + c.
36182 2015-02-12  J William Piggott  <elseifthen@gmx.com>
36184         [BZ #17969]
36185         * manual/time.texi: correct the zoneinfo path in the TZ Variable
36186         node.
36188 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
36190         [BZ #17964]
36191         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
36192         __builtin_fma instead of relying on contraction of a * b + c.
36194 2015-02-12  Roland McGrath  <roland@hack.frob.com>
36196         * Makeconfig (ASFLAGS): Add -Werror=undef.
36197         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
36198         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
36199         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
36201         * Makeconfig (after-link): New variable.
36202         (+link-pie, +link-pie-tests): Use it.
36203         (+link-static, +link-static-tests): Likewise.
36204         (+link, +link-tests): Likewise.
36205         * Makerules (build-module, build-module-asneeded): Likewise.
36206         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
36207         Likewise.
36208         * elf/Makefile ($(objpfx)ld.so): Likewise.
36210 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
36212         [BZ #17965]
36213         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
36214         both struct timeval and struct timespec.
36216 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
36218         [BZ #16560]
36219         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36220         and redefine.
36221         (__ieee754_exp2l): Do not multiply small fractional parts by
36222         M_LN2l.
36223         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
36224         small argument.
36225         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
36226         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
36227         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
36228         * math/auto-libm-test-in: Add more tests of exp2.
36229         * math/auto-libm-test-out: Regenerated.
36231 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36233         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
36234         unaligned path.
36236 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36238         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
36239         little endian.
36241 2015-02-12  Andreas Schwab  <schwab@suse.de>
36243         [BZ #15790]
36244         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
36245         Filter out elision flags from value returned in kind.
36246         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
36247         * nptl/tst-pthread-mutexattr.c: New file.
36249 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36251         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
36252         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
36253         into gnu-gnu, and update comment to refer to abi-tags.
36255 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
36257         [BZ #15467]
36258         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
36259         (__sincos): Set errno to EDOM for infinite argument.
36260         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
36261         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
36262         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
36263         (__sincosl): Set errno to EDOM for infinite argument.
36264         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
36265         (__sincosl): Set errno to EDOM for infinite argument.
36266         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
36267         (__sincosl): Set errno to EDOM for infinite argument.
36268         * math/libm-test.inc (sincos_test_data): Test errno setting.
36270 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
36272         * string/strxfrm_l.c: Remove #define STRCMP.
36273         * string/strcoll_l.c: Remove #define STRLEN.
36274         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
36275         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
36277 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
36279         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
36280         * sysdeps/mips/mips32/sfp-machine.h: ... here.
36281         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
36282         * sysdeps/mips/mips64/Makefile: ... here.
36283         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
36284         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
36285         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
36286         * sysdeps/mips/mips64/sfp-machine.h: ... here.
36287         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
36288         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
36289         * sysdeps/mips/mips64/n64/Implies: Likewise.
36291 2015-02-10  Roland McGrath  <roland@hack.frob.com>
36293         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
36294         <sys/time.h>, <string.h>, and <errno.h>.
36295         (dest_offset, dest_address, value, zero): Remove unused variables.
36296         (ldouble): Remove typedef.
36297         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
36298         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
36299         1).  Fix code style.
36300         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
36301         (check): Function removed.
36302         (CHECK): New macro.
36303         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
36304         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
36305         Don't call set_sigaction_FP and remove_sigaction_FP here.
36306         (ldouble_test): Just use 'long double' as macro argument, no need for
36307         the 'ldouble' typedef.
36308         (do_test): Set up SIGFPE handler at start, using plain signal rather
36309         than sigaction.  Fix code style.
36311 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
36313         [BZ #17949]
36314         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
36315         jump label.
36317 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
36319         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
36320         * sysdeps/powerpc/powerpc32/configure: Regenerated.
36322         * sysdeps/powerpc/configure.ac: Remove file.
36323         * sysdeps/powerpc/configure: Likewise.
36325         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
36326         [sysdep_routines]: Remove wordcopy-power6 object.
36327         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
36328         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
36329         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
36330         (__memmove_ppc32): Likewise.
36331         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
36332         file.
36333         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
36334         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
36335         Remove preprocessor.
36337         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
36338         [sysdep_routines]: Remove wide chars objects.
36339         [wcsmbs]: New rule for wide char objects.
36341         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36342         Remove wordcopy-power6 obejct.
36343         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
36344         Use local call for wordcopy and memcpy symbols.
36345         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
36346         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
36347         implementation for loader.
36348         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
36350         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36351         Remove wordcopy-power7 object.
36352         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
36353         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
36354         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
36355         (_wordcopy_fwd_dest_aligned): Likewise.
36356         (_wordcopy_bwd_aligned): Likewise.
36357         (_wordcopy_bwd_dest_aligned): Likewise.
36359         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
36360         Rewrite to call __memmove_ppc instead of include default
36361         implementation.
36363         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36364         Remove wide chars objects.
36365         [wcsmbs]: New rule for wide char objects.
36367 2015-02-09  Andreas Schwab  <schwab@suse.de>
36369         [BZ #17912]
36370         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
36371         in terms of __O_DIRECTORY.
36373 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36375         * time/getdate.c: Include <stdbool.h>.
36376         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
36377         call PTR_MANGLE.
36378         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
36379         PTR_DEMANGLE.
36381 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
36383         Add ersatz _Static_assert on older C hosts
36384         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
36385         pre-C11 C platform that is not known to support _Static_assert.
36387 2015-02-07  Richard Braun  <rbraun@sceen.net>
36389         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
36390         sigstate.
36391         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
36393 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36395         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
36396         priority against unexistent AIO_PRIO_DELTA_MAX.
36397         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
36398         instead of int.
36399         * misc/fchflags.c (fchflags): Likewise.
36400         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
36401         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
36402         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
36403         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
36404         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
36405         Declare macros.
36406         [__USE_MISC] (chflags, fchflags): Declare functions.
36407         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
36408         EINVAL when nfds is greater than FD_SETSIZE.
36409         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
36410         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
36411         45.
36412         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
36413         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
36414         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
36415         MACH_RCV_TIMED_OUT.
36416         * hurd/hurd/signal.h (_hurd_self_sigstate,
36417         _hurd_critical_section_lock, _hurd_critical_section_unlock):
36418         Explicit casts from void *.
36419         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
36420         * abi-tags: Rename gnu-gnu os into gnu.
36422         [BZ #4719]
36423         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
36424         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
36425         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
36426         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
36427         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
36428         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
36430         [BZ #17944]
36431         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
36432         duplicates ADDR->sun_path with sockaddr LEN limitation.
36433         * sysdeps/mach/hurd/connect.c: Include <string.h>
36434         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
36435         * sysdeps/mach/hurd/sendmsg.c: Likewise.
36436         * sysdeps/mach/hurd/sendto.c: Likewise.
36437         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
36438         implementing it by hand.
36440 2015-02-06  Roland McGrath  <roland@hack.frob.com>
36442         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
36443         Use sfi_breg on ldr.
36444         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
36445         Likewise.
36447         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
36448         it's defined.
36449         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
36450         Test SIGSETXID only if it's defined.
36452         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
36454         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
36455         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
36457         * nptl/tst-align2.c: Moved ...
36458         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
36459         * nptl/Makefile (tests): Remove tst-align2.
36460         * sysdeps/unix/sysv/linux/Makefile
36461         [$(subdir) = nptl] (tests): Add tst-align-clone.
36462         * nptl/tst-getpid1.c: Moved ...
36463         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
36464         * nptl/tst-getpid2.c: Moved ...
36465         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
36466         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
36467         * sysdeps/unix/sysv/linux/Makefile
36468         [$(subdir) = nptl] (tests): ... here.
36469         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
36470         * sysdeps/unix/sysv/linux/Makefile
36471         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
36473         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
36474         Drop trailing \n from perror argument.  Use return rather than exit.
36476         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
36477         on [SA_SIGINFO].
36478         * nptl/tst-cancel21.c (do_test): Likewise.
36479         * debug/tst-backtrace6.c: Include <signal.h> first thing.
36480         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
36481         [!SA_SIGINFO]: Make it a stub test.
36483         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
36484         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
36486         * posix/tst-getlogin.c: Move to ...
36487         * login/tst-getlogin.c: ... here.
36488         * posix/Makefile (tests): Move tst-getlogin to ...
36489         * login/Makefile (tests): ... here.
36491         * libio/tst-atime.c (do_test): Move local variables SV and E
36492         inside [ST_NOATIME] conditional.
36494         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
36496         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
36498         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
36499         (wait_code): New function replaces macro.
36500         Call nanosleep rather than syscall.
36502         * nptl/pt-system.c: Rewritten.  Put everything under
36503         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
36504         Use IFUNC to redirect when possible.
36506         * nptl/pt-longjmp.c: Rewritten.  Put everything under
36507         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
36508         Use IFUNC to redirect when possible.
36510         * nptl/pt-fork.c: Rewritten.  Put everything under
36511         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
36512         Use IFUNC to redirect when possible.
36513         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
36515         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
36516         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
36517         unconditionally nowadays.  This included the only reference to
36518         __vdso_clock_gettime that appears outside libc proper.
36519         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
36520         Remove version set (containing only __vdso_clock_gettime).
36521         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
36522         Add attribute_hidden.
36523         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
36524         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
36525         libc_hidden_data_def.
36526         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36527         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36529         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
36530         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
36531         setrpcent, and getrpcport to ...
36532         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
36533         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
36534         getrpcbynumber_r, and getrpcent_r to ...
36535         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
36536         * inet/getrpcbyname.c: Moved ...
36537         * sunrpc/getrpcbyname.c: ... here.
36538         * inet/getrpcbyname_r.c: Moved ...
36539         * sunrpc/getrpcbyname_r.c: ... here.
36540         * inet/getrpcbynumber.c: Moved ...
36541         * sunrpc/getrpcbynumber.c: ... here.
36542         * inet/getrpcbynumber_r.c: Moved ...
36543         * sunrpc/getrpcbynumber_r.c: ... here.
36544         * inet/getrpcent.c: Moved ...
36545         * sunrpc/getrpcent.c: ... here.
36546         * inet/getrpcent_r.c: Moved ...
36547         * sunrpc/getrpcent_r.c: ... here.
36548         * inet/Makefile (routines): Move those to ...
36549         * sunrpc/Makefile (routines): ... here.
36550         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
36551         the $(subdirs) list.
36552         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
36553         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
36554         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
36555         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
36557         * elf/Makefile (routines): Include $(all-dl-routines), not just
36558         $(dl-routines).
36559         (rtld-routines): Likewise.  Use = rather than :=.
36560         * sysdeps/aarch64/Makefile [$(subdir) = elf]
36561         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
36562         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
36563         * sysdeps/arm/Makefile: Likewise.
36564         * sysdeps/i386/Makefile: Likewise.
36565         * sysdeps/x86_64/Makefile: Likewise.
36566         * sysdeps/hppa/Makefile [$(subdir) = elf]
36567         (sysdep_routines, sysdep-rtld-routines): Don't add
36568         $(sysdep-dl-routines) to these.
36569         * sysdeps/ia64/Makefile: Likewise.
36570         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
36571         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
36572         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
36573         Don't add dl-static to these; sysdep-dl-routines alone is enough.
36574         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
36575         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
36576         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
36577         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
36578         * sysdeps/powerpc/Makefile [$(subdir) = elf]
36579         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
36580         these; sysdep-dl-routines alone is enough.
36582 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
36584         [BZ #17932]
36585         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
36586         where multiplication results in zero and third argument is finite
36587         and nonzero.
36588         * math/auto-libm-test-in: Add more tests of fma.
36589         * math/auto-libm-test-out: Regenerated.
36591         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
36592         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
36593         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
36594         (_FP_CMP_EQ): Likewise.
36595         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
36597         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
36598         extra argument CHECK_NAN.  Redefine as wrapper around
36599         _FP_EXTEND_CNAN.
36601 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
36603         * version.h (RELEASE): Set to "stable".
36604         (VERSION): Set to "2.21"
36605         * include/features.h (__GLIBC_MINOR__): Set to 21.
36607         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
36609 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36610             Paul Eggert  <eggert@cs.ucla.edu>
36612         [BZ #16618]
36613         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
36614         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
36615         size in bytes. Store needed elements in wpmax. Use needed size
36616         in bytes for extend_alloca.
36618 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
36620         * manual/install.texi: Latest tested versions are GCC 4.9.2,
36621         binutls 2.25, and texinfo 5.2.
36622         * INSTALL: Regenerate.
36623         * sysdeps/nios2/configure: Regenerate.
36624         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
36625         * manual/contrib.texi: Update.
36626         * po/be.po: Update.
36627         * po/bg.po: Update.
36628         * po/ca.po: Update.
36629         * po/cs.po: Update.
36630         * po/da.po: Update.
36631         * po/de.po: Update.
36632         * po/el.po: Update.
36633         * po/eo.po: Update.
36634         * po/es.po: Update.
36635         * po/fi.po: Update.
36636         * po/fr.po: Update.
36637         * po/gl.po: Update.
36638         * po/hr.po: Update.
36639         * po/hu.po: Update.
36640         * po/ia.po: Update.
36641         * po/id.po: Update.
36642         * po/it.po: Update.
36643         * po/ja.po: Update.
36644         * po/ko.po: Update.
36645         * po/lt.po: Update.
36646         * po/nb.po: Update.
36647         * po/nl.po: Update.
36648         * po/pl.po: Update.
36649         * po/pt_BR.po: Update.
36650         * po/ru.po: Update.
36651         * po/rw.po: Update.
36652         * po/sk.po: Update.
36653         * po/sl.po: Update.
36654         * po/sv.po: Update.
36655         * po/tr.po: Update.
36656         * po/uk.po: Update.
36657         * po/vi.po: Update.
36658         * po/zh_CN.po: Update.
36659         * po/zh_TW.po: Update.
36661         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
36662         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
36663         * sysdeps/hppa/dl-irel.h: Remove #warning.
36664         * sysdeps/hppa/entry.h: Provide prototype for
36665         __canonicalize_funcptr_for_compare and cast argument.
36666         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
36667         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
36668         * sysdeps/hppa/sotruss-lib.c: New file.
36669         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
36670         (atomic_compare_and_exchange_val_acq): Use __typeof__.
36671         (atomic_compare_and_exchange_bool_acq): Likewise.
36672         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
36673         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
36675         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
36676         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
36677         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
36679 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
36681         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
36682         called function in non-PIC case.
36684 2015-01-31  David S. Miller  <davem@davemloft.net>
36686         * sysdeps/sparc/sparc32/bits/atomic.h
36687         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
36688         unlock not after it.
36689         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
36690         volatile register usage warnings from the compiler.
36692         * sysdeps/sparc/nptl/sem_init.c: Delete.
36693         * sysdeps/sparc/nptl/sem_post.c: Delete.
36694         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
36695         * sysdeps/sparc/nptl/sem_wait.c: Delete.
36696         * sysdeps/sparc/sparc32/sem_init.c: New file.
36697         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
36698         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
36699         padding explicitly initialized.
36700         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
36701         padding for in-semaphore spinlock.
36702         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
36703         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
36704         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
36705         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
36706         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
36707         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
36708         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
36709         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
36710         version.
36711         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
36712         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
36714 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
36716         [BZ #17801]
36717         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36718         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
36719         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
36720         New.
36721         (index_AVX_Fast_Unaligned_Load): Likewise.
36722         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
36723         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
36724         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
36725         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
36726         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
36727         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
36728         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
36729         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
36730         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
36732 2015-01-29  Andreas Schwab  <schwab@suse.de>
36734         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
36736 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
36738         [BZ #17892]
36739         * nscd/nscd_stat.c (send_stats): Initialize DATA.
36741 2015-01-28  Martin Sebor  <msebor@redhat.com>
36743         * math/README.libm-test: Clarify. Add "How to read the test output."
36745 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
36747         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
36748         Define to 0.
36750 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
36752         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
36753         (__HAVE_64B_ATOMICS): Define to 0.
36755 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
36757         [BZ #17885]
36758         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
36759         value to set as new flag.
36761         [BZ #16576]
36762         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
36763         and use _ARCH_PPCSQ instead.
36764         (__ieee754_sqrt): Likewise.
36765         (__ieee754_sqrtf): Likewise.
36766         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
36767         _ARCH_PPCSQ is defined.
36768         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
36769         fsqrt instruction.
36770         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
36771         _ARCH_PPCSQ is defined.
36772         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
36773         fsqrts instruction.
36774         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
36776 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36778         * iconv/loop.c: Suppress array out of bound warning caused by GCC
36779         bug (GCC BZ #64739).
36781 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
36783         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
36784         Mark _retval as used.
36785         (lll_futex_wake_unlock): Likewise.
36786         (lll_futex_timed_wait_requeue_pi): Likewise.
36788         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
36789         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
36790         register variables.
36792         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
36793         libm_hidden_def.
36795         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
36796         (__bswap_64): Mark as __always_inline.
36798 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
36800         [BZ #15378]
36801         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
36802         when none of the search directories exist.
36804 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
36806         [BZ #17869]
36807         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
36808         power8 in .machine directive.
36810         [BZ #17868]
36811         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
36812         set dependency from opd value.
36814 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
36816         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36817         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
36818         architecture.
36820 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
36822         [BZ #17870]
36823         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
36824         with uint64_t.
36825         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
36826         (uint64_t) 1.
36827         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
36828         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
36829         Replace 1UL with (uint64_t) 1.
36830         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
36831         int with uint64_t.
36833 2015-01-23  Roland McGrath  <roland@hack.frob.com>
36835         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
36836         (if_freenameindex): Likewise.
36838         * resource/getrlimit64.c: Add missing libc_hidden_def.
36840 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
36842         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
36843         __label__.
36844         (_FP_FMA): Likewise.
36845         (_FP_TO_INT_ROUND): Likewise.
36846         (_FP_FROM_INT): Likewise.
36848 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36850         [BZ #16418]
36851         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
36852         Make code racy and cancel safe.
36854 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
36856         * sysdeps/arm/unwind-resume.h: Fix copyright year.
36857         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
36858         attribution.
36860         * pwd/tst-getpw.c: Rewrite.
36862         [BZ #17702]
36863         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
36864         (modules-names): Add moddummy1 and moddummy2.
36865         ($(objpfx)tst-rec-dlopen): Define.
36866         * dlfcn/moddummy1.c: New file.
36867         * dlfcn/moddummy2.c: New file.
36868         * dlfcn/tst-rec-dlopen.c: New file.
36869         * elf/dl-cache.c (_dl_load_cache_lookup):
36870         Return char*. Copy result with alloca/strcpy/strdup.
36871         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
36872         returns char*. Free cached. If not saving realname
36873         free cached.
36874         * elf/dl-open.c (dl_open_worker): Do not assert that
36875         _r_debug->r_state is RT_CONSISTENT.
36876         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
36877         returns char*.
36879 2015-01-21  Torvald Riegel  <triegel@redhat.com>
36880             Carlos O'Donell  <carlos@redhat.com>
36882         [BZ #12674]
36883         * nptl/sem_waitcommon.c: New file.
36884         * nptl/sem_wait.c: Include sem_waitcommon.c.
36885         (__sem_wait_cleanup, do_futex_wait): Remove.
36886         (__new_sem_wait): Adapt.
36887         (__new_sem_trywait): New function.
36888         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
36889         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
36890         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
36891         (sem_timedwait): Adapt.
36892         * nptl/sem_post.c (__new_sem_post): Adapt.
36893         (futex_wake): New function.
36894         (__old_sem_post): Add release MO fence.
36895         * nptl/sem_open.c (sem_open): Adapt.
36896         * nptl/sem_init.c (__new_sem_init): Adapt.
36897         (futex_private_if_supported): New function.
36898         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
36899         (__old_sem_getvalue): Add using previous code.
36900         * sysdeps/nptl/internaltypes.h: Adapt.
36901         * nptl/tst-sem13.c (do_test): Adapt.
36902         * nptl/tst-sem11.c (main): Adapt.
36903         * nptl/sem_trywait.c: Remove.
36904         * nptl/DESIGN-sem.txt: Remove.
36905         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
36906         (gen-as-const-headers): Remove structsem.sym.
36907         * nptl/structsem.sym: Remove.
36908         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
36909         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
36910         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
36911         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
36912         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
36913         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
36914         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
36915         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
36916         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
36917         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
36918         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
36919         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
36920         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
36921         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
36922         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
36923         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
36924         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
36925         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
36926         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
36927         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
36928         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
36929         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
36931 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
36933         * INSTALL: Regenerated.
36935         * po/libc.pot: Regenerated.
36937 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
36938             Sandra Loosemore  <sandra@codesourcery.com>
36939             Andrew Jenner  <andrew@codesourcery.com>
36940             Joseph Myers  <joseph@codesourcery.com>
36941             Nathan Sidwell  <nathan@codesourcery.com>
36943         * NEWS: Mention new Nios II port.
36944         * sysdeps/nios2/Implies: New file.
36945         * sysdeps/nios2/Makefile: New file.
36946         * sysdeps/nios2/Subdirs: New file.
36947         * sysdeps/nios2/Versions: New file.
36948         * sysdeps/nios2/__longjmp.S: New file.
36949         * sysdeps/nios2/abort-instr.h: New file.
36950         * sysdeps/nios2/backtrace.c: New file.
36951         * sysdeps/nios2/bits/endian.h: New file.
36952         * sysdeps/nios2/bits/fenv.h: New file.
36953         * sysdeps/nios2/bits/link.h: New file.
36954         * sysdeps/nios2/bits/setjmp.h: New file.
36955         * sysdeps/nios2/bsd-_setjmp.S: New file.
36956         * sysdeps/nios2/bsd-setjmp.S: New file.
36957         * sysdeps/nios2/configure: New generated file.
36958         * sysdeps/nios2/configure.ac: New file.
36959         * sysdeps/nios2/crti.S: New file.
36960         * sysdeps/nios2/crtn.S: New file.
36961         * sysdeps/nios2/dl-init.c: New file.
36962         * sysdeps/nios2/dl-machine.h: New file.
36963         * sysdeps/nios2/dl-sysdep.h: New file.
36964         * sysdeps/nios2/dl-tls.h: New file.
36965         * sysdeps/nios2/dl-trampoline.S: New file.
36966         * sysdeps/nios2/gccframe.h: New file.
36967         * sysdeps/nios2/gmp-mparam.h: New file.
36968         * sysdeps/nios2/jmpbuf-offsets.h: New file.
36969         * sysdeps/nios2/jmpbuf-unwind.h: New file.
36970         * sysdeps/nios2/ldsodefs.h: New file.
36971         * sysdeps/nios2/libc-tls.c: New file.
36972         * sysdeps/nios2/libm-test-ulps: New file.
36973         * sysdeps/nios2/machine-gmon.h: New file.
36974         * sysdeps/nios2/math-tests.h: New file.
36975         * sysdeps/nios2/math_private.h: New file.
36976         * sysdeps/nios2/memusage.h: New file.
36977         * sysdeps/nios2/nptl/Makefile: New file.
36978         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
36979         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
36980         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
36981         * sysdeps/nios2/nptl/pthreaddef.h: New file.
36982         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
36983         * sysdeps/nios2/nptl/tls.h: New file.
36984         * sysdeps/nios2/preconfigure: New file.
36985         * sysdeps/nios2/s_fma.c: New file.
36986         * sysdeps/nios2/s_fmaf.c: New file.
36987         * sysdeps/nios2/setjmp.S: New file.
36988         * sysdeps/nios2/sfp-machine.h: New file.
36989         * sysdeps/nios2/sotruss-lib.c: New file.
36990         * sysdeps/nios2/stackguard-macros.h: New file.
36991         * sysdeps/nios2/stackinfo.h: New file.
36992         * sysdeps/nios2/start.S: New file.
36993         * sysdeps/nios2/sysdep.h: New file.
36994         * sysdeps/nios2/tls-macros.h: New file.
36995         * sysdeps/nios2/tst-audit.h: New file.
36996         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
36997         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
36998         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
36999         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
37000         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
37001         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
37002         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
37003         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
37004         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
37005         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
37006         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
37007         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
37008         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
37009         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
37010         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
37011         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
37012         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
37013         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
37014         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
37015         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
37016         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
37017         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
37018         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
37019         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
37020         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
37021         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
37022         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
37023         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
37024         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
37025         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
37026         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
37027         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
37028         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
37029         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
37030         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
37031         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
37032         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
37033         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
37034         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
37035         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
37036         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
37037         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
37038         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
37039         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
37041 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37043         [BZ #17844]
37044         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
37045         (getutent): Use weak_alias in non SHARED case
37046         and default_symbol_version in SHARED case.
37047         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
37048         (getutent_r, pututline): Likewise.
37049         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
37050         (getutid): Likewise.
37051         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
37052         (getutid_r): Likewise.
37053         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
37054         (getutline): Likewise.
37055         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
37056         (getutline_r): Likewise.
37057         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
37058         (updwtmp): Likewise.
37060 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37062         [BZ #17848]
37063         * sysdeps/s390/s390-32/memcmp.S
37064         (memcmp_g5): Rename to __memcmp_g5.
37065         * sysdeps/s390/s390-32/memcpy.S
37066         (memcpy_g5): Rename to __memcpy_g5.
37067         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37068         (memcpy_mvcle) Rename to __memcpy_mvcle.
37069         * sysdeps/s390/s390-32/memset.S
37070         (memset_g5): Rename to __memset_g5.
37071         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37072         (IFUNC_RESOLVE): Prefix ifunc-resolve function
37073         and use prefixed functions.
37074         * sysdeps/s390/s390-32/multiarch/memcmp.S
37075         (memcmp_z196): Rename to __memcmp_z196.
37076         (memcmp_z10): Rename to __memcmp_z10.
37077         (memcmp): Set alias to __memcmp_g5.
37078         (bcmp): Set alias to __memcmp_g5.
37079         * sysdeps/s390/s390-32/multiarch/memcpy.S
37080         (memcpy_z196): Rename to __memcpy_z196.
37081         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37082         (memcpy_z10): Rename to __memcpy_z10.
37083         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37084         (memcpy): Set alias to __memcpy_g5.
37085         * sysdeps/s390/s390-32/multiarch/memset.S
37086         (memset_z196): Rename to __memset_z196.
37087         Jump to __memset_mvcle instead of memset_mvcle.
37088         (memset_z10): Rename to __memset_z10.
37089         Jump to __memset_mvcle instead of memset_mvcle.
37090         (memset_mvcle) Rename to __memset_mvcle.
37091         (memset): Set alias to __memset_g5.
37092         * sysdeps/s390/s390-64/memcmp.S
37093         (memcmp_z900): Rename to __memcmp_z900.
37094         * sysdeps/s390/s390-64/memcpy.S
37095         (memcpy_z900): Rename to __memcpy_z900.
37096         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37097         (memcpy_mvcle) Rename to __memcpy_mvcle.
37098         * sysdeps/s390/s390-64/memset.S
37099         (memset_z900): Rename to __memset_z900.
37100         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
37101         (IFUNC_RESOLVE): Prefix ifunc-resolve function
37102         and use prefixed functions.
37103         * sysdeps/s390/s390-64/multiarch/memcmp.S
37104         (memcmp_z196): Rename to __memcmp_z196.
37105         (memcmp_z10): Rename to __memcmp_z10.
37106         (memcmp): Set alias to __memcmp_z900.
37107         (bcmp): Set alias to __memcmp_z900.
37108         * sysdeps/s390/s390-64/multiarch/memcpy.S
37109         (memcpy_z196): Rename to __memcpy_z196.
37110         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37111         (memcpy_z10): Rename to __memcpy_z10.
37112         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37113         (memcpy): Set alias to __memcpy_z900.
37114         * sysdeps/s390/s390-64/multiarch/memset.S
37115         (memset_z196): Rename to __memset_z196.
37116         Jump to __memset_mvcle instead of memset_mvcle.
37117         (memset_z10): Rename to __memset_z10.
37118         Jump to __memset_mvcle instead of memset_mvcle.
37119         (memset_mvcle) Rename to __memset_mvcle.
37120         (memset): Set alias to __memset_z900.
37122 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
37124         [BZ #17748]
37125         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
37126         __fesetenv instead of fesetenv.
37128 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37130         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
37131         macro.
37133 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37135         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
37136         regression on LE.
37138         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
37139         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
37140         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
37141         strncmp-power8 object.
37142         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37143         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
37144         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
37145         * NEWS: Update.
37147 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37148             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37150         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
37151         trailing byte check.
37153 2015-01-13  David S. Miller  <davem@davemloft.net>
37155         * include/signal.h (__sigreturn): Guard with __USE_MISC.
37157 2015-01-13  Roland McGrath  <roland@hack.frob.com>
37159         * login/logout.c (logout): Use memset rather than bzero.
37160         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
37161         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
37162         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
37163         (_gethtbyaddr): Likewise.
37164         * locale/programs/simple-hash.c (bcopy): Macro removed.
37166 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37168         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37169         Add strcmp-power8 object.
37170         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37171         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
37172         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
37173         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
37174         __strcmp_power8 implementation.
37175         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
37176         * NEWS: Update.
37178         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37179         Add strncpy-power8 and stpncpy-power8 objects.
37180         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37181         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
37182         implementations.
37183         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
37184         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
37185         __stpncpy_power8 implementation.
37186         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
37187         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
37188         __strncpy_power8 implementation.
37189         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
37190         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
37191         * NEWS: Update.
37193         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
37194         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
37195         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
37197         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
37198         strncat-power8 object.
37199         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
37200         __strcat_power8 implementation.
37201         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37202         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
37203         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
37204         optimized strcat for power8.
37206         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
37207         strcpy-power8 and stpcpy-power8 objects.
37208         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37209         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
37210         implementations.
37211         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
37212         multiarch stpcpy implementation for POWER8.
37213         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
37214         multiarch strcpy implementation for POWER8.
37215         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
37216         __strcpy_power8 function.
37217         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
37218         stpcpy for POWER8.
37219         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
37220         strcpy for POWER8.
37221         * NEWS: Update.
37223 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
37225         [BZ #16009]
37226         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
37227         weights and rules. Use do_xfrm_cached if data fits in cache,
37228         do_xfrm otherwise.  Moved former main loop to...
37229         * (do_xfrm_cached): New function.
37230         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
37231         find_idx, find_position and stack_push.
37232         * (find_idx): New function.
37233         * (find_position): Likewise.
37234         * localedata/sort-test.sh: Added test run for do_xfrm.
37235         * localedata/xfrm-test.c (main): Added command line option
37236         -nocache to run the test with strings that are too large for
37237         the STRXFRM cache.
37239 2015-01-13  Torvald Riegel  <triegel@redhat.com>
37241         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
37242         variable to lll_futex_wake call, not the value itself.
37244 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
37246         [BZ #17803]
37247         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
37248         twom64.  Adjust value to 0x1p-64L.
37249         (__scalblnl): Only return standard underflowing result for K <=
37250         -64 not K <= -63; adjust exponent for underflowing result by 64
37251         not 63.
37252         * math/libm-test.inc (scalbn_test_data): Add more tests.
37253         (scalbln_test_data): Likewise.
37255         [BZ #17834]
37256         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
37257         0x1p63L.
37258         (__scalblnl): Get new exponent of adjusted subnormal value from ES
37259         not HX.
37260         * math/libm-test.inc (scalbn_test_data): Add more tests.
37261         (scalbln_test_data): Likewise.
37263 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37264             Stefani Seibold  <stefani@seibold.net>
37266         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
37267         (sysdep_routines): Add dl-vdso here, ...
37268         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
37269         (sysdep_routines): ... not here.
37270         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
37271         fallback when vDSO is not presented.
37272         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
37273         Define with libc_hidden_proto/libc_hidden_data_def definitions.
37274         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
37275         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
37276         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
37277         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
37278         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
37279         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
37280         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
37281         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
37282         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
37283         fallback configurable symbol when vDSO is not available.
37284         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
37285         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
37286         be able to redefine fallback symbol when vDSO is not available.
37287         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
37288         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
37290 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37292         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
37293         (TLS_INIT_TP): Add tm_capable initialization.
37294         (TLS_DEFINE_INIT_TP): Likewise.
37295         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
37296         TCB.
37297         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
37298         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
37299         calculation.
37300         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
37301         transactoion is lock elision is built and TCB tm_capable is set.
37302         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
37303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37304         (INTERNAL_SYSCALL_NCS): Likewise.
37305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37306         (INTERNAL_SYSCALL_NCS): Likewise.
37307         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
37309         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
37310         for powerpc.
37311         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37312         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
37313         and remove it for 32 bits case.
37314         [pthread_rwlock_t] (__rwelision): New field for lock elision.
37315         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
37316         initialization.
37317         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
37318         Disable lock elision with rdlocks if elision is not available.
37320         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
37321         (sysdep_routines): Add lock elision objects.
37322         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37323         [pthread_mutex_t] (__spins): Rework to add lock elision field.
37324         [pthread_mutex_t] (__elision): Add field.
37325         [__PTHREAD_SPINS]: Adjust to init lock elision field.
37326         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
37327         elision definitions for powerpc.
37328         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
37329         implementation of lock elision for powerpc.
37330         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
37331         implementation of timed lock elision for powerpc.
37332         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
37333         implementation of trylock with lock elision for powerpc.
37334         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
37335         implementaion of unlock for lock elision for powerpc.
37336         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
37337         automatic enable lock elision for mutexes.
37338         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
37339         transaction execution definitions for powerpc.
37340         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
37341         definitions.
37342         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
37343         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
37344         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
37345         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
37346         * NEWS: Update.
37348 2015-01-09  Roland McGrath  <roland@hack.frob.com>
37350         * sysdeps/posix/shm-directory.c: Use <> rather than ""
37351         for #include of <shm-directory.h>.
37353 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
37355         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
37356         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
37358 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
37360         [BZ #17791]
37361         * NEWS: Mention bug fix.
37362         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
37363         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
37364         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
37366 2015-01-09  Torvald Riegel <triegel@redhat.com>
37368         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
37370 2015-01-09  Torvald Riegel <triegel@redhat.com>
37372         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
37374 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
37376         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
37377         pointer and cast to uintptr_t.
37379 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
37381         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
37382         removed.
37383         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
37385 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
37387         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
37388         of 0.
37390 2015-01-08  Roland McGrath  <roland@hack.frob.com>
37392         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
37393         <nptl/pthreadP.h> instead.
37394         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
37396         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
37397         already defined.
37398         [__SIGRTMIN] (init): Function removed.
37399         [__SIGRTMIN] (initialized): Variable removed.
37400         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
37401         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
37402         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
37403         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
37404         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
37405         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
37406         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
37407         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
37408         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
37409         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
37410         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
37411         * sysdeps/nptl/allocrtsig.c: New file.
37412         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
37413         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
37414         * sysdeps/generic/testrtsig.h: File removed.
37416         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
37417         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
37419         * nptl/nptl-init.c (pthread_functions): Conditionalize
37420         .ptr__nptl_setxid initialization on [SIGSETXID].
37422         * sysdeps/nptl/sys/procfs.h: New file.
37423         * nptl_db/Makefile (headers): Add it.
37424         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
37426         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
37427         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
37428         * nptl/pthread_attr_setaffinity.c: Include it.
37429         * nptl/pthread_setattr_default_np.c: Likewise.
37430         * nptl/check-cpuset.h: New file.
37432 2015-01-08  Richard Henderson  <rth@redhat.com>
37434         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
37435         (CFLAGS-tst-execstack-prog.c): Likewise.
37436         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
37438 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
37439             Sandra Loosemore  <sandra@codesourcery.com>
37440             Andrew Jenner  <andrew@codesourcery.com>
37441             Joseph Myers  <joseph@codesourcery.com>
37442             Nathan Sidwell  <nathan@codesourcery.com>
37444         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
37445         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
37446         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
37447         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
37448         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
37449         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
37450         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
37451         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
37452         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
37453         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
37454         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
37455         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
37456         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
37457         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
37458         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
37459         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
37460         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
37462 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37464         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
37465         timespec struct member in syscall macro.
37466         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
37467         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
37468         first timeval struct member in syscall macro.
37469         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
37471 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
37473         [BZ #17748]
37474         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
37475         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
37476         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
37477         __feupdateenv and define as weak alias of __feupdateenv.  Use
37478         libm_hidden_weak.
37479         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
37480         libm_hidden_def.
37481         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
37482         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
37483         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
37484         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
37485         libm_hidden_def.
37486         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
37487         __feupdateenv and define as weak alias of __feupdateenv.  Use
37488         libm_hidden_weak.
37489         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
37490         libm_hidden_def.
37491         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
37492         __feupdateenv and define as weak alias of __feupdateenv.  Use
37493         libm_hidden_weak.
37494         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
37495         libm_hidden_def.
37496         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
37497         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
37498         (__feupdateenv): Likewise.
37499         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
37500         __feupdateenv and define as weak alias of __feupdateenv.  Use
37501         libm_hidden_weak.
37502         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
37503         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
37504         libm_hidden_def.
37505         * sysdeps/tile/math_private.h (__feupdateenv): New inline
37506         function.
37507         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
37508         libm_hidden_def.
37509         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
37510         __feupdateenv instead of feupdateenv.
37511         (default_libc_feupdateenv_test): Likewise.
37512         (libc_feresetround_ctx): Likewise.
37514 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37516         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
37517         prototype.
37519 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
37521         * posix/regcomp.c (parse_bracket_exp): Initialize type to
37522         COLL_SYM in a couple of places to avoid uninitialized variable
37523         wanings on tilegx gcc 4.8.2.
37525 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
37527         * sysdeps/aarch64/strcpy.S: New file.
37528         * sysdeps/aarch64/stpcpy.S: New file.
37529         * NEWS: Updated.
37531 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
37533         * sysdeps/aarch64/strrchr.S: New file.
37534         * NEWS: Updated.
37536 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
37538         [BZ #17658]
37539         * stdlib/setenv.c: Fix memory leak when setting large,
37540         duplicate string.
37542 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
37544         [BZ #17273]
37545         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
37546         and tabs from buffer before parsing fstab entry.
37547         * misc/tst-mntent.c (main): Add test for mount entry with
37548         trailing spaces and tabs.
37550 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
37552         [BZ #17748]
37553         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
37554         * math/fesetround.c (fesetround): Rename to __fesetround and
37555         define as weak alias of __fesetround.  Use libm_hidden_weak.
37556         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
37557         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
37558         * sysdeps/arm/fesetround.c (fesetround): Likewise.
37559         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
37560         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
37561         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
37562         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
37563         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
37564         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
37565         __fesetround_inline.
37566         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
37567         __fesetround_inline instead of __fesetround.
37568         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
37569         __fesetround and define as weak alias of __fesetround.  Use
37570         libm_hidden_weak.  Call __fesetround_inline instead of
37571         __fesetround.
37572         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
37573         __fesetround and define as weak alias of __fesetround.  Use
37574         libm_hidden_weak.
37575         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
37576         Likewise.
37577         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
37578         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37579         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
37580         * sysdeps/tile/math_private.h (__fesetround): New inline function.
37581         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
37582         __fesetround and define as weak alias of __fesetround.  Use
37583         libm_hidden_weak.
37584         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
37585         __fesetround instead of fesetround.
37586         (default_libc_feholdexcept_setround): Likewise.
37587         (libc_feholdsetround_ctx): Likewise.
37588         (libc_feholdsetround_noex_ctx): Likewise.
37590         [BZ #17748]
37591         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
37592         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
37593         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
37594         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
37595         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
37596         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
37597         define as weak alias of __fesetenv.  Use libm_hidden_weak.
37598         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
37599         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
37600         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
37601         define as weak alias of __fesetenv.  Use libm_hidden_weak.
37602         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
37603         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
37604         define as weak alias of __fesetenv.  Use libm_hidden_weak.
37605         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
37606         libm_hidden_def.
37607         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
37608         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
37609         Likewise.
37610         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
37611         define as weak alias of __fesetenv.  Use libm_hidden_weak.
37612         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
37613         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
37614         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
37615         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
37616         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
37617         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
37618         __fesetenv instead of fesetenv.
37619         (libc_feresetround_noex_ctx): Likewise.
37620         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
37621         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
37622         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
37623         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
37624         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
37625         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
37626         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
37627         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
37628         (__feupdateenv): Likewise.
37629         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37630         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
37631         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
37632         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
37634 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
37636         [BZ #17806]
37637         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
37638         addresses have been freed.
37640 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
37642         * resolv/res_init.c (__res_vinit): Improve comments about nserv
37643         and nservall.
37645 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
37647         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
37648         Clean up check_pf allocation pattern. addresses
37650 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37652         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
37653         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
37654         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
37655         * nptl/pthread_exit.c (__pthread_exit): Likewise.
37656         * nptl/pthread_join.c (pthread_join): Likewise.
37657         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
37658         * sysdeps/posix/waitid.c (__waitid): Likewise.
37659         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
37660         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
37661         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
37662         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
37663         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
37664         Likewise.
37665         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
37666         (__libc_pread64): Likewise.
37667         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
37668         (__libc_pwrite): Likewise.
37669         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
37670         (__libc_pwrite64): Likewsie.
37671         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
37672         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
37673         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
37674         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
37675         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
37676         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
37677         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
37678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
37679         Likewise.
37680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
37681         (__libc_pread64): Likewise.
37682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
37683         Likewise.
37684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
37685         (__libc_pwrite64): Likewise.
37686         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
37687         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
37688         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
37689         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
37690         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
37691         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
37692         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
37693         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
37694         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
37695         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
37696         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
37697         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
37698         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
37699         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
37700         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
37701         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
37702         Likewise.
37704 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
37706         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
37707         (CFLAGS-test-double.c): Likewise.
37708         (CFLAGS-test-ldouble.c): Likewise.
37709         (CPPFLAGS-test-ifloat.c): Likewise.
37710         (CPPFLAGS-test-idouble.c): Likewise.
37711         (CPPFLAGS-test-ildoubl.c): Likewise.
37712         (CFLAGS-test-test-fenv.c): Remove variable.
37713         (CFLAGS-test-misc.c): Likewise.
37715 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
37717         [BZ #17797]
37718         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
37719         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
37720         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
37721         CLOCKS_PER_SEC == 1000000.
37722         * time/clocktest.c (main): Replace %ld with %jd and cast to
37723         intmax_t.
37725 2015-01-05  Roland McGrath  <roland@hack.frob.com>
37727         * sysdeps/generic/unwind-resume.h: New file.
37728         * sysdeps/gnu/unwind-resume.c: Include it.
37729         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
37730         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
37731         argument list.
37732         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
37733         global rather than static.
37734         (_Unwind_Resume): Update user.
37735         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
37736         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
37737         rather than static.  Add __attribute__ ((cold)).
37738         (_Unwind_Resume, __gcc_personality_v0): Update callers.
37739         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
37740         * sysdeps/arm/arm-unwind-resume.S: New file.
37741         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
37742         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
37743         * sysdeps/arm/Makefile [$(subdir) = csu]
37744         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
37745         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
37746         Add rt-arm-unwind-resume.
37747         [$(subdir) = nptl]
37748         (libpthread-sysdep_routines, libpthread-shared-only-routines):
37749         Add pt-arm-unwind-resume.
37750         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
37751         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
37753 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
37755         [BZ #17748]
37756         * include/fenv.h (__feholdexcept): Declare.  Use
37757         libm_hidden_proto.
37758         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
37759         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
37760         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37761         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
37762         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
37763         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
37764         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
37765         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37766         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
37767         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
37768         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
37769         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
37770         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
37771         (feholdexcept): Likewise.
37772         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
37773         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
37774         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
37775         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37776         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
37777         __feholdexcept instead of feholdexcept.
37778         (default_libc_feholdexcept_setround): Likewise.
37780 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
37782         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
37783         to avoid using stl/str to align destination.
37785 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
37787         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
37789 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
37791         [BZ #17796]
37792         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
37793         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
37794         Define as weak alias not strong alias.
37796 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
37798         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
37799         bltzal with addiupc.
37800         (RTLD_START): Ditto.
37802 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
37804         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
37805         for __vdso_* functions in declarations.
37806         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
37807         definitions.
37808         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
37809         INTERNAL_VSYSCALL): Use struct return types to check for error.
37811         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
37812         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
37813         function with cast from llround().
37814         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
37815         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
37816         Define.
37818 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
37820         [BZ #17793]
37821         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
37822         Define as weak alias not strong alias.
37824         [BZ #17635]
37825         * ctype/ctype-c99.c: New file.  isblank implementation moved from
37826         ...
37827         * ctype/ctype-extn.c: ... here.
37828         (__isblank_l): Move to ...
37829         * ctype/ctype-c99_l.c: ... here.  New file.
37830         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
37831         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
37832         Remove variable.
37833         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
37834         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
37835         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
37836         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
37837         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
37839         [BZ #17777]
37840         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
37841         (posix_fadvise64): Define as weak alias not strong alias.
37842         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37843         (posix_fallocate64): Likewise.
37844         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
37845         Remove variable.
37846         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
37847         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
37848         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
37849         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
37850         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
37852 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
37854         [BZ #16191]
37855         * NEWS: Mention bug fix.
37856         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
37857         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
37858         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
37859         (HOST_STACK_END_ADDR): Likewise.
37861 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
37863         [BZ #17748]
37864         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
37865         * math/fegetround.c (fegetround): Rename to __fegetround and
37866         define as weak alias of __fegetround.  Use libm_hidden_weak.
37867         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
37868         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
37869         * sysdeps/arm/fegetround.c (fegetround): Likewise.
37870         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
37871         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
37872         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
37873         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
37874         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
37875         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
37876         Undefine after rather than before function definition; use
37877         parentheses around function name in definition.
37878         (__fegetround): Also undefine macro after function definition.
37879         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
37880         __fegetround and define as weak alias of __fegetround.  Use
37881         libm_hidden_weak.  Do not undefine as macro.
37882         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
37883         Likewise.
37884         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
37885         __fegetround and define as weak alias of __fegetround.  Use
37886         libm_hidden_weak.
37887         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37888         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
37889         * sysdeps/tile/math_private.h (__fegetround): New inline function.
37890         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
37891         __fegetround and define as weak alias of __fegetround.  Use
37892         libm_hidden_weak.
37893         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
37894         __fegetround instead of fegetround.
37896         [BZ #17782]
37897         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
37898         Condition macro definition on [__USE_MISC].
37900         [BZ #17781]
37901         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
37902         (struct sigaction): Change type of sa_flags field to int.
37904         [BZ #17780]
37905         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
37906         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
37907         __glibc_reserved0.
37909         * nptl/version.c (banner): Use single year in copyright notice.
37911         * NEWS: Update copyright dates.
37912         * catgets/gencat.c (print_version): Likewise.
37913         * csu/version.c (banner): Likewise.
37914         * debug/catchsegv.sh: Likewise.
37915         * debug/pcprofiledump.c (print_version): Likewise.
37916         * debug/xtrace.sh (do_version): Likewise.
37917         * elf/ldconfig.c (print_version): Likewise.
37918         * elf/ldd.bash.in: Likewise.
37919         * elf/pldd.c (print_version): Likewise.
37920         * elf/sotruss.sh: Likewise.
37921         * elf/sprof.c (print_version): Likewise.
37922         * iconv/iconv_prog.c (print_version): Likewise.
37923         * iconv/iconvconfig.c (print_version): Likewise.
37924         * locale/programs/locale.c (print_version): Likewise.
37925         * locale/programs/localedef.c (print_version): Likewise.
37926         * login/programs/pt_chown.c (print_version): Likewise.
37927         * malloc/memusage.sh (do_version): Likewise.
37928         * malloc/memusagestat.c (print_version): Likewise.
37929         * malloc/mtrace.pl: Likewise.
37930         * manual/libc.texinfo: Likewise.
37931         * nptl/version.c (banner): Likewise.
37932         * nscd/nscd.c (print_version): Likewise.
37933         * nss/getent.c (print_version): Likewise.
37934         * nss/makedb.c (print_version): Likewise.
37935         * posix/getconf.c (main): Likewise.
37936         * scripts/test-installation.pl: Likewise.
37937         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
37939 2015-01-02  Will Newton  <will.newton@linaro.org>
37941         * sysdeps/arm/armv7/configure: Removed.
37942         * sysdeps/arm/armv7/configure.ac: Likewise.
37944 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
37946         * All files with FSF copyright notices: Update copyright dates
37947         using scripts/update-copyrights.
37948         * intl/plural.c: Regenerated.
37949         * locale/programs/charmap-kw.h: Likewise.
37950         * locale/programs/locfile-kw.h: Likewise.
37952 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37954         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
37956 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
37958         [BZ #17748]
37959         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
37960         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
37961         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
37962         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
37963         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
37964         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
37965         define as weak alias of __fegetenv.  Use libm_hidden_weak.
37966         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
37967         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
37968         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
37969         define as weak alias of __fegetenv.  Use libm_hidden_weak.
37970         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
37971         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
37972         define as weak alias of __fegetenv.  Use libm_hidden_weak.
37973         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
37974         libm_hidden_def.
37975         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
37976         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
37977         Likewise.
37978         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
37979         define as weak alias of __fegetenv.  Use libm_hidden_weak.
37980         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
37981         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
37982         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
37983         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
37984         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
37985         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
37986         __fegetenv instead of fegetenv.
37987         (libc_feholdsetround_noex_ctx): Likewise.
37989 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
37991         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
37992         (Elf_MIPS_ABIFlags_v0): New structure.
37993         (EF_MIPS_FP64): Define.
37994         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
37995         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
37996         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
37997         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
37998         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
37999         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
38000         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
38001         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
38002         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
38003         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
38004         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
38005         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
38006         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
38007         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
38008         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
38009         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
38010         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
38011         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
38012         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
38013         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
38014         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
38015         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
38016         field.
38017         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
38018         EF_MIPS_FP64.
38019         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
38020         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
38021         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
38022         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
38023         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
38024         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
38025         * sysdeps/mips/tst-abi-interlink.c: Likewise.
38026         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
38027         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
38028         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
38029         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
38030         record the current FP ABI extension.
38031         (mips-mode-switch): Define to show if kernel headers support mode
38032         switching.
38033         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
38034         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
38035         supported SYSV ABI version to 3.
38036         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
38037         feature.
38039 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38040             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38042         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
38043         path.
38044         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
38046 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
38048         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
38049         __fegetround and redefine to call __fegetround.  Remove condition
38050         on [!__NO_MATH_INLINES].
38051         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
38052         function.
38053         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
38054         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
38055         Remove macro.
38056         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
38057         instead of <fenv_libc.h>.
38058         (__llrintl): Call fegetround instead of __fegetround.
38059         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
38060         instead of <fenv_libc.h>.
38061         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38062         (__lrintl): Call fegetround instead of __fegetround.
38063         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
38064         instead of <fenv_libc.h>.
38065         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38066         (__rintl): Call fegetround instead of __fegetround.
38068 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38070         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
38071         arrays.
38073 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
38075         [BZ #17775]
38076         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
38077         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
38078         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
38080 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
38082         * sysdeps/i386/tls-macros.h: Include <features.h>.
38083         (TLS_LE): Use non-PIC version for GCC >= 5.0.
38084         (TLS_IE): Likewise.
38085         (TLS_LD): Likewise.
38086         (TLS_GD): Likewise.
38087         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
38088         define for GCC >= 5.0.
38090 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
38092         * math/test-fenv.c (test_single_exception, set_single_exc,
38093         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
38094         feexcp_mask_test, feenable_test, fe_single_test): Add
38095         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
38096         case where they are not used.
38097         * math/libm-test.inc: Likewise.
38098         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
38099         unused in the absence of FP rounding/exception support.
38100         * stdio-common/tst-printf-round.c: Likewise.
38101         * stdlib/tst-strtod-round.c: Likewise.
38102         * stdlib/tst-strtod-underflow.c: Likewise.
38104 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
38106         [BZ #17723]
38107         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
38108         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
38109         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
38110         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
38111         libm_hidden_weak.
38112         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
38113         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
38114         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
38115         libm_hidden_def.
38116         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
38117         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
38118         libm_hidden_weak.
38119         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
38120         Likewise.
38121         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
38122         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
38123         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
38124         libm_hidden_weak.
38125         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
38126         libm_hidden_def.
38127         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
38128         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
38129         (__feraiseexcept): Likewise.
38130         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
38131         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
38132         libm_hidden_weak.
38133         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
38134         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
38135         libm_hidden_def.
38136         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
38137         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
38138         Use libm_hidden_def.
38139         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
38140         libm_hidden_def.
38141         (feraiseexcept): Define as weak not strong alias.  Use
38142         libm_hidden_weak.
38143         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
38144         New inline function.  Factored out of ...
38145         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
38146         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
38147         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
38148         feraiseexcept.
38149         * math/w_acos.c (__acos): Likewise.
38150         * math/w_asin.c (__asin): Likewise.
38151         * math/w_ilogb.c (__ilogb): Likewise.
38152         * math/w_j0.c (y0): Likewise.
38153         * math/w_j1.c (y1): Likewise.
38154         * math/w_jn.c (yn): Likewise.
38155         * math/w_log.c (__log): Likewise.
38156         * math/w_log10.c (__log10): Likewise.
38157         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
38158         * sysdeps/aarch64/fpu/math_private.h
38159         (libc_feupdateenv_test_aarch64): Likewise.
38160         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
38161         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
38162         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
38163         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
38164         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
38165         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
38166         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
38167         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
38168         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38169         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
38171 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
38173         [BZ #17732]
38174         * io/test-utime.c (main): Replace %ld with %jd and cast to
38175         intmax_t.
38176         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
38177         * nptl/tst-mutex5.c: Include <stdint.h>.
38178         (do_test): Replace %ld with %jd and cast to intmax_t.
38179         * posix/tst-regex.c (run_test): Likewise.
38180         (run_test_backwards): Likewise.
38181         * rt/tst-clock.c: Include <stdint.h>.
38182         (clock_test): Replace %ld with %jd and cast to intmax_t.
38183         * rt/tst-cpuclock1.c: Include <stdint.h>.
38184         (do_test): Replace %lu with %ju and cast to uintmax_t.
38185         * rt/tst-cpuclock2.c: Include <stdint.h>.
38186         (do_test): Replace %lu with %ju and cast to uintmax_t.
38187         * rt/tst-mqueue1.c: Include <stdint.h>.
38188         (check_attrs): Replace %ld with %jd and cast to intmax_t.
38189         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
38190         intmax_t.
38191         * rt/tst-mqueue4.c (do_test): Likewise.
38192         * rt/tst-timer4.c: Include <stdint.h>.
38193         (check_ts): Replace %ld with %jd and cast to intmax_t.
38194         (do_test): Likewise.
38195         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
38196         and cast to intmax_t.
38197         * sysdeps/pthread/tst-timer.c (main): Likewise.
38198         * time/clocktest.c (main): Likewise.
38199         * time/tst-posixtz.c (do_test): Likewise.
38200         * timezone/tst-timezone.c (main): Likewise.
38202 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
38203             H.J. Lu  <hongjiu.lu@intel.com>
38205         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
38206         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
38207         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
38208         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
38209         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
38210         version if bit_Fast_Unaligned_Load is set.
38211         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38212         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38213         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38214         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38215         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38216         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38217         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38218         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
38219         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
38220         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
38221         to 4.
38222         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
38223         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
38224         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
38225         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
38227 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
38229         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
38230         instead of #if to avoid a Wundef warning.
38231         * stdlib/tst-limits.c (do_test): Likewise.
38233         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
38234         parallel other exception macros.
38235         (fegetenv): Convert from macro to extern inline so that it applies
38236         retroactively to inline functions already seen by the compiler.
38237         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
38239         * posix/Makefile (before-compile): Use $(objpfx) for
38240         posix-conf-vars-def.h.
38242 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38244         * posix/getconf.c (main): Use size_t for type of I.
38245         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
38246         NSPEC.
38248         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
38249         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
38250         * posix/posix-envs.def: Likewise.
38251         * sysdeps/posix/sysconf.c: Likewise.
38252         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
38253         (specs): Remove array.
38254         * scripts/gen-posix-conf-vars.awk: Support generation of specs
38255         array.
38257         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
38258         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
38259         (__sysconf): Use CONF_IS_* macros.
38261         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
38262         ($(objpfx)posix-conf-vars-def.h): New target.
38263         * posix/posix-conf-vars.list: New file.
38264         * posix/posix-conf-vars.h: New file.
38265         * posix/confstr.c: Include posix-conf-vars.h.
38266         (confstr): Use CONF_IS_* macros.
38267         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
38268         CONF_IS_* macros.
38269         * scripts/gen-posix-conf-vars.awk: New file.
38271 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
38273         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
38274         fegetround): Add no-op macros to avoid linknamespace issues.
38276         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
38277         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
38279         * sysdeps/unix/sysv/linux/tile/sysdep.h
38280         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
38281         assembly-specific section to avoid a redefinition warning.
38283         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
38284         long before casting to pointer to avoid a cast warning.
38286 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
38288         * sysdeps/tile/tilegx/Implies: New file.
38290 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
38292         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
38294 2014-12-23  Florian Weimer  <fweimer@redhat.com>
38296         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
38298 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
38300         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
38301         not define.
38302         * sysdeps/unix/sysv/linux/utimes.c: Do not include
38303         <kernel-features.h>.
38304         (__utimes) [__NR_utimes]: Make code unconditional.
38305         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
38306         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38307         (__ASSUME_UTIMES): Do not undefine.
38308         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38309         (__ASSUME_UTIMES): Likewise.
38310         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
38311         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
38312         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
38313         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
38315 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
38317         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
38319 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
38321         [BZ #17747]
38322         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
38323         alias to weak alias for j0l, y0l.
38324         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
38325         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
38327         [BZ #17746]
38328         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
38329         conversion.
38331 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
38333         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
38334         to zero if not already defined.
38336 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
38338         [BZ #17724]
38339         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
38340         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
38341         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
38342         (char *) casts added.
38343         * sysdeps/ieee754/k_standardf.c: New file.
38344         * sysdeps/ieee754/k_standardl.c: Likewise.
38345         * math/Makefile (libm-support): Remove k_standard.
38346         (libm-calls): Add k_standard.
38348 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
38350         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
38351         Optimize to avoid an unnecessary FPCR read.
38353 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
38355         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
38356         Optimize to reduce FPCR/FPSR accesses.
38358 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
38360         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
38361         Call libc_fetestexcept_aarch64.
38363 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
38365         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
38366         Call libc_fesetround_aarch64.
38368 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
38370         [BZ #17733]
38371         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
38372         (__bind): Do not define as weak alias.
38373         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
38374         define.
38375         (__getsockname): Do not define as weak alias.
38377 2014-12-22  Will Newton  <will.newton@linaro.org>
38379         * manual/install.texi: Document that we require bison 2.7
38380         or above.
38381         * INSTALL: Regenerate.
38382         * configure.ac: Use AC_CHECK_PROG_VER instead of
38383         AC_PATH_PROG when checking for bison and check for
38384         version 2.7 or above.
38385         * configure: Regenerate.
38387 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
38389         [BZ #17745]
38390         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
38391         * sysdeps/tile/ffsll.c (ffsll): To here.
38393         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
38395 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
38397         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
38398         if not defined.
38399         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
38400         definition.
38401         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
38402         hidden ___tls_get_addr.
38403         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
38404         hidden __tls_get_addr.
38405         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
38406         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
38407         Likewise.
38409 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
38411         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
38412         _dl_init call.
38414 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
38416         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
38417         from "call _dl_init@PLT".
38418         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
38420 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
38422         * manual/search.texi: (Array Sort Function): Clarify stable sorting
38423         guarantees.
38425 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
38427         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
38429 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
38431         [BZ #17744]
38432         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
38433         strnlen.
38435 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
38437         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
38438         of multu on MIPSr6.
38439         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
38440         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
38441         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
38442         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
38443         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
38445 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
38447         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
38448         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
38449         (PTR_SUBU): Use subu for mips32r6/mips64r6.
38450         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
38451         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
38452         mips32r6/mips64r6.
38453         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
38455 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
38457         * string/strncat.c (STRNCAT): Simplify implementation.
38459 2014-12-19  David S. Miller  <davem@davemloft.net>
38461         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
38462         access the quad as both a long double and as a series of 4 words.
38464         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
38465         link_map->l_info array access.
38467 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
38469         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
38471         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
38472         * math/atest-exp2.c (TIMEOUT): Likewise.
38473         * math/atest-sincos.c (TIMEOUT): Likewise.
38475 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
38477         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
38478         -Wno-error with -fno-builtin-lround.
38480 2014-12-19  Torvald Riegel  <triegel@redhat.com>
38482         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
38483         Contains futex constants and functions moved over from ...
38484         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
38485         <lowlevellock-futex.h>.
38486         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
38487         (lll_timedwait_tid): Add comments and parentheses around macro
38488         arguments.
38490 2014-12-19  Torvald Riegel  <triegel@redhat.com>
38492         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
38493         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
38494         (__lll_private_flag): Remove.
38495         (lll_futex_wait): Likewise.
38496         (lll_futex_timed_wait): Likewise.
38497         (lll_futex_wake): Likewise.
38498         (lll_futex_requeue): Likewise.
38499         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
38500         (__lll_timedwait_tid): Spell out argument names.
38501         (lll_timedwait_tid): Add comments and parentheses around macro
38502         arguments.
38503         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
38504         LLL_SHARED and LLL_PRIVATE usable from assembly code.
38506 2014-12-19  Torvald Riegel  <triegel@redhat.com>
38508         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
38509         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
38510         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
38511         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
38512         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
38513         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
38514         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
38515         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
38516         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
38517         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
38518         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
38519         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
38520         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
38521         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
38522         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
38523         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
38524         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
38525         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
38526         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
38528 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
38530         * sysdeps/x86_64/x32/Makefile: New file.
38532 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
38534         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
38535         1L with (mp_limb_t) 1.
38537 2014-12-17  Roland McGrath  <roland@hack.frob.com>
38539         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
38540         * nptl/libc_pthread_init.c: ... here.
38541         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
38542         * nptl/register-atfork.c: ... here.
38544         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
38545         Use pthread_sigmask rather than INTERNAL_SYSCALL.
38546         Use assert_perror to check its return value.
38547         (__gai_create_helper_thread): Likewise.
38549         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
38551         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
38553 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
38555         [BZ #17725]
38556         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
38557         __profil_counter.
38558         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
38559         Likewise.
38560         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
38561         Likewise.
38562         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
38563         Likewise.
38564         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
38565         (profil_counter): Likewise.
38566         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
38567         (profil_counter): Likewise.
38568         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
38569         Likewise.
38570         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
38571         Likewise.
38572         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
38573         (profil_counter): Likewise.
38574         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
38575         Likewise.
38576         [!__profil_counter] (profil_counter): Define as weak alias of
38577         __profil_counter.
38578         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
38579         (profil_counter): Rename to __profil_counter.
38580         [!__profil_counter] (profil_counter): Define as weak alias of
38581         __profil_counter.
38582         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
38583         (profil_counter): Rename to __profil_counter.
38584         [!__profil_counter] (profil_counter): Define as weak alias of
38585         __profil_counter.
38586         * sysdeps/posix/profil.c: Update comment referring to
38587         profil_counter.
38588         (__profil): Use __profil_counter instead of profil_counter.
38589         * sysdeps/posix/sprofil.c (profil_counter): Rename to
38590         __profil_counter.  Use __profil_counter_ushort and
38591         __profil_counter_uint in definitions.
38592         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
38593         instead of profil_counter_uint and profil_counter_ushort.
38595         [BZ #17722]
38596         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
38597         define as weak alias of __inet_makeaddr.
38598         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
38599         as weak alias of __inet_addr.
38600         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
38601         as weak alias of __inet_pton.  Use libc_hidden_weak.
38602         * include/arpa/inet.h (__inet_pton): Declare.  Use
38603         libc_hidden_proto.
38604         (inet_makeaddr): Don't use libc_hidden_proto.
38605         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
38606         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
38607         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
38608         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
38609         Remove variable.
38610         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
38611         (test-xfail-POSIX/time.h/linknamespace): Likewise.
38613 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
38615         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
38617 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
38619         * stdio-common/bug-vfprintf-nargs.c (do_test):
38620         Cast value to intptr_t to avoid format warning
38621         for usage with PRIdPTR printing macro.
38623 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
38625         * libio/tst-widetext.c (do_test):
38626         Use format type %td instead of %Zd for ptrdiff_t
38627         in order to avoid format warning.
38629 2014-12-17  Andreas Schwab  <schwab@suse.de>
38631         * nscd/mem.c (gc): Add size_t cast to match printf format.
38633 2014-12-16  Roland McGrath  <roland@hack.frob.com>
38635         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
38636         (init): Apply PTR_MANGLE to pointers before storing them.
38637         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
38638         before using them.
38640 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
38642         [BZ #17719]
38643         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
38644         define as weak alias of __memrchr.
38645         (__memrchr): Do not define as strong alias of memrchr.
38646         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
38647         Remove variable.
38648         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
38649         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
38650         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
38652         [BZ #17717]
38653         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
38654         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
38655         (if_indextoname): Rename to __if_indextoname and define as weak
38656         alias of __if_indextoname.  Use libc_hidden_weak.
38657         (if_freenameindex): Rename to __if_freenameindex and define as
38658         weak alias of __if_freenameindex.
38659         (if_nameindex): Rename to __if_nameindex and define as weak alias
38660         of __if_nameindex.
38661         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
38662         __if_nametoindex and define as weak alias of __if_nametoindex.
38663         Use libc_hidden_weak.
38664         (if_freenameindex): Rename to __if_freenameindex and define as
38665         weak alias of __if_freenameindex.
38666         (if_nameindex): Rename to __if_nameindex and define as weak alias
38667         of __if_nameindex.
38668         (if_indextoname): Rename to __if_indextoname and define as weak
38669         alias of __if_indextoname.  Use libc_hidden_weak.
38670         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
38671         __if_nametoindex and define as weak alias of __if_nametoindex.
38672         Use libc_hidden_weak.
38673         (if_freenameindex): Rename to __if_freenameindex and define as
38674         weak alias of __if_freenameindex.  Use libc_hidden_weak.
38675         (if_nameindex_netlink): Use __if_freenameindex instead of
38676         if_freenameindex.
38677         (if_nameindex): Rename to __if_nameindex and define as weak alias
38678         of __if_nameindex.  Use libc_hidden_weak.
38679         (if_indextoname): Rename to __if_indextoname and define as weak
38680         alias of __if_indextoname.  Use libc_hidden_weak.
38681         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
38682         libc_hidden_proto.
38683         [!_ISOMAC] (__if_freenameindex): Likewise.
38684         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
38685         if_nametoindex.
38686         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
38687         variable.
38688         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
38689         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
38690         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
38691         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
38692         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
38693         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
38694         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
38696         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
38697         Remove variable.
38698         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
38699         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
38701 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38703         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
38704         subscript above bounds'
38706         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
38707         bounds.
38709 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
38711         * libio/tst-fopenloc.c: Use test-skeleton.c.
38713         * stdlib/tst-bsearch.c: Use test-skeleton.c.
38714         (entry): Rename to ITEM.
38715         (do_test, comp): Adjust.
38717         * stdio-common/tst-fseek.c: Use test-skeleton.c.
38719 2014-12-16  Torvald Riegel  <triegel@redhat.com>
38721         * string/tester.c: Include <libc-internal.h>.
38722         (test_memset): Ignore -Wmemset-transposed-args.
38724 2014-12-16  Torvald Riegel  <triegel@redhat.com>
38726         * misc/tst-mntent2.c (do_test): Fix warning.
38728 2014-12-16  Torvald Riegel  <triegel@redhat.com>
38730         * elf/tst-unique4lib.cc(a): Mark as used.
38732 2014-12-16  Florian Weimer  <fweimer@redhat.com>
38734         [BZ #17630]
38735         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
38736         names.
38738 2014-12-16  Allan McRae  <allan@archlinux.org>
38740         * stdio-common/Makefile (tests): Re-add bug26.
38742 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
38744         [BZ #17657]
38745         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
38746         static array.
38748 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
38750         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
38751         (__lll_lock_wait): Likewise.
38752         (__lll_timedlock_wait): Likewise.
38753         (__lll_timedwait_tid): Likewise.
38754         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
38755         (__lll_robust_timedlock_wait): Likewise.
38756         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
38757         (lll_cond_trylock): Likewise.
38758         (__lll_lock): Likewise.
38759         (__lll_robust_lock): Likewise.
38760         (__lll_cond_lock): Likewise.
38761         (lll_robust_cond_lock): Likewise.
38762         (__lll_timedlock): Likewise.
38763         (__lll_robust_timedlock): Likewise.
38764         (__lll_unlock): Likewise.
38765         (__lll_robust_unlock): Likewise.
38766         (lll_wait_tid): Likewise.
38767         (lll_timedwait_tid): Likewise.
38769 2014-12-15  Torvald Riegel  <triegel@redhat.com>
38771         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
38773 2014-12-15  Torvald Riegel  <triegel@redhat.com>
38775         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
38777 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
38779         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
38780         * stdio-common/tst-sprintf.c: Likewise.
38782 2014-12-15  Torvald Riegel  <triegel@redhat.com>
38784         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
38786 2014-12-15  Jeff Law  <law@redhat.com>
38788         [BZ #16617]
38789         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
38790         on the heap.  (CVE-2012-3406)
38791         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
38792         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
38793         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
38795 2014-12-15  Will Newton  <will.newton@linaro.org>
38797         * manual/install.texi: Bump required version of texinfo
38798         to 4.7 from 4.5.
38799         * INSTALL: Regenerated.
38800         * configure.ac: Check for makeinfo version 4.7 and above.
38801         * configure: Regenerated.
38803 2014-12-12  Roland McGrath  <roland@hack.frob.com>
38805         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
38806         PREFIX, string constant to insert between directory and name.
38807         * sysdeps/posix/shm_open.c: Update caller.
38808         * sysdeps/posix/shm_unlink.c: Likewise.
38809         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
38810         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
38811         (SEM_SHM_PREFIX): New macro.
38812         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
38813         [$(have-thread-library) = no].
38814         * nptl/Makefile (libpthread-routines): Add shm-directory.
38815         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
38816         * sysdeps/nptl/shm-directory.h: New file.
38817         * sysdeps/posix/shm-directory.c
38818         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
38819         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
38820         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
38821         INTERNAL_SYSCALL.
38822         (__where_is_shmfs): Function removed.
38823         (mountpoint, defaultmount, defaultdir, __namedsem_once):
38824         Variables removed.
38825         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
38826         Use SHM_GET_NAME.
38827         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
38829         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
38830         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
38831         unconditional for use inside libpthread.
38832         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
38834 2014-12-12  Roland McGrath  <roland@hack.frob.com>
38836         * nptl/pthread_getaffinity.c: New file.
38837         * nptl/pthread_setaffinity.c: New file.
38838         * nptl/pthread_getname.c: New file.
38839         * nptl/pthread_setname.c: New file.
38841         * nptl/pthread_create.c (START_THREAD_DEFN)
38842         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
38844 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
38845             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38847         * resolv/res_send.c (send_vc): Disable warning resplen may
38848         be used uninitialized.
38850 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
38852         * nptl/tst-mutex6.c
38853         (ATTR_NULL): New define checks ATTR against NULL.
38854         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
38855         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
38857 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
38859         [BZ #17581]
38860         * malloc/hooks.c
38861         (mem2mem_check): Revert my previous change.
38862         (malloc_check_get_size): Revert my previous change.
38863         (mem2chunk_check): Revert my previous change.
38865 2014-12-11  Roland McGrath  <roland@hack.frob.com>
38867         * sysdeps/posix/shm-directory.c: New file.
38868         * sysdeps/posix/shm-directory.h: New file.
38869         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
38870         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
38871         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
38872         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
38873         Transmute EPERM to EACCES.
38874         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
38875         from ...
38876         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
38877         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
38879 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38881         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
38882         pointer and cast to uintptr_t.
38883         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
38884         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
38885         Add cast to avoid warning.
38886         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
38888 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
38890         * nptl/semaphore.h: Move to ...
38891         * sysdeps/pthread/semaphore.h: ... here.
38892         * Makefile (installed-headers): Change nptl/semaphore.h to
38893         sysdeps/pthread/semaphore.h.
38895 2014-12-11  Roland McGrath  <roland@hack.frob.com>
38897         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
38898         generated error format strings.
38900         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
38901         -Wformat-extra-args warnings for scanf formats.
38902         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
38903         test of zero-length format (duh).
38904         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
38905         corner-case scanf format test.
38906         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
38907         generated fprintf format string.
38908         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
38909         corner-case sprintf format tests.
38910         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
38911         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
38912         -Wformat-extra-args warnings throughout.
38913         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
38914         (CFLAGS-scanf4.c): Likewise.
38915         (CFLAGS-scanf7.c): Likewise.
38916         (CFLAGS-tst-sprintf.c): Likewise.
38917         (CFLAGS-tst-printf.c): Likewise.
38918         (CFLAGS-tst-printfsz.c): Likewise.
38920 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
38922         * include/cpio.h: New file.
38923         * include/fmtmsg.h: Likewise.
38925         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
38926         corresponding format argument to size_t.
38927         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
38928         arguments.
38929         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
38930         corresponding format argument to size_t.
38931         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
38932         arguments.
38933         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
38934         corresponding format argument to size_t.
38935         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
38936         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
38937         (CFLAGS-tst-mbswcs2.c): Likewise.
38938         (CFLAGS-tst-mbswcs3.c): Likewise.
38939         (CFLAGS-tst-mbswcs4.c): Likewise.
38940         (CFLAGS-tst-mbswcs5.c): Likewise.
38941         (CFLAGS-tst-trans.c): Likewise.
38943 2014-12-11  Roland McGrath  <roland@hack.frob.com>
38945         * posix/regexbug1.c (main): Use "%s" format with regerror results,
38946         rather than assuming they won't contain any '%'s.
38948 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
38950         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
38951         inhibit_loop_to_libcall to avoid recursive calls.
38952         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
38953         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
38955 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
38957         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
38958         prototype.
38960 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
38962         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
38963         integer value instead of boolean.
38965 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
38967         * malloc/malloc.c: Fix powerof2 check.
38969 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38971         * locale/programs/locfile.h (maybe_swap_uint32):
38972         Remove inline and add unused attribute.
38974 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38976         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
38977         Truncating assembler expression to a .long expression.
38979 2014-12-11  Andreas Schwab  <schwab@suse.de>
38981         * elf/rtld.c (struct map_args): Constify str member.
38982         (do_preload): Constify fname argument.
38984 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38986         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
38987         constants definition.
38989 2014-12-11  Andreas Schwab  <schwab@suse.de>
38991         [BZ #16657]
38992         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
38993         FORCE_ELISION instead of DO_ELISION.
38994         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
38995         Remove.
38996         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
38997         Likewise.
38999         * iconvdata/gconv-modules: Remove duplicate entry.
39001 2014-12-11  Will Newton  <will.newton@linaro.org>
39003         Merge gettext 0.19.3 into intl/.
39005         This involves a number of cosmetic changes to comments
39006         and ANSI function definitions and prototypes throughout
39007         all the files. The gettext copyright header is used but
39008         with the date ranges taken from the glibc copy.
39010         * NEWS: Add gettext merge to 2.21.
39011         * intl/bindtextdom.c: Switch to gettext copyright.
39012         Use ANSI definitions and prototypes.
39013         Use gl_* locking primitives rather than __libc_* ones.
39014         Use __builtin_expect rather than __glibc_likely/unlikely.
39015         * intl/dcgettext.c: Switch to gettext copyright.
39016         Use ANSI definitions and prototypes.
39017         * intl/dcigettext.c: Switch to gettext copyright.
39018         Use ANSI definitions and prototypes.
39019         (INTDIV0_RAISES_SIGFPE): New define.
39020         Use gl_* locking primitives rather than __libc_* ones.
39021         Include eval-plural.h instead of plural-eval.c.
39022         Use __builtin_expect rather than __glibc_likely/unlikely.
39023         * intl/dcngettext.c: Switch to gettext copyright.
39024         Use ANSI definitions and prototypes.
39025         * intl/dgettext.c: Likewise.
39026         * intl/dngettext.c: Likewise.
39027         * intl/plural-eval.c: Renamed to...
39028         * intl/eval-plural.h: ...this.
39029         * intl/explodename.c: Switch to gettext copyright.
39030         Use ANSI definitions and prototypes.
39031         (_nl_explode_name): Use strchr instead of __rawmemchr.
39032         * intl/finddomain.c: Switch to gettext copyright.
39033         Use ANSI definitions and prototypes.
39034         Use gl_* locking primitives rather than __libc_* ones.
39035         (_nl_find_domain): Use malloc rather than alloca for
39036         allocation of temporary locale name.
39037         * intl/gettext.c: Switch to gettext copyright.
39038         Use ANSI definitions and prototypes.
39039         * intl/gettextP.h: Switch to gettext copyright.
39040         Use ANSI definitions and prototypes.
39041         Use gl_* locking primitives rather than __libc_* ones.
39042         * intl/gmo.h: Switch to gettext copyright.
39043         (struct sysdep_string): Move struct segment_pair outside of
39044         struct definition.
39045         * intl/hash-string.c: Use ANSI definitions and prototypes.
39046         * intl/hash-string.h: Switch to gettext copyright.
39047         Use ANSI definitions and prototypes.
39048         * intl/l10nflist.c: Switch to gettext copyright.
39049         Use ANSI definitions and prototypes.
39050         (_nl_normalize_codeset): Avoid integer overflow.
39051         * intl/loadinfo.h: Switch to gettext copyright.
39052         Use ANSI definitions and prototypes.
39053         (LIBINTL_DLL_EXPORTED): New define.
39054         (PATH_SEPARATOR): New define.
39055         * intl/loadmsgcat.c: Switch to gettext copyright.
39056         * intl/localealias.c: Switch to gettext copyright.
39057         Use ANSI definitions and prototypes.
39058         (_nl_expand_alias): Use PATH_SEPARATOR.
39059         * intl/ngettext.c: Switch to gettext copyright.
39060         Use ANSI definitions and prototypes.
39061         * intl/plural-exp.c: Likewise.
39062         * intl/plural-exp.h: Switch to gettext copyright.
39063         Use ANSI definitions and prototypes.
39064         (struct expression): Move definition of enum operator outside
39065         of struct definition.
39066         * intl/plural.c: Regenerate.
39067         * intl/plural.y: Switch to gettext copyright.
39068         Use ANSI definitions and prototypes.
39069         Port to bison 3.0.
39070         * intl/textdomain.c: Switch to gettext copyright.
39071         Use ANSI definitions and prototypes.
39072         Use gl_* locking primitives rather than __libc_* ones.
39074 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
39076         * debug/warning-nop.c: Add used atrribute.
39078 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
39080         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
39082         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
39083         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
39084         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
39086 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
39087             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39089         [BZ #17634]
39090         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
39091         Undefine after defining function.  Define as weak alias of
39092         __wcschr.  Use libc_hidden_weak.
39093         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
39094         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
39095         (libc_hidden_def): Also define __GI___wcschr alias.
39096         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
39097         __wcschr and define as weak alias of __wcschr.
39098         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
39099         __wcschr.
39100         [!WCSCHR] (DEFAULT_WCSCHR): Define.
39101         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
39102         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
39103         libc_hidden_weak.  Do not use libc_hidden_def.
39104         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
39105         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
39106         __GI___wcschr alias.
39107         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
39108         [IS_IN (libc)] (wcschr): Define as macro expanding to
39109         __redirect_wcschr.
39110         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
39111         [IS_IN (libc)] (__wcschr_power6): Likewise.
39112         [IS_IN (libc)] (__wcschr_power7): Likewise.
39113         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
39114         instead of wcschr.
39115         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
39116         __libc_wcschr.
39117         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
39118         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
39119         __wcschr and define as weak alias of __wcschr.  Use
39120         libc_hidden_builtin_def.
39121         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
39122         as weak alias of __wcschr.  Use libc_hidden_weak.
39123         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
39124         wcschr.
39125         * time/era.c (_nl_init_era_entries): Likewise.
39126         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
39127         variable.
39128         (test-xfail-XPG3/time.h/linknamespace): Likewise.
39129         (test-xfail-XPG4/time.h/linknamespace): Likewise.
39131 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
39133         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
39134         format for long int variable.
39136 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
39138         [BZ #10672]
39139         * manual/search.texi: (Array Sort Function): Remove claim how to make
39140         qsort stable.
39142 2014-12-10  Andreas Schwab  <schwab@suse.de>
39144         [BZ #12847]
39145         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
39146         user-controlled locks.
39148 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
39150         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
39151         register.
39153 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
39155         * configure.ac (--disable-werror): New configure option.
39156         (enable_werror): New AC_SUBST.
39157         * configure: Regenerated.
39158         * config.make.in (enable-werror): New variable.
39159         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
39160         -Wno-error=undef.
39161         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
39162         * manual/install.texi (Configuring and compiling): Document
39163         --disable-werror.
39164         * INSTALL: Regenerated.
39165         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
39166         (CFLAGS-tst-chk2.c): Likewise.
39167         (CFLAGS-tst-chk3.c): Likewise.
39168         (CFLAGS-tst-chk4.cc): Likewise.
39169         (CFLAGS-tst-chk5.cc): Likewise.
39170         (CFLAGS-tst-chk6.cc): Likewise.
39171         (CFLAGS-tst-lfschk1.c): Likewise.
39172         (CFLAGS-tst-lfschk2.c): Likewise.
39173         (CFLAGS-tst-lfschk3.c): Likewise.
39174         (CFLAGS-tst-lfschk4.cc): Likewise.
39175         (CFLAGS-tst-lfschk5.cc): Likewise.
39176         (CFLAGS-tst-lfschk6.cc): Likewise.
39178         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
39179         (main): Disable -Wdeprecated-declarations around calls to
39180         register_printf_function.
39182         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
39183         (do_test): Disable -Wdiv-by-zero around some calls to
39184         fwrite_unlocked and fread_unlocked.
39186         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
39187         (DIAG_POP_NEEDS_COMMENT): Likewise.
39188         (_DIAG_STR1): Likewise.
39189         (_DIAG_STR): Likewise.
39190         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
39191         * stdio-common/bug21.c: Include <libc-internal.h>.
39192         (do_test): Disable -Wformat around call to sscanf.
39193         * stdio-common/scanf14.c: Include <libc-internal.h>.
39194         (main): Disable -Wformat around some calls to scanf functions.
39196 2014-12-09  Torvald Riegel  <triegel@redhat.com>
39198         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
39200 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39202         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
39203         stack variable alignment.
39205 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
39207         [BZ #17682]
39208         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
39209         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
39210         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
39211         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
39212         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
39213         __getrlimit instead of getrlimit.
39214         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
39215         __gettimeofday instead of gettimeofday.
39216         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
39217         Likewise.
39218         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
39219         Likewise.
39220         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39221         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
39222         Remove variable.
39223         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
39224         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
39226 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39228         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
39229         for wide-character tests.
39231 2014-12-04  Roland McGrath  <roland@hack.frob.com>
39233         * io/openat64.c: #include <libc-internal.h>
39234         (__openat64): Prototypify.  Use ignore_value on MODE.
39235         * io/openat.c: Likewise.
39236         * misc/reboot.c: #include <libc-internal.h>
39237         (reboot): Prototypify.  Use ignore_value on HOWTO.
39238         * misc/ptrace.c: #include <libc-internal.h>
39239         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
39241 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
39243         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
39244         XPG4, UNIX98 and XOPEN2K.
39245         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
39246         Remove variable.
39247         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
39249 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39251         * libio/fileops.c: Use ISO C style for function definitions.
39252         * libio/iofopen.c: Likewise.
39253         * libio/wfileops.c: Likewise.
39255         [BZ #17653]
39256         * libio/fileops.c (_IO_new_file_underflow): Unset cached
39257         offset on EOF.
39258         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
39259         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
39260         (fgets_func): Function pointer to fgets and fgetws.
39261         (do_ftell_test): Add test to verify ftell value after read
39262         EOF.
39263         (do_test): Set fgets_func.
39265         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
39266         O_TRUNC flag for w and w+ modes.
39267         (do_rewind_test): Likewise.
39268         (do_ftell_test): Likewise.
39269         (do_write_test): Likewise.
39271         [BZ #17647]
39272         * libio/fileops.c (do_ftell): Seek only when there are
39273         unflushed writes.
39274         * libio/wfileops.c (do_ftell_wide): Likewise.
39275         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
39276         test case.
39277         (do_one_test): Call it.
39279 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
39281         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
39282         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
39283         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
39284         Remove variable.
39285         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
39286         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
39287         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
39289 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
39291         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
39292         Remove variable.
39293         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
39295         [BZ #17668]
39296         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
39297         as weak alias of __getifaddrs.  Use libc_hidden_weak.
39298         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
39299         __freeifaddrs.  Use libc_hidden_weak.
39300         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
39301         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
39302         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
39303         __freeifaddrs.  Use libc_hidden_weak.
39304         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
39305         __getifaddrs and define as weak alias of __getifaddrs.  Use
39306         libc_hidden_weak.
39307         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
39308         __freeifaddrs.  Use libc_hidden_weak.
39309         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
39310         Remove variable.
39311         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
39312         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
39314 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
39316         [BZ #17601]
39317         * sysdeps/mips/start.S (__start): Use indirect jump to call
39318         __libc_start_main.
39320 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
39322         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
39324         * nptl/tst-mutex1.c: Include <stdbool.h>.
39325         [!ATTR] (ATTR_NULL): New macro.
39326         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
39327         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
39328         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
39330         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
39331         to char *.
39333         [BZ #17665]
39334         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
39335         Change conditional to [__USE_MISC].
39337         [BZ #17664]
39338         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
39339         fgets_unlocked.
39340         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
39341         __fgets_unlocked.
39342         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
39343         fgets_unlocked.
39344         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
39345         Remove variable.
39346         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
39347         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
39348         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
39349         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
39350         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
39351         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
39352         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
39353         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
39354         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
39356         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
39358 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39360         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39361         Remove strpbrk objects.
39362         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39363         (__libc_ifunc_impl_list): Remove strpbrk implementation.
39364         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
39365         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
39366         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
39367         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
39369         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39370         Remove strcspn objects.
39371         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39372         (__libc_ifunc_impl_list): Remove strcspn implementation.
39373         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
39374         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
39375         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
39376         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
39378         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39379         Remove strspn objetcs.
39380         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39381         (__libc_ifunc_impl_list): Remove strspn implementation.
39382         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
39383         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
39384         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
39385         * sysdeps/powerpc/powerpc64/strspn.S: New file.
39387 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
39389         [BZ #17581]
39390         * malloc/hooks.c
39391         (mem2mem_check): Add a terminator to the chain of checking blocks.
39392         (malloc_check_get_size): Use it here.
39393         (mem2chunk_check): Ditto.
39395 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39397         * sysdeps/powerpc/powerpc64/strtok.S: New file.
39398         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
39400 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
39402         * bits/ioctl-types.h: Indent preprocessor directives correctly.
39404         * nptl/nptl-init.c: Include libc-internal.h.
39405         (__pthread_initialize_minimal_internal): Use ROUND_UP.
39407         * elf/ldconfig.c (search_dir): Expand comment.
39409 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
39411         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
39412         variable.
39413         (linknamespace-symlist-stdlibs-tests): Likewise.
39414         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
39415         instead of $(objpfx)symlist-stdlibs.
39416         (linknamespace-libs-isoc): New variable.
39417         (linknamespace-libs): Use $(linknamespace-libs-isoc).
39418         (linknamespace-libs-ISO): New variable.
39419         (linknamespace-libs-ISO99): Likewise.
39420         (linknamespace-libs-ISO11): Likewise.
39421         (linknamespace-libs-XPG3): Likewise.
39422         (linknamespace-libs-XPG4): Likewise.
39423         (linknamespace-libs-POSIX): Likewise.
39424         (linknamespace-libs-UNIX98): Likewise.
39425         (linknamespace-libs-XOPEN2K): Likewise.
39426         (linknamespace-libs-POSIX2008): Likewise.
39427         (linknamespace-libs-XOPEN2K8): Likewise.
39428         ($(objpfx)symlist-stdlibs): Replace by
39429         $(linknamespace-symlist-stdlibs-tests).  Use
39430         $(linknamespace-libs-$*) as set of libraries.
39431         ($(linknamespace-header-tests)): Update dependencies.  Use
39432         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
39433         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
39434         * conform/linknamespace.pl: Remove comment about considering
39435         definitions of symbols from irrelevant libraries.
39437 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
39439         [BZ #13862]
39440         * elf/dl-tls.c: Include <atomic.h>.
39441         (oom): Remove #ifdef SHARED/#endif.
39442         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
39443         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
39444         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
39445         big enough.
39446         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
39447         * nptl/Makefile (tests): Add tst-stack4.
39448         (modules-names): Add tst-stack4mod.
39449         ($(objpfx)tst-stack4): New.
39450         (tst-stack4mod.sos): Likewise.
39451         ($(objpfx)tst-stack4.out): Likewise.
39452         ($(tst-stack4mod.sos)): Likewise.
39453         (clean): Likewise.
39454         * nptl/tst-stack4.c: New file.
39455         * nptl/tst-stack4mod.c: Likewise.
39457 2014-11-27  J. Brown  <jb999@gmx.de>
39459         * sysdeps/x86/bits/string.h: Add recent CPUs.
39461 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
39463         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
39464         sigblock.
39466         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
39467         feof.
39469         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
39470         variable.
39472 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
39474         * nscd/connections.c: Include libc-internal.h because of macro
39475         usage ignore_value.
39477 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39479         * string/bits/string3.h (__warn_memset_zero_len): Don't
39480         declare for gcc newer than 5.0.
39481         (memset): Don't test for zero-length __LEN for gcc newer than
39482         5.0.
39484 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
39486         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
39487         size_t for %zu format.
39489         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
39490         difference, not %ju.
39492 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
39494         * include/libc-internal.h (ignore_value): New macro.
39495         * nscd/connections.c (restart): Wrap calls to setuid and setgid
39496         with ignore_value.
39498         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
39499         definition.
39501         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
39502         pthread_cleanup_push to void *.
39504         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
39505         Undefine.
39507         [BZ #16619]
39508         [BZ #16740]
39509         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
39510         instead of 1L << 52.
39512         * libio/bug-rewind.c (do_test): Check fwscanf return values.
39513         * libio/bug-rewind2.c (do_test): Likewise.
39515         * debug/test-stpcpy_chk-ifunc.c: Remove file.
39516         * debug/test-strcpy_chk-ifunc.c: Likewise.
39517         * wcsmbs/test-wcschr-ifunc.c: Likewise.
39518         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
39519         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
39520         * wcsmbs/test-wcslen-ifunc.c: Likewise.
39521         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
39522         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
39523         * Rules [$(multi-arch) = no] (tests): Do not filter out
39524         $(tests-ifunc).
39525         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
39526         * debug/Makefile (tests-ifunc): Remove variable.
39527         (tests): Do not add $(tests-ifunc).
39528         * wcsmbs/Makefile (tests-ifunc): Remove variable.
39529         (tests): Do not add $(tests-ifunc).
39530         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
39531         [TEST_IFUNC]: Remove conditionals.
39532         * string/test-string.h (TEST_IFUNC): Remove macro.
39533         [TEST_IFUNC]: Remove conditionals.
39535         * string/test-strchr.c [!WIDE] (L): New macro.
39536         [WIDE] (L): Likewise.
39537         (check1): Use CHAR instead of char.  Use L on string and character
39538         constants.
39540 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
39542         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
39543         tests.
39544         * sysdeps/powerpc/bits/atomic.h
39545         (__arch_atomic_exchange_and_add_32_acq): Add definition.
39546         (__arch_atomic_exchange_and_add_32_rel): Likewise.
39547         (atomic_exchange_and_add_acq): Likewise.
39548         (atomic_exchange_and_add_rel): Likewise.
39549         * sysdeps/powerpc/powerpc32/bits/atomic.h
39550         (__arch_atomic_exchange_and_add_64_acq): Add definition.
39551         (__arch_atomic_exchange_and_add_64_rel): Likewise.
39552         * sysdeps/powerpc/powerpc64/bits/atomic.h
39553         (__arch_atomic_exchange_and_add_64_acq): Add definition.
39554         (__arch_atomic_exchange_and_add_64_rel): Likewise.
39556 2014-11-26  Torvald Riegel  <triegel@redhat.com>
39558         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
39559         Change synchronization of __sched_fifo_min_prio and
39560         __sched_fifo_max_prio.
39561         * nptl/pthread_mutexattr_getprioceiling.c
39562         (pthread_mutexattr_getprioceiling): Likewise.
39563         * nptl/pthread_mutexattr_setprioceiling.c
39564         (pthread_mutexattr_setprioceiling): Likewise.
39565         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
39566         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
39567         Likewise.
39569 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
39571         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
39572         void.
39574 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
39576         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
39577         third argument const.
39579 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
39581         fnmatch: work around GCC compiler warning bug with uninit var
39582         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
39583         This works around a bug with x86-64 GCC 4.9.2 and earlier
39584         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
39585         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
39586         used uninitialized in this function [-Wmaybe-uninitialized]".
39588 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
39590         * posix/bug-regex31.c (main): Return RES not 0.
39592 2014-11-25  Anton Blanchard <anton@samba.org>
39594         * sysdeps/powerpc/bits/atomic.h
39595         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
39597 2014-11-24  Sterling Augustine  <saugustine@google.com>
39599         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
39601 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
39603         [BZ #17608]
39604         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
39606 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
39608         [BZ #17633]
39609         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
39610         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
39611         variable.
39612         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
39613         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
39615 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
39617         * string/strncpy.c (strncpy): Improve performance by using memset.
39619 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
39621         * string/strcpy.c (strcpy):
39622         Improve performance by using strlen and memcpy.
39624 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
39626         * string/strcoll_l.c (get_next_seq): __always_inline.
39627         * string/strcoll_l.c (do_compare): __always_inline.
39629 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39631         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
39632         defined.
39633         * include/mqueue.h: Likewise.
39634         * include/stdlib.h: Likewise.
39636         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
39637         (get_null_defines): Adjust.
39638         * sunrpc/Makefile: Adjust comment.
39639         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
39640         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
39641         (CFLAGS-interp.c): Likewise.
39642         (CFLAGS-ldconfig.c): Likewise.
39643         (CPPFLAGS-.os): Likewise.
39644         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39645         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
39646         * extra-modules.mk (extra-modules.mk): Likewise.
39647         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
39648         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
39649         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
39650         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
39651         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
39652         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
39653         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
39654         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
39655         * iconvdata/Makefile (CPPFLAGS): Likewise.
39656         (cpp-srcs-left): Add libof for all iconvdata routines.
39657         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
39658         * include/assert.h: Likewise.
39659         * include/ctype.h: Likewise.
39660         * include/errno.h: Likewise.
39661         * include/libc-symbols.h: Likewise.
39662         * include/math.h: Likewise.
39663         * include/netdb.h: Likewise.
39664         * include/resolv.h: Likewise.
39665         * include/stdio.h: Likewise.
39666         * include/stdlib.h: Likewise.
39667         * include/string.h: Likewise.
39668         * include/sys/stat.h: Likewise.
39669         * include/wctype.h: Likewise.
39670         * intl/l10nflist.c: Likewise.
39671         * libidn/idn-stub.c: Likewise.
39672         * libio/libioP.h: Likewise.
39673         * nptl/libc_multiple_threads.c: Likewise.
39674         * nptl/pthreadP.h: Likewise.
39675         * posix/regex_internal.h: Likewise.
39676         * resolv/res_hconf.c: Likewise.
39677         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
39678         * sysdeps/arm/memmove.S: Likewise.
39679         * sysdeps/arm/sysdep.h: Likewise.
39680         * sysdeps/generic/_itoa.h: Likewise.
39681         * sysdeps/generic/symbol-hacks.h: Likewise.
39682         * sysdeps/gnu/errlist.awk: Likewise.
39683         * sysdeps/gnu/errlist.c: Likewise.
39684         * sysdeps/i386/i586/memcpy.S: Likewise.
39685         * sysdeps/i386/i586/memset.S: Likewise.
39686         * sysdeps/i386/i686/memcpy.S: Likewise.
39687         * sysdeps/i386/i686/memmove.S: Likewise.
39688         * sysdeps/i386/i686/mempcpy.S: Likewise.
39689         * sysdeps/i386/i686/memset.S: Likewise.
39690         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39691         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39692         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
39693         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
39694         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39695         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39696         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
39697         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39698         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39699         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39700         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39701         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39702         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39703         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39704         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39705         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39706         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
39707         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
39708         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
39709         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39710         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39711         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39712         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39713         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39714         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39715         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39716         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
39717         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39718         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
39719         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39720         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39721         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39722         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39723         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39724         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39725         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39726         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39727         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39728         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39729         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39730         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39731         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39732         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39733         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39734         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39735         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39736         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
39737         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
39738         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39739         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39740         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39741         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
39742         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
39743         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39744         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
39745         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
39746         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39747         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
39748         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
39749         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39750         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
39751         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39752         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
39753         * sysdeps/nptl/bits/libc-lock.h: Likewise.
39754         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
39755         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
39756         * sysdeps/posix/closedir.c: Likewise.
39757         * sysdeps/posix/opendir.c: Likewise.
39758         * sysdeps/posix/readdir.c: Likewise.
39759         * sysdeps/posix/rewinddir.c: Likewise.
39760         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
39761         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
39762         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
39763         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
39764         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
39765         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
39766         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
39767         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
39768         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
39769         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
39770         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
39771         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
39772         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
39773         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
39774         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
39775         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
39776         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
39777         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
39778         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
39779         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
39780         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
39781         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
39782         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
39783         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
39784         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
39785         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
39786         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
39787         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
39788         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
39789         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
39790         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
39791         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
39792         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
39793         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
39794         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
39795         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
39796         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
39797         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39798         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
39799         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
39800         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
39801         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
39802         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
39803         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
39804         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
39805         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
39806         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
39807         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
39808         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
39809         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
39810         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
39811         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
39812         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
39813         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
39814         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
39815         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
39816         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
39817         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
39818         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
39819         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
39820         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
39821         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
39822         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
39823         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
39824         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
39825         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
39826         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
39827         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
39828         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
39829         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
39830         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
39831         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
39832         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
39833         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
39834         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
39835         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
39836         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
39837         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
39838         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
39839         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
39840         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
39841         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
39842         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
39843         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
39844         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
39845         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
39846         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
39847         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
39848         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
39849         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39850         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
39851         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
39852         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
39853         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39854         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39855         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
39856         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39857         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39858         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
39859         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
39860         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39861         * sysdeps/unix/alpha/sysdep.S: Likewise.
39862         * sysdeps/unix/alpha/sysdep.h: Likewise.
39863         * sysdeps/unix/make-syscalls.sh: Likewise.
39864         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
39865         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
39866         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
39867         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
39868         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
39869         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
39870         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
39871         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
39872         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
39873         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
39874         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
39875         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
39876         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39877         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
39878         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
39879         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39880         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
39881         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
39882         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
39883         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
39884         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
39885         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
39886         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
39887         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
39888         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
39889         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
39890         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
39891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
39892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
39893         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
39894         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
39895         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
39896         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39897         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39898         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
39899         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
39900         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39901         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39902         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
39903         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
39904         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39905         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
39906         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39907         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
39908         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
39909         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
39910         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39911         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39912         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
39913         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39914         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
39915         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
39916         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
39917         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
39918         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
39919         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
39920         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
39921         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39922         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
39923         * sysdeps/x86_64/memcpy.S: Likewise.
39924         * sysdeps/x86_64/memmove.c: Likewise.
39925         * sysdeps/x86_64/memset.S: Likewise.
39926         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
39927         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
39928         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
39929         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
39930         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
39931         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39932         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39933         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
39934         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
39935         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
39936         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
39937         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
39938         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
39939         * sysdeps/x86_64/multiarch/memset.S: Likewise.
39940         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39941         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
39942         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
39943         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
39944         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39945         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
39946         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
39947         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
39948         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39949         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39950         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
39951         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
39952         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
39953         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
39954         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39955         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
39956         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
39957         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
39958         * sysdeps/x86_64/strcmp.S: Likewise.
39960         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
39962         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
39963         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
39964         * elf/rtld-Rules: Likewise.
39965         * elf/setup-vdso.h: Likewise.
39966         * include/assert.h: Likewise.
39967         * include/bits/stdlib-float.h: Likewise.
39968         * include/errno.h: Likewise.
39969         * include/sys/stat.h: Likewise.
39970         * include/unistd.h: Likewise.
39971         * sysdeps/aarch64/setjmp.S: Likewise.
39972         * sysdeps/alpha/setjmp.S: Likewise.
39973         * sysdeps/arm/__longjmp.S: Likewise.
39974         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
39975         * sysdeps/arm/setjmp.S: Likewise.
39976         * sysdeps/arm/sysdep.h: Likewise.
39977         * sysdeps/generic/_itoa.h: Likewise.
39978         * sysdeps/generic/dl-sysdep.h: Likewise.
39979         * sysdeps/generic/ldsodefs.h: Likewise.
39980         * sysdeps/i386/dl-tls.h: Likewise.
39981         * sysdeps/i386/setjmp.S: Likewise.
39982         * sysdeps/m68k/setjmp.c: Likewise.
39983         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
39984         * sysdeps/mach/hurd/opendir.c: Likewise.
39985         * sysdeps/posix/getcwd.c: Likewise.
39986         * sysdeps/posix/opendir.c: Likewise.
39987         * sysdeps/posix/profil.c: Likewise.
39988         * sysdeps/powerpc/dl-procinfo.h: Likewise.
39989         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39990         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39991         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
39992         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
39993         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
39994         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
39995         * sysdeps/s390/dl-tls.h: Likewise.
39996         * sysdeps/s390/s390-32/setjmp.S: Likewise.
39997         * sysdeps/s390/s390-64/setjmp.S: Likewise.
39998         * sysdeps/sh/sh3/setjmp.S: Likewise.
39999         * sysdeps/sh/sh4/setjmp.S: Likewise.
40000         * sysdeps/unix/alpha/sysdep.h: Likewise.
40001         * sysdeps/unix/arm/sysdep.S: Likewise.
40002         * sysdeps/unix/i386/sysdep.S: Likewise.
40003         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
40004         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
40005         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
40006         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
40007         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40008         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
40009         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
40010         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40011         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
40012         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
40013         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
40014         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
40015         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
40016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40018         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
40019         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40020         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40021         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40022         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40023         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
40024         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40025         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40026         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
40027         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
40028         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
40029         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40030         * sysdeps/unix/x86_64/sysdep.S: Likewise.
40031         * sysdeps/x86_64/setjmp.S: Likewise.
40033         * include/math.h: Use IS_IN instead of IS_IN_libm.
40034         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
40035         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40036         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40037         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
40038         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40039         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40040         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40041         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40042         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40043         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40044         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
40045         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
40046         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
40047         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
40048         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
40049         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
40050         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
40051         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
40052         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
40053         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
40054         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
40055         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
40056         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
40057         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
40058         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
40059         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
40060         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
40061         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
40062         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
40063         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
40064         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
40065         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
40066         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
40067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
40068         Likewise.
40069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
40070         Likewise.
40071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
40072         Likewise.
40073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
40074         Likewise.
40075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
40076         Likewise.
40077         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
40078         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
40079         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
40080         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40081         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40082         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
40084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
40085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
40086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
40087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
40088         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
40089         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
40090         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
40091         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
40092         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40093         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
40094         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
40095         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40096         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
40097         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
40098         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
40099         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
40100         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
40101         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
40102         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40103         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
40105         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
40106         * nptl/pthreadP.h: Likewise.
40107         * nptl_db/structs.def: Likewise.
40108         * sysdeps/arm/sysdep.h: Likewise.
40109         * sysdeps/nptl/bits/libc-lock.h: Likewise.
40110         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
40111         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
40112         * sysdeps/unix/alpha/sysdep.h: Likewise.
40113         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
40114         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
40115         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
40116         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
40117         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
40118         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
40119         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40120         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
40121         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40122         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
40123         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
40124         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
40125         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
40126         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
40127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
40128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
40129         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
40130         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
40131         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
40132         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
40133         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
40134         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
40135         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
40136         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
40137         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
40138         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
40140         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
40141         * nptl/pthreadP.h: Likewise.
40142         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
40143         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
40144         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
40145         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
40146         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
40147         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
40148         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40149         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
40150         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
40151         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
40152         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
40153         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
40154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
40155         Likewise.
40156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
40157         Likewise.
40158         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
40159         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
40160         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
40161         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
40162         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
40163         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
40164         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
40165         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
40167         * dlfcn/dladdr.c: Use IS_IN.
40168         * dlfcn/dladdr1.c: Likewise.
40169         * dlfcn/dlclose.c: Likewise.
40170         * dlfcn/dlerror.c: Likewise.
40171         * dlfcn/dlinfo.c: Likewise.
40172         * dlfcn/dlmopen.c: Likewise.
40173         * dlfcn/dlopen.c: Likewise.
40174         * dlfcn/dlsym.c: Likewise.
40175         * dlfcn/dlvsym.c: Likewise.
40177         * include/ifaddrs.h: Use IS_IN.
40178         * inet/check_pf.c: Likewise.
40179         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
40180         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
40182         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
40183         IS_IN_ldconfig.
40184         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
40185         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
40187         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
40188         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
40189         IS_IN (libc).
40191         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
40193         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
40194         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40195         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
40196         * include/libc-symbols.h (IS_IN_LIB): New macro.
40197         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
40198         * include/netdb.h: Likewise.
40199         * include/stap-probe.h: Remove all uses of IN_LIB.
40201         * Makeconfig (module-cppflags-real): Define MODULE_NAME
40202         instead of IN_MODULE.
40203         * include/libc-symbols.h (IN_MODULE): Define using
40204         MODULE_NAME.
40205         (PASTE_NAME, PASTE_NAME1): New macros.
40206         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
40207         of IN_LIB.
40208         (STAP_PROBE_ASM): Likewise.
40210 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40212         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
40213         __mach_init in dlopened libc.
40215 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
40217         * sysdeps/arm/preconfigure.ac: Delete EABI check.
40218         * sysdeps/arm/preconfigure: Regenerate.
40220 2014-11-21  Roland McGrath  <roland@hack.frob.com>
40222         * nptl/pthread_create.c (__pthread_create_2_1): Set
40223         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
40224         when copying values from IATTR into PD.
40226 2014-11-21  Will Newton  <will.newton@linaro.org>
40227             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
40229         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
40230         Refactor inline-asm.  Also add comment.
40232         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
40233         ElfW macro instead of hardcoded Elf64 types.
40234         (la_aarch64_gnu_pltenter): Likewise.
40235         * sysdeps/aarch64/dl-machine.h
40236         (elf_machine_runtime_setup): Use ElfW(Addr).
40238         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
40239         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
40240         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
40241         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
40242         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
40243         (R_AARCH64_TLS_DTPMOD64): Rename to ..
40244         (R_AARCH64_TLS_DTPMOD): This.
40245         (R_AARCH64_TLS_DTPREL64): Rename to ...
40246         (R_AARCH64_TLS_DTPREL): This.
40247         (R_AARCH64_TLS_TPREL64): Rename to ...
40248         (R_AARCH64_TLS_TPREL): This.
40249         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
40250         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
40251         R_AARCH64_TLS_TPREL64.
40252         (elf_machine_rela): Likewise.
40254 2014-11-21  Torvald Riegel  <triegel@redhat.com>
40256         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
40257         by setting it to 0.  64b atomics are not supported currently.
40259 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40261         [BZ #16469]
40262         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
40263         search domain names.
40265 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40267         [BZ #16469]
40268         * NEWS: Update.
40269         * resolv/res_query.c (__libc_res_nquerydomain): Retain
40270         trailing dot.
40271         * posix/tst-getaddrinfo5.c: New.
40272         * posix/Makefile (tests): Add it.
40274 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40276         [BZ #14498]
40277         * NEWS: Fixed.
40278         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
40279         after parsing line but before break_if_match.
40280         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
40281         if there is a protocol mismatch.
40283 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
40285         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
40286         because the potential race is on the user-supplied stream.
40288 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40290         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
40291         string literal if not passed a buffer.
40292         * manual/job.texi (ctermid): Update reasoning, note deviation
40293         from posix, suggest mtasurace when not passed a buffer, for
40294         future non-preliminary safety notes.
40296 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40298         * manual/users.texi (cuserid): Fix MT-Safety note for the case
40299         of not passing it a buffer.
40300         Reported by Peng Haitao.
40302 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40304         * manual/Makefile ($(objpfx)stamp-summary): Require
40305         check-safety.sh to pass.
40306         * manual/check-safety.sh: Wish for verification that every
40307         @deftypefn and @deftypefun is followed by a @safety remark.
40309 2014-11-20  Roland McGrath  <roland@hack.frob.com>
40311         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
40313         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
40314         PTHREAD_CANCEL_ASYNCHRONOUS.
40315         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
40316         send SIGCANCEL.
40318         * nptl/default-sched.h: New file.
40319         * sysdeps/unix/sysv/linux/default-sched.h: New file.
40320         * nptl/pthread_create.c: Include it.
40321         (__pthread_create_2_1): Use collect_default_sched instead of making
40322         Linux syscalls here directly.
40324 2014-11-20  Torvald Riegel  <triegel@redhat.com>
40326         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
40327         __pthread_once): Use C11 atomics.
40329 2014-11-20  Torvald Riegel  <triegel@redhat.com>
40331         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
40333 2014-11-20  Torvald Riegel  <triegel@redhat.com>
40335         * include/atomic.h (__atomic_link_error, __atomic_check_size,
40336         atomic_thread_fence_acquire, atomic_thread_fence_release,
40337         atomic_thread_fence_seq_cst, atomic_load_relaxed,
40338         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
40339         atomic_compare_exchange_weak_relaxed,
40340         atomic_compare_exchange_weak_acquire,
40341         atomic_compare_exchange_weak_release,
40342         atomic_exchange_acquire, atomic_exchange_release,
40343         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
40344         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
40345         atomic_fetch_and_acquire,
40346         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
40348 2014-11-20  Torvald Riegel  <triegel@redhat.com>
40350         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
40351         USE_ATOMIC_COMPILER_BUILTINS): Define.
40352         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
40353         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40354         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
40355         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40356         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
40357         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40358         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
40359         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40360         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
40361         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40362         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
40363         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40364         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
40365         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40366         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
40367         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40368         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
40369         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40370         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
40371         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40372         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
40373         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40374         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
40375         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40376         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
40377         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40378         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
40379         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40380         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
40381         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40382         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
40383         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40384         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
40385         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40386         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
40387         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40388         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
40389         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40390         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
40391         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40393 2014-11-19  Roland McGrath  <roland@hack.frob.com>
40395         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
40396         the sched_priority value here.  It was already checked when the user
40397         called pthread_attr_setschedparam.
40399         * nptl/tst-bad-schedattr.c: New file.
40400         * nptl/Makefile (tests): Add it.
40402 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
40403             Florian Weimer  <fweimer@redhat.com>
40404             Joseph Myers  <joseph@codesourcery.com>
40405             Adam Conrad  <adconrad@0c3.net>
40406             Andreas Schwab  <schwab@suse.de>
40407             Brooks  <bmoses@google.com>
40409         [BZ #17625]
40410         * wordexp-test.c (__dso_handle): Add prototype.
40411         (__register_atfork): Likewise.
40412         (__app_register_atfork): New function.
40413         (registered_forks): New global.
40414         (register_fork): New function.
40415         (test_case): Add 3 new tests for WRDE_CMDSUB.
40416         (main): Call __app_register_atfork.
40417         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
40418         fork count is non-zero fail the test.
40419         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
40420         is set.
40421         (parse_dollars): Remove check for WRDE_NOCMD.
40422         (parse_dquote): Likewise.
40424 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40426         * Makeconfig (built-modules): List non-library modules to be
40427         built.
40428         (module-cppflags): Include libc-modules.h for
40429         everything except shlib-versions.v.i.
40430         (CPPFLAGS): Use it.
40431         (before-compile): Add libc-modules.h.
40432         ($(common-objpfx)libc-modules.h,
40433         $(common-objpfx)libc-modules.stmp): New targets.
40434         (common-generated): Add libc-modules.h and libc-modules.stmp.
40435         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
40436         * include/libc-symbols.h: Don't include libc-modules.h.
40437         * include/libc-modules.h: Remove file.
40438         * scripts/gen-libc-modules.awk: New script to generate
40439         libc-modules.h.
40440         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
40441         Depend on libc-modules.stmp.
40443         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
40445         * Makeconfig (in-module): Get value of libof set for the
40446         translation unit.
40447         (CPPFLAGS): Use $(in-module).
40448         * Makerules: Don't suffix routine names for nonlib.
40449         * include/libc-modules.h: New file.
40450         * include/libc-symbols.h: Include libc-modules.h
40451         (IS_IN): New macro to replace IS_IN_* macros.
40452         * elf/Makefile: Set libof-* for each routine.
40453         * elf/rtld-Rules: Likewise.
40454         * extra-modules.mk: Likewise.
40455         * iconv/Makefile: Likewise.
40456         * iconvdata/Makefile: Likewise.
40457         * locale/Makefile: Likewise.
40458         * malloc/Makefile: Likewise.
40459         * nss/Makefile: Likewise.
40460         * sysdeps/gnu/Makefile: Likewise.
40461         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
40462         * sysdeps/unix/sysv/linux/Makefile: Likewise.
40463         * sysdeps/s390/s390-64/Makefile: Likewise.
40464         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
40465         CPPFLAGS for nscd instead of nonlib.
40467 2014-11-18  Roland McGrath  <roland@hack.frob.com>
40469         * nptl/createthread.c: New file.
40471         * nptl/createthread.c: Moved ...
40472         * sysdeps/unix/sysv/linux/createthread.c: ... here.
40474         * nptl/createthread.c: Add proper top-line comment.
40475         (do_clone): Folded into ...
40476         (create_thread): ... here.  Take new arguments STOPPED_START and
40477         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
40478         increment __nptl_threads, do event-reporting logic, do
40479         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
40480         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
40481         resource cleanup if sched_setaffinity or sched_setscheduler fails,
40482         just send SIGCANCEL.
40483         * nptl/pthread_create.c: Forward-declare create_thread before
40484         including createthread.c.
40485         (start_thread): Use new macro START_THREAD_DEFN to replace defining
40486         declaration, and new macro START_THREAD_SELF to replace argument.
40487         Remove return statement.
40488         (report_thread_creation): New function.
40489         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
40490         synchronization logic, and __nptl_nthreads increment here, around
40491         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
40492         PD->parent_cancelhandling here, before create_thread.  When
40493         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
40494         __deallocate_stack, and ENOMEM translation here.
40496 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
40498         [BZ #17616]
40499         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
40500         (mptwo): Rename to __mptwo.
40501         (__inv): Use __mptwo instead of mptwo.
40502         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
40503         (mptwo): Rename to __mptwo.
40504         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
40505         of mpone and __mptwo instead of mptwo.
40506         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
40507         instead of mpone.
40508         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
40509         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
40510         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
40511         of mpone and __mptwo instead of mptwo.
40512         (__mpranred): Use __mpone instead of mpone.
40513         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
40514         variable.
40515         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
40516         (test-xfail-ISO99/math.h/linknamespace): Likewise.
40517         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
40518         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
40519         (test-xfail-ISO11/math.h/linknamespace): Likewise.
40520         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
40521         (test-xfail-XPG3/math.h/linknamespace): Likewise.
40522         (test-xfail-XPG4/math.h/linknamespace): Likewise.
40523         (test-xfail-POSIX/math.h/linknamespace): Likewise.
40524         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
40525         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
40526         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
40527         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
40528         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
40529         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
40530         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
40531         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
40532         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
40533         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
40535 2014-11-18  Tom de Vries  <tom@codesoucery.com>
40537         * manual/signal.texi (Primitives Interrupted by Signals): In section,
40538         replace BSD Handler xref with BSD Signal Handling.
40540 2014-11-17  Richard Henderson  <rth@redhat.com>
40542         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
40543         (_FP_PACK_RAW_2): Remove.
40544         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
40545         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
40546         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
40547         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
40548         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
40549         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
40550         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
40551         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
40552         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
40553         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
40554         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
40555         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
40556         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
40557         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
40558         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
40559         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
40561 2014-11-14  Roland McGrath  <roland@hack.frob.com>
40563         * signal/signal.h [__USE_MISC]
40564         (struct sigvec): Remove type.
40565         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
40566         (sigvec): Remove declaration.
40567         * sysdeps/posix/sigvec.c: Moved ...
40568         * signal/sigvec.c: ... here, replacing old file.
40569         (struct sigvec): New type, copied from old signal.h definition.
40570         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
40571         (__sigvec): Convert definition to prototype.
40572         (sigvec): Replace weak_alias with compat_symbol.
40573         * signal/Versions (libc: GLIBC_2.21): New version set.
40574         * include/signal.h: Remove __sigvec declaration.
40575         * sysdeps/unix/bsd/sigvec.c: Remove file.
40576         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
40577         * manual/signal.texi (BSD Handler): Remove subsection.
40578         Move siginterrupt up to ...
40579         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
40580         (Blocking in BSD): Fold subsection into its parent.
40581         * NEWS: Mention sigvec removal.
40583 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
40585         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
40586         (DLA_FMS): Make definition conditional only on [__FMA4__].
40587         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
40588         definition.
40590         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
40591         Make definition conditional only on [PROF].
40592         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
40593         definition.
40594         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
40595         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
40597         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
40598         !__GNUC__].
40599         * include/signal.h (__sigpause): Move declaration above call to
40600         libc_hidden_proto.
40601         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
40602         variable.
40603         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
40604         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
40606 2014-11-14  David S. Miller  <davem@davemloft.net>
40608         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
40609         Define before including <string/memcpy.c> and <string/mempcpy.c>.
40611 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
40613         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
40614         * configure: Regenerated.
40615         * manual/install.texi (Tools for Compilation): Document a
40616         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
40617         compiler verified to work.
40618         * INSTALL: Regenerated.
40620         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
40621         redeclare with asm name.
40622         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
40623         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
40624         including <string.h>.
40625         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
40626         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
40627         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
40628         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
40629         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
40630         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
40631         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
40633 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
40635         * stdlib/strtol.c (__strtol): Use prototype definition.
40637         [BZ #17594]
40638         * stdlib/strtol.c (SYM__): New macro.
40639         (SYM__1): Likewise.
40640         (__strtol): Likewise.
40641         (strtol): Rename to __strtol and define as weak alias of
40642         __strtol.  Use libc_hidden_weak.
40644 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
40646         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
40647         Use numbered labels in inline assembly.
40649 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
40651         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
40652         Add setjmp LIBC_PROBE.
40653         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
40654         Likewise.
40655         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
40656         Add longjmp, longjmp_target LIBC_PROBE.
40657         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
40658         Likewise.
40660 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
40662         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
40663         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
40664         to get rid of unused variable warning.
40666 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
40668         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
40669         Check for unwind_backtrace ==  NULL only in SHARED case.
40670         (__backchain_backtrace): Compile only in SHARED case.
40671         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
40672         Likewise.
40673         (__backchain_backtrace): Declare as static.
40675 2014-11-12  Roland McGrath  <roland@hack.frob.com>
40677         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
40678         (__libc_multiple_threads_ptr): Variable moved ...
40679         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
40681 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
40683         * conform/GlibcConform.pm: New file.
40684         * conform/conformtest.pl: Use GlibcConform module.
40685         * conform/linknamespace.pl: New file.
40686         * conform/list-header-symbols.pl: Likewise.
40687         * conform/Makefile (linknamespace-symlists-base): New variable.
40688         (linknamespace-symlists-tests): Likewise.
40689         (linknamespace-header-base): Likewise.
40690         (linknamespace-header-tests): Likewise.
40691         (tests-special): Add new tests.
40692         ($(linknamespace-symlists-tests)): New rule.
40693         (linknamespace-libs): New variable.
40694         ($(objpfx)symlist-stdlibs): New rule.
40695         ($(linknamespace-header-tests)): Likewise.
40696         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
40697         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
40698         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
40699         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
40700         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
40701         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
40702         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
40703         (test-xfail-ISO/math.h/linknamespace): Likewise.
40704         (test-xfail-ISO/signal.h/linknamespace): Likewise.
40705         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
40706         (test-xfail-ISO/time.h/linknamespace): Likewise.
40707         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
40708         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
40709         (test-xfail-ISO99/math.h/linknamespace): Likewise.
40710         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
40711         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
40712         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
40713         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
40714         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
40715         (test-xfail-ISO11/math.h/linknamespace): Likewise.
40716         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
40717         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
40718         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
40719         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
40720         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
40721         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
40722         (test-xfail-XPG3/math.h/linknamespace): Likewise.
40723         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
40724         (test-xfail-XPG3/search.h/linknamespace): Likewise.
40725         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
40726         (test-xfail-XPG3/time.h/linknamespace): Likewise.
40727         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
40728         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
40729         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
40730         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
40731         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
40732         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
40733         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
40734         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
40735         (test-xfail-XPG4/math.h/linknamespace): Likewise.
40736         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
40737         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
40738         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
40739         (test-xfail-XPG4/search.h/linknamespace): Likewise.
40740         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
40741         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
40742         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
40743         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
40744         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
40745         (test-xfail-XPG4/time.h/linknamespace): Likewise.
40746         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
40747         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
40748         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
40749         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
40750         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
40751         (test-xfail-POSIX/math.h/linknamespace): Likewise.
40752         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
40753         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
40754         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
40755         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
40756         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
40757         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
40758         (test-xfail-POSIX/time.h/linknamespace): Likewise.
40759         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
40760         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
40761         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
40762         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
40763         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
40764         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
40765         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
40766         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
40767         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
40768         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
40769         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
40770         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
40771         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
40772         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
40773         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
40774         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
40775         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
40776         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
40777         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
40778         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
40779         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
40780         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
40781         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
40782         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
40783         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
40784         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
40785         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
40786         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
40787         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
40788         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
40789         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
40790         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
40791         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
40792         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
40793         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
40794         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
40795         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
40796         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
40797         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
40798         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
40799         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
40800         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
40801         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
40802         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
40803         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
40804         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
40805         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
40806         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
40807         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
40808         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
40809         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
40810         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
40811         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
40812         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
40813         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
40814         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
40815         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
40816         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
40817         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
40818         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
40819         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
40820         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
40821         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
40822         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
40823         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
40824         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
40825         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
40826         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
40827         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
40828         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
40829         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
40830         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
40831         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
40832         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
40833         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
40834         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
40835         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
40836         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
40837         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
40838         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
40839         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
40840         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
40841         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
40842         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
40843         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
40844         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
40845         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
40846         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
40847         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
40848         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
40849         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
40850         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
40851         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
40852         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
40853         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
40854         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
40855         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
40856         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
40858         [BZ #17589]
40859         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
40860         of fgets_unlocked.
40862         [BZ #17585]
40863         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
40864         (memmem): Rename to __memmem and define as weak alias of
40865         __memmem.  Use libc_hidden_weak.
40866         (__memmem): Use libc_hidden_def.
40867         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
40868         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
40869         memmem.
40871         [BZ #17582]
40872         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
40873         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
40874         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
40875         and define as weak alias of __fgets_unlocked.  Use
40876         libc_hidden_weak.
40877         (__fgets_unlocked): Use libc_hidden_def.
40878         * include/stdio.h (__fgets_unlocked): Declare.  Use
40879         libc_hidden_proto.
40880         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
40881         __fgets_unlocked instead of fgets_unlocked.
40882         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
40883         (GET_NPROCS_CONF_PARSER): Likewise.
40884         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
40885         (GET_NPROCS_CONF_PARSER): Likewise.
40887         [BZ #17574]
40888         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
40889         weak alias of __wmemset.  Use libc_hidden_weak.
40890         (__wmemset): Use libc_hidden_def.
40891         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
40892         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
40893         of wmemset.
40895         [BZ #17573]
40896         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
40897         with asm name __mempcpy.
40898         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
40900         [BZ #17572]
40901         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
40902         and define as weak alias of __rawmemchr.
40903         (__rawmemchr): Do not define as strong alias of rawmemchr.
40905         [BZ #17571]
40906         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
40907         alias of __qsort_r.
40908         (qsort): Call __qsort_r instead of qsort_r.
40909         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
40910         (__qsort_r): Declare.  Call libc_hidden_proto.
40911         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
40912         instead of qsort_r.
40913         * nscd/gai.c (__qsort_r): Define to qsort_r.
40914         * posix/tst-rfc3484.c (__qsort_r): Likewise.
40915         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
40916         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
40918         [BZ #17570]
40919         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
40920         define as weak alias of __malloc_info.
40922         [BZ #17584]
40923         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
40924         as weak alias of __rewinddir.  Don't use libc_hidden_def.
40925         (__rewinddir): Use libc_hidden_def.
40926         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
40927         as weak alias of __rewinddir.  Don't use libc_hidden_def.
40928         (__rewinddir): Use libc_hidden_def.
40929         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
40930         weak alias of __rewinddir.  Don't use libc_hidden_def.
40931         (__rewinddir): Use libc_hidden_def.
40932         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
40933         (__rewinddir): Use libc_hidden_proto.
40934         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
40935         rewinddir.
40936         (__getcwd): Use __rewinddir instead of rewinddir.
40938         [BZ #17583]
40939         * libio/fileno.c (fileno): Rename to __fileno and define as weak
40940         alias of __fileno.  Use libc_hidden_weak.
40941         (__fileno): Use libc_hidden_def.
40942         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
40943         * libio/ftello.c (ftello): Rename to __ftello and define as weak
40944         alias of __ftello.
40945         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
40946         __ftello.
40947         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
40948         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
40949         libc_hidden_def.
40950         (fread_unlocked): Don't use libc_hidden_ver.
40951         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
40952         and define as weak alias of __fread_unlocked.  Don't use
40953         libc_hidden_def.
40954         (__fread_unlocked): Use libc_hidden_def.
40955         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
40956         (ftello): Don't use libc_hidden_proto.
40957         (__ftello): Declare.  Use libc_hidden_proto.
40958         (fread_unlocked): Don't use libc_hidden_proto.
40959         (__fread_unlocked): Declare.  Use libc_hidden_proto.
40960         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
40961         and __ftello instead of fileno, fread_unlocked and ftello.
40963 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40965         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
40966         GOT12.
40967         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
40968         Likewise.
40969         (_dl_start_user): Likewise.
40970         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
40972 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
40973             Siddhesh Poyarekar  <siddhesh@redhat.com>
40975         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
40976         Move argv and envp down instead of moving argc up.
40977         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
40979 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
40981         [BZ #17506]
40982         * test-skeleton.c (main): Return successful if one of
40983         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
40984         * string/tst-strcoll-overflow.c: Define expected status.
40986 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
40988         [BZ #17475]
40989         * locale/iso-639.def: Define Bhili and Tulu language codes.
40991 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
40993         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
40995 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
40997         [BZ #17555]
40998         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
41000 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
41002         * configure.ac: Updated check of minimal required version to
41003         2.22.
41004         * manual/install.texi (Tools for Compilation): Updated version
41005         number.
41006         * configure: Regenerated.
41007         * INSTALL: Likewise.
41009 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
41011         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
41012         __tls_get_addr.
41014 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
41016         * include/sys/wait.h (__libc_waitpid): Remove declaration.
41017         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
41018         (__waitpid): Don't define as alias.  Use libc_hidden_def not
41019         libc_hidden_weak.
41020         (waitpid): Define as alias of __waitpid.
41021         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
41022         __waitpid.
41023         (__waitpid): Don't define as alias.  Use libc_hidden_def not
41024         libc_hidden_weak.
41025         (waitpid): Define as alias of __waitpid.
41026         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
41027         __libc_waitpid alias.
41028         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
41029         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
41030         Likewise.
41031         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
41032         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
41033         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
41034         alias.
41035         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
41036         __waitpid.
41037         (__waitpid): Don't define as alias.  Use libc_hidden_def not
41038         libc_hidden_weak.
41039         (waitpid): Define as alias of __waitpid.
41041 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
41043         * manual/llio.texi: Add comment that write safety has been
41044         fixed in Linux.
41046         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
41047         (localplt-build-dso): Add elf/ld.so.
41048         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
41049         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
41050         and free for ld.so.
41051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
41052         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
41053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
41054         Likewise.
41055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
41056         Likewise.
41057         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
41058         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
41059         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
41060         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
41061         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
41062         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
41063         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
41064         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
41065         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
41066         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
41067         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
41069 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
41071         [BZ #14132]
41072         * include/libc-symbols.h (INTUSE): Remove macro.
41073         (INTDEF): Likewise.
41074         (INTVARDEF): Likewise.
41075         (_INTVARDEF): Likewise.
41076         (INTDEF2): Likewise.
41077         (INTVARDEF2): Likewise.
41078         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
41079         rtld_hidden_def instead of INTVARDEF.
41080         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
41081         (_dl_starting_up_internal): Remove declaration.
41082         (_dl_starting_up): Use rtld_hidden_proto.
41083         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
41084         declaration.
41085         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
41086         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
41087         _dl_starting_up.
41088         * elf/dl-writev.h (_dl_writev): Likewise.
41089         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
41090         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
41091         _dl_starting_up_internal.
41093 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41095         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
41096         test-skeleton.c.
41098 2014-11-05  Will Newton  <will.newton@linaro.org>
41100         * benchtests/Makefile: (bench-malloc): Add malloc thread
41101         scalability benchmark.
41102         * benchtests/bench-malloc-threads.c: New file.
41104 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
41106         * sysdeps/aarch64/strchrnul.S: New file.
41108 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41110         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
41111         definition.
41112         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
41113         Likewise.
41114         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
41115         Likewise.
41116         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
41117         Likewise.
41118         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
41119         Likewise.
41120         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
41121         Likewise.
41123 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
41125         * catgets/test-gencat.c: Use test-skeleton.c.
41126         * catgets/tst-catgets.c: Likewise.
41127         * csu/tst-empty.c: Likewise.
41128         * elf/tst-audit2.c: Likewise.
41129         * elf/tst-global1.c: Likewise.
41130         * elf/tst-pathopt.c: Likewise.
41131         * elf/tst-piemod1.c: Likewise.
41132         * elf/tst-tls10.c: Likewise.
41133         * elf/tst-tls11.c: Likewise.
41134         * elf/tst-tls12.c: Likewise.
41135         * gnulib/tst-gcc.c: Likewise.
41136         * iconvdata/tst-e2big.c: Likewise.
41137         * iconvdata/tst-loading.c: Likewise.
41138         * iconv/tst-iconv1.c: Likewise.
41139         * iconv/tst-iconv2.c: Likewise.
41140         * inet/test-inet6_opt.c: Likewise.
41141         * inet/tst-gethnm.c: Likewise.
41142         * inet/tst-network.c: Likewise.
41143         * inet/tst-ntoa.c: Likewise.
41144         * intl/tst-codeset.c: Likewise.
41145         * intl/tst-gettext2.c: Likewise.
41146         * intl/tst-gettext3.c: Likewise.
41147         * intl/tst-ngettext.c: Likewise.
41148         * intl/tst-translit.c: Likewise.
41149         * io/test-stat.c: Likewise.
41150         * libio/test-fmemopen.c: Likewise.
41151         * libio/tst-freopen.c: Likewise.
41152         * libio/tst-sscanf.c: Likewise.
41153         * libio/tst-ungetwc1.c: Likewise.
41154         * libio/tst-ungetwc2.c: Likewise.
41155         * libio/tst-widetext.c: Likewise.
41156         * localedata/tst-ctype.c: Likewise.
41157         * localedata/tst-digits.c: Likewise.
41158         * localedata/tst-leaks.c: Likewise.
41159         * localedata/tst-mbswcs1.c: Likewise.
41160         * localedata/tst-mbswcs2.c: Likewise.
41161         * localedata/tst-mbswcs3.c: Likewise.
41162         * localedata/tst-mbswcs4.c: Likewise.
41163         * localedata/tst-mbswcs5.c: Likewise.
41164         * localedata/tst-setlocale.c: Likewise.
41165         * localedata/tst-trans.c: Likewise.
41166         * localedata/tst-wctype.c: Likewise.
41167         * localedata/tst-xlocale1.c: Likewise.
41168         * login/tst-grantpt.c: Likewise.
41169         * malloc/tst-calloc.c: Likewise.
41170         * malloc/tst-malloc.c: Likewise.
41171         * malloc/tst-mallocstate.c: Likewise.
41172         * malloc/tst-mcheck.c: Likewise.
41173         * malloc/tst-mtrace.c: Likewise.
41174         * malloc/tst-obstack.c: Likewise.
41175         * math/atest-exp2.c: Likewise.
41176         * math/atest-exp.c: Likewise.
41177         * math/atest-sincos.c: Likewise.
41178         * math/test-matherr.c: Likewise.
41179         * math/test-misc.c: Likewise.
41180         * math/test-powl.c: Likewise.
41181         * math/tst-definitions.c: Likewise.
41182         * misc/tst-dirname.c: Likewise.
41183         * misc/tst-efgcvt.c: Likewise.
41184         * misc/tst-fdset.c: Likewise.
41185         * misc/tst-hsearch.c: Likewise.
41186         * misc/tst-mntent2.c: Likewise.
41187         * nptl/tst-sem7.c: Likewise.
41188         * nptl/tst-sem8.c: Likewise.
41189         * nptl/tst-sem9.c: Likewise.
41190         * nss/test-netdb.c: Likewise.
41191         * posix/tst-fnmatch.c: Likewise.
41192         * posix/tst-getlogin.c: Likewise.
41193         * posix/tst-gnuglob.c: Likewise.
41194         * posix/tst-mmap.c: Likewise.
41195         * pwd/tst-getpw.c: Likewise.
41196         * resolv/tst-inet_ntop.c: Likewise.
41197         * rt/tst-timer.c: Likewise.
41198         * stdio-common/test-fseek.c: Likewise.
41199         * stdio-common/test-popen.c: Likewise.
41200         * stdio-common/test-vfprintf.c: Likewise.
41201         * stdio-common/tst-cookie.c: Likewise.
41202         * stdio-common/tst-fileno.c: Likewise.
41203         * stdio-common/tst-gets.c: Likewise.
41204         * stdio-common/tst-obprintf.c: Likewise.
41205         * stdio-common/tst-perror.c: Likewise.
41206         * stdio-common/tst-sprintf2.c: Likewise.
41207         * stdio-common/tst-sprintf3.c: Likewise.
41208         * stdio-common/tst-sprintf.c: Likewise.
41209         * stdio-common/tst-swprintf.c: Likewise.
41210         * stdio-common/tst-tmpnam.c: Likewise.
41211         * stdio-common/tst-unbputc.c: Likewise.
41212         * stdio-common/tst-wc-printf.c: Likewise.
41213         * stdlib/tst-environ.c: Likewise.
41214         * stdlib/tst-fmtmsg.c: Likewise.
41215         * stdlib/tst-limits.c: Likewise.
41216         * stdlib/tst-rand48-2.c: Likewise.
41217         * stdlib/tst-rand48.c: Likewise.
41218         * stdlib/tst-random2.c: Likewise.
41219         * stdlib/tst-random.c: Likewise.
41220         * stdlib/tst-strtol.c: Likewise.
41221         * stdlib/tst-strtoll.c: Likewise.
41222         * stdlib/tst-tls-atexit.c: Likewise.
41223         * stdlib/tst-xpg-basename.c: Likewise.
41224         * string/test-ffs.c: Likewise.
41225         * string/tst-bswap.c: Likewise.
41226         * string/tst-inlcall.c: Likewise.
41227         * string/tst-strtok.c: Likewise.
41228         * string/tst-strxfrm.c: Likewise.
41229         * sysdeps/x86_64/tst-audit10.c: Likewise.
41230         * sysdeps/x86_64/tst-audit3.c: Likewise.
41231         * sysdeps/x86_64/tst-audit4.c: Likewise.
41232         * sysdeps/x86_64/tst-audit5.c: Likewise.
41233         * time/tst-ftime_l.c: Likewise.
41234         * time/tst-getdate.c: Likewise.
41235         * time/tst-mktime3.c: Likewise.
41236         * time/tst-mktime.c: Likewise.
41237         * time/tst-posixtz.c: Likewise.
41238         * time/tst-strptime2.c: Likewise.
41239         * time/tst-strptime3.c: Likewise.
41240         * wcsmbs/tst-btowc.c: Likewise.
41241         * wcsmbs/tst-mbrtowc.c: Likewise.
41242         * wcsmbs/tst-mbsrtowcs.c: Likewise.
41243         * wcsmbs/tst-wchar-h.c: Likewise.
41244         * wcsmbs/tst-wcpncpy.c: Likewise.
41245         * wcsmbs/tst-wcrtomb.c: Likewise.
41246         * wcsmbs/tst-wcsnlen.c: Likewise.
41247         * wcsmbs/tst-wcstof.c: Likewise.
41249 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
41251         [BZ #14132]
41252         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
41253         INTDEF.
41254         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
41255         declaration.
41256         (_dl_mcount): Use rtld_hidden_proto.
41257         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
41258         _dl_mcount.
41259         * elf/rtld.c (_rtld_global_ro): Likewise.
41261         [BZ #14132]
41262         * elf/dl-init.c (_dl_init): Don't use INTDEF.
41263         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
41264         of _dl_init_internal.
41265         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
41266         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
41267         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
41268         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
41269         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
41270         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
41271         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
41272         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
41273         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
41274         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
41275         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
41276         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
41277         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41278         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41279         * sysdeps/tile/dl-start.S (_start): Likewise.
41280         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
41281         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
41283         [BZ #14132]
41284         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
41285         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
41286         (rtld_progname): Make macro definition unconditional.
41287         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
41288         INTDEF.
41289         (dlmopen_doit): Do not use INTUSE with _dl_argv.
41290         (dl_main): Likewise.
41291         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
41292         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
41293         instead of _dl_argv_internal.
41294         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41295         __GI__dl_argv instead of INTUSE(_dl_argv).
41296         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
41297         __GI__dl_argv instead of _dl_argv_internal.
41299         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
41300         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
41301         macro.
41302         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
41303         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
41304         New macro.
41305         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
41306         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
41307         macro.
41308         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
41309         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
41311 2014-11-04  Andreas Schwab  <schwab@suse.de>
41313         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
41315 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41317         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
41318         mtvsrd instruction in binary form.
41320 2014-11-03  Andreas Schwab  <schwab@suse.de>
41322         [BZ #17522]
41323         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
41324         for less than MB_LEN_MAX use a local buffer of that size.
41325         * libio/tst-fputws.c: New file.
41326         * libio/Makefile (tests): Add tst-fputws.
41328 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
41330         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
41331         the size of the fpu_fr.fpu_dregs[] array.
41333 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
41335         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
41336         (__nanosleep): Do not define as alias.
41337         (nanosleep): Define as alias of __nanosleep.
41338         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
41339         __libc_nanosleep name.
41341 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
41343         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
41344         install.texi in comment.
41346 2014-10-31  Torvald Riegel  <triegel@redhat.com>
41348         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
41349         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
41350         ... add here and use lwsync or sync ...
41351         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
41352         ... and add here using lwsync.
41354 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
41356         * elf/dl-machine-reject-phdr.h: New file.
41357         * elf/dl-load.c: #include that.
41358         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
41359         if that returned true.
41361 2014-10-31  Roland McGrath  <roland@hack.frob.com>
41363         [BZ #17496]
41364         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
41365         gen-as-const-headers chunk.  Add a big scare comment after the last
41366         safe place to touch before-compile.
41368 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
41370         * manual/install.texi (Tools for Compilation): Update autoconf
41371         version requirements.
41372         * INSTALL: Regenerated.
41374         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
41375         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
41376         (__libc_pselect): Likewise.
41378         [BZ #14138]
41379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
41380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41384 2014-10-31  Torvald Riegel  <triegel@redhat.com>
41386         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
41387         correct barrier instruction.
41388         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
41389         Likewise.
41390         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
41391         Likewise.
41393 2014-10-30  Roland McGrath  <roland@hack.frob.com>
41395         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
41396         after defining inlines.  Instead, just use parens to defeat macro
41397         expansion of __isctype in its declaration.
41399 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
41401         * include/sys/uio.h (__libc_readv): Remove declaration.
41402         (__libc_writev): Likewise.
41403         * misc/readv.c (__libc_readv): Rename to __readv.
41404         (__readv): Do not define as alias.
41405         (readv): Define as alias of __readv.
41406         * misc/writev.c (__libc_writev): Rename to __writev.
41407         (__writev): Do not define as alias.
41408         (writev): Define as alias of __writev.
41409         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
41410         (__readv): Do not define as alias.
41411         (readv): Define unconditionally as alias of __readv.
41412         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
41413         (__writev): Do not define as alias.
41414         (writev): Define unconditionally as alias of __writev.
41415         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
41416         name.
41417         (writev): Do not define __libc_writev name.
41419 2014-10-30  Roland McGrath  <roland@hack.frob.com>
41421         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
41422         (convert_charseq): New function, broken out of ...
41423         (use_from_charmap): ... here.  Call it.
41424         (use_to_charmap): Use convert_charseq and free instead of duplicating
41425         its code with a variable-length stack struct.
41427 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
41429         * include/fcntl.h (__libc_creat): Remove declaration.
41430         * io/creat.c (__libc_creat): Rename to creat.
41431         (creat): Do not define as alias.
41432         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
41433         of creat instead of __libc_creat.
41434         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
41435         to creat.
41436         (creat): Do not define as alias.
41437         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
41438         __libc_creat.
41439         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
41440         __libc_creat name.
41441         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
41442         Likewise.
41444 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
41446         * manual/llio.texi: Add comments discussing why write() may be
41447         considered MT-unsafe on Linux.
41449 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
41451         * dl-load.c (local_strdup): Remove.
41452         (expand_dynamic_string_token): Use __strdup.
41453         (decompose_rpath): Likewise.
41454         (_dl_map_object): Likewise.
41456 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
41458         [BZ #14132]
41459         * sysdeps/generic/unwind-dw2-fde.c
41460         (__register_frame_info_bases_internal): Do not declare.
41461         (__register_frame_info_table_bases_internal): Likewise.
41462         (__deregister_frame_info_bases_internal): Likewise.
41463         (__register_frame_info_bases): Declare and use hidden_proto before
41464         definition.  Use hidden_def instead of INTDEF.
41465         (__register_frame_info_table_bases): Likewise.
41466         (__deregister_frame_info_bases): Likewise.
41467         (__register_frame_info): Do not use INTUSE.
41468         (__register_frame): Likewise.
41469         (__register_frame_info_table): Likewise.
41470         (__register_frame_table): Likewise.
41471         (__deregister_frame_info): Likewise.
41472         (__deregister_frame): Likewise.
41474 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
41476         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41477         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
41478         not undefine.
41479         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
41480         Likewise.
41481         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
41482         Likewise.
41484 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
41486         [BZ #14138]
41487         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
41488         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
41489         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
41490         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
41491         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
41492         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
41493         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
41494         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
41495         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
41496         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
41497         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
41498         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
41499         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
41500         syscall.
41501         (setfsuid): Likewise.
41502         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
41503         (setfsuid): Likewise.
41504         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
41505         (setfsuid): Likewise.
41506         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
41507         Likewise.
41508         (setfsuid): Likewise.
41509         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
41510         (setfsuid): Likewise.
41511         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
41512         Likewise.
41513         (setfsuid): Likewise.
41515 2014-10-27  Andreas Schwab  <schwab@suse.de>
41517         [BZ #17501]
41518         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
41519         check for Slow_SSE4_2 feature bit.
41520         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
41521         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
41522         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
41523         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
41525 2014-10-24  Roland McGrath  <roland@hack.frob.com>
41527         * configure.ac: Validate compiler version with a empirical test of
41528         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
41529         $CC -v output.
41530         * configure: Regenerated.
41532         * inet/htons.c (htons): Prototypify.
41533         * inet/htonl.c (htonl): Likewise.
41535 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41537         * string/strncat.c (strncat): Improve performance by using strlen.
41539 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41541         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
41543 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41545         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
41546         Call libc_fetestexcept_aarch64.
41548 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41550         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
41551         Call libc_feholdexcept_aarch64.
41553 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41555         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
41556         Call get_rounding_mode.
41558 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41560         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
41561         Simplify logic.
41563 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41565         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
41566         Simplify logic.
41568 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
41570         [BZ #14138]
41571         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
41572         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
41573         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
41574         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
41575         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
41576         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
41577         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
41578         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
41579         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
41580         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
41581         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
41582         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
41583         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
41584         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
41585         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
41586         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
41587         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
41588         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
41589         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
41590         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
41591         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
41592         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
41593         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
41594         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
41595         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
41596         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
41597         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
41598         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
41599         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
41600         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
41601         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
41602         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
41603         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
41604         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
41605         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
41606         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
41607         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
41608         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
41609         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
41610         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
41611         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
41612         syscall.
41613         (geteuid): Likewise.
41614         (getgid): Likewise.
41615         (getuid): Likewise.
41616         (getresgid): Likewise.
41617         (getresuid): Likewise.
41618         (getgroups): Likewise.
41619         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
41620         (geteuid): Likewise.
41621         (getgid): Likewise.
41622         (getuid): Likewise.
41623         (getresgid): Likewise.
41624         (getresuid): Likewise.
41625         (getgroups): Likewise.
41626         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
41627         (geteuid): Likewise.
41628         (getgid): Likewise.
41629         (getuid): Likewise.
41630         (getresgid): Likewise.
41631         (getresuid): Likewise.
41632         (getgroups): Likewise.
41633         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
41634         Likewise.
41635         (geteuid): Likewise.
41636         (getgid): Likewise.
41637         (getuid): Likewise.
41638         (getresgid): Likewise.
41639         (getresuid): Likewise.
41640         (getgroups): Likewise.
41641         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
41642         (geteuid): Likewise.
41643         (getgid): Likewise.
41644         (getuid): Likewise.
41645         (getresgid): Likewise.
41646         (getresuid): Likewise.
41647         (getgroups): Likewise.
41648         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
41649         Likewise.
41650         (geteuid): Likewise.
41651         (getgid): Likewise.
41652         (getuid): Likewise.
41653         (getgroups): Likewise.
41655         [BZ #14138]
41656         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
41657         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
41658         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
41659         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
41660         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
41661         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
41662         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
41663         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
41664         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
41665         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
41666         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
41667         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
41668         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
41669         __chown.
41670         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
41671         (lchown): Likewise.
41672         (fchown): Likewise.
41673         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
41674         Likewise.
41675         (lchown): Likewise.
41676         (fchown): Likewise.
41677         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
41678         (lchown): Likewise.
41679         (fchown): Likewise.
41680         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
41681         Likewise.
41682         (lchown): Likewise.
41683         (fchown): Likewise.
41685 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
41687         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
41688         Simplify logic.
41690 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
41692         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
41693         Cleanup logic.
41695 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
41697         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
41698         Remove unused include.
41700 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
41702         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
41703         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
41704         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
41705         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
41707 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
41708             Helge Deller <deller@gmx.de>
41710         [BZ #17508]
41711         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
41712         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
41713         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
41715 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
41717         [BZ #14132]
41718         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
41719         Remove macro definition.
41720         (__ashrdi3_v_glibc20): Likewise.
41721         (__lshrdi3_v_glibc20): Likewise.
41722         (__cmpdi2_v_glibc20): Likewise.
41723         (__ucmpdi2_v_glibc20): Likewise.
41724         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
41725         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
41726         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
41727         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
41728         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
41729         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
41731 2014-10-22  Roland McGrath  <roland@hack.frob.com>
41733         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
41734         old GNU extension [0] syntax.
41735         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
41736         alloca rather than an array member with variable length.
41737         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
41738         * nscd/nscd.c (invalidate_db): New function, broken out of ...
41739         (parse_opt): ... here.  Likewise use alloca there.
41740         Validate the -i argument before checking for rootness.
41741         (send_shutdown): New function, broken out of ...
41742         (parse_opt): ... here.
41744 2014-10-22  Roland McGrath  <roland@hack.frob.com>
41746         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
41747         macro to get at the _rt_local_ro field.
41748         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
41749         ([PIC] case) or _dl_hwcap ([!PIC] case).
41750         * sysdeps/arm/setjmp.S: Likewise.
41752         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
41753         * sysdeps/arm/configure.ac: New check to define it.
41754         * sysdeps/arm/configure: Regenerated.
41755         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
41756         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
41757         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
41758         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
41759         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
41760         Use move/movt pair instead of a load.
41761         (LDST_GLOBAL): Macro removed.
41762         (LDR_GLOBAL): New macro replaces it.
41763         (LDR_HIDDEN): New macro.
41764         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
41765         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
41767         * setjmp/tst-setjmp-static.c: New file.
41768         * setjmp/Makefile (tests): Add it.
41769         (tests-static): New variable.
41771 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
41773         [BZ #17485]
41774         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
41776 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
41778         [BZ #14132]
41779         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
41781 2014-10-21  Roland McGrath  <roland@hack.frob.com>
41783         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
41785 2014-10-20  Roland McGrath  <roland@hack.frob.com>
41787         * io/fts.c (dirent_not_directory): New function.
41788         (fts_build): Call it.
41790 2014-10-20  Roland McGrath  <roland@hack.frob.com>
41792         * nptl/version.c (__nptl_main): Use normal __write rather than
41793         INTERNAL_SYSCALL.
41794         (banner): Update copyright years.
41796         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
41797         gettimeofday.
41798         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
41799         * nptl/pthread_cond_timedwait.c: Likewise.
41800         * nptl/pthread_mutex_timedlock.c: Likewise.
41801         * nptl/sem_timedwait.c: Likewise.
41803         * sysdeps/nptl/bits/libc-lock.h
41804         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
41805         (__libc_lock_init_recursive): Return void, not 0.
41806         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
41807         (__libc_rwlock_init): Likewise.
41808         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
41810 2014-10-20  Torvald Riegel  <triegel@redhat.com>
41812         [BZ #15215]
41813         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
41814         (__pthread_once_slow): ... here.
41815         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
41816         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
41818 2014-10-20  Torvald Riegel  <triegel@redhat.com>
41820         [BZ #15215]
41821         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
41822         __PTHREAD_ONCE_FORK_GEN_INCR): New.
41823         * sysdeps/nptl/fork.c (__libc_fork): Use them.
41824         * nptl/pthread_once.c (__pthread_once): Likewise.
41825         Update comments.
41827 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
41829         [BZ #14138]
41830         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
41831         name.
41832         (writev): Use __libc_writev as strong name.
41833         * sysdeps/unix/sysv/linux/readv.c: Remove file.
41834         * sysdeps/unix/sysv/linux/writev.c: Likewise.
41836 2014-10-17  Roland McGrath  <roland@hack.frob.com>
41838         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
41840         * sysdeps/i386/nptl/tls.h
41841         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
41842         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
41843         New macros.
41844         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
41845         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
41846         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
41847         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
41848         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
41849         Call CHECK_THREAD_SYSINFO instead of doing an assert.
41851         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
41852         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
41853         on [__NR_futex].
41854         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
41855         broken out of ...
41856         (__pthread_mutex_init): ... here.  Call it.
41857         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
41858         Conditionalize PI cases on [__NR_futex].
41859         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
41860         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
41861         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
41863         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
41864         conditional on [SIGSETXID].
41865         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
41866         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
41867         is defined.  Likewise for SIGSETXID.
41868         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
41869         Conditionalize definitions on [SIGSETXID].
41870         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
41871         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
41872         unblocking on [SIGCANCEL].
41874         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
41875         [__NR_set_robust_list].
41877 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
41879         * string/strcoll_l.c (get_next_seq): Fix up formatting.
41880         (do_compare): Likewise.
41882 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
41884         [BZ #15884]
41885         * string/strcoll_l.c: Don't include stdio.h.
41886         (coll_seq): Remove members idxarr and rulearr.
41887         (get_next_seq_cached): Remove function.
41888         (get_next_seq): Likewise.
41889         (get_next_seq_nocache): Rename to get_next_seq.
41890         (do_compare): Remove function.
41891         (do_compare_nocache): Rename to do_compare.
41892         (STRCOLL): Remove weight and rules cache.
41894 2014-10-16  Roland McGrath  <roland@hack.frob.com>
41896         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
41897         * sysdeps/arm/sfp-machine.h: ... to here.
41898         * sysdeps/arm/Implies: Remove arm/soft-fp.
41900 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
41902         * conform/data/sys/utsname.h-data (*_t): Allow.
41903         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
41904         [POSIX] (WEXITED): Do not expect constant.
41905         [POSIX] (WSTOPPED): Likewise.
41906         [POSIX] (WNOHANG): Likewise.
41907         [POSIX] (WNOWAIT): Likewise.
41908         [POSIX] (siginfo_t): Do not expect type or elements.
41909         [POSIX] (pid_t): Do not expect type.
41910         [POSIX] (signal.h): Do not allow header.
41911         [POSIX] (sys/resource.h): Likewise.
41912         [POSIX] (si_*): Do not allow pattern.
41913         [POSIX] (W*): Likewise.
41914         [POSIX] (P_*): Likewise.
41915         [POSIX] (BUS_*): Likewise.
41916         [POSIX] (CLD_*): Likewise.
41917         [POSIX] (FPE_*): Likewise.
41918         [POSIX] (ILL_*): Likewise.
41919         [POSIX] (POLL_*): Likewise.
41920         [POSIX] (SEGV_*): Likewise.
41921         [POSIX] (SI_*): Likewise.
41922         [POSIX] (TRAP_*): Likewise.
41923         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
41924         variable.
41926 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
41928         [BZ #12926]
41929         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
41930         infinite loop when __recvmsg returns 0.
41932 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
41934         * CANCEL-FCT-WAIVE: Remove file.
41935         * CANCEL-FILE-WAIVE: Likewise.
41937         [BZ #14132]
41938         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
41939         instead of INTVARDEF.
41940         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
41941         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
41942         rtld_hidden_data_def instead of INTVARDEF.
41943         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
41944         * elf/dl-deps.c (expand_dst): Likewise.
41945         * elf/dl-load.c (_dl_dst_count): Likewise.
41946         (_dl_dst_substitute): Likewise.
41947         (decompose_rpath): Likewise.
41948         (_dl_init_paths): Likewise.
41949         (open_path): Likewise.
41950         (_dl_map_object): Likewise.
41951         * elf/rtld.c (dl_main): Likewise.
41952         (process_dl_audit): Likewise.
41953         (process_envvars): Likewise.
41954         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
41955         Remove declaration.
41956         (__libc_enable_secure): Use rtld_hidden_proto.
41958 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
41960         * elf/dl-load.c
41961         (add_path): New function broken out of _dl_rtld_di_serinfo.
41962         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
41964 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
41966         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
41967         parentheses around macro arguments.
41968         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
41969         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
41970         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
41971         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
41972         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
41973         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
41974         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
41975         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
41976         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
41977         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
41978         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
41979         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
41980         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
41981         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
41982         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
41983         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
41984         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
41985         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
41986         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
41987         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
41988         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
41989         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
41990         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
41991         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
41992         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
41993         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
41994         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
41995         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
41996         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
41997         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
41998         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
41999         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
42000         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
42001         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
42002         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
42003         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
42004         Likewise.
42005         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
42006         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
42007         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
42008         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
42009         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
42010         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
42011         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
42012         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
42013         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
42014         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
42015         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
42016         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
42017         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
42018         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
42019         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
42020         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
42021         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
42022         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
42023         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
42024         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
42025         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
42026         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
42027         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
42028         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
42029         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
42030         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
42031         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
42032         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
42033         (_FP_FRAC_SRS_1): Likewise.
42034         (_FP_FRAC_CLZ_1): Likewise.
42035         (_FP_MUL_MEAT_1_imm): Likewise.
42036         (_FP_MUL_MEAT_1_wide): Likewise.
42037         (_FP_MUL_MEAT_1_hard): Likewise.
42038         (_FP_SQRT_MEAT_1): Likewise.
42039         (_FP_FRAC_ASSEMBLE_1): Likewise.
42040         (_FP_FRAC_DISASSEMBLE_1): Likewise.
42041         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
42042         (__FP_CLZ_2): Likewise.
42043         (_FP_MUL_MEAT_2_wide): Likewise.
42044         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
42045         (_FP_MUL_MEAT_2_gmp): Likewise.
42046         (_FP_MUL_MEAT_2_120_240_double): Likewise.
42047         (_FP_SQRT_MEAT_2): Likewise.
42048         (_FP_FRAC_ASSEMBLE_2): Likewise.
42049         (_FP_FRAC_DISASSEMBLE_2): Likewise.
42050         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
42051         (_FP_FRAC_CLZ_4): Likewise.
42052         (_FP_MUL_MEAT_4_wide): Likewise.
42053         (_FP_MUL_MEAT_4_gmp): Likewise.
42054         (_FP_SQRT_MEAT_4): Likewise.
42055         (_FP_FRAC_ASSEMBLE_4): Likewise.
42056         (_FP_FRAC_DISASSEMBLE_4): Likewise.
42057         * soft-fp/op-common.h (_FP_CMP): Likewise.
42058         (_FP_CMP_EQ): Likewise.
42059         (_FP_CMP_UNORD): Likewise.
42060         (_FP_TO_INT): Likewise.
42061         (_FP_FROM_INT): Likewise.
42062         [!__FP_CLZ] (__FP_CLZ): Likewise.
42063         (_FP_DIV_HELP_imm): Likewise.
42064         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
42065         Likewise.
42066         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
42067         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
42068         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
42069         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
42070         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
42071         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
42072         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
42073         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
42074         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
42075         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
42076         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
42077         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
42078         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
42079         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
42080         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
42081         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
42082         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
42083         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
42084         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
42085         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
42086         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
42087         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
42088         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
42089         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
42090         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
42091         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
42092         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
42093         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
42094         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
42095         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
42096         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
42097         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
42098         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
42099         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
42100         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
42101         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
42102         (FP_UNPACK_RAW_SP): Likewise.
42103         (FP_PACK_RAW_S): Likewise.
42104         (FP_PACK_RAW_SP): Likewise.
42105         (FP_UNPACK_S): Likewise.
42106         (FP_UNPACK_SP): Likewise.
42107         (FP_UNPACK_SEMIRAW_S): Likewise.
42108         (FP_UNPACK_SEMIRAW_SP): Likewise.
42109         (FP_PACK_S): Likewise.
42110         (FP_PACK_SP): Likewise.
42111         (FP_PACK_SEMIRAW_S): Likewise.
42112         (FP_PACK_SEMIRAW_SP): Likewise.
42113         (_FP_SQRT_MEAT_S): Likewise.
42114         (FP_CMP_S): Likewise.
42115         (FP_CMP_EQ_S): Likewise.
42116         (FP_CMP_UNORD_S): Likewise.
42117         (FP_TO_INT_S): Likewise.
42118         (FP_FROM_INT_S): Likewise.
42120         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
42122         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
42123         (FP_EX_INVALID_IMZ): Likewise.
42124         (FP_EX_INVALID_IMZ_FMA): Likewise.
42125         (FP_EX_INVALID_ISI): Likewise.
42126         (FP_EX_INVALID_ZDZ): Likewise.
42127         (FP_EX_INVALID_IDI): Likewise.
42128         (FP_EX_INVALID_SQRT): Likewise.
42129         (FP_EX_INVALID_CVI): Likewise.
42130         (FP_EX_INVALID_VC): Likewise.
42131         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
42132         "invalid" exceptions.
42133         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
42134         (_FP_ADD_INTERNAL): Likewise.
42135         (_FP_MUL): Likewise.
42136         (_FP_FMA): Likewise.
42137         (_FP_DIV): Likewise.
42138         (_FP_CMP_CHECK_NAN): Likewise.
42139         (_FP_SQRT): Likewise.
42140         (_FP_TO_INT): Likewise.
42141         (FP_EXTEND): Likewise.
42143 2014-10-09  Allan McRae  <allan@archlinux.org>
42145         * po/fr.po: Update French translation from translation project.
42147 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
42149         [BZ #14132]
42150         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
42151         of INTDEF.
42152         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
42153         (__cxa_atexit): Use libc_hidden_proto.
42154         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
42156         [BZ #14132]
42157         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
42158         declaration.
42159         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
42160         [!_ISOMAC] (__iswspace_l_internal): Likewise.
42161         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
42162         [!_ISOMAC] (__iswctype_internal): Likewise.
42163         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
42164         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
42165         alias.
42166         (fcntl): Remove __fcntl_internal alias.
42167         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
42168         __connect_internal alias.
42169         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
42170         Likewise.
42172         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
42173         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
42174         FP_DENORM_ZERO.
42175         (_FP_CHECK_FLUSH_ZERO): New macro.
42176         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
42177         (_FP_CMP): Likewise.
42178         (_FP_CMP_EQ): Likewise.
42179         (_FP_TO_INT): Do not set inexact for subnormal arguments if
42180         FP_DENORM_ZERO.
42181         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
42182         (FP_TRUNC): Likewise.
42184         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
42185         treated as invalid conversion, not as normal exponent.
42187         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
42188         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
42189         (_FP_CMP_EQ): Likewise.
42190         (_FP_CMP_UNORD): Likewise.
42191         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
42192         (FP_CMP_EQ_D): Likewise.
42193         (FP_CMP_UNORD_D): Likewise.
42194         * soft-fp/extended.h (FP_CMP_E): Likewise.
42195         (FP_CMP_EQ_E): Likewise.
42196         (FP_CMP_UNORD_E): Likewise.
42197         * soft-fp/quad.h (FP_CMP_Q): Likewise.
42198         (FP_CMP_EQ_Q): Likewise.
42199         (FP_CMP_UNORD_Q): Likewise.
42200         * soft-fp/single.h (FP_CMP_S): Likewise.
42201         (FP_CMP_EQ_S): Likewise.
42202         (FP_CMP_UNORD_S): Likewise.
42203         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
42204         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
42205         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
42206         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
42207         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
42208         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
42209         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
42210         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
42211         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
42212         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
42213         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
42214         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
42215         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
42216         to FP_CMP_Q.
42217         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
42218         FP_CMP_Q.
42219         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
42220         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
42221         FP_CMP_EQ_Q.
42222         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
42223         FP_CMP_Q.
42224         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
42225         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
42226         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
42227         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
42228         FP_CMP_EQ_Q.
42229         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
42230         FP_CMP_Q.
42231         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
42232         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
42233         FP_CMP_EQ_Q.
42234         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
42235         FP_CMP_Q.
42236         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
42237         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
42238         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
42239         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
42240         FP_CMP_EQ_Q.
42242         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
42243         a subnormal result, set the underflow exception if trapping on
42244         underflow is enabled.
42245         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
42246         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
42247         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
42248         redefine to 0.
42249         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
42250         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
42251         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
42252         * soft-fp/extendxftf2.c (__extendxftf2): Use
42253         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
42255         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
42256         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
42257         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
42258         FP_HANDLE_EXCEPTIONS.
42259         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
42260         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
42261         FP_HANDLE_EXCEPTIONS.
42262         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
42263         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
42264         FP_HANDLE_EXCEPTIONS.
42265         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
42266         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
42267         FP_HANDLE_EXCEPTIONS.
42269 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
42271         [BZ #14132]
42272         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
42273         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
42274         use INTUSE.
42275         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
42276         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
42277         Remove alias.
42278         (__adjtimex): Define using libc_hidden_ver.
42279         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
42280         Remove declaration.
42281         (ntp_gettime): Call __adjtimex directly.
42282         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
42283         Remove declaration.
42284         (ntp_gettimex): Call __adjtimex directly.
42285         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
42286         __adjtimex_internal alias.
42288 2014-10-08  Roland McGrath  <roland@hack.frob.com>
42290         [BZ #17460]
42291         * nscd/nscd.c (more_help): Rewrite list of tables collection
42292         using xstrdup and asprintf.
42294         * nscd/nscd_conf.c: Remove local xstrdup declaration.
42296 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42297             Roland McGrath  <roland@hack.frob.com>
42299         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
42300         (do_lookup_unique): ... local function 'enter' here; update callers.
42302 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
42304         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
42305         compat_symbol calls on [SHARED].
42306         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
42307         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
42308         Remove.
42309         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
42310         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
42311         (oldsetrlimit): Remove.
42312         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
42313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
42314         (lchown): New syscall entry.
42315         (oldsetrlimit): Remove.
42316         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
42317         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
42318         (oldsetrlimit): Remove.
42319         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
42321         [BZ #14138]
42322         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
42323         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
42324         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
42325         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
42326         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
42327         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
42328         (fchown): Likewise.
42329         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
42330         (fchown): Likewise.
42331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
42332         Likewise.
42334 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42336         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
42337         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
42338         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
42339         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
42340         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
42341         Likewise.
42342         (__old_sem_post): Likewise.
42344 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
42346         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
42347         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
42348         HAVE_CLOCK_GETTIME_VSYSCALL macros.
42349         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
42350         Use INLINE_VSYSCALL macro.
42351         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
42352         __vdso_clock_gettime.
42353         * sysdeps/unix/sysv/linux/tile/init-first.c
42354         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
42355         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
42356         __vdso_clock_gettime.
42358         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
42359         to set up frame more cleanly.
42361         * sysdeps/tile/memcmp.c: New file.
42363         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
42365         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
42366         * sysdeps/tile/tilegx/strcasestr.c: New file.
42367         * sysdeps/tile/tilegx/strnlen.c: New file.
42368         * sysdeps/tile/tilegx/strstr.c: New file.
42370         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
42372 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
42374         * nptl/tst-setuid3.c: Write errors to stdout.
42376 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42378         * elf/dl-deps.c
42379         (preload): New functions broken out of _dl_map_object_deps.
42380         (_dl_map_object_deps):  Remove a nested function. Update call sites.
42382 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
42384         [BZ #14138]
42385         * sysdeps/unix/sysv/linux/execve.c: Remove file.
42386         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
42388 2014-10-01  Steve Ellcey  <sellcey@mips.com>
42390         * sysdeps/mips/strcmp.S: New.
42392 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
42394         [BZ #14138]
42395         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
42396         (linkat): Likewise.
42397         (mkdirat): Likewise.
42398         (readlinkat): Likewise.
42399         (renameat): Likewise.
42400         (symlinkat): Likewise.
42401         (unlinkat): Likewise.
42402         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
42403         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
42404         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
42405         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
42406         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
42407         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
42408         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
42410 2014-09-30  Will Newton  <will.newton@linaro.org>
42412         * math/math.h: Define long double math functions if
42413         _LIBC_TEST is defined.
42414         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
42416         * localedata/Makefile: Move assignment to tests-special
42417         into an ifdef testing run-built-tests.
42418         * timezone/Makefile: Likewise.
42420 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
42422         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
42423         with $(BASH) not $(SHELL).
42425 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
42426             Matthew LeGendre  <legendre1@llnl.gov>
42428         [BZ #17411]
42429         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
42430         l_reloc_result.
42432 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42434         * stdio-common/printf_fp.c
42435         (hack_digit): New function, broken out of ...
42436         (__printf_fp): ... local function here.  Update call sites.
42437         hack_digit now takes an additional parameter that is a pointer
42438         to a struct of the referenced locals.  Those locals moved inside
42439         the struct and references updated.
42441 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
42443         * aclocal.m4: Require autoconf 2.69.
42444         * configure: Regenerated.
42445         * sysdeps/aarch64/configure: Likewise.
42446         * sysdeps/alpha/configure: Likewise.
42447         * sysdeps/arm/armv7/configure: Likewise.
42448         * sysdeps/arm/configure: Likewise.
42449         * sysdeps/ia64/configure: Likewise.
42450         * sysdeps/mach/configure: Likewise.
42451         * sysdeps/mips/configure: Likewise.
42452         * sysdeps/s390/configure: Likewise.
42453         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
42454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
42456         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
42457         file.
42458         * sysdeps/ia64/configure.ac: Likewise.
42460 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
42462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
42463         specify symbol version for ld.so.  Do not include entry for
42464         libpthread.
42465         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
42466         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
42467         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
42469         [BZ #14171]
42470         * Makeconfig [$(build-shared) = yes]
42471         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
42472         makefiles.
42473         [$(build-shared) = yes && $(soversions.mk-done) = t]
42474         ($(common-objpfx)gnu/lib-names.h): Remove rule.
42475         [$(build-shared) = yes && $(soversions.mk-done) = t]
42476         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
42477         to Makerules.
42478         [$(build-shared) = yes && $(soversions.mk-done) = t]
42479         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
42480         here.
42481         [$(build-shared) = yes && $(soversions.mk-done) = t]
42482         (common-generated): Don't append gnu/lib-names.h and
42483         gnu/lib-names.stmp here.
42484         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
42485         (lib-names-h-abi): New variable.
42486         [$(build-shared) = yes && $(soversions.mk-done) = t]
42487         (lib-names-stmp-abi): Likewise.
42488         [$(build-shared) = yes && $(soversions.mk-done) = t &&
42489         abi-variants] (before-compile): Append
42490         $(common-objpfx)$(lib-names-h-abi).
42491         [$(build-shared) = yes && $(soversions.mk-done) = t &&
42492         abi-variants] (common-generated): Append gnu/lib-names.h.
42493         [$(build-shared) = yes && $(soversions.mk-done) = t &&
42494         abi-variants] (install-others-nosubdir): Depend on
42495         $(inst_includedir)/$(lib-names-h-abi).
42496         [$(build-shared) = yes && $(soversions.mk-done) = t &&
42497         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
42498         [$(build-shared) = yes && $(soversions.mk-done) = t]
42499         ($(common-objpfx)$(lib-names-h-abi)): New rule.
42500         [$(build-shared) = yes && $(soversions.mk-done) = t]
42501         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
42502         [$(build-shared) = yes && $(soversions.mk-done) = t]
42503         (common-generated): Append $(lib-names-h-abi) and
42504         $(lib-names-stmp-abi).
42505         * scripts/lib-names.awk: Do not handle multi being set.
42506         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
42507         Remove variable.
42508         (abi-lp64_be-ld-soname): Likewise.
42509         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
42510         Likewise.
42511         (abi-hard-ld-soname): Likewise.
42512         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
42513         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
42514         Remove variable.
42515         (abi-o32_hard-ld-soname): Likewise.
42516         (abi-o32_soft_2008-ld-soname): Likewise.
42517         (abi-o32_hard_2008-ld-soname): Likewise.
42518         (abi-n32_soft-ld-soname): Likewise.
42519         (abi-n32_hard-ld-soname): Likewise.
42520         (abi-n32_soft_2008-ld-soname): Likewise.
42521         (abi-n32_hard_2008-ld-soname): Likewise.
42522         (abi-n64_soft-ld-soname): Likewise.
42523         (abi-n64_hard-ld-soname): Likewise.
42524         (abi-n64_soft_2008-ld-soname): Likewise.
42525         (abi-n64_hard_2008-ld-soname): Likewise.
42526         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
42527         Likewise.
42528         (abi-64-v2-ld-soname): Likewise.
42529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
42530         ld.so entries.
42531         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
42532         variable.
42533         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
42534         entry.
42535         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
42536         variable.
42537         (abi-64-ld-soname): Likewise.
42538         (abi-x32-ld-soname): Likewise.
42539         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
42540         entry.
42541         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
42543 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
42545         [BZ #14138]
42546         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
42547         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
42548         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
42549         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
42550         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
42551         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
42552         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
42553         syscall entry for GLIBC_2.2 symbol version.
42554         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
42555         Likewise.
42556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
42557         (setrlimit): Likewise.
42558         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
42559         Likewise.
42561 2014-09-23  Will Newton  <will.newton@linaro.org>
42563         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
42564         _LINUX_ARM_SYSDEP_H include guard too.
42565         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
42566         define.
42568 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
42570         * sysdeps/unix/sysv/linux/eventfd.c:
42571         Make first argument unsigned.
42572         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
42573         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
42575 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
42577         [BZ #16852]
42578         * socket/recvmmsg.c (recvmmsg): Drop const argument.
42579         * socket/sys/socket.h: Likewise.
42580         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
42582 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42584         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
42586 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
42588         * time/tst-ftime.c: New test.
42589         * time/Makefile (tests): Add tst-ftime.
42591 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
42593         * soft-fp/extended.h: Fix comment formatting.
42594         * soft-fp/op-1.h: Likewise.
42595         * soft-fp/op-2.h: Likewise.
42596         * soft-fp/op-4.h: Likewise.
42597         * soft-fp/op-8.h: Likewise.
42598         * soft-fp/op-common.h: Likewise.
42599         * soft-fp/soft-fp.h: Likewise.
42601         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
42603 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
42605         [BZ #6652]
42606         * Makeconfig (soversions-default-setname): Remove variable.
42607         ($(common-objpfx)soversions.i): Don't pass default_setname to
42608         soversions.awk.
42609         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
42610         oldest_abi to abi-versions.awk.
42611         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
42612         * config.make.in (oldest-abi): Remove variable.
42613         * configure.ac (--enable-oldest-abi): Remove configure option.
42614         * configure: Regenerated.
42615         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
42616         text.
42617         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
42618         * scripts/soversions.awk: Do not handle default_setname variable.
42619         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
42620         variable.
42621         * sysdeps/mach/hurd/configure: Regenerated.
42622         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
42623         variable.
42624         * sysdeps/unix/sysv/linux/configure: Regenerated.
42626 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42628         * elf/Makefile (CFLAGS-interp.c): Remove.
42629         ($(elf-objpfx)runtime-linker.h): Generate header with linker
42630         path string.
42631         * elf/interp.c: Include generated runtime-linker.h
42633         * Makerules (lib%.so): Don't include $(+interp) in
42634         prerequisites.
42635         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
42636         * dlfcn/eval.c: Remove file.
42638         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
42639         macros.
42641         [BZ #17266]
42642         * misc/sys/cdefs.h: Define __extern_always_inline for clang
42643         4.2 and newer.
42645         [BZ #17370]
42646         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
42648 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42649             Jakub Jelinek  <jakub@redhat.com>
42651         [BZ #17266]
42652         * libio/stdio.h: Check definition of __fortify_function
42653         instead of __extern_always_inline to include bits/stdio2.h.
42654         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
42655         check if __extern_always_inline is defined.
42656         [__USE_MISC || __USE_XOPEN]: Likewise.
42657         [__USE_ISOC99] Likewise.
42658         * misc/sys/cdefs.h (__fortify_function): Define only if
42659         __extern_always_inline is defined.
42660         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
42661         __extern_always_inline and __extern_inline only for g++-4.3
42662         and newer or a compatible gcc.
42664 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
42666         [BZ #17371]
42667         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
42668         last change to handle zero prefix length.
42670 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42672         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
42673         _SC_REGEX_VERSION.
42675         * posix/getconf.c (vars): Add _POSIX_IPV6 and
42676         _POSIX_RAW_SOCKETS.
42678 2014-09-13  Allan McRae  <allan@archlinux.org>
42680         * po/ru.po: Update Russian translation from translation project.
42682 2014-09-12  Roland McGrath  <roland@hack.frob.com>
42684         * locale/programs/locale.c (show_locale_vars): Inline local function
42685         into its sole call site.  Clean up some style nits.
42686         (print_item): New function, broken out of ...
42687         (show_info): ... local function here.  Clean up style nits.
42689         * locale/programs/ld-ctype.c (set_one_default): New function, broken
42690         out of ...
42691         (set_class_defaults): ... local function set_default here.
42692         Define set_default as a macro locally to pass constant parameters.
42693         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
42694         rather than a shared local.
42696         * stdlib/rpmatch.c (try): New function, broken out of ...
42697         (rpmatch): ... local function here.  Also, prototypify definition.
42699 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
42701         * scripts/soversions.awk: Do not handle configuration names.
42702         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
42703         vendor and os variables to soversions.awk.
42704         * configure.ac: Do not modify gnu-* host_os.
42705         * configure: Regenerated
42706         * shlib-versions: Remove first column with configuration names.
42707         * nptl/shlib-versions: Likewise.
42708         * nptl_db/shlib-versions: Likewise.
42709         * sysdeps/hppa/shlib-versions: Likewise.
42710         * sysdeps/m68k/shlib-versions: Likewise.
42711         * sysdeps/mach/hurd/shlib-versions: Likewise.
42712         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
42713         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
42714         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
42715         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
42716         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
42717         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
42718         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
42719         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
42720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
42721         Likewise.
42722         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
42723         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
42724         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
42725         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
42726         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
42727         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
42728         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
42729         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
42731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
42732         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
42733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
42734         Regenerated.
42735         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
42736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
42737         Condition symbol version definitions on [HAVE_ELFV2_ABI].
42739         * shlib-versions: Remove OS-specific entries.  Moved to files in
42740         sysdeps.
42741         * sysdeps/mach/hurd/shlib-versions: New file.
42742         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
42744         * nptl/shlib-versions: Remove architecture-specific entries.
42745         Moved to files in sysdeps.
42746         * shlib-versions: Likewise.
42747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
42748         file.
42749         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
42750         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
42751         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
42752         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
42754         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
42755         (UDP_NO_CHECK6_RX): Likewise.
42757 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42759         * sysdeps/posix/sysconf.c (__sysconf): Spell
42760         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
42762 2014-08-12  Florian Weimer  <fweimer@redhat.com>
42764         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
42765         loading.
42766         * iconv/Versions (__gconv_transliterate): Export for use from
42767         gconv modules.
42768         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
42769         (struct __gconv_trans_data, __gconv_trans_fct,
42770         __gconv_trans_context_fct, __gconv_trans_query_fct,
42771         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
42772         definitions.
42773         (struct __gconv_step_data): Remove __trans member.
42774         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
42775         longer hidden.  Remove unused trans_data argument.
42776         * iconv/gconv_int.h (struct trans_struct): Remove definition.
42777         (__gconv_translit_find): Remove declaration.
42778         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
42779         prototype.
42780         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
42781         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
42782         trans_data argument.  Add hidden definition.
42783         (__gconv_translit_find): Remove.
42784         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
42785         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
42786         * iconv/skeleton.c: Remove transliteration initialization.
42787         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
42788         __gconv_step_data initialization.
42789         * libio/iofwide.c (__libio_translit_): Remove.
42790         (_IO_fwide): Adjust struct __gconv_step_data initialization.
42791         * wcsmbs/btowc.c (__btowc): Likewise.
42792         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
42793         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
42794         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
42795         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
42796         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
42797         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
42798         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
42799         * wcsmbs/wctob.c (wctob): Likewise.
42801 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42803         [BZ #16194]
42804         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
42805         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
42806         register usage.
42807         * sysdeps/x86/Makefile: Adjust.
42809 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42810             Roland McGrath  <roland@hack.frob.com>
42812         * locale/weight.h: Add include guard.
42813         (findidx): Make static rather than auto; take new parameters
42814         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
42815         * locale/weightwc.h: Likewise.
42816         * posix/fnmatch_loop.c
42817         (FCT): Change type of EXTRA from int32_t to wint_t.
42818         Don't include either header inside the function.
42819         Call FINDIDX rather than findidx, and pass new arguments.
42820         #undef FINDIDX at the end of the file.
42821         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
42822         FINDIDX before including fnmatch_loop.c for the non-wide version.
42823         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
42824         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
42825         for the wide version.
42826         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
42827         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
42828         Pass new arguments to findidx.
42829         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
42830         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
42831         Don't #include it inside the function.  Pass new arguments to findidx.
42832         * posix/regex_internal.h
42833         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
42834         (re_string_elem_size_at): Don't #include it inside the function.
42835         Pass new arguments to findidx.
42836         * string/strcoll_l.c: #include WEIGHT_H at top level.
42837         (get_next_seq): Don't #include it inside the function.
42838         Pass new arguments to findidx.
42839         (get_next_seq_nocache): Likewise.
42840         * string/strxfrm_l.c: #include WEIGHT_H at top level.
42841         (STRXFRM): Don't #include it inside the function.
42842         Pass new arguments to findidx.
42844 2014-09-11  Florian Weimer  <fweimer@redhat.com>
42846         [BZ #17344]
42847         * malloc/malloc.c (unlink): Turn asserts into a call to
42848         malloc_printerr.
42850 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
42852         [BZ #17370]
42853         * libio/wfileops (do_ftell_wide): Free OUT.
42855 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
42857         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
42859 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42861         [BZ #17363]
42862         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
42863         group if the current group is empty.
42865 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42867         * benchtests/bench-memset.c (test_main): Add more test from size
42868         from 32 to 512 bytes.
42869         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42870         Add POWER8 memset object.
42871         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42872         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
42873         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
42874         implementation.
42875         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
42876         Likewise.
42877         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
42878         multiarch POWER8 memset optimization.
42879         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
42880         POWER8 memset optimization.
42882         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42883         Remove bzero multiarch objects.
42884         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
42885         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
42886         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
42887         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
42888         Remove define.
42889         [__bzero]: Redefine to specific name.
42890         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
42891         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
42892         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
42893         define.
42894         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
42895         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
42897 2014-09-10  Florian Weimer  <fweimer@redhat.com>
42899         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
42900         warnings into errors.
42902         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
42903         __cxa_thread_atexit_impl prototype.
42905 2014-09-09  Steve Ellcey  <sellcey@mips.com>
42907         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
42908         Fix capitalization of error message.
42910 2014-09-09  Steve Ellcey  <sellcey@mips.com>
42912         * sysdeps/mips/preconfigure: Modify ABI tests.
42914 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
42916         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
42918 2014-09-07  Roland McGrath  <roland@hack.frob.com>
42919             Carlos O'Donell  <carlos@systemhalted.org>
42921         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
42922         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
42923         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
42924         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
42925         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
42926         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
42927         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
42928         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
42929         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
42930         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
42931         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
42932         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
42933         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
42934         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
42935         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
42936         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
42937         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
42938         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
42939         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
42940         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
42941         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
42942         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
42943         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
42944         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
42945         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
42946         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
42947         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
42948         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
42949         Deconditionalize the code that was previously under [RESET_PID].
42950         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
42951         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
42952         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
42953         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
42954         include sysdep.h.
42956 2014-09-08  Allan McRae  <allan@archlinux.org>
42958         * version.h (RELEASE): Set to "development".
42959         (VERSION): Set to "2.20.90"
42961 2014-09-07  Allan McRae  <allan@archlinux.org
42963         * version.h (RELEASE): Set to "stable".
42964         (VERSION): Set to "2.20"
42965         * include/features.h (__GLIBC_MINOR__): Set to 20.
42967         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
42968         Liebler.
42970         * po/ko.po: Update Korean translation from translation project.
42972 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
42974         [BZ #17354]
42975         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
42976         macro for handling signed relocations.
42978 2014-09-03  Florian Weimer  <fweimer@redhat.com>
42980         [BZ #17325]
42981         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
42982         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
42983         assert.
42984         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
42985         * iconvdata/ibm935.c (BODY): Likewise.
42986         * iconvdata/ibm937.c (BODY): Likewise.
42987         * iconvdata/ibm939.c (BODY): Likewise.
42988         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
42989         assert.
42990         * iconvdata/Makefile (iconv-test.out): Pass module list to test
42991         script.
42992         * iconvdata/run-iconv-test.sh: New test loop for checking for
42993         decoder crashers.
42995 2014-09-02  Khem Raj  <raj.khem@gmail.com>
42997         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
42998         libm_hidden_ver.
43000 2014-09-01  Allan McRae  <allan@archlinux.org>
43002         * po/eo.po: Update Esperanto translation from translation project.
43004         * po/ca.po: Update Catalan translation from translation project.
43006 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43008         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
43009         __proc_dostop call.
43011 2014-08-27  Mark Wielaard  <mjw@redhat.com>
43013         [BZ #17319]
43014         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
43015         to call set_thread_area instead of hand written asm.
43016         (__NR_set_thread_area): Removed define.
43017         (TLS_FLAG_WRITABLE): Likewise.
43018         (__ASSUME_SET_THREAD_AREA): Remove check.
43019         (TLS_EBX_ARG): Remove define.
43020         (TLS_LOAD_EBX): Likewise.
43022 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43024         Simplify atomicity of socket creation in bind.
43026         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
43027         looking up the name after linking the file.
43029 2014-08-27  Allan McRae  <allan@archlinux.org>
43031         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
43033 2014-08-26  Florian Weimer  <fweimer@redhat.com>
43035         [BZ #17187]
43036         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
43037         trans_compare, open_translit, __gconv_translit_find):
43038         Remove module loading code.
43040 2014-08-26  Allan McRae  <allan@archlinux.org>
43042         * po/vi.po: Update Vietnamese translation from translation project.
43044         * po/uk.po: Update Ukrainian translation from translation project.
43046         * po/fr.po: Update French translation from translation project.
43048         * po/ru.po: Update Russian translation from translation project.
43050         * po/pl.po: Update Polish translation from translation project.
43052         * po/cs.po: Update Czech translation from translation project.
43054         * po/de.po: Update German translation from translation project.
43056         * po/bg.po: Update Bulgarian translation from translation project.
43058         * po/sv.po: Update Sweedish translation from translation project.
43060         * po/nl.po: Update Dutch translation from translation project.
43062         * po/es.po: Update Spanish translation from translation project.
43064 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43066         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
43068         * catgets/Makefile (CPPFLAGS-gencat): Remove.
43069         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
43070         (CPPFLAGS-iconvconfig): Likewise.
43071         * timezone/Makefile (CPPFLAGS-zic): Likewise.
43073         * include/libc-symbols.h: Remove unnecessary check for
43074         NOT_IN_libc.
43075         * nptl/pthreadP.h: Likewise.
43076         * sysdeps/aarch64/setjmp.S: Likewise.
43077         * sysdeps/alpha/setjmp.S: Likewise.
43078         * sysdeps/arm/sysdep.h: Likewise.
43079         * sysdeps/i386/setjmp.S: Likewise.
43080         * sysdeps/m68k/setjmp.c: Likewise.
43081         * sysdeps/posix/getcwd.c: Likewise.
43082         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43083         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
43084         * sysdeps/s390/s390-32/setjmp.S: Likewise.
43085         * sysdeps/s390/s390-64/setjmp.S: Likewise.
43086         * sysdeps/sh/sh3/setjmp.S: Likewise.
43087         * sysdeps/sh/sh4/setjmp.S: Likewise.
43088         * sysdeps/unix/alpha/sysdep.h: Likewise.
43089         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43090         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43091         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
43092         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43095         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43096         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43097         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43098         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43099         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43100         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43101         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43102         * sysdeps/x86_64/setjmp.S: Likewise.
43104 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
43106         [BZ #17263]
43107         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
43108         <stdint.h>.
43109         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
43110         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
43112 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43114         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
43116         [BZ #17262]
43117         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
43118         and __x86_64__ when disabling x87 inline functions.
43120 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
43122         [BZ #17259]
43123         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
43124         asm statement with __cpuid_count.
43126 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
43128         * configure.ac: Change __ehdr_start code to dereference the struct.
43129         Run readelf on the output to look for relocations.
43130         * configure: Regenerated.
43132 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
43134         [BZ #17261]
43135         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
43136         value to 0.
43137         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
43139 2014-08-12  Roland McGrath  <roland@hack.frob.com>
43141         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
43143 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
43145         [BZ #16892]
43146         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
43147         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
43149 2014-08-12  Sean Anderson  <seanga2@gmail.com>
43151         * malloc/malloc.c: Fix typo in comment.
43153 2014-08-09  Allan McRae  <allan@archlinux.org>
43155         * Regenerate libc.po.
43157 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
43159         * intl/tst-gettext2.sh: Check every lang file for creation.
43161 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
43163         * sysdeps/aarch64/fpu/math_private.h
43164         (libc_feholdsetround_noex_aarch64_ctx): New function.
43166 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
43168         * sysdeps/arm/armv6/strcpy.S (strcpy):
43169         Fix performance issue in misaligned cases.
43171 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43173         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
43174         Move definition from termios.h.
43175         (struct termio): Likewise.
43176         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
43177         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
43178         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
43179         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
43180         Likewise.
43181         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
43182         Move definition to ioctl-types.h
43183         (struct termio): Likewise.
43184         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
43185         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
43186         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
43187         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
43188         Likewise.
43190 2014-08-05  Richard Henderson  <rth@redhat.com>
43192         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
43193         exceptions.
43194         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
43195         Add fraiseexcpt.
43196         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
43197         Use __feraiseexcept.
43198         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
43199         Protect libm symbols with IS_IN_libm.
43201         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
43203 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
43205         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
43207 2014-08-04  Will Newton  <will.newton@linaro.org>
43209         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
43210         file.
43212 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
43214         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
43215         variants for each function.
43217 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43219         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
43220         appended ...
43221         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
43222         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
43223         appended ...
43224         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
43225         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
43226         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
43227         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
43228         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
43229         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
43230         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
43231         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
43232         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
43233         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
43234         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
43235         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
43236         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
43237         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
43238         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
43239         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
43240         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
43241         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
43242         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
43243         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
43244         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
43245         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
43246         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
43247         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
43248         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
43249         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
43250         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
43251         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
43252         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
43253         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
43254         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
43255         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
43256         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
43257         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
43258         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
43259         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
43260         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
43261         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
43262         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
43263         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
43264         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
43265         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
43266         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
43267         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
43268         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
43269         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
43270         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
43271         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
43272         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
43273         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
43274         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
43275         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
43276         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
43277         Update #include.
43278         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
43279         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
43281 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43283         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
43284         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
43285         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
43286         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
43287         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
43288         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
43290 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43292         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
43293         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
43294         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43295         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
43297 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43299         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
43300         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
43301         (__libc_vfork): Define function under this name.
43302         (__vfork): Define as an alias.
43303         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
43304         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
43306 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43308         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
43309         that was previously under [RESET_PID].
43310         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
43312 2014-08-04  Andreas Schwab  <schwab@suse.de>
43314         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
43316 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
43318         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
43319         (main): Likewise.
43321 2014-08-01  Roland McGrath  <roland@hack.frob.com>
43323         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
43325 2014-08-01  Richard Henderon  <rth@redhat.com>
43327         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
43328         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
43329         typo in exact zero test.
43330         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43331         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43332         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43334 2014-08-01  Roland McGrath  <roland@hack.frob.com>
43336         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
43337         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
43338         * sysdeps/arm/sysdep.h: ... here.
43339         [!__ASSEMBLER__]: Include <stdint.h>.
43341 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
43343         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
43344         (HAVE_WCTYPE_H): Likewise.
43345         (HAVE_ISWCTYPE): Likewise.
43346         (ENABLE_NLS): Likewise.
43347         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
43348         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
43350         * posix/regex_internal.c: Check if DEBUG is defined and is
43351         set.
43353         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
43354         (HAVE_MBSRTOWCS): Likewise.
43355         * posix/fnmatch.c: Include string.h unconditionally.
43357 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
43359         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
43360         reversal.
43362 2014-07-31  Roland McGrath  <roland@hack.frob.com>
43364         * sysdeps/generic/safe-fatal.h: New file.
43365         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
43366         * nptl/forward.c: Include it.
43367         (__pthread_unwind): Use __safe_fatal as default action, rather
43368         than a bogus use of INTERNAL_SYSCALL that could never work.
43370         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
43371         * configure.ac (libc_cv_builtin_trap): New test.
43372         * configure: Regenerated.
43373         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
43374         (ABORT_INSTRUCTION): Define using __builtin_trap.
43376         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
43377         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
43378         * sysdeps/nptl/nptl-signals.h: New file.
43379         * nptl/pthreadP.h: Include <nptl-signals.h>.
43381 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
43383         * sysdeps/s390/s390-64/utf16-utf32-z9.c
43384         (ONE_DIRECTION): Define.
43385         * sysdeps/s390/s390-64/utf8-utf16-z9.c
43386         (ONE_DIRECTION): Define.
43387         * sysdeps/s390/s390-64/utf8-utf32-z9.c
43388         (ONE_DIRECTION): Define.
43390 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
43392         * sysdeps/s390/Makefile: Delete file.
43393         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
43394         * sysdeps/s390/__longjmp.c: Delete file.
43395         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
43396         Remove fields __flags and __reserved.
43397         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
43398         and add versioning.
43399         * sysdeps/s390/rtld-__longjmp.c: Delete file.
43400         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
43401         * sysdeps/s390/rtld-setjmp.S: Likewise.
43402         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
43403         * sysdeps/s390/s390-32/__longjmp.c: ... here.
43404         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
43405         * sysdeps/s390/s390-32/setjmp.S: ... here.
43406         Add versioning.
43407         (__sigsetjmp): Remove setting __flags field.
43408         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
43409         * sysdeps/s390/s390-64/__longjmp.c: ... here.
43410         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
43411         * sysdeps/s390/s390-64/setjmp.S: ... here.
43412         Add versioning.
43413         (__sigsetjmp): Remove setting __flags field.
43414         * sysdeps/s390/setjmp.S: Delete file.
43415         * sysdeps/s390/sigjmp.c: Likewise.
43416         * sysdeps/s390/v1-longjmp.c: Likewise.
43417         * sysdeps/s390/v1-setjmp.h: Likewise.
43418         * sysdeps/s390/v1-sigjmp.c: Likewise.
43419         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
43420         Remove v1-longjmp_chk.
43421         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
43422         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
43423         Include debug/longjmp_chk.c and add versioning.
43424         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
43425         Include nptl/pt-longjmp.c and add versioning.
43426         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
43427         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
43428         Include __longjmp.c.
43429         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
43430         Move to ...
43431         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
43432         (__getcontext): Remove setting __flags field.
43433         Add versioning.
43434         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
43435         Don't restore upper high grps.
43436         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
43437         Likewise.
43438         (__swapcontext): Remove setting uc_flags field.
43439         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
43440         Delete file.
43441         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
43442         Include __longjmp.c.
43443         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
43444         Move to ...
43445         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
43446         (__getcontext): Remove setting __flags field.
43447         Add versioning.
43448         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
43449         (__swapcontext): Remove setting uc_flags field.
43450         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
43451         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
43452         Remove fields uc_high_gprs and __reserved.
43453         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
43454         New file with reverted content.
43455         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
43456         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
43457         Regenerated.
43458         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
43459         Regenerated.
43461 2014-07-31  Andreas Schwab  <schwab@suse.de>
43463         * config.h.in (HAVE_IFUNC): Define to 0.
43464         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
43465         definedness.
43467 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
43469         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43470         memmove-avx-unaligned, memcpy-avx-unaligned and
43471         mempcpy-avx-unaligned.
43472         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43473         Add tests for AVX memcpy functions.
43474         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
43475         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
43476         memcpy_chk.
43477         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
43478         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
43479         memmove_chk.
43480         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
43481         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
43482         mempcpy_chk.
43483         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
43484         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
43485         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
43487 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43489         [BZ #17213]
43490         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
43491         powerpc64le.
43493 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
43495         [BZ #16839]
43496         * manual/llio.texi: Add section about open file description locks.
43497         * manual/examples/ofdlocks.c: Example of open file description
43498         lock usage.
43499         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
43500         F_OFD_SETLK, and F_OFD_SETLKW.
43502 2014-07-23  Allan McRae  <allan@archlinux.org>
43504         * po/es.po: Update Spanish translation from translation project.
43506 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
43508         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
43510 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
43512         [BZ #17078]
43513         * sysdeps/arm/dl-machine.h (elf_machine_rela)
43514         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
43515         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
43517 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
43519         [BZ #17088]
43520         * math/fesetenv.c (__fesetenv)
43521         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
43522         * math/feupdateenv.c (__feupdateenv)
43523         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
43525         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
43526         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
43527         (__ASSUME_SOCKETCALL): Do not define.
43529         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
43530         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
43531         (__ASSUME_SOCKETCALL): Do not define.
43532         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
43533         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
43534         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
43535         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
43536         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43537         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
43538         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
43539         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43541         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
43542         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
43543         (__ASSUME_SOCKETCALL): Do not define.
43544         (__ASSUME_IPC64): Define unconditionally.
43545         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
43546         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
43547         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
43548         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43549         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
43550         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
43551         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
43552         Likewise.
43554         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
43555         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
43556         (__ASSUME_SOCKETCALL): Do not define.
43557         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
43558         (__ASSUME_FUTEX_LOCK_PI): Likewise.
43559         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
43560         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
43561         (__ASSUME_REQUEUE_PI): Define unconditionally.
43562         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
43563         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
43564         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43565         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
43566         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
43567         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43569         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
43570         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
43571         (__ASSUME_SOCKETCALL): Do not define.
43572         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
43573         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43574         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43575         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
43576         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
43577         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43579         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
43580         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
43581         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
43582         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
43583         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43584         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
43585         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
43586         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
43587         (__ASSUME_GETCPU_SYSCALL): Likewise.
43589         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
43590         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
43591         cases for individual architectures.
43592         * sysdeps/gnu/configure: Regenerated.
43593         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
43594         LIBC_SLIBDIR_RTLDDIR.
43595         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
43596         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
43597         LIBC_SLIBDIR_RTLDDIR.
43598         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
43599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
43600         LIBC_SLIBDIR_RTLDDIR.
43601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
43602         Regenerated.
43603         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
43604         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
43605         file.
43606         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
43607         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
43608         file.
43609         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
43610         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
43611         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
43612         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
43614         * sysdeps/aarch64/shlib-versions: Move to ...
43615         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
43616         * sysdeps/alpha/shlib-versions: Move to ...
43617         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
43618         * sysdeps/arm/shlib-versions: Move to ...
43619         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
43620         * sysdeps/hppa/shlib-versions: Move all contents except for
43621         libgcc_s entry to ...
43622         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
43623         entry from ...
43624         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
43625         * sysdeps/ia64/shlib-versions: Move to ...
43626         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
43627         entry from ...
43628         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
43629         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
43630         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
43631         * sysdeps/microblaze/shlib-versions: Move to ...
43632         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
43633         * sysdeps/mips/shlib-versions: Move to ...
43634         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
43635         entry from ...
43636         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
43637         * sysdeps/tile/shlib-versions: Move to ...
43638         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
43639         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
43640         from ...
43641         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
43642         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
43643         entry from ...
43644         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
43646 2014-07-17  Will Newton  <will.newton@linaro.org>
43648         * sysdeps/arm/bits/atomic.h
43649         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
43650         (__arch_compare_and_exchange_bool_16_int): Likewise.
43651         (__arch_compare_and_exchange_bool_64_int): Likewise.
43653         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
43654         into an #else block.
43656 2014-07-16  Roland McGrath  <roland@hack.frob.com>
43658         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
43659         just Linux configurations.  Test empirically that the compiler sets
43660         __ARM_EABI__, rather than using the tuple to decide.
43661         * sysdeps/arm/preconfigure: Regenerated.
43662         * sysdeps/unix/sysv/linux/arm/configure: File removed.
43663         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
43664         contents appended ...
43665         * sysdeps/arm/configure.ac: ... here.
43666         * sysdeps/arm/configure: Regenerated.
43668 2014-07-15  Roland McGrath  <roland@hack.frob.com>
43670         * nptl/pthread_kill.c: New file.
43671         * nptl/pthread_sigmask.c: New file.
43672         * nptl/pthread_sigqueue.c: New file.
43674         * sysdeps/nptl/lowlevellock.h: New file.
43675         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
43676         * sysdeps/nptl/lowlevellock-futex.h: New file.
43678         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
43679         Remove dead declarations.
43681 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
43683         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
43684         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
43685         config-cflags-avx2.
43686         * sysdeps/x86_64/configure.ac: Likewise.
43687         * sysdeps/i386/configure: Regenerated.
43688         * sysdeps/x86_64/configure: Likewise.
43689         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43690         memset-avx2 only if config-cflags-avx2 is yes.
43691         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43692         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
43693         defined.
43694         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
43695         only if HAVE_AVX2_SUPPORT is defined.
43696         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43698 2014-07-14  Alan Modra  <amodra@gmail.com>
43700         [BZ #17153]
43701         * elf/elf.h (DT_PPC64_NUM): Correct value.
43702         * NEWS: Add to fixed bug list.
43704 2014-07-13  Jim Meyering  <meyering@fb.com>
43706         [BZ 17150]
43707         regex: don't deref NULL upon heap allocation failure
43708         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
43709         failure in one more place.
43710         To trigger the segfault, configure grep -with-included-regex,
43711         build it, and run these commands:
43712         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
43714 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
43716         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
43718 2014-07-11  Richard Henderson  <rth@redhat.com>
43720         * sysdeps/aarch64/libm-test-ulps: Update.
43722 2014-07-10  Florian Weimer  <fweimer@redhat.com>
43724         [BZ #17135]
43725         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
43726         * nptl/allocatestack.c (__nptl_setxid_error): New function.
43727         (__nptl_setxid): Initialize error member.  Call
43728         __nptl_setxid_error.
43729         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
43730         * nptl/descr.h (struct xid_command): Add error member.
43731         * nptl/tst-setuid3.c: New file.
43732         * nptl/Makefile (tests): Add it.
43734 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43736         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
43737         New define.
43738         (__lll_trylock): Use __lll_base_trylock.
43739         (__lll_cond_trylock): Likewise.
43741 2014-07-10  Roland McGrath  <roland@hack.frob.com>
43743         * nptl/pthread_create.c (start_thread): Use atomic_or and
43744         lll_futex_wake directly rather than lll_robust_dead.
43745         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
43746         (lll_robust_dead): Macro removed.
43747         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
43748         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
43749         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
43750         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43751         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43752         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
43753         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
43754         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43755         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
43756         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43757         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43758         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43759         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43760         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43761         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43763         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
43764         Use atomic_compare_and_exchange_val_acq directly rather than
43765         lll_robust_trylock.
43766         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
43767         (__lll_robust_trylock, lll_robust_trylock): Removed.
43768         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
43769         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
43770         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43771         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43772         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
43773         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
43774         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43775         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
43776         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43777         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43778         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43779         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43780         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43781         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43783 2014-07-02  Florian Weimer  <fweimer@redhat.com>
43785         * manual/locale.texi (Locale Names): New section documenting
43786         locale name syntax.  Adjust menu and node chaining accordingly.
43787         (Choosing Locale): Reference Locale Names, Locale Categories.
43788         Mention setting LC_ALL=C.  Reflect that name syntax is now
43789         documented.
43790         (Locale Categories): New section title.  Reference Locale Names.
43791         LC_ALL is an environment variable, but not a category.
43792         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
43793         description, now in Locale Name.  Reference that section.  Locale
43794         name syntax is now documented.
43796 2014-07-02  Florian Weimer  <fweimer@redhat.com>
43798         [BZ #17137]
43799         * locale/findlocale.c (name_present, valid_locale_name): New
43800         functions.
43801         (_nl_find_locale): Use the loc_name variable to store name
43802         candidates.  Call name_present and valid_locale_name to check and
43803         validate locale names.  Return an error if the locale is invalid.
43805 2014-07-02  Florian Weimer  <fweimer@redhat.com>
43807         * locale/setlocale.c (setlocale): Use strdup for allocating
43808         composite name copy.
43810 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43812         Sync up with gnulib.
43813         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
43814         [!_LIBC && ENABLE_NLS]: Include gettext.h.
43815         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
43816         and _GL_ARG_NONNULL.
43817         [USE_UNLOCKED_IO]: Include unlocked-io.h.
43818         [!_LIBC]: Include code for Windows and Cygwin.
43819         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
43820         Include prototype for int strerror_r.
43821         [!_LIBC] (is_open): New function.
43822         (flush_stdout): New function.
43823         (print_errno_message): Use it.
43824         (error): Likewise.
43825         (error_at_line): Likewise.
43826         (error_tail) Add function attribute macros.  Use
43827         __builtin_expect.
43829         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
43831         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
43833         * io/ftw.c: Include sys/param.h unconditionally.
43835         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
43837         [BZ #17125]
43838         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
43839         libc_freeres_ptr.
43840         (freecache): New function to free CACHE on exit.
43842         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
43843         initialization.
43845 2014-07-09  David S. Miller  <davem@davemloft.net>
43847         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43849         * sysdeps/sparc/nptl/internaltypes.h: Delete.
43850         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
43851         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
43852         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
43853         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
43854         * sysdeps/sparc/nptl/sem_init.c: Likewise.
43855         * sysdeps/sparc/nptl/sem_post.c: Likewise.
43856         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
43857         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
43858         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
43859         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
43860         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
43861         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
43863 2014-07-09  Andreas Schwab  <schwab@suse.de>
43865         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
43866         output.
43867         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
43868         (do_test): Likewise.
43870         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
43872 2014-07-09  Will Newton  <will.newton@linaro.org>
43874         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
43875         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
43876         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
43877         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
43878         * sysdeps/hppa/start.S (_start): Likewise.
43880 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
43882         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
43884         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
43885         defined.
43887 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43889         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
43890         after checking that it is non-NULL.
43892         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
43894 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43896         * sysdeps/powerpc/memmove.c: Remove file.
43897         * sysdeps/powerpc/powerpc32/power4/memcopy.h
43898         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
43899         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
43900         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
43901         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
43902         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
43903         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
43904         string memmove instead of removed powerpc one.
43906         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
43907         [weak_alias]: Fix compiler warning due trailing data.
43908         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
43909         [weak_alias]: Likewise.
43910         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
43911         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
43913         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43914         (__libc_ifunc_impl_list): Add memmove functions.
43916 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43918         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
43919         Remove code.
43920         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
43921         Likewise.
43922         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
43923         Likewise.
43924         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
43925         Likewise.
43926         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
43927         Likewise.
43928         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
43929         Likewise.
43930         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
43931         Likewise.
43932         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
43933         Likewise.
43934         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
43935         Likewise.
43936         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
43937         Likewise.
43938         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
43939         Likewise.
43940         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
43941         Likewise.
43942         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
43943         Likewise.
43944         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
43945         Likewise.
43946         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
43947         Likewise.
43948         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
43949         Likewise.
43950         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
43951         Likewise.
43953 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43955         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
43956         to avoid alignment traps in non-cacheable memory.
43957         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
43959         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
43960         multiarch objects.
43961         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
43962         file: multiarch power7 memmove.
43963         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
43964         multiarch default memmove.
43965         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
43966         multiarch memove for powerpc32/power4.
43968         * string/bcopy.c: Use full path to include memmove.c.
43969         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
43970         multiarch objects.
43971         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
43972         bcopy for powerpc64.
43973         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
43974         bcopy for powerpc64.
43975         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
43976         and memmove implementations.
43977         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
43978         optimized multiarch memmove for POWER7/powerpc64.
43979         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
43980         default multiarch memmove for powerpc64.
43981         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
43982         multiarch for powerpc64.
43983         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
43984         for POWER7/powerpc64.
43985         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
43986         memmove for POWER7/powerpc64.
43988         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
43989         glibc default one.
43991         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
43992         __ELF_NATIVE_CLASS equal to 64.
43994 2014-07-07  Roland McGrath  <roland@hack.frob.com>
43996         * sysdeps/nptl/lowlevellock.h: File removed.
43998         * NEWS: NPTL is no longer an add-on!
43999         * nptl/internaltypes.h: Moved ...
44000         * sysdeps/nptl/internaltypes.h: ... here.
44001         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
44002         * sysdeps/nptl/fork.c: Likewise.
44003         * sysdeps/nptl/gai_misc.h: Likewise.
44004         * sysdeps/nptl/librt-cancellation.c: Likewise.
44005         * sysdeps/nptl/jmp-unwind.c: Likewise.
44006         * sysdeps/nptl/setxid.h: Likewise.
44007         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
44008         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
44009         * sysdeps/unix/sysv/linux/arm/Implies: New file.
44010         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
44011         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
44012         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
44013         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
44014         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
44015         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
44016         * sysdeps/unix/sysv/linux/mips/Implies: New file.
44017         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
44018         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
44019         * sysdeps/unix/sysv/linux/sh/Implies: New file.
44020         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
44021         * sysdeps/unix/sysv/linux/tile/Implies: New file.
44022         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
44023         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
44024         * nptl/Makeconfig: Moved ...
44025         * sysdeps/nptl/Makeconfig: ... here.
44026         * nptl/configure: File removed.
44027         * nptl/ANNOUNCE: File removed.
44028         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
44029         * sysdeps/unix/sysv/linux/configure: Regenerated.
44031         * nptl/Makefile (routines): Add libc_pthread_init,
44032         libc_multiple_threads, register-atfork and unregister-atfork.
44033         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
44034         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
44035         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
44036         pthread-pi-defines.sym, structsem.sym.
44037         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
44038         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
44039         [$(subdir) = nptl] (tests): Add tst-setgetname.
44040         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
44041         * sysdeps/unix/sysv/linux/sigaction.c: Just include
44042         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
44043         [!LIBC_SIGACTION]: Remove aliases.
44044         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
44045         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
44046         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
44047         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
44048         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
44049         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
44050         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
44051         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
44052         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
44053         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
44054         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
44055         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
44056         __libc_allocate_rtsig_private.
44057         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
44058         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
44059         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
44060         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
44061         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
44062         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
44063         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
44064         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
44065         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
44066         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
44067         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
44068         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
44069         * nptl/internaltypes.h: ... here.
44070         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
44071         * sysdeps/nptl/jmp-unwind.c: ... here.
44072         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
44073         * nptl/libc-lowlevellock.c: ... here.
44074         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
44075         * nptl/libc_multiple_threads.c: ... here.
44076         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
44077         * nptl/libc_pthread_init.c: ... here.
44078         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
44079         * nptl/lowlevelbarrier.sym: ... here.
44080         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
44081         * nptl/lowlevelcond.sym: ... here.
44082         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
44083         * nptl/lowlevellock.c: ... here.
44084         * nptl/lowlevellock.h: Moved ...
44085         * sysdeps/nptl/lowlevellock.h: ... here.
44086         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
44087         * nptl/lowlevelrobustlock.c: ... here.
44088         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
44089         * nptl/lowlevelrobustlock.sym: ... here.
44090         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
44091         * nptl/lowlevelrwlock.sym: ... here.
44092         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
44093         * nptl/pt-fork.c: ... here.
44094         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
44095         * nptl/pthread-pi-defines.sym: ... here.
44096         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
44097         * nptl/pthread_attr_getaffinity.c: ... here.
44098         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
44099         * nptl/pthread_attr_setaffinity.c: ... here.
44100         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
44101         * nptl/pthread_mutex_cond_lock.c: ... here.
44102         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
44103         Update #include.
44104         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
44105         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
44106         * nptl/pthread_once.c: ... here, replacing old file.
44107         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
44108         * nptl/pthread_yield.c: ... here.
44109         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
44110         * nptl/register-atfork.c: ... here.
44111         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
44112         * nptl/sem_post.c: ... here.
44113         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
44114         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
44115         * nptl/sem_timedwait.c: ... here.
44116         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
44117         * nptl/sem_trywait.c: ... here.
44118         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
44119         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
44120         * nptl/sem_wait.c: ... here.
44121         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
44122         * nptl/structsem.sym: ... here.
44123         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
44124         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
44125         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
44126         * nptl/unregister-atfork.c: ... here.
44127         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
44128         * nptl/unwindbuf.sym: ... here.
44129         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
44130         * sysdeps/nptl/fork.c: ... here.
44131         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
44132         * sysdeps/nptl/fork.h: ... here.
44133         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
44134         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
44135         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
44136         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
44137         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
44138         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
44139         * sysdeps/unix/sysv/linux/getpid.c: ... here.
44140         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
44141         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
44142         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
44143         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
44144         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
44145         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
44146         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
44147         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
44148         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
44149         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
44150         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
44151         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
44152         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
44153         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
44154         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
44155         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
44156         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
44157         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
44158         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
44159         * sysdeps/unix/sysv/linux/raise.c: ... here.
44160         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
44161         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
44162         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
44163         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
44164         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
44165         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
44166         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
44167         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
44168         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
44169         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
44170         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
44171         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
44172         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
44173         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
44174         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
44176 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44178         * sysdeps/generic/memcopy.h: Add comment for
44179         MEMCPY_OK_FOR_FWD_MEMMOVE.
44181 2014-07-04  Will Newton  <will.newton@linaro.org>
44183         * string/memchr.c: Merge from gnulib.
44184         [_LIBC]: Remove conditionals.
44185         (__ptr_t): Remove define.
44186         (LONG_MAX_32_BITS): Likewise.
44187         (LONG_MAX): Likewise.
44188         (MEMCHR): Use ANSI prototype and optimize algorithm.
44190         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
44192 2014-07-03  Roland McGrath  <roland@hack.frob.com>
44194         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
44195         (lll_futex_timed_wait_bitset): Fix syscall argument count.
44197         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
44198         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
44199         in a bare environment with no <stdlib.h> installed.
44200         * sysdeps/nptl/configure: Regenerated.
44202         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
44204         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
44205         AC_EGREP_CPP for kernel header checks, so they only succeed if
44206         including <linux/version.h> actually works right.
44207         * sysdeps/unix/sysv/linux/configure: Regenerated.
44209         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
44210         value so it's not diagnosed as unused.
44212         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
44213         thing) with "ifeq ($(subdir),rt)".
44215 2014-07-03  Richard Henderson  <rth@redhat.com>
44217         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
44218         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
44219         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
44221         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
44222         (math_force_eval): New.
44224         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
44225         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
44227         * sysdeps/alpha/fpu/s_round.c: Remove file.
44228         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
44230         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
44231         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
44232         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
44233         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
44234         (_dl_start, print_statistics): Likewise.
44235         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
44236         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
44238         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44239         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44240         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44241         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44242         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
44243         (HP_SMALL_TIMING_AVAIL): Define.
44244         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44245         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
44246         (HP_SMALL_TIMING_AVAIL): Define.
44247         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44248         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44250         * sysdeps/aarch64/hp-timing.h: New file.
44252         * sysdeps/generic/hp-timing.h: Remove dead comment.
44253         * sysdeps/generic/hp-timing-common.h: New file.
44254         * sysdeps/alpha/hp-timing.h: Include it.
44255         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
44256         * sysdeps/i386/i686/hp-timing.h: Likewise.
44257         * sysdeps/ia64/hp-timing.h: Likewise.
44258         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44259         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44260         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44261         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44262         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
44263         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
44264         (hp_timing_t): New.
44266         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
44267         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
44268         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
44269         * elf/rtld.c (_dl_start_final): Likewise.
44270         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
44271         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44272         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44273         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44274         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44275         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
44276         (HP_TIMING_DIFF_INIT): Remove.
44277         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44278         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
44279         (HP_TIMING_DIFF_INIT): Remove.
44280         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44281         * sysdeps/i386/i686/hp-timing.c: Remove file.
44282         * sysdeps/x86_64/hp-timing.c: Remove file.
44283         * sysdeps/ia64/hp-timing.c: Remove file.
44284         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
44285         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
44286         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
44287         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
44289         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
44290         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
44291         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
44292         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
44293         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
44294         (HP_TIMING_ACCUM): Remove.
44295         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
44296         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
44297         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
44299         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
44300         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
44301         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
44302         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
44303         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
44304         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
44305         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
44306         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
44308         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
44310 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
44312         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
44314 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44316         Sync up with gettext.
44317         * intl/loadmsgcat.c: Define O_BINARY if not defined.
44318         [_MSC_VER]: Include malloc.h
44319         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
44320         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
44321         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
44322         TEMP_FAILURE_RETRY.  Cast return of alloca.
44323         [!_LIBC] Call gl_rwlock_init.
44324         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
44326 2014-07-02  Roland McGrath  <roland@hack.frob.com>
44328         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
44329         before checking its value.
44331 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44333         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
44335         * debug/memcpy_chk.c: Don't include pagecopy.h.
44336         * debug/mempcpy_chk.c: Likewise.
44337         * string/memcpy.c: Likewise.
44338         * string/memmove.c: Likewise.
44339         * sysdeps/powerpc/memmove.c: Likewise.
44340         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
44341         definition of PAGE_COPY_FWD_MAYBE here...
44342         * sysdeps/generic/pagecopy.h: ... from here.
44343         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
44345 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
44346             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44348         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
44349         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
44350         optimizations.
44351         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44352         (__libc_ifunc_impl_list): Likewise.
44353         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
44354         multiarch strcat for PPC64.
44355         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
44356         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
44358 2014-07-02  Roland McGrath  <roland@hack.frob.com>
44360         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
44362 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44364         * intl/loadmsgcat.c: Remove declaration of
44365         get_sysdep_segment_value.
44366         (get_sysdep_segment_value): Use ISO C style.
44367         (_nl_load_domain): Use ISO C style.  Get rid of redundant
44368         semicolon.  Fix typo and formatting in comment.
44369         (_nl_unload_domain): Use ISO C style.
44371         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
44373 2014-07-02  Will Newton  <will.newton@linaro.org>
44375         * malloc/obstack.c: Merge from gnulib master.
44376         [HAVE_CONFIG_H]: Remove conditional code.
44377         [!_LIBC]: Include config.h.
44378         [!ELIDE_CODE]: Don't include inttypes.h, include
44379         stdint.h unconditionally.
44380         (print_and_abort): Mark as _Noreturn.
44381         (_obstack_allocated_p): Mark as __attribute_pure__.
44382         (obstack_free): Rename to __obstack_free.
44383         [!__attribute__]: Remove conditional code.
44384         * malloc/obstack.h: Merge from gnulib master.
44385         [__cplusplus]: Move conditional down.
44386         [!__attribute_pure__]: Define __attribute_pure__ here
44387         if it is not already defined.
44388         (_obstack_memory_used): Mark as __attribute_pure__.
44389         [!__obstack_free]: Define as obstack_free.
44390         [__GNUC__]: Remove check for ancient NeXT gcc.
44392 2014-07-02  Will Newton  <will.newton@linaro.org>
44393             Paul Eggert  <eggert@cs.ucla.edu>
44395         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
44397 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44399         * resolv/gethnamaddr.c: Add comment warning that the file is
44400         not maintained.
44402 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
44404         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
44405         entries.
44407         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
44408         entry for aio_cancel and aio_cancel64.
44409         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
44410         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
44411         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
44412         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
44413         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
44414         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
44415         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
44416         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
44417         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
44418         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
44419         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
44420         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
44421         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
44423 2014-07-01  Roland McGrath  <roland@hack.frob.com>
44425         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
44426         * nptl/pthread_mutex_lock.c: Likewise.
44427         * nptl/pthread_mutex_timedlock.c: Likewise.
44428         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
44430 2014-07-01  Richard henderson  <rth@redhat.com>
44432         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
44433         (__isnan, __isnanl): Remove.
44434         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
44436         * sysdeps/alpha/fpu/libm-test-ulps: Update.
44438 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
44440         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
44442 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
44444         * resolv/nss_dns/dns-host.c (getanswer_r)
44445         [MULTI_PTRS_ARE_ALIASES]: Remove code.
44447 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
44449         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44450         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
44451         undefine.
44452         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
44453         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
44455 2014-07-01  Roland McGrath <roland@hack.frob.com>
44457         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
44458         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
44460         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
44461         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
44463         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
44464         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
44465         ... here.
44466         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
44467         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
44469         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
44470         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
44471         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
44472         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
44474         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
44475         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
44476         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
44477         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
44478         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
44479         Moved ...
44480         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
44481         ... here.
44482         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
44483         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
44484         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
44485         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
44486         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
44487         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
44488         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
44489         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
44490         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
44491         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
44492         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
44493         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
44494         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
44495         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
44496         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
44497         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
44498         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
44499         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
44500         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
44501         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
44502         ... here.
44503         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
44504         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
44505         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
44506         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
44507         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
44508         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
44509         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
44510         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
44512 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
44514         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
44515         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
44516         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
44517         Add sysdep.
44519 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44521         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44523 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
44525         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
44526         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
44528         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
44530         * sysdeps/arm/libm-test-ulps: Regenerated.
44532 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
44533             Roland McGrath <roland@hack.frob.com>
44535         * test-skeleton.c (signal_handler): Kill the whole process group
44536         before killing the child individually.
44537         (main): Report any failure on `setpgid'.
44539 2014-06-30  Roland McGrath  <roland@hack.frob.com>
44541         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
44542         from _TLS_H to _ARM_NPTL_TLS_H.
44543         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
44544         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
44546 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
44548         [BZ #16539]
44549         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
44550         (__expm1l): Return argument unchanged when small but not
44551         subnormal.
44553         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
44554         include macro name.
44555         (_FP_UNPACK_RAW_1_P): Likewise.
44556         (_FP_PACK_RAW_1): Likewise.
44557         (_FP_PACK_RAW_1_P): Likewise.
44558         (_FP_MUL_MEAT_1_wide): Likewise.
44559         (_FP_MUL_MEAT_DW_1_hard): Likewise.
44560         (_FP_MUL_MEAT_1_hard): Likewise.
44561         (_FP_DIV_MEAT_1_imm): Likewise.
44562         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
44563         (_FP_DIV_MEAT_1_udiv): Likewise.
44564         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
44565         (_FP_UNPACK_RAW_2): Likewise.
44566         (_FP_UNPACK_RAW_2_P): Likewise.
44567         (_FP_PACK_RAW_2): Likewise.
44568         (_FP_PACK_RAW_2_P): Likewise.
44569         (_FP_MUL_MEAT_DW_2_wide): Likewise.
44570         (_FP_MUL_MEAT_2_wide): Likewise.
44571         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
44572         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
44573         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
44574         (_FP_MUL_MEAT_2_gmp): Likewise.
44575         (_FP_DIV_MEAT_2_udiv): Likewise.
44576         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
44577         (_FP_FRAC_SRL_4): Likewise.
44578         (_FP_FRAC_SRST_4): Likewise.
44579         (_FP_FRAC_SRS_4): Likewise.
44580         (_FP_UNPACK_RAW_4): Likewise.
44581         (_FP_UNPACK_RAW_4_P): Likewise.
44582         (_FP_PACK_RAW_4): Likewise.
44583         (_FP_PACK_RAW_4_P): Likewise.
44584         (_FP_MUL_MEAT_DW_4_wide): Likewise.
44585         (_FP_MUL_MEAT_4_wide): Likewise.
44586         (_FP_MUL_MEAT_4_gmp): Likewise.
44587         (umul_ppppmnnn): Likewise.
44588         (_FP_DIV_MEAT_4_udiv): Likewise.
44589         (__FP_FRAC_ADD_4): Likewise.
44590         (__FP_FRAC_SUB_3): Likewise.
44591         (__FP_FRAC_SUB_4): Likewise.
44592         (__FP_FRAC_DEC_3): Likewise.
44593         (__FP_FRAC_DEC_4): Likewise.
44594         (__FP_FRAC_ADDI_4): Likewise.
44595         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
44596         (_FP_FRAC_SRL_8): Likewise.
44597         (_FP_FRAC_SRS_8): Likewise.
44599         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
44600         include macro name.
44601         (FP_UNPACK_RAW_EP): Likewise.
44602         (FP_PACK_RAW_E): Likewise.
44603         (FP_PACK_RAW_EP): Likewise.
44604         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
44605         (_FP_ISSIGNAN): Likewise.
44606         (_FP_ADD_INTERNAL): Likewise.
44607         (_FP_FMA): Likewise.
44608         (_FP_CMP): Likewise.
44609         (_FP_SQRT): Likewise.
44610         (_FP_TO_INT): Likewise.
44611         (_FP_FROM_INT): Likewise.
44612         (FP_EXTEND): Likewise.
44613         (_FP_DIV_MEAT_N_loop): Likewise.
44615 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
44617         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
44618         throughout.
44620 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
44622         [BZ #17097]
44623         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
44624         result with correct sign in case of exponents that produce
44625         overflow except for X very close to 1.
44627 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
44629         mktime: merge #if/#ifdef usage from glibc
44630         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
44631         as that works with both Glibc's and Gnulib's style.
44632         See thread starting at Siddhesh Poyarekar's bug report at:
44633         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
44635 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44637         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
44638         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
44639         * sysdeps/tile/tilegx/memmove.c: Remove file.
44641 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
44643         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
44644         abi-name definition.
44645         * scripts/soversions.awk: Do not handle or generate ABI lines.
44646         * shlib-versions: Remove ABI entries.
44647         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
44648         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
44650 2014-06-27  Roland McGrath  <roland@hack.frob.com>
44652         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
44653         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
44654         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
44655         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
44656         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
44657         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
44658         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
44659         Moved ...
44660         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
44661         ... here.
44662         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
44663         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
44664         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
44665         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
44666         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
44667         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
44668         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
44669         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
44670         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
44671         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
44672         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
44673         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
44674         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
44675         Moved ...
44676         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
44677         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
44678         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
44679         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
44680         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
44681         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
44682         Moved ...
44683         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
44684         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
44685         Moved ...
44686         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
44687         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
44688         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
44689         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
44690         Moved ...
44691         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
44692         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
44693         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
44694         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
44695         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
44696         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
44697         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
44698         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
44699         Moved ...
44700         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
44701         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
44702         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
44703         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
44704         Moved ...
44705         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
44706         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
44707         Moved ...
44708         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
44709         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
44710         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
44711         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
44712         Moved ...
44713         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
44714         ... here.
44715         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
44716         Identical file removed.
44717         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
44718         Moved ...
44719         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
44720         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
44721         Identical file removed.
44722         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
44723         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
44724         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
44725         Moved ...
44726         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
44727         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
44728         Identical file removed.
44729         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
44730         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
44731         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
44732         Identical file removed.
44733         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
44734         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
44735         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
44736         Identical file removed.
44737         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
44738         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
44739         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
44740         Identical file removed.
44741         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
44742         Moved ...
44743         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
44744         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
44745         Identical file removed.
44746         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
44747         Moved ...
44748         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
44749         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
44750         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
44751         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
44752         Identical file removed.
44753         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
44754         Moved ...
44755         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
44756         ... here.
44757         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
44758         Identical file removed.
44759         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
44760         Moved ...
44761         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
44762         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
44763         Identical file removed.
44764         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
44765         Moved ...
44766         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
44767         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
44768         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
44769         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
44770         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
44771         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
44772         Moved ...
44773         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
44774         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
44775         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
44777         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
44778         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
44779         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
44780         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
44781         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
44783 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
44785         [BZ #17092]
44786         * nscd/nscd.c (monitor_child): Return exit status of child
44787         instead of return value from wait syscall.
44789 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
44791         * configure.ac (libc_commonpagesize): Remove variable.
44792         (libc_relro_required): Likewise.
44793         (libc_cv_z_relro): Remove configure test.
44794         * configure: Regenerated.
44795         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
44796         variable.
44797         (libc_relro_required): Likewise.
44798         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
44799         (libc_relro_required): Likewise.
44800         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
44801         (libc_relro_required): Likewise.
44802         * sysdeps/arm/preconfigure: Regenerated.
44803         * sysdeps/ia64/preconfigure: Remove file.
44804         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
44805         variable.
44806         (libc_relro_required): Likewise.
44808         [BZ #16561]
44809         [BZ #16562]
44810         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
44811         (__ieee754_yn): Set FE_TONEAREST mode internally and then
44812         recompute overflowing results in original rounding mode.
44813         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
44814         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
44815         recompute overflowing results in original rounding mode.
44816         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
44817         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
44818         recompute overflowing results in original rounding mode.
44819         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
44820         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
44821         recompute overflowing results in original rounding mode.
44822         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
44823         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
44824         recompute overflowing results in original rounding mode.
44825         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
44826         (libc_feholdsetround_ctx): New macro.
44827         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
44828         * sysdeps/i386/fpu/libm-test-ulps: Update.
44829         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
44831 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
44833         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
44834         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
44835         corresponding .cpsetup call.
44837 2014-06-26  Roland McGrath  <roland@hack.frob.com>
44839         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
44840         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
44841         * sysdeps/arm/Makefile [$(subdir) = csu]
44842         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
44843         (static-only-routines): Add aeabi_read_tp here.
44844         (shared-only-routines): Add libc-aeabi_read_tp here.
44845         (CFLAGS-libc-start.c): Add -fexceptions here.
44846         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
44847         (sysdep_routines, static-only-routines, shared-only-routines):
44848         Don't add to these here.
44849         (CFLAGS-libc-start.c): Likewise.
44851         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
44852         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
44853         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
44854         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
44855         * sysdeps/arm/Makefile [$(subdir) = rt]
44856         (librt-sysdep_routines, librt-shared-only-routines):
44857         Append rt-aeabi_unwind_cpp_pr1 here.
44858         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
44859         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
44860         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
44861         (libpthread-sysdep_routines, libpthread-shared-only-routines):
44862         Append nptl-aeabi_unwind_cpp_pr1 here.
44863         (tests): Filter out tst-cleanupx4 here.
44864         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
44865         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
44866         Don't do those here.
44868 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
44870         * scripts/list-sources.sh: Do not handle ports specially.
44872 2014-06-26  Roland McGrath  <roland@hack.frob.com>
44874         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
44875         * sysdeps/arm/feupdateenv.c: Likewise.
44877         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
44879 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
44881         * manual/texinfo.tex: Update to version 2014-05-05.10 with
44882         trailing whitespace removed.
44883         * scripts/config.guess: Update to version 2014-03-23.
44884         * scripts/config.sub: Update to version 2014-05-01
44885         * scripts/install-sh: Update to version 2013-12-25.23.
44886         * scripts/move-if-change: Update from gnulib.
44888 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44890         * debug/memmove_chk.c: Remove pagecopy.h include.
44892 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
44894         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
44895         identical to gnulib mktime.
44897 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
44899         * configure.ac: Do not test for machine being rs6000.  Do not test
44900         for powerpc*-*soft.
44901         * configure: Regenerated.
44903         [BZ #11505]
44904         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
44905         test.
44906         * configure: Regenerated.
44907         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
44908         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
44909         Remove configure test.
44910         * sysdeps/arm/configure: Regenerated.
44911         * sysdeps/nptl/configure.ac: Do not check
44912         libc_cv_asm_cfi_directives.
44913         * sysdeps/nptl/configure: Regenerated.
44914         * sysdeps/x86_64/nptl/configure.ac: Remove file.
44915         * sysdeps/x86_64/nptl/configure: Remove generated file.
44916         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
44917         unconditional.
44918         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
44920 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44922         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
44923         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
44924         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
44925         it is defined.
44927         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
44928         instead of whether it is defined.
44929         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
44930         * sysdeps/hppa/dl-machine.h: Likewise.
44931         * sysdeps/ia64/dl-machine.h: Likewise.
44932         * sysdeps/m68k/dl-machine.h: Likewise.
44933         * sysdeps/microblaze/dl-machine.h: Likewise.
44934         * sysdeps/mips/dl-machine.: Likewise.
44935         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44936         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44937         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44938         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44939         * sysdeps/sh/dl-machine.h: Likewise.
44940         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44941         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44942         * sysdeps/tile/dl-machine.h: Likewise.
44943         * sysdeps/x86_64/dl-machine.h: Likewise.
44945         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
44946         code.
44947         (verify_persistent_db): Likewise.
44949 2014-06-26  Roland McGrath  <roland@hack.frob.com>
44951         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
44952         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
44953         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
44954         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
44955         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44956         Moved ...
44957         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
44958         ... here.
44959         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
44960         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
44961         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
44962         Identical file removed.
44963         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
44964         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
44965         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
44966         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
44967         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
44968         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
44969         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
44970         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
44971         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
44972         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
44973         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44974         Moved ...
44975         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
44976         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
44977         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
44978         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
44979         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
44980         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44981         Moved ...
44982         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
44983         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
44984         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
44985         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
44986         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
44987         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
44988         Identical file removed.
44989         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
44990         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
44991         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
44992         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
44993         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44994         Moved ...
44995         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
44996         ... here.
44997         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
44998         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
44999         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
45000         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
45001         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
45002         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
45003         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
45004         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
45005         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
45006         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
45007         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45008         Moved ...
45009         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
45010         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
45011         Moved ...
45012         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
45013         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
45014         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
45015         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45016         Moved ...
45017         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
45018         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
45019         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
45021         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
45022         folded into ...
45023         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
45024         * sysdeps/unix/sysv/linux/s390/Versions
45025         (libpthread: GLIBC_2.19): New version set.
45026         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
45027         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
45028         (librt: GLIBC_2.3.3): New version set.
45029         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
45030         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
45031         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
45032         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
45033         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
45034         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
45035         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
45036         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
45037         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
45038         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
45039         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
45040         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
45041         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
45042         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
45043         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
45044         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
45045         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
45046         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
45047         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
45048         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
45049         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
45050         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
45051         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
45052         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
45053         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
45054         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
45055         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
45056         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
45057         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
45058         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
45059         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
45060         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
45061         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
45062         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
45063         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
45064         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
45065         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
45066         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
45067         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
45068         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
45069         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
45070         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
45071         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
45072         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
45073         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
45075         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
45076         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
45077         (__libc_vfork): Define the function under this name.
45078         [!NOT_IN_libc] (__vfork): Make this an alias.
45079         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
45080         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
45081         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
45082         (__libc_vfork): Define the function under this name.
45083         [!NOT_IN_libc] (__vfork): Make this an alias.
45084         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
45085         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
45086         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
45087         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
45088         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
45089         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
45091         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
45092         code that was previously under [RESET_PID].
45093         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
45094         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
45095         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
45097         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
45098         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
45099         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
45100         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
45101         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
45102         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
45103         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
45104         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
45105         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
45106         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
45107         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
45108         Moved ...
45109         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
45110         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
45111         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
45112         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
45113         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
45114         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
45115         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
45116         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
45117         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
45118         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
45119         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
45120         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
45121         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
45122         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
45123         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
45124         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
45125         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
45126         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
45127         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
45128         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
45129         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
45130         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
45131         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
45132         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
45133         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
45134         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
45135         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
45136         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
45137         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
45139 2014-06-25  Roland McGrath  <roland@hack.frob.com>
45141         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
45142         that was previously under [RESET_PID].
45143         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
45145 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
45147         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
45148         not undefine and redefine.
45149         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
45150         [O_CLOEXEC]: Make code unconditional.
45151         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
45152         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
45153         <kernel-features.h>.
45154         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
45155         conditional variable definition.
45156         (shm_open) [O_CLOEXEC]: Make code unconditional.
45157         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
45158         code.
45160         * configure.ac (USE_REGPARMS): Don't define here.
45161         * configure: Regenerated.
45162         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
45163         * sysdeps/i386/configure: Regenerated.
45165         * nptl/createthread.c: Don't include kernel-features.h.
45166         * nptl/pthread_cancel.c: Likewise.
45167         * nptl/pthread_condattr_setclock.c: Likewise.
45168         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
45169         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
45170         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
45171         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
45172         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
45173         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
45174         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
45175         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
45176         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
45177         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
45178         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
45179         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
45180         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
45181         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
45182         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
45183         * nscd/gai.c: Likewise.
45184         * nss/nss_db/db-open.c: Likewise.
45185         * sysdeps/generic/ldsodefs.h: Likewise.
45186         * sysdeps/sh/nptl/tls.h: Likewise.
45187         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
45188         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
45189         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
45190         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
45191         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
45192         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
45193         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
45194         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
45195         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
45196         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
45197         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
45198         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
45199         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
45200         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
45201         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
45202         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
45203         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
45204         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
45205         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
45206         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
45207         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
45208         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
45209         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
45210         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
45211         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
45212         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
45213         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
45214         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
45215         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
45216         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
45217         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
45218         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
45219         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
45220         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
45221         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
45222         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
45223         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
45224         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
45225         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
45226         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
45227         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
45228         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
45229         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
45230         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
45231         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
45232         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
45233         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
45234         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
45235         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
45236         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
45237         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
45238         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
45239         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
45240         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
45241         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
45242         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
45243         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
45244         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
45245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
45246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
45247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
45248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
45249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
45250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
45251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
45252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
45253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
45254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
45255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
45256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
45257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
45258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
45259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
45260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
45261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
45262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
45263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
45264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
45265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
45266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
45267         * sysdeps/unix/sysv/linux/pread.c: Likewise.
45268         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
45269         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
45270         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
45271         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
45272         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
45273         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
45274         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
45275         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
45276         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
45277         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
45278         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
45279         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
45280         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
45281         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
45282         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
45283         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
45284         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
45285         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
45286         * sysdeps/unix/sysv/linux/system.c: Likewise.
45287         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
45288         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
45289         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
45290         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
45291         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
45292         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
45293         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
45295         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
45296         * configure: Regenerated.
45297         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
45299         * configure.ac (base_machine): Do not set specially for particular
45300         machines here.
45301         * configure: Regenerated.
45302         * sysdeps/powerpc/preconfigure: Move machine and base_machine
45303         settings from configure.ac.
45304         * sysdeps/i386/preconfigure: New file.
45305         * sysdeps/s390/preconfigure: Likewise.
45306         * sysdeps/sh/preconfigure: Likewise.
45307         * sysdeps/sparc/preconfigure: Likewise.
45309 2014-06-25  Roland McGrath  <roland@hack.frob.com>
45311         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
45312         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
45313         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
45314         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
45315         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
45316         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
45317         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
45318         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
45319         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
45320         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
45321         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
45322         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
45323         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
45324         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
45325         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
45326         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
45327         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
45328         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
45329         * sysdeps/sparc/sparc64/Makefile: ... appended here.
45331         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
45332         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
45333         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
45334         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
45335         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
45336         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
45337         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
45338         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
45339         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
45340         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
45341         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
45342         * sysdeps/sparc/sparc32/sem_post.c: ... here.
45343         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
45344         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
45345         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
45346         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
45347         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
45348         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
45349         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
45350         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
45351         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
45352         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
45353         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
45354         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
45355         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
45356         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
45357         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
45358         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
45359         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
45360         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
45361         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
45362         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
45363         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
45364         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
45365         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
45366         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
45367         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
45368         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
45370         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
45371         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
45372         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
45373         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
45374         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45375         Moved ...
45376         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
45377         ... here.
45378         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
45379         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
45380         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
45381         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
45382         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
45383         Moved ...
45384         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
45385         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
45386         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
45387         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
45388         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
45389         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
45390         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
45391         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45392         Moved ...
45393         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
45394         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45395         Moved ...
45396         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
45397         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
45398         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
45399         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45400         Moved ...
45401         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
45402         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
45403         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
45404         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
45405         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
45406         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
45407         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
45408         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
45409         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
45410         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45411         Moved ...
45412         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
45413         ... here.
45414         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
45415         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
45416         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
45417         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
45418         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
45419         Moved ...
45420         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
45421         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
45422         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
45423         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
45424         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
45425         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
45426         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
45427         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45428         Moved ...
45429         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
45430         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45431         Moved ...
45432         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
45433         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
45434         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
45435         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
45436         Moved ...
45437         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
45438         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
45439         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
45440         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
45441         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
45443 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
45445         * timezone/checktab.awk: Update from tzcode 2014e.
45446         * timezone/private.h: Likewise.
45447         * timezone/tzfile.h: Likewise.
45448         * timezone/zdump.c: Likewise.
45449         * timezone/zic.c: Likewise.
45451         * sysdeps/unix/sysv/linux/kernel-features.h
45452         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
45453         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
45454         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
45455         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
45456         Remove conditional code.
45458 2014-06-25  Will Newton  <will.newton@linaro.org>
45460         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
45461         (_dl_arm_cap_flags): Add HWCAP2 values.
45462         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
45463         (_DL_HWCAP_COUNT): Increase to 37.
45464         (_DL_HWCAP_LAST): New define.
45465         (_DL_HWCAP2_LAST): New define.
45466         (_dl_procinfo): Add support for printing
45467         AT_HWCAP2 entries.
45468         (_dl_string_hwcap): Use _dl_hwcap_string.
45470 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45472         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45474 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
45476         * README: Do not mention ports directory.
45478         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
45479         Remove macro.
45480         * sysdeps/unix/sysv/linux/futimes.c: Do not include
45481         <kernel-features.h>.
45482         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
45483         conditional variable definition.
45484         (__futimes): Update comment.
45485         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
45486         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
45488         [BZ #16560]
45489         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
45490         arguments close to 0.
45491         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
45492         Likewise.
45493         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
45494         Likewise.
45495         * math/auto-libm-test-in: Add more tests of exp10.
45496         * math/auto-libm-test-out: Regenerated.
45497         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45499         * sysdeps/unix/sysv/linux/kernel-features.h
45500         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
45501         * sysdeps/unix/sysv/linux/readv.c: Do not include
45502         <kernel-features.h>.
45503         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
45504         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
45505         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
45506         unconditional.
45507         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
45508         conditional code.
45509         * sysdeps/unix/sysv/linux/writev.c: Do not include
45510         <kernel-features.h>.
45511         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
45512         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
45513         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
45514         unconditional.
45515         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
45516         conditional code.
45518 2014-06-25  Will Newton  <will.newton@linaro.org>
45520         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
45521         comment changes throughout the file.  Remove checks
45522         for HAVE_*_H definitions that are not required.
45523         (__gen_tempname): Call abort if an unknown kind value is
45524         passed.
45526 2014-06-25  Andreas Schwab  <schwab@suse.de>
45528         [BZ #17086]
45529         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
45530         scalbln, scalblnf, scalblnl in libc.
45532 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45534         [BZ #17086]
45535         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
45536         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
45537         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
45539 2014-06-24  Roland McGrath  <roland@hack.frob.com>
45541         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
45542         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
45543         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
45544         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
45545         Update #include.
45546         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
45547         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
45548         Update #include.
45549         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
45550         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
45551         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
45552         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
45553         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
45554         * sysdeps/x86/bits/pthreadtypes.h: ... here.
45555         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
45556         * sysdeps/x86/bits/semaphore.h: ... here.
45557         * sysdeps/x86/nptl/elide.h: Moved ...
45558         * sysdeps/x86/elide.h: ... here.
45559         * sysdeps/x86_64/nptl/Implies: File removed.
45560         * sysdeps/i386/nptl/Implies: File removed.
45562 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
45564         [BZ #16539]
45565         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
45566         return the argument for normal arguments with exponent below -64.
45567         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
45568         Likewise.
45569         * math/auto-libm-test-in: Add another test of expm1.
45570         * math/auto-libm-test-out: Regenerated.
45572         [BZ #16287]
45573         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
45574         calling __erfcl for arguments at least 16.
45575         * math/auto-libm-test-in: Add more tests of erf.
45576         * math/auto-libm-test-out: Regenerated.
45578         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
45579         individual architectures.
45580         * sysdeps/unix/sysv/linux/configure: Regenerated.
45581         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
45582         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
45583         * sysdeps/unix/sysv/linux/powerpc/configure.ac
45584         (ldd_rewrite_script): Define variable.
45585         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
45586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
45587         file.
45588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
45589         generated file.
45590         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
45591         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
45592         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
45593         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
45594         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
45595         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
45596         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
45597         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
45599 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45601         [BZ #17084]
45602         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
45603         Rename member __data.d to __data.__elision_data.
45605 2014-06-24  Wilco  <wdijkstr@arm.com>
45607         * NEWS: Add 16918 to fixed bug list.
45609 2014-06-24  Wilco  <wdijkstr@arm.com>
45611         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
45613 2014-06-24  Wilco  <wdijkstr@arm.com>
45615         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
45616         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
45617         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
45618         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
45619         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
45620         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
45621         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
45622         Use _FPU_MASK_RM.
45624 2014-06-24  Wilco  <wdijkstr@arm.com>
45626         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
45628 2014-06-24  Wilco  <wdijkstr@arm.com>
45630         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
45631         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
45632         * sysdeps/arm/fesetround.c (fesetround): Remove space.
45633         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
45635 2014-06-24  Wilco  <wdijkstr@arm.com>
45637         [BZ #16918]
45638         * sysdeps/arm/feupdateenv.c (feupdateenv):
45639         Rewrite to reduce FPSCR accesses and fix return value.
45641 2014-06-24  Wilco  <wdijkstr@arm.com>
45643         * sysdeps/arm/fclrexcpt.c (feclearexcept):
45644         Optimize to avoid unnecessary FPSCR writes.
45645         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
45646         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
45647         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
45648         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
45650 2014-06-24  Wilco  <wdijkstr@arm.com>
45652         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
45653         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
45654         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
45655         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
45656         Call libc_fetestexcept_vfp.
45657         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
45658         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
45659         __SOFTFP__ ifdef so that they can be built for softfp.
45661 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45663         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
45664         argument type signed char.
45666         * Makerules (check-abi): Dump diff of symlist if the test
45667         fails.
45669 2014-06-23  Roland McGrath  <roland@hack.frob.com>
45671         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
45672         using abort.
45674         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
45675         Remove unused variable ST.
45677 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
45679         [BZ #16354]
45680         [BZ #17061]
45681         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
45682         small arguments before calling __expm1.
45683         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
45684         small arguments before calling __expm1f.
45685         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
45686         small arguments before calling __expm1l.
45687         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
45688         Likewise.
45689         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
45690         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
45691         spurious underflow for some cosh tests.
45692         * math/auto-libm-test-out: Regenerated.
45693         * sysdeps/i386/fpu/libm-test-ulps: Update.
45695         [BZ #17050]
45696         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
45697         (__ieee754_y1): Set errno if return value overflows.
45698         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
45699         (__ieee754_y1f): Set errno if return value overflows.
45700         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
45701         (__ieee754_y1l): Set errno if return value overflows.
45702         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
45703         (__ieee754_y1l): Set errno if return value overflows.
45704         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
45705         * math/auto-libm-test-out: Regenerated.
45707         * math/gen-auto-libm-tests.c: Document use of
45708         ignore-zero-inf-sign.
45709         (input_flag_type): Add value flag_ignore_zero_inf_sign.
45710         (input_flags): Add ignore-zero-inf-sign.
45711         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
45712         * math/gen-libm-test.pl (generate_testfile): Handle
45713         ignore-zero-inf-sign.
45714         * math/auto-libm-test-in: Mark some cpow tests with
45715         ignore-zero-inf-sign and some with xfail-rounding.
45716         * math/auto-libm-test-out: Regenerated.
45717         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
45718         * sysdeps/i386/fpu/libm-test-ulps: Update.
45719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45721         [BZ #16315]
45722         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
45723         overflowing or underflowing operations take place with sign of
45724         result.
45725         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45726         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
45727         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
45728         (__ieee754_pow): Recompute overflowing and underflowing results in
45729         original rounding mode.
45730         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
45731         (__powl_helper): Allow negative argument X and scale negated value
45732         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
45733         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
45734         overflowing or underflowing operations take place with sign of
45735         result.
45736         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
45737         Include <math.h>.
45738         * math/auto-libm-test-in: Add more tests of pow.
45739         * math/auto-libm-test-out: Regenerated.
45740         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
45741         (pow_tonearest_test_data): Remove.
45742         (pow_test_tonearest): Likewise.
45743         (pow_towardzero_test_data): Likewise.
45744         (pow_test_towardzero): Likewise.
45745         (pow_downward_test_data): Likewise.
45746         (pow_test_downward): Likewise.
45747         (pow_upward_test_data): Likewise.
45748         (pow_test_upward): Likewise.
45749         (main): Don't call removed functions.
45750         * sysdeps/i386/fpu/libm-test-ulps: Update.
45751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45753 2014-06-23  Roland McGrath  <roland@hack.frob.com>
45755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
45756         Moved ...
45757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
45758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45759         Moved ...
45760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
45761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45762         Moved ...
45763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
45764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
45765         Moved ...
45766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
45767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
45768         File removed.
45769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45770         File removed.
45771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
45772         File removed.
45773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
45774         File removed.
45775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
45776         File removed.
45777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
45778         File removed.
45779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
45780         File removed.
45781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45782         File removed.
45783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
45784         File removed.
45785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45786         File removed.
45787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
45788         File removed.
45789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
45790         File removed.
45791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
45792         Moved ...
45793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
45794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
45795         Moved ...
45796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
45797         ... here.
45798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
45799         Moved ...
45800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
45801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
45802         Moved ...
45803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
45804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
45805         Moved ...
45806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
45807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
45808         Moved ...
45809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
45810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
45811         Moved ...
45812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
45813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
45814         Moved ...
45815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
45816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
45817         Moved ...
45818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
45819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
45820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
45821         ... here.
45822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
45823         Moved ...
45824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
45825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
45826         Moved ...
45827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
45828         ... here.
45829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
45830         Moved ...
45831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
45832         ... here.
45833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
45834         Moved ...
45835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
45836         ... here.
45837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
45838         Moved ...
45839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
45840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
45841         Moved ...
45842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
45843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
45844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
45845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
45846         Moved ...
45847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
45848         ... here.
45849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45850         Moved ...
45851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
45852         ... here.
45853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
45854         Moved ...
45855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
45856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45857         Moved ...
45858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
45859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
45860         Moved ...
45861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
45862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45863         Moved ...
45864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
45865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
45866         Moved ...
45867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
45868         ... here.
45869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45870         Moved ...
45871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
45872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
45873         Moved ...
45874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
45875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45876         Moved ...
45877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
45878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
45879         Moved ...
45880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
45881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
45882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
45883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
45884         Moved ...
45885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
45886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45887         Moved ...
45888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
45889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
45890         Moved ...
45891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
45892         ... here.
45893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45894         Moved ...
45895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
45896         ... here.
45897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
45898         Moved ...
45899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
45900         ... here.
45901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45902         Moved ...
45903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
45904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
45905         Moved ...
45906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
45907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45908         Moved ...
45909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
45910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
45911         Moved ...
45912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
45913         ... here.
45914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45915         Moved ...
45916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
45917         ... here.
45918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
45919         Moved ...
45920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
45921         ... here.
45922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45923         Moved ...
45924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
45925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
45926         Moved ...
45927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
45929 2014-06-23  Will Newton  <will.newton@linaro.org>
45930             Wilco  <wdijkstr@arm.com>
45932         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
45933         implementation.  Include get-rounding-mode.h.
45934         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
45935         [!libc_feholdsetround_noex_ctx]: Define
45936         libc_feholdsetround_noex_ctx.
45937         [!libc_feholdsetround_noexf_ctx]: Define
45938         libc_feholdsetround_noexf_ctx.
45939         [!libc_feholdsetround_noexl_ctx]: Define
45940         libc_feholdsetround_noexl_ctx.
45941         (libc_feholdsetround_ctx): New function.
45942         (libc_feresetround_ctx): New function.
45943         (libc_feholdsetround_noex_ctx): New function.
45944         (libc_feresetround_noex_ctx): New function.
45946 2014-06-23  Roland McGrath  <roland@hack.frob.com>
45948         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
45949         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
45950         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
45951         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
45952         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
45953         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
45955         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
45956         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
45957         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
45958         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
45959         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
45960         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
45961         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
45962         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
45963         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
45964         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
45965         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
45966         Moved ...
45967         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
45968         ... here.
45969         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
45970         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
45971         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
45972         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
45973         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
45974         Moved ...
45975         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
45976         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
45977         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
45978         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
45979         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
45980         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
45981         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
45982         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
45983         Moved ...
45984         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
45985         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
45986         Moved ...
45987         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
45988         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
45989         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
45990         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
45991         Moved ...
45992         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
45993         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
45994         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
45995         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
45996         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
45997         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
45998         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
45999         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
46000         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
46001         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
46002         Moved ...
46003         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
46004         ... here.
46005         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
46006         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
46007         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
46008         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
46009         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
46010         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
46011         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
46012         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
46013         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
46014         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
46015         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
46016         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
46017         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
46018         Moved ...
46019         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
46020         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
46021         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
46022         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
46023         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
46024         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
46025         Moved ...
46026         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
46027         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
46028         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
46029         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
46030         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
46032         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
46033         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
46034         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
46035         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
46036         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
46037         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
46038         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
46039         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
46040         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
46041         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
46042         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
46043         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
46044         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
46045         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
46046         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
46047         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
46048         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
46049         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
46050         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
46051         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
46052         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
46053         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
46054         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
46055         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
46056         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
46057         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
46058         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
46059         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
46061 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
46063         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
46064         (FALLOC_FL_COLLAPSE_RANGE): New macro.
46065         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
46066         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
46067         (IPV6_PMTUDISC_INTERFACE): Likewise.
46068         (IPV6_PMTUDISC_OMIT): Likewise.
46070 2014-06-23  Andreas Schwab  <schwab@suse.de>
46072         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
46073         Remove unused errout label.
46075 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46077         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
46078         macro: hardware supports Vector Crypto instructions.
46080 2014-06-23  Will Newton  <will.newton@linaro.org>
46082         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
46083         rather than __builtin_expect.
46085         * elf/dl-lookup.c (undefined_msg): Remove variable.
46086         (_dl_lookup_symbol_x): Replace undefined_msg with string
46087         literal.
46089         * elf/dl-lookup.c (do_lookup_unique): New function.
46090         (do_lookup_x): Move STB_GNU_UNIQUE handling code
46091         to a separate function.
46093 2014-06-23  Andreas Schwab  <schwab@suse.de>
46095         [BZ #17079]
46096         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
46097         before reading the next line.
46099 2014-06-23  Will Newton  <will.newton@linaro.org>
46101         * test-skeleton.c (signal_handler): Use printf and %m
46102         rather than perror.  Use printf rather than fprintf to
46103         stderr.  Use puts rather than fputs to stderr.
46104         (main): Likewise.
46106 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
46108         * nscd/nscd.c (thread_info_t): Remove typedef.
46109         (thread_info): Remove variable.
46111 2014-06-21  Allan McRae  <allan@archlinux.org>
46113         * NEWS: Mention CVE-2014-4043.
46115 2014-06-20  Roland McGrath  <roland@hack.frob.com>
46117         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
46118         * nptl/smp.h: ... here.
46120         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
46122         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
46123         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
46124         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
46125         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
46127         * nptl/allocatestack.c: Include <stack-aliasing.h>.
46128         * nptl/stack-aliasing.h: New file.
46129         * sysdeps/i386/i686/stack-aliasing.h: New file.
46130         * sysdeps/i386/i686/nptl/Makefile: File removed.
46131         * sysdeps/x86_64/stack-aliasing.h: New file.
46132         * sysdeps/x86_64/nptl/Makefile
46133         (CFLAGS-pthread_create.c): Variable removed.
46135         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
46136         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
46137         old file.
46138         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
46139         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
46140         old file.
46142 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
46144         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46145         (__ASSUME_SIGFRAME_V2): Remove macro.
46146         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
46147         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
46148         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
46149         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
46150         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
46151         Declare as function.  Remove conditional macro definitions.
46152         (__default_rt_sa_restorer): Likewise.
46153         (__default_sa_restorer_v1): Remove declaration.
46154         (__default_sa_restorer_v2): Likewise.
46155         (__default_rt_sa_restorer_v1): Likewise.
46156         (__default_rt_sa_restorer_v2): Likewise.
46157         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
46158         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
46159         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
46161 2014-06-20  Roland McGrath  <roland@hack.frob.com>
46163         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
46164         (libpthread-routines): Add sysdep.
46165         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
46166         * sysdeps/unix/sysv/linux/sparc/Versions
46167         (libpthread: GLIBC_2.3.3): New version set.
46168         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
46169         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
46170         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
46171         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
46172         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
46173         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
46174         Moved ...
46175         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
46176         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
46177         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
46178         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
46179         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
46180         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
46181         * sysdeps/sparc/nptl/sem_init.c: ... here.
46182         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
46183         * sysdeps/sparc/nptl/sem_post.c: ... here.
46184         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
46185         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
46186         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
46187         * sysdeps/sparc/nptl/sem_wait.c: ... here.
46188         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
46189         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
46190         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
46191         (libpthread-routines): Add cpu_relax.
46192         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
46193         File removed.
46194         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
46195         (librt: GLIBC_2.3.3): New version set.
46196         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
46197         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
46198         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
46199         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
46200         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
46201         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
46202         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
46203         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
46204         Moved ...
46205         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
46206         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
46207         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
46208         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
46209         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
46210         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
46211         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
46212         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
46213         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
46214         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
46215         Moved ...
46216         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
46217         Update #include.
46218         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
46219         Moved ...
46220         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
46221         Update #include.
46222         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
46223         Moved ...
46224         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
46225         Update #include.
46226         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
46227         Moved ...
46228         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
46229         Update #include.
46230         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
46231         Moved ...
46232         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
46233         Update #include.
46234         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
46235         Moved ...
46236         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
46237         Update #include.
46238         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
46239         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
46240         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
46241         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
46242         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
46243         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
46244         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
46245         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
46246         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
46247         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
46248         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
46249         Moved ...
46250         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
46251         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
46252         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
46253         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
46254         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
46256 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
46258         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
46259         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
46260         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
46261         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
46262         * nscd/nscd.c: Likewise.
46263         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
46264         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
46265         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
46266         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
46268         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
46269         <kernel-features.h>.
46270         (init_mq_netlink): Remove conditional have_sock_cloexec
46271         definitions.  Remove code conditional on have_sock_cloexec < 0.
46272         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
46273         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
46274         * sysdeps/unix/sysv/linux/opensock.c: Do not include
46275         <kernel-features.h>.
46276         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
46277         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
46279 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
46281         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46282         Add tests for memset_chk and memset.
46284         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
46285         with AVX2_Usable.
46287 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
46289         [BZ #16046]
46290         * elf/tst-dl-iter-static.c: New file.
46291         * elf/Makefile (tests-static): Add tst-dl-iter-static.
46293         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
46294         error.
46296 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
46298         * sysdeps/unix/sysv/linux/kernel-features.h
46299         (__ASSUME_F_GETOWN_EX): Remove macro.
46300         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
46301         <kernel-features.h>.
46302         (miss_F_GETOWN_EX): Remove variable or macro.
46303         (do_fcntl): Do not check miss_F_GETOWN_EX.
46304         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
46306         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
46307         Remove macro.
46308         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
46309         [!__ASSUME_AT_RANDOM]: Remove conditional code.
46310         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
46312         * sysdeps/unix/sysv/linux/kernel-features.h
46313         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
46314         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
46315         [ADJ_OFFSET_SS_READ]: Make code unconditional.
46316         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
46318 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
46320         [BZ #17075]
46321         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
46322         Fix calculation of the symbol's value.
46323         * sysdeps/arm/tst-armtlsdescloc.c: New file.
46324         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
46325         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
46326         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
46327         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
46328         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
46329         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
46330         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
46331         (modules-names): Add `tst-armtlsdescmod',
46332         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
46333         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
46334         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
46335         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
46336         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
46337         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
46338         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
46339         ($(objpfx)tst-armtlsdescloc): New dependency.
46340         ($(objpfx)tst-armtlsdescextnow): Likewise.
46341         ($(objpfx)tst-armtlsdescextlazy): Likewise.
46342         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
46343         TLS scheme support.
46344         * sysdeps/arm/configure: Regenerate.
46346 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
46348         * include/fcntl.h (__atfct_seterrno): Remove prototype.
46349         (__atfct_seterrno_2): Likewise.
46350         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
46351         <kernel-features.h>.
46352         (__ASSUME_ATFCTS): Do not undefine and redefine.
46353         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
46354         (__have_atfcts): Remove conditional definition.
46355         (__fxstatat([__NR_fstatat64]: Make code unconditional.
46356         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
46357         unreachable if [__ASSUME_ATFCTS].
46358         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
46359         not undefine and redefine.
46360         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
46361         <kernel-features.h>.
46362         (faccessat) [__NR_faccessat]: Make code unconditional.
46363         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
46364         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
46365         <kernel-features.h>.
46366         (fchmodat) [__NR_fchmodat]: Make code unconditional.
46367         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
46368         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
46369         <kernel-features.h>.
46370         (fchownat) [__NR_fchownat]: Make code unconditional.
46371         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
46372         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
46373         <kernel-features.h>.
46374         (futimesat) [__NR_futimesat]: Make code unconditional.
46375         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
46376         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
46377         <kernel-features.h>.
46378         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
46379         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
46380         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
46381         <kernel-features.h>.
46382         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
46383         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
46384         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
46385         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
46386         <kernel-features.h>.
46387         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
46388         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
46389         * sysdeps/unix/sysv/linux/linkat.c: Do not include
46390         <kernel-features.h>.
46391         (linkat) [__NR_linkat]: Make code unconditional.
46392         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
46393         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
46394         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
46395         <kernel-features.h>.
46396         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
46397         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
46398         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
46399         <kernel-features.h>.
46400         (mkdirat) [__NR_mkdirat]: Make code unconditional.
46401         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
46402         * sysdeps/unix/sysv/linux/openat.c: Do not include
46403         <kernel-features.h>.
46404         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
46405         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
46406         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
46407         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
46408         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
46409         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
46410         <kernel-features.h>.
46411         (readlinkat) [__NR_readlinkat]: Make code unconditional.
46412         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
46413         result of INLINE_SYSCALL directly, not via int variable.
46414         * sysdeps/unix/sysv/linux/renameat.c: Do not include
46415         <kernel-features.h>.
46416         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
46417         (renameat) [__NR_renameat]: Make code unconditional.
46418         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
46419         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
46420         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
46421         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
46422         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
46423         (__ASSUME_ATFCTS): Do not undefine and redefine.
46424         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
46425         <kernel-features.h>.
46426         (symlinkat) [__NR_symlinkat]: Make code unconditional.
46427         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
46428         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
46429         <kernel-features.h>.
46430         (unlinkat) [__NR_unlinkat]: Make code unconditional.
46431         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
46432         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
46433         (__ASSUME_ATFCTS): Do not undefine and redefine.
46434         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
46435         <kernel-features.h>.
46436         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
46437         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
46438         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
46439         <kernel-features.h>.
46440         (__xmknodat) [__NR_mknodat]: Make code unconditional.
46441         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
46443 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
46445         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
46447 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
46449         [BZ #17069]
46450         * posix/regcomp.c (parse_reg_exp): Deallocate partially
46451         constructed tree before returning error.
46452         * posix/bug-regexp36.c: Expand test case.
46454 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
46456         [BZ #6803]
46457         * math/libm-test.inc (scalbln_test_date):
46458         Add errno expectations.
46459         * math/w_scalblnf.c: New File.
46460         Add wrapper which checks for setting errno to ERANGE.
46461         Add weak_alias for corresponding scalbln function.
46462         * math/w_scalbln.c: Likewise.
46463         * math/w_scalblnl.c: Likewise.
46464         * math/Makefile (libm-calls): Add w_scalbln.
46465         * sysdeps/ieee754/flt-32/s_scalblnf.c:
46466         Remove weak_alias for corresponding scalbln function.
46467         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46468         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
46469         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46470         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46471         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
46472         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
46473         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
46474         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
46475         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
46476         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
46477         Remove long_double_symbol for scalblnl function in libm, libc.
46478         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
46479         Add wrapper which checks for setting errno to ERANGE.
46480         Add long_double_symbol for scalblnl function in libm, libc.
46481         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
46482         Remove long_double_symbol for scalblnl in libm.
46483         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
46484         Add wrapper which checks for setting errno to ERANGE.
46485         Add long_double_symbol for scalblnl function in libm.
46486         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
46487         Do not use wrapper because of own implementation.
46489 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
46491         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
46492         3 bytes for __pad1 for x32.
46493         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
46495 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
46496             H.J. Lu  <hongjiu.lu@intel.com>
46498         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
46499         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
46500         * sysdeps/x86_64/multiarch/memset.S: Likewise.
46501         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
46502         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
46504 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
46506         [BZ #17069]
46507         * posix/regcomp.c (parse_expression): Deallocate partially
46508         constructed tree before returning error.
46509         * posix/Makefile.c (tests): Add bug-regex36.
46510         (generated): Add bug-regex36.mtrace.
46511         (tests-special): Add $(objpfx)bug-regex36-mem.out
46512         (bug-regex36-ENV): New variable.
46513         ($(objpfx)bug-regex36-mem.out): New rule.
46514         * posix/bug-regex36.c: New file.
46516 2014-06-19  Will Newton  <will.newton@linaro.org>
46518         * malloc/malloc.c (systrim): If extra is zero then return
46519         early.
46521 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46523         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
46525 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
46527         * sysdeps/aarch64/strchr.S: New file.
46529 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
46531         [BZ #17022]
46532         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
46533         from arguments -2 or below.
46534         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
46535         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
46537 2014-06-18  Andreas Schwab  <schwab@suse.de>
46539         [BZ #17062]
46540         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
46541         of a bracket expr not to run off the end of the string.
46542         * posix/Makefile (tests): Add tst-fnmatch3.
46543         * posix/tst-fnmatch3.c: New file.
46545 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
46547         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
46548         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
46549         [$(cross-compiling) = no]: Likewise.
46550         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
46551         [$(cross-compiling) = no]: Likewise.
46553 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
46555         [BZ #17031]
46556         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
46557         double, adjusted for any remainder from the high double.
46558         * math/libm-test.inc (nearbyint): Add tests.
46559         (rint): Likewise.
46561 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46563         * nptl/sysdeps/powerpc/Makefile: Moved ...
46564         * sysdeps/powerpc/nptl/Makefile: ... here.
46565         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
46566         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
46567         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
46568         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
46569         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
46570         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
46571         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
46572         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
46573         * nptl/sysdeps/powerpc/tls.h: Moved ...
46574         * sysdeps/powerpc/nptl/tls.h: ... here.
46576 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
46578         [BZ #16681]
46579         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
46580         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
46581         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
46582         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
46583         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
46584         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
46585         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
46586         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
46587         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
46589 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
46591         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
46593 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
46595         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
46596         defined operator.
46598         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
46599         $TIMEOUTFACTOR.
46601 2014-06-16  Florian Weimer  <fweimer@redhat.com>
46603         [BZ #17058]
46604         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
46605         non-executed part of the test.
46607 2014-06-16  Andreas Schwab  <schwab@suse.de>
46609         * string/bits/string2.h (strdup, strndup): Update feature guard.
46611 2014-06-14  David S. Miller  <davem@davemloft.net>
46613         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46615 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
46617         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
46618         that was previously under [RESET_PID].
46619         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
46621         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
46622         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
46623         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
46624         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46625         (__libc_vfork): New strong alias.
46626         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
46628 2014-06-14 Andi Kleen  <ak@linux.intel.com>
46630         * sysdeps/generic/elide.h: New file.
46632 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
46634         * Makefile (installed-headers): Adjust path of pthread.h header.
46636 2014-06-13  Roland McGrath  <roland@hack.frob.com>
46638         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
46639         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
46640         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
46641         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
46643         * nptl/sysdeps/s390/Makefile: Moved ...
46644         * sysdeps/s390/nptl/Makefile: ... here.
46645         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
46646         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
46647         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
46648         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
46649         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
46650         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
46651         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
46652         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
46653         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
46654         * sysdeps/s390/nptl/pthreaddef.h: ... here.
46655         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
46656         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
46657         * nptl/sysdeps/s390/tls.h: Moved ...
46658         * sysdeps/s390/nptl/tls.h: ... here.
46660         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
46661         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
46663 2014-06-13  David S. Miller  <davem@davemloft.net>
46665         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
46666         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
46667         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
46668         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
46669         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
46670         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
46671         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
46672         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
46673         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
46674         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
46675         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
46676         Remove RESET_PID cpp guards.
46677         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
46678         Remove RESET_PID cpp guards.
46679         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
46681 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
46683         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
46684         __sp to uintptr_t.
46686 2014-06-13  Andi Kleen  <ak@linux.intel.com>
46688         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
46689         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
46690         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
46691         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
46692         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
46693         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
46694         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
46695         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
46696         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
46697         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
46698         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
46699         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
46700         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
46701         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
46702         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
46703         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
46704         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
46705         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
46706         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
46707         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
46709         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
46710         (pthread_rwlock_rdlock): Add elision.
46711         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
46712         (pthread_rwlock_wrlock): Add elision.
46713         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
46714         (pthread_rwlock_trywrlock): Add elision.
46715         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
46716         (pthread_rwlock_tryrdlock): Add elision.
46717         * nptl/pthread_rwlock_unlock.c: Include elide.h.
46718         (pthread_rwlock_tryrdlock): Add elision unlock.
46719         * nptl/sysdeps/pthread/pthread.h:
46720         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
46721         (PTHREAD_RWLOCK_INITIALIZER,
46722         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
46723         Handle new elision field.
46724         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
46725         * sysdeps/arm/nptl/bits/pthreadtypes.h
46726         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46727         * sysdeps/sh/nptl/bits/pthreadtypes.h
46728         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46729         * sysdeps/tile/nptl/bits/pthreadtypes.h
46730         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46731         * sysdeps/a/nptl/bits/pthreadtypes.h
46732         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46733         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
46734         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46735         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
46736         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46737         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
46738         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46739         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
46740         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46741         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
46742         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46743         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
46744         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46745         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
46746         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46747         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
46748         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46749         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
46750         (elision_init): Set try_xbegin to zero when no RTM.
46751         * sysdeps/x86/nptl/bits/pthreadtypes.h
46752         (pthread_rwlock_t): Change __pad1 to __rwelision.
46753         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46755 2014-06-13  Andi Kleen  <ak@linux.intel.com>
46757         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
46758         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
46759         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
46760         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
46762 2014-06-13  Meador Inge  <meadori@codesourcery.com>
46764         [BZ #16996]
46765         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
46766         that the cached result has been set before returning it.
46768 2014-06-12  Roland McGrath  <roland@hack.frob.com>
46770         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
46771         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
46772         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
46773         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
46774         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
46775         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
46777         * nptl/sysdeps/sparc/Makefile: Moved ...
46778         * sysdeps/sparc/nptl/Makefile: ... here.
46779         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
46780         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
46781         * nptl/sysdeps/sparc/tls.h: Moved ...
46782         * sysdeps/sparc/nptl/tls.h: ... here.
46783         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
46784         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
46785         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
46786         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
46787         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
46788         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
46789         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
46790         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
46791         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
46792         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
46793         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
46794         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
46795         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
46796         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
46797         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
46798         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
46799         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
46800         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
46801         Update #include.
46802         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
46803         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
46804         Update #include.
46805         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
46806         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
46807         Update #include.
46808         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
46809         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
46810         Update #include.
46812         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
46814         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
46815         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
46817         * sysdeps/pthread/posix-timer.h: Include <list.h>.
46818         (struct list_links): Type removed.
46819         (struct thread_node, struct timer_node): Replace struct list_links
46820         with struct list_head.
46821         (list_unlink_ip): Likewise.
46822         * sysdeps/pthread/timer_routines.c
46823         (timer_free_list, thread_free_list, thread_active_list): Likewise.
46824         (list_append, list_insbefore): Likewise.
46825         (list_init): Function removed.
46826         (thread_init, init_module): Use INIT_LIST_HEAD instead.
46827         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
46828         * sysdeps/pthread/Makefile: ... here, new file.
46830         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
46831         * sysdeps/nptl/Implies: ... here.
46832         * sysdeps/unix/sysv/linux/Implies: Add nptl.
46833         * nptl/sysdeps/pthread/list.h: Moved ...
46834         * include/list.h: ... here.
46835         * nptl/sysdeps/pthread/createthread.c: Moved ...
46836         * nptl/createthread.c: ... here.
46837         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
46838         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
46839         * nptl/pt-longjmp.c: ... here.
46840         * nptl/sysdeps/pthread/Makefile: Moved ...
46841         * sysdeps/nptl/Makefile: ... here.
46842         * nptl/sysdeps/pthread/Subdirs: Moved ...
46843         * sysdeps/nptl/Subdirs: ... here.
46844         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
46845         * sysdeps/nptl/aio_misc.h: ... here.
46846         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
46847         * sysdeps/nptl/bits/libc-lock.h: ... here.
46848         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
46849         * sysdeps/nptl/bits/libc-lockP.h: ... here.
46850         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
46851         * sysdeps/nptl/bits/stdio-lock.h: ... here.
46852         * nptl/sysdeps/pthread/configure: Moved ...
46853         * sysdeps/nptl/configure: ... here.
46854         * nptl/sysdeps/pthread/configure.ac: Moved ...
46855         * sysdeps/nptl/configure.ac: ... here.
46856         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
46857         * sysdeps/nptl/gai_misc.h: ... here.
46858         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
46859         * sysdeps/nptl/librt-cancellation.c: ... here.
46860         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
46861         * sysdeps/nptl/malloc-machine.h: ... here.
46862         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
46863         * sysdeps/nptl/pthread-functions.h: ... here.
46864         * nptl/sysdeps/pthread/pthread.h: Moved ...
46865         * sysdeps/nptl/pthread.h: ... here.
46866         * nptl/sysdeps/pthread/setxid.h: Moved ...
46867         * sysdeps/nptl/setxid.h: ... here.
46868         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
46869         * sysdeps/nptl/sigfillset.c: ... here.
46870         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
46871         * sysdeps/nptl/tcb-offsets.h: ... here.
46872         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
46873         * sysdeps/nptl/tst-mqueue8x.c: ... here.
46874         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
46875         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
46876         * nptl/sysdeps/pthread/allocalim.h: Moved ...
46877         * sysdeps/pthread/allocalim.h: ... here.
46878         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
46879         * sysdeps/pthread/bits/sigthread.h: ... here.
46880         * nptl/sysdeps/pthread/flockfile.c: Moved ...
46881         * sysdeps/pthread/flockfile.c: ... here.
46882         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
46883         * sysdeps/pthread/ftrylockfile.c: ... here.
46884         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
46885         * sysdeps/pthread/funlockfile.c: ... here.
46886         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
46887         * sysdeps/pthread/posix-timer.h: ... here.
46888         * nptl/sysdeps/pthread/timer_create.c: Moved ...
46889         * sysdeps/pthread/timer_create.c: ... here.
46890         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
46891         * sysdeps/pthread/timer_delete.c: ... here.
46892         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
46893         * sysdeps/pthread/timer_getoverr.c: ... here.
46894         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
46895         * sysdeps/pthread/timer_gettime.c: ... here.
46896         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
46897         * sysdeps/pthread/timer_routines.c: ... here.
46898         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
46899         * sysdeps/pthread/timer_settime.c: ... here.
46900         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
46901         * sysdeps/pthread/tst-timer.c: ... here.
46902         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
46903         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
46905         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
46906         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
46908         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
46909         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
46910         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
46911         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
46912         Update #include target.
46913         * nptl/sysdeps/i386/i686/Makefile: Moved ...
46914         * sysdeps/i386/i686/nptl/Makefile: ... here.
46915         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
46916         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
46917         Update #include target.
46918         * nptl/sysdeps/i386/i686/tls.h: Moved ...
46919         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
46920         * nptl/sysdeps/i386/Makefile: Moved ...
46921         * sysdeps/i386/nptl/Makefile: ... here.
46922         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
46923         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
46924         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
46925         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
46926         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
46927         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
46928         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
46929         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
46930         * sysdeps/i386/nptl/pthreaddef.h: ... here.
46931         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
46932         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
46933         * nptl/sysdeps/i386/tls.h: Moved ...
46934         * sysdeps/i386/nptl/tls.h: ... here.
46936         * sysdeps/sh/Makefile [$(subdir) = csu]
46937         (gen-as-const-headers): Add tcb-offsets.sym.
46938         * nptl/sysdeps/sh/Makefile: File removed.
46939         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
46940         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
46941         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
46942         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
46943         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
46944         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
46945         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
46946         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
46947         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
46948         * sysdeps/sh/nptl/pthreaddef.h: ... here.
46949         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
46950         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
46951         * nptl/sysdeps/sh/tls.h: Moved ...
46952         * sysdeps/sh/nptl/tls.h: ... here.
46953         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
46954         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
46955         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
46956         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
46957         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
46958         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
46959         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
46960         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
46961         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
46962         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
46963         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
46964         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
46965         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
46966         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
46967         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
46968         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
46969         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
46970         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
46971         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
46972         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
46973         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
46974         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
46975         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
46976         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
46977         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
46978         Moved ...
46979         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
46980         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
46981         Moved ...
46982         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
46983         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
46984         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
46985         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
46986         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
46987         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
46988         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
46989         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
46990         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
46991         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
46992         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
46993         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
46994         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
46995         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
46996         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
46997         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
46998         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
46999         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
47000         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
47002 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
47004         * posix/spawn_faction_addopen.c: Include string.h.
47006 2014-06-11  Roland McGrath  <roland@hack.frob.com>
47008         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
47009         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
47010         * nptl/sysdeps/x86_64/Makefile: Moved ...
47011         * sysdeps/x86_64/nptl/Makefile: ... here.
47012         * nptl/sysdeps/x86_64/configure: Moved ...
47013         * sysdeps/x86_64/nptl/configure: ... here.
47014         * nptl/sysdeps/x86_64/configure.ac: Moved ...
47015         * sysdeps/x86_64/nptl/configure.ac: ... here.
47016         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
47017         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
47018         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
47019         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
47020         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
47021         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
47022         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
47023         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
47024         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
47025         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
47026         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
47027         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
47028         * nptl/sysdeps/x86_64/tls.h: Moved ...
47029         * sysdeps/x86_64/nptl/tls.h: ... here.
47030         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
47031         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
47032         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
47033         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
47035         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
47037 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47039         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47041 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
47043         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
47044         type.
47045         [POSIX] (off_t): Likewise.
47046         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
47047         [POSIX] (S_ISBLK): Require macro.
47048         [POSIX] (S_ISCHR): Likewise.
47049         [POSIX] (S_ISDIR): Likewise.
47050         [POSIX] (S_ISFIFO): Likewise.
47051         [POSIX] (S_ISREG): Likewise.
47052         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
47053         optional-macro.
47054         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
47055         type.
47056         [POSIX] (time_t): Likewise.
47057         [POSIX] (timer_t): Likewise.
47059 2014-06-11  Florian Weimer  <fweimer@redhat.com>
47061         [BZ #17048]
47062         * posix/spawn_int.h (struct __spawn_action): Make the path string
47063         non-const to support deallocation.
47064         * posix/spawn_faction_addopen.c
47065         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
47066         * posix/spawn_faction_destroy.c
47067         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
47068         path in all spawn_do_open actions.
47069         * posix/tst-spawn.c (do_test): Exercise the copy operation in
47070         posix_spawn_file_actions_addopen.
47072 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
47074         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
47075         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
47076         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
47077         conditional code always true.
47078         (__libc_vfork): New alias.
47080 2014-06-11  Roland McGrath  <roland@hack.frob.com>
47082         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47083         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
47085         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
47087         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47088         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
47090         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
47091         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
47093         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47094         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
47096 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47098         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
47099         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
47100         multiarch strcmp for PPC64.
47101         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
47102         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
47103         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
47104         multiarch optimizations.
47105         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47106         (__libc_ifunc_impl_list): Likewise.
47108 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47110         * benchtests/scripts/validate_benchout.py: New script.
47111         * benchtests/Makefile (bench-func): Call it.
47112         * benchtests/scripts/benchout.schema.json: New file.
47114 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
47116         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
47117         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
47118         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
47119         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
47120         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
47121         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
47122         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
47123         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
47124         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
47125         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
47126         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
47127         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
47128         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
47129         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
47130         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
47131         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
47132         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
47133         Moved ...
47134         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
47135         ... here.
47136         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
47137         Moved ...
47138         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
47139         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
47140         Moved ...
47141         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
47142         ... here.
47143         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
47144         Moved ...
47145         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
47146         ... here.
47147         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
47148         Moved ...
47149         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
47150         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
47151         Moved ...
47152         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
47153         ... here.
47154         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
47155         Moved ...
47156         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
47157         ... here.
47158         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
47159         Moved ...
47160         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
47161         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
47162         Moved ...
47163         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
47164         ... here.
47165         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
47166         Moved ...
47167         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
47168         ... here.
47169         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
47170         Moved ...
47171         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
47172         ... here.
47173         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
47174         Moved ...
47175         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
47176         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
47177         Moved ...
47178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
47179         ... here.
47180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
47181         Moved ...
47182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
47183         ... here.
47184         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
47185         Moved ...
47186         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
47187         ... here.
47188         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
47189         Moved ...
47190         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
47191         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
47192         Moved ...
47193         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
47194         ... here.
47195         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
47196         Moved ...
47197         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
47198         ... here.
47199         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
47200         Moved ...
47201         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
47202         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
47203         Moved ...
47204         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
47205         ... here.
47206         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
47207         Moved ...
47208         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
47209         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
47210         Moved ...
47211         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
47212         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
47213         Moved ...
47214         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
47215         ... here.
47216         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
47217         Moved ...
47218         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
47219         ... here.
47220         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
47221         Moved ...
47222         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
47223         ... here.
47224         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
47225         Moved ...
47226         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
47227         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
47228         Moved ...
47229         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
47230         ... here.
47231         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
47232         Moved ...
47233         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
47234         ... here.
47235         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
47236         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
47237         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
47238         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
47239         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
47240         Moved ...
47241         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
47242         ... here.
47243         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
47244         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
47245         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
47246         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
47247         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
47248         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
47249         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
47250         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
47251         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
47252         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
47253         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
47254         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
47255         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
47256         Moved ...
47257         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
47258         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
47259         Moved ...
47260         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
47261         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
47262         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
47263         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
47264         Moved ...
47265         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
47266         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
47267         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
47268         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
47269         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
47270         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
47271         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
47273 2014-06-10  Wilco  <wdijkstr@arm.com>
47275         * math/test-fenv-return.c: New file.
47276         * math/Makefile: Add new test test-fenv-return.
47278 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
47280         [BZ #17042]
47281         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
47282         when x - 1 is zero.
47283         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
47284         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
47285         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
47286         0.0L for an argument of 1.0L.
47287         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
47288         Likewise.
47289         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
47290         value when x - 1 is zero.
47291         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
47292         * sysdeps/i386/fpu/libm-test-ulps: Update.
47293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47295 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
47297         [BZ #15119]
47298         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
47300 2014-06-09  Roland McGrath  <roland@hack.frob.com>
47302         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
47303         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
47305 2014-06-09  Roland McGrath  <roland@hack.frob.com>
47307         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47308         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
47310         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47311         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
47313         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47314         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
47316         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47317         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
47319         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
47320         if not already defined.
47321         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
47322         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
47323         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
47324         (TLS_INIT_TP): Use it.
47325         (TLS_DEFINE_INIT_TP): New macro.
47326         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
47328 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
47330         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
47331         constant.
47332         [POSIX] (IXANY): Likewise.
47333         [POSIX] (OLCUC): Likewise.
47334         [POSIX || POSIX2008] (CBAUD): Do not allow.
47335         [POSIX || POSIX2008] (DEFECHO): Likewise.
47336         [POSIX || POSIX2008] (ECHOCTL): Likewise.
47337         [POSIX || POSIX2008] (ECHOKE): Likewise.
47338         [POSIX || POSIX2008] (ECHOPRT): Likewise.
47339         [POSIX || POSIX2008] (EXTA): Likewise.
47340         [POSIX || POSIX2008] (EXTB): Likewise.
47341         [POSIX || POSIX2008] (FLUSHO): Likewise.
47342         [POSIX || POSIX2008] (LOBLK): Likewise.
47343         [POSIX || POSIX2008] (PENDIN): Likewise.
47344         [POSIX || POSIX2008] (SWTCH): Likewise.
47345         [POSIX || POSIX2008] (VDISCARD): Likewise.
47346         [POSIX || POSIX2008] (VDSUSP): Likewise.
47347         [POSIX || POSIX2008] (VLNEXT): Likewise.
47348         [POSIX || POSIX2008] (VREPRINT): Likewise.
47349         [POSIX || POSIX2008] (VSTATUS): Likewise.
47350         [POSIX || POSIX2008] (VWERASE): Likewise.
47351         (B*): Change to B[0123456789]*.
47352         * conform/data/time.h-data [POSIX || UNIX98]
47353         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
47354         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
47355         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
47356         [POSIX] (tm_*): Do not allow.
47358 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
47360         * Makefile (install): Don't set LANGUAGE.
47361         * Makefile.in (install): Likewise.
47362         * assert/Makefile (test-assert-ENV): Remove variable.
47363         (test-assert-perr-ENV): Likewise.
47364         * elf/Makefile (neededtest4-ENV): Likewise.
47365         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
47366         [$(cross-compiling) = no]: Don't set LANGUAGE.
47367         * io/ftwtest-sh (LANG): Remove variable.
47368         * libio/Makefile (tst-widetext-ENV): Likewise.
47369         * manual/install.texi (Running make install): Don't refer to
47370         environment settings for make install.
47371         * INSTALL: Regenerated.
47372         * nptl/tst-tls6.sh: Don't set LANG.
47373         * posix/globtest.sh (LANG): Remove variable.
47374         * string/Makefile (tester-ENV): Likewise.
47375         (inl-tester-ENV): Likewise.
47376         (noinl-tester-ENV): Likewise.
47377         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
47378         [$(cross-compiling) = no]: Don't set LANGUAGE.
47379         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
47380         without explicit environment settings.
47382 2014-06-06  Roland McGrath  <roland@hack.frob.com>
47384         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
47385         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
47386         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
47387         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
47389 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
47391         * crypt/crypt-private.h [DOS]: Add some includes taken from the
47392         other files in the crypt directory.
47393         * crypt/crypt.c: Remove duplicate includes.
47394         * crypt/crypt-entry.c: Likewise.
47395         * crypt/crypt_util.c: Likewise.
47397 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
47399         * Makeconfig (run-program-env): New variable.
47400         (run-program-prefix-before-env): Likewise.
47401         (run-program-prefix-after-env): Likewise.
47402         (run-program-prefix): Define in terms of new variables.
47403         (built-program-cmd-before-env): New variable.
47404         (built-program-cmd-after-env): Likewise.
47405         (built-program-cmd): Define in terms of new variables.
47406         (test-program-prefix-before-env): New variable.
47407         (test-program-prefix-after-env): Likewise.
47408         (test-program-prefix): Define in terms of new variables.
47409         (test-program-cmd-before-env): New variable.
47410         (test-program-cmd-after-env): Likewise.
47411         (test-program-cmd): Define in terms of new variables.
47412         * Rules (make-test-out): Use $(run-program-env).
47413         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
47414         (help): Do not mention environment variables.  Mention
47415         --timeoutfactor option.
47416         (timeoutfactor): New variable.
47417         (blacklist_exports): Remove function.
47418         (exports): Remove variable.
47419         (command): Do not include ${exports}.
47420         * manual/install.texi (Configuring and compiling): Do not mention
47421         test wrappers preserving environment variables.  Mention that last
47422         assignment to a variable must take precedence.
47423         * INSTALL: Regenerated.
47424         * benchtests/Makefile (run-bench): Use $(run-program-env).
47425         * catgets/Makefile ($(objpfx)test1.cat): Use
47426         $(built-program-cmd-before-env), $(run-program-env) and
47427         $(built-program-cmd-after-env).
47428         ($(objpfx)test2.cat): Do not specify environment variables
47429         explicitly.
47430         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
47431         $(run-program-env) and $(built-program-cmd-after-env).
47432         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
47433         $(run-program-env) and $(test-program-cmd-after-env).
47434         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
47435         explicitly.
47436         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
47437         run_program_env and test_program_cmd_after_env arguments.
47438         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
47439         * elf/tst-pathopt.sh: Use run_program_env argument.
47440         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
47441         $(test-wrapper-env) and $(run-program-env).
47442         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
47443         run_program_env arguments.
47444         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
47445         * intl/Makefile ($(objpfx)tst-gettext.out): Use
47446         $(test-program-prefix-before-env), $(run-program-env) and
47447         $(test-program-prefix-after-env).
47448         ($(objpfx)tst-gettext2.out): Likewise.
47449         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
47450         run_program_env and test_program_prefix_after_env arguments.
47451         * intl/tst-gettext2.sh: Likewise.
47452         * intl/tst-gettext4.sh: Do not set environment variables
47453         explicitly.
47454         * intl/tst-gettext6.sh: Likewise.
47455         * intl/tst-translit.sh: Likewise.
47456         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
47457         $(test-program-prefix-before-env), $(run-program-env) and
47458         $(test-program-prefix-after-env).
47459         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
47460         run_program_env and test_program_prefix_after_env arguments.
47461         * math/Makefile (run-regen-ulps): Use $(run-program-env).
47462         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
47463         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
47464         explicitly with each use of ${test_wrapper_env}.
47465         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
47466         $(test-program-prefix-before-env), $(run-program-env) and
47467         $(test-program-prefix-after-env).
47468         * posix/tst-getconf.sh: Do not set environment variables
47469         explicitly.
47470         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
47471         run_program_env and test_program_prefix_after_env arguments.
47472         * stdio-common/tst-printf.sh: Do not set environment variables
47473         explicitly.
47474         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
47475         $(test-program-prefix-before-env), $(run-program-env) and
47476         $(test-program-prefix-after-env).
47477         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
47478         run_program_env and test_program_prefix_after_env arguments.
47479         Split $test calls into $test_pre and $test.
47480         * timezone/Makefile (build-testdata): Use
47481         $(built-program-cmd-before-env), $(run-program-env) and
47482         $(built-program-cmd-after-env).
47484 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47486         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
47487         strlen for non SHARED builds.
47489 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47491         * nptl/allocatestack.c (check_list): Inlined function...
47492         (__reclaim_stacks): ... here.
47494 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
47496         [BZ #15698]
47497         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
47498         memory overrun.
47500 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
47502         * Rules (make-test-out): Include
47503         LOCPATH=$(common-objpfx)localedata in default environment.
47504         * debug/Makefile (tst-chk1-ENV): Remove variable.
47505         (tst-chk2-ENV): Likewise.
47506         (tst-chk3-ENV): Likewise.
47507         (tst-chk4-ENV): Likewise.
47508         (tst-chk5-ENV): Likewise.
47509         (tst-chk6-ENV): Likewise.
47510         (tst-lfschk1-ENV): Likewise.
47511         (tst-lfschk2-ENV): Likewise.
47512         (tst-lfschk3-ENV): Likewise.
47513         (tst-lfschk4-ENV): Likewise.
47514         (tst-lfschk5-ENV): Likewise.
47515         (tst-lfschk6-ENV): Likewise.
47516         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
47517         (tst-iconv7-ENV): Likewise.
47518         * intl/Makefile (LOCPATH-ENV): Likewise.
47519         (tst-codeset-ENV): Likewise.
47520         (tst-gettext3-ENV): Likewise.
47521         (tst-gettext5-ENV): Likewise.
47522         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
47523         (tst-fopenloc-ENV): Likewise.
47524         (tst-fgetws-ENV): Remove variable.
47525         (tst-ungetwc1-ENV): Likewise.
47526         (tst-ungetwc2-ENV): Likewise.
47527         (bug-ungetwc2-ENV): Likewise.
47528         (tst-swscanf-ENV): Likewise.
47529         (bug-ftell-ENV): Likewise.
47530         (tst-fgetwc-ENV): Likewise.
47531         (tst-fseek-ENV): Likewise.
47532         (tst-ftell-partial-wide-ENV): Likewise.
47533         (tst-ftell-active-handler-ENV): Likewise.
47534         (tst-ftell-append-ENV): Likewise.
47535         * posix/Makefile (tst-fnmatch-ENV): Likewise.
47536         (tst-regexloc-ENV): Likewise.
47537         (bug-regex1-ENV): Likewise.
47538         (tst-regex-ENV): Likewise.
47539         (tst-regex2-ENV): Likewise.
47540         (bug-regex5-ENV): Likewise.
47541         (bug-regex6-ENV): Likewise.
47542         (bug-regex17-ENV): Likewise.
47543         (bug-regex18-ENV): Likewise.
47544         (bug-regex19-ENV): Likewise.
47545         (bug-regex20-ENV): Likewise.
47546         (bug-regex22-ENV): Likewise.
47547         (bug-regex23-ENV): Likewise.
47548         (bug-regex25-ENV): Likewise.
47549         (bug-regex26-ENV): Likewise.
47550         (bug-regex30-ENV): Likewise.
47551         (bug-regex32-ENV): Likewise.
47552         (bug-regex33-ENV): Likewise.
47553         (bug-regex34-ENV): Likewise.
47554         (bug-regex35-ENV): Likewise.
47555         (tst-rxspencer-ENV): Likewise.
47556         (tst-rxspencer-no-utf8-ENV): Likewise.
47557         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
47558         (tst-sscanf-ENV): Likewise.
47559         (tst-swprintf-ENV): Likewise.
47560         (tst-swscanf-ENV): Likewise.
47561         (test-vfprintf-ENV): Likewise.
47562         (scanf13-ENV): Likewise.
47563         (bug14-ENV): Likewise.
47564         (tst-grouping-ENV): Likewise.
47565         * stdlib/Makefile (tst-strtod-ENV): Likewise.
47566         (tst-strtod3-ENV): Likewise.
47567         (tst-strtod4-ENV): Likewise.
47568         (tst-strtod5-ENV): Likewise.
47569         (testmb2-ENV): Likewise./
47570         * string/Makefile (tst-strxfrm-ENV): Likewise.
47571         (tst-strxfrm2-ENV): Likewise.
47572         (bug-strcoll1-ENV): Likewise.
47573         (test-strcasecmp-ENV): Likewise.
47574         (test-strncasecmp-ENV): Likewise.
47575         * time/Makefile (tst-strptime-ENV): Likewise.
47576         (tst-ftime_l-ENV): Likewise.
47577         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
47578         (tst-mbrtowc-ENV): Likewise.
47579         (tst-wcrtomb-ENV): Likewise.
47580         (tst-mbrtowc2-ENV): Likewise.
47581         (tst-c16c32-1-ENV): Likewise.
47582         (tst-mbsnrtowcs-ENV): Likewise.
47584 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
47586         * manual/resource.texi (How to get information about the memory
47587         subsystem?): Fix typo.
47588         Reported by Peon de la Parra Ivan <peon@keba.com>
47590 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
47592         [BZ #16882]
47593         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
47594         (pthread_spin_lock): Branch out of spin loop to proper location.
47595         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
47596         (pthread_spin_lock): Likewise.
47598         * nptl/tst-spin4.c: New test.
47599         * nptl/Makefile (tests): Add tst-spin4.
47601 2014-06-03  Andreas Schwab  <schwab@suse.de>
47603         [BZ #15946]
47604         * resolv/res_send.c (send_dg): Reload file descriptor after
47605         calling reopen.
47607 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
47609         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47611 2014-06-03  Richard Henderson  <rth@redhat.com>
47613         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
47614         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
47615         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
47616         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
47617         in the SAVE_PID block.
47618         (__libc_vfork): New alias.
47619         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
47621         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
47622         child in registers, not on the stack.  Remove RESET_PID conditionals.
47623         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
47625 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
47627         * sysdeps/aarch64/libm-test-ulps: Regenerate.
47629 2014-06-03  Wilco  <wdijkstr@arm.com>
47631         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
47632         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
47633         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
47634         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
47635         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
47636         Likewise.
47638 2014-06-03  Wilco  <wdijkstr@arm.com>
47640         * sysdeps/aarch64/fpu/math_private.h
47641         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
47642         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
47643         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
47644         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
47645         Fix declarations.
47647 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
47649         * crypt/crypt-private.h: Include ufc-crypt.h.
47650         (__b64_from_24bit): Declare extern.
47651         * crypt/crypt_util.c(__b64_from_24bit): New function.
47652         (b64t): New static const variable.
47653         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
47654         (b64t): Remove variable.
47655         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
47656         * crypt/sha256-crypt.c: Include crypt-private.h.
47657         (b64t): Remove variable.
47658         (__sha256_crypt_r): Remove b64_from_24bit and replace
47659         with __b64_from_24bit.
47660         * crypt/sha512-crypt.c: Likewise.
47662 2014-06-02  Roland McGrath  <roland@hack.frob.com>
47664         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
47665         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
47666         Label the code __libc_vfork rather than __vfork.
47667         [!NOT_IN_libc] (vfork): Define as weak alias.
47668         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
47669         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
47670         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
47672 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47674         * malloc/malloc.c (malloc_info): Fix format specifier for
47675         n_mmaps.
47677 2014-06-02  Wilco  <wdijkstr@arm.com>
47679         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
47680         FPCR write.
47682 2014-06-02  Wilco  <wdijkstr@arm.com>
47684         [BZ #17009]
47685         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
47686         Rewrite to reduce FPCR/FPSR accesses.
47688 2014-06-01  David S. Miller  <davem@davemloft.net>
47690         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47692 2014-05-31  David S. Miller  <davem@davemloft.net>
47694         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
47695         to occur in round to nearest mode when |x| >= 2.0
47697 2014-05-30  Richard Henderson  <rth@twiddle.net>
47699         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
47700         (PSEUDO_RET_NOERRNO): Remove.
47701         (ret): Don't redefine.
47702         (ret_NOERRNO): Define in terms of ret.
47703         (ret_ERRVAL): Likewise.
47705         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
47706         use of PSEUDO_RET; perform the error check directly.
47708 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
47710         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
47711         with __int128_t.
47713 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47715         * malloc/malloc (malloc_info): Fix formatting.
47717 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47718             Roland McGrath  <roland@hack.frob.com>
47720         * malloc/malloc (malloc_info): Also print mmapped statistics.
47722 2014-05-30  Roland McGrath  <roland@hack.frob.com>
47724         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
47725         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
47727 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
47729         * malloc/malloc.c (malloc_info): Inline mi_arena.
47731 2014-05-29  Richard Henderson  <rth@twiddle.net>
47733         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
47734         Remove comma before expanding ASM_ARGS_##nr.
47735         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
47736         Make _x0 a strict output; make _x8 a strict input; adjust expansion
47737         of ASM_ARGS_##nr.
47738         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
47739         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
47740         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
47741         (ASM_ARGS_1): Add leading comma.
47743         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
47744         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
47745         to __errno_location.
47746         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
47747         Remove the expected plt for __errno_location.
47749         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
47750         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
47751         call to __read_tp.
47753         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
47754         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
47755         it and break it down.
47756         (DOCARGS_0, DOCARGS_1): Do nothing.
47757         (DOCARGS_2): Update to store into the new stack frame.
47758         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
47759         (UNDOCARGS_1): Update to restore from the new stack frame.
47760         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
47761         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
47763         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
47764         (SINGLE_THREAD_P): New parameter for result regno.
47765         (PSEUDO): Update to match; use cbz instead of beq.
47767         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
47768         Use ENTRY to define the _nocancel entry point.  Share the syscall
47769         and syscall error check paths with the cancel path.
47770         (PSEUDO_END): New.
47772         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
47773         whitespace; tabs before and after asm mnemonics.
47775 2014-05-29  Eric Wong  <normalperson@yhbt.net>
47777         [BZ #15132]
47778         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47779         Call fstat64 or stat64 internally, depending on arguments passed.
47780         Replace stat buffer argument with file descriptor argument.
47781         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
47782         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
47783         Pass fd to __internal_statvfs instead of calling fstat64.
47784         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
47785         Pass fd to __internal_statvfs64 instead of calling fstat64.
47786         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
47787         Pass -1 to __internal_statvfs instead of calling stat64.
47788         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
47789         Pass -1 to __internal_statvfs64 instead of calling stat64.
47791 2014-05-28  Roland McGrath  <roland@hack.frob.com>
47793         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
47794         that was previously under [RESET_PID].
47795         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
47797         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
47798         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
47800 2014-05-27  Roland McGrath  <roland@hack.frob.com>
47802         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
47804         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
47805         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
47807 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
47809         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
47811 2014-05-27  Andreas Schwab  <schwab@suse.de>
47813         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
47814         TLS_INIT_TP macro.
47815         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
47816         * elf/rtld.c (init_tls, dl_main): Likewise.
47817         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
47818         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
47819         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
47820         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
47821         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
47822         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
47823         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
47824         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
47825         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
47826         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
47827         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
47828         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
47829         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
47830         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
47831         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
47832         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
47833         * sysdeps/generic/tls.h: Update description.
47835 2014-05-27  Will Newton  <will.newton@linaro.org>
47837         [BZ #16990]
47838         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
47839         and restore r2 rather than just restoring.
47841 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47843         [BZ #16724]
47844         * libio/tst-ftell-append.c: New test case.
47845         * libio/Makefile (tests): Add test case.
47846         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
47847         append mode.
47848         * libio/wfileops.c (do_ftell_wide): Likewise.
47850 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47852         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47854         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
47855         ...
47856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
47857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
47858         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
47859         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
47860         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
47861         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
47862         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
47863         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
47864         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
47865         Moved ...
47866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
47867         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
47868         Moved ...
47869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
47870         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
47871         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
47872         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
47873         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
47874         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
47875         ...
47876         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
47877         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
47878         Moved ...
47879         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
47880         here.
47881         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
47882         ...
47883         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
47884         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
47885         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
47887         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
47888         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
47889         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
47890         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
47892         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
47893         merge into ...
47894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
47895         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
47896         ...
47897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
47898         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
47899         ...
47900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
47901         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
47902         Moved ...
47903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
47904         here.
47905         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
47906         Moved ...
47907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
47908         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
47909         Moved ...
47910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
47912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
47913         conditional [RESET_PID].
47914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
47915         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
47916         removed.
47917         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
47918         removed.
47920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
47921         <tcb-offsets.h>.
47922         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
47923         (__libc_vfork): New strong alias.
47924         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
47925         removed.
47926         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
47927         Removed.
47929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
47930         <tcb-offsets.h>.
47931         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
47932         (__libc_vfork): New strong alias.
47933         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
47934         removed.
47935         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
47936         removed.
47938 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
47940         * malloc/malloc.c (mi_arena): New function.
47941         (malloc_info): Remove nested function mi_arena. Call non-nosted
47942         function mi_arena.
47944 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47946         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
47947         by insrwi.
47948         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
47949         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
47950         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
47951         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
47952         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
47953         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
47954         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
47956 2014-05-26  Andreas Schwab  <schwab@suse.de>
47958         [BZ #16984]
47959         * locale/programs/repertoire.c (repertoire_read): Add slash
47960         between I18NPATH element and file name.
47961         * locale/programs/locfile.c (locfile_read): Likewise.
47963 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
47965         * nptl/pthread_mutexattr_settype.c
47966         (__pthread_mutexattr_settype):
47967         Disable lock elision for PTHREAD_MUTEX_NORMAL.
47969 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
47971         * nptl/tst-mutex5 (do_test):
47972         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
47974 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47976         * benchtests/README: Document 'init' directive.
47977         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
47978         BENCH_INIT.
47979         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
47980         (parse_file): Recognize 'init' directive.
47982 2014-05-26  Kyle McMartin  <kyle@redhat.com>
47984         [BZ #16796]
47985         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
47986         alignment of struct pthread.
47988 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47990         [BZ #16878]
47991         * nscd/netgroupcache.c (addgetnetgrentX): Look for
47992         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
47993         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
47994         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
47996 2014-05-25  Richard Henderson  <rth@twiddle.net>
47998         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
47999         (SINGLE_THREAD_P_PIC): Remove.
48000         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
48001         (SINGLE_THREAD_P_PIC): Remove.
48003         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
48004         branch to syscall error ...
48005         (PSEUDO): ... here.
48006         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
48007         from __local_syscall_error to .Lsyscall_error.
48008         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
48009         (SYSCALL_ERROR): Update label name.
48011         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
48012         Do not use DOARGS/UNDOARGS.
48013         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
48014         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
48015         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
48016         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
48017         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
48019         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
48020         block comment.
48022         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
48023         define if !NOT_IN_libc.
48024         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
48025         define with non-default symbol versions.
48027 2014-05-23  Richard Henderson  <rth@twiddle.net>
48029         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
48030         (vfork, __vfork): Define via compat_symbol.
48032         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
48033         [!HAVE_IFUNC] (vfork_compat): Remove.
48034         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
48036 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
48038         [BZ #16978]
48039         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
48040         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
48041         variable.
48043 2014-05-23  Richard Henderson  <rth@twiddle.net>
48045         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
48046         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
48047         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
48048         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
48050         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
48051         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
48052         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
48053         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
48054         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
48055         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
48056         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
48057         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
48058         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
48059         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
48060         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
48061         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
48062         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
48063         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
48064         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
48065         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
48066         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
48067         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
48068         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
48069         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
48070         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
48071         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
48072         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
48073         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
48074         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
48075         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
48076         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
48077         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
48078         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
48079         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
48080         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
48081         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
48082         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
48083         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
48084         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
48085         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
48086         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
48087         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
48088         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
48089         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
48090         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
48091         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
48092         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
48093         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
48094         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
48095         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
48096         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
48097         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
48098         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
48099         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
48100         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
48101         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
48102         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
48103         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
48104         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
48105         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
48107         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
48108         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
48109         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
48110         before exiting on error.
48111         (__libc_vfork): New strong alias.
48112         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
48113         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
48115         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
48116         that was previously under [RESET_PID].
48117         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
48119         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
48121 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
48123         [BZ #16977]
48124         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
48125         value when x - 1 is zero.
48126         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
48127         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
48128         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
48129         0.0L for an argument of 1.0L.
48130         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
48131         Likewise.
48132         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
48133         value when x - 1 is zero.
48134         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
48135         * sysdeps/i386/fpu/libm-test-ulps: Update.
48136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48138 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
48140         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
48141         alphasort and versionsort.
48143 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48145         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
48146         macro.
48147         [copysignf]: Likewise.
48149 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
48151         * crypt/md5-crypt.c: Fix formatting.
48153 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
48155         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
48156         (b64_from_24bit): New function.
48158 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48160         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
48161         libc_hidden_builtin_def to ifunc.
48162         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
48163         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
48165 2014-05-21  Roland McGrath  <roland@hack.frob.com>
48167         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
48168         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
48170 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
48172         * nscd/Depend (linuxthreads): Remove.
48173         (nptl): Add.
48174         * resolv/Depend (linuxthreads): Remove.
48175         * rt/Depend (linuxthreads): Remove.
48177         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
48178         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
48179         $(common-objpfx)elf/.
48180         (link-libc-before-gnulib): Likewise.
48181         (elfobjdir): Remove variable.
48182         * Makefile (install): Use $(elf-objpfx) instead of
48183         $(common-objpfx)elf/.
48184         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
48185         $(elfobjdir)/.
48186         (link-libc-deps): Likewise.
48187         ($(common-objpfx)libc.so): Likewise.
48188         ($(common-objpfx)linkobj/libc.so): Likewise.
48189         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
48190         instead of $(common-objpfx)elf/.
48191         (symbolic-link-list): Likewise.
48192         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
48193         [$(cross-compiling) = no]: Likewise.
48194         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
48195         $(elfobjdir)/.
48196         (static-gnulib-arch): Likewise.
48197         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
48198         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
48199         $(common-objpfx)elf/.
48201 2014-05-21  Richard Henderson  <rth@redhat.com>
48203         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
48204         (SINGLE_THREAD_P): Use the correct width load.  Fold
48205         into the ldr offset.
48207         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
48208         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
48210 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
48212         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
48213         (libgcc_s_resume): Use __attribute_used__.
48214         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
48215         Likewise.
48217 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48219         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
48220         optimization when used with float constants.
48222         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48224 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
48226         [BZ #16915]
48227         * locale/nl_langinfo_l.c: Make direct reference to every
48228         _nl_current_CATEGORY symbol.
48229         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
48230         (tests-static): Add tst-langinfo-static.
48231         (tests-special): Add tst-langinfo-static.out.
48232         ($(objpfx)tst-langinfo.out): Redirect output.
48233         ($(objpfx)tst-langinfo-static.out): New.
48234         * localedata/tst-langinfo.sh: Send output to stdout.
48235         * localedata/tst-langinfo-static.c: New file.
48237         [BZ #16965]
48238         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
48239         when the shift amount is modulo the limb size.
48241 2014-05-20  Richard Henderson  <rth@redhat.com>
48243         [BZ #16967]
48244         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
48245         Change type of sa_flags from unsigned int to int.
48247         [BZ #16966]
48248         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
48250         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
48252 2014-05-20  Will Newton  <will.newton@linaro.org>
48254         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
48255         Test the return value of the system call in the nocancel case.
48257 2014-05-20  Will Newton  <will.newton@linaro.org>
48258             Yvan Roux  <yvan.roux@linaro.org>
48260         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
48261         #include of asm/ptrace.h.
48262         (PTRACE_GET_THREAD_AREA): Remove #undef.
48263         (PTRACE_GETHBPREGS): Likewise.
48264         (PTRACE_SETHBPREGS): Likewise.
48265         (struct user_regs_struct): New structure.
48266         (struct user_fpsimd_struct): New structure.
48267         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
48268         #include of asm/ptrace.h and second #include of sys/user.h.
48269         (PTRACE_GET_THREAD_AREA): Remove #undef.
48270         (PTRACE_GETHBPREGS): Likewise.
48271         (PTRACE_SETHBPREGS): Likewise.
48272         (ELF_NGREG): Use new struct user_regs_struct.
48273         (elf_fpregset_t): Use new struct user_fpsimd_struct.
48275 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48277         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
48278         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
48280 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
48282         [BZ #16958]
48283         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
48284         membar to avoid block loads/stores to overlap previous stores.
48286 2014-05-17  Richard Henderson  <rth@redhat.com>
48288         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
48289         Create the __##syscall_name##_nocancel entry point.
48290         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
48291         Remove; let the sysdep-cancel.h code create it.
48293 2014-05-17  David S. Miller  <davem@davemloft.net>
48295         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
48296         Protect with __USE_GNU.
48297         (TIOCSET_TEMPT): Likewise.
48298         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
48299         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
48300         these are already provided in bits/ioctl-types.h
48302 2014-05-16  Roland McGrath  <roland@hack.frob.com>
48304         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
48305         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
48307         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
48308         Use wait4 regardless of [__NR_waitpid].
48310 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
48312         PR libgcc/60166
48313         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
48314         (_FP_NANSIGN_Q): Set the quiet bit.
48316 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
48318         * benchtests/Makefile
48319         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
48320         not $(common-objpfx)math/libm.so.
48321         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
48322         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
48323         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
48324         $(common-objpfx)dlfcn/libdl.so.
48325         ($(objpfx)tst-audit8): Depend on $(libm), not
48326         $(common-objpfx)math/libm.so.
48327         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
48328         not $(common-objpfx)dlfcn/libdl.so.
48329         * math/Makefile
48330         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
48331         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
48332         [$(build-shared) = yes].
48333         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
48334         $(common-objpfx)nptl/libpthread.so.
48335         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
48336         $(common-objpfx)math/libm.so$(libm.so-version) or
48337         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
48338         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
48339         $(common-objpfx)dlfcn/libdl.so.
48340         * setjmp/Makefile (link-libm): Remove variable.
48341         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
48342         * stdio-common/Makefile (link-libm): Remove variable.
48343         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
48344         * stdlib/Makefile (link-libm): Remove variable.
48345         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
48346         ($(objpfx)tst-strtod-round): Likewise.
48347         ($(objpfx)tst-tininess): Likewise.
48348         ($(objpfx)tst-strtod-underflow): Likewise.
48349         ($(objpfx)tst-strtod6): Likewise.
48350         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
48351         $(libdl), not $(common-objpfx)nptl/libpthread.so and
48352         $(common-objpfx)dlfcn/libdl.so.
48354 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48356         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
48357         BSD terminal modes definitions.
48359 2014-05-16  Roland McGrath  <roland@hack.frob.com>
48361         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
48362         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
48364         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
48365         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
48366         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
48367         Don't do #include_next.
48368         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
48369         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
48370         Don't do #include_next.
48371         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
48372         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
48373         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
48374         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
48376 2014-05-16  Allan McRae  <allan@archlinux.org>
48378         * po/sv.po: Update Swedish translation from translation project.
48380         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
48381         in sed expression.
48383 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
48385         [BZ #16917]
48386         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
48387         errno if the TIOCGPTN ioctl fails with an error different than
48388         EINVAL.
48389         * login/tst-ptsname.c: New file.
48390         * login/Makefile (tests): Add tst-ptsname.
48392         [BZ #16943]
48393         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
48394         and prlimit64.
48396 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48398         [BZ #16849]
48399         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
48400         herrno to return EAI_AGAIN.
48402 2014-05-14  Roland McGrath  <roland@hack.frob.com>
48404         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
48405         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
48406         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
48407         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
48408         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
48409         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
48410         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
48411         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
48412         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
48413         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
48414         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
48415         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
48416         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
48417         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
48418         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
48419         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
48420         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
48421         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
48422         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
48423         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
48424         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
48425         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
48426         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
48427         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
48428         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
48429         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
48430         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
48431         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
48432         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
48433         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
48434         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
48435         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
48436         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
48437         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
48438         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
48439         Moved ...
48440         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
48441         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
48442         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
48443         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
48444         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
48445         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
48446         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
48447         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
48448         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
48449         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
48450         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
48451         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
48452         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
48453         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
48454         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
48455         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
48456         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
48457         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
48458         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
48459         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
48460         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
48461         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
48462         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
48463         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
48464         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
48465         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
48466         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
48467         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
48468         Moved ...
48469         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
48470         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
48471         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
48472         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
48473         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
48474         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
48475         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
48476         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
48477         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
48478         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
48479         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
48480         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
48481         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
48482         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
48483         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
48484         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
48485         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
48486         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
48487         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
48488         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
48489         Moved ...
48490         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
48491         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
48492         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
48494         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
48495         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
48496         (libpthread-sysdep_routines): Add elision-related stuff here instead.
48497         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
48498         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
48499         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
48500         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
48501         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
48502         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
48503         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
48504         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
48505         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
48506         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
48507         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
48508         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
48509         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
48510         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
48511         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
48512         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
48513         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
48514         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
48515         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
48516         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
48517         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
48518         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
48519         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
48520         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
48521         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
48522         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
48523         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
48524         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
48526         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
48527         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
48529         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
48530         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
48531         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
48532         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
48533         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
48534         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
48535         Moved ...
48536         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
48537         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
48538         Moved ...
48539         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
48540         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
48541         Moved ...
48542         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
48543         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
48544         Moved ...
48545         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
48546         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
48547         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
48548         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
48549         Moved ...
48550         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
48551         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
48552         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
48553         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
48554         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
48555         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
48556         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
48557         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
48558         Moved ...
48559         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
48560         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
48561         Moved ...
48562         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
48563         ... here.
48564         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
48565         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
48566         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
48567         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
48568         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
48569         Moved ...
48570         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
48571         ... here.
48572         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
48573         Moved ...
48574         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
48575         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
48576         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
48577         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
48578         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
48579         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
48580         Moved ...
48581         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
48582         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
48583         Moved ...
48584         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
48585         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
48586         Moved ...
48587         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
48588         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
48589         Moved ...
48590         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
48591         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
48592         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
48593         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
48594         Moved ...
48595         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
48596         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
48597         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
48598         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
48599         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
48600         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
48601         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
48602         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
48603         Moved ...
48604         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
48605         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
48606         Moved ...
48607         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
48608         ... here.
48609         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
48610         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
48611         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
48612         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
48613         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
48614         Moved ...
48615         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
48616         ... here.
48617         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
48618         Moved ...
48619         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
48620         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
48621         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
48622         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
48623         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
48624         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
48625         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
48626         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
48627         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
48628         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
48629         Moved ...
48630         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
48631         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
48632         Moved ...
48633         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
48634         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
48635         Moved ...
48636         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
48637         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
48638         Moved ...
48639         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
48640         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
48641         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
48642         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
48643         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
48644         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
48645         Moved ...
48646         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
48647         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
48648         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
48649         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
48650         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
48651         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
48652         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
48653         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
48654         Moved ...
48655         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
48656         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
48657         Moved ...
48658         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
48659         ... here.
48660         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
48661         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
48662         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
48663         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
48664         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
48665         Moved ...
48666         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
48667         ... here.
48668         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
48669         Moved ...
48670         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
48671         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
48672         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
48673         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
48674         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
48675         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
48676         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
48677         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
48678         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
48679         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
48680         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
48682         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
48683         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
48685         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
48686         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
48688         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
48689         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
48690         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
48691         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
48692         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
48693         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
48694         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
48695         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
48696         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
48697         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
48698         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
48699         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
48700         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
48701         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
48702         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
48703         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
48704         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
48705         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
48706         Moved ...
48707         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
48708         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
48709         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
48710         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
48711         Moved ...
48712         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
48713         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
48714         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
48715         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
48716         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
48717         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
48718         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
48719         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
48720         Moved ...
48721         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
48722         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
48723         Moved ...
48724         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
48725         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
48726         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
48727         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
48728         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
48729         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
48730         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
48731         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
48732         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
48733         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
48734         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
48735         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
48736         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
48737         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
48738         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
48739         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
48740         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
48742         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
48743         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
48744         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
48745         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
48746         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
48748         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
48749         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
48750         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
48751         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
48752         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
48753         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
48754         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
48755         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
48756         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
48757         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
48759         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
48760         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
48762         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
48763         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
48764         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
48765         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
48766         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
48767         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
48768         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
48769         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
48770         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
48771         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
48772         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
48773         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
48774         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
48775         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
48776         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
48777         Update #include.
48778         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
48779         Likewise.
48780         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
48781         Likewise.
48782         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
48783         Likewise.
48784         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
48785         Likewise.
48786         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
48787         Likewise.
48788         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
48789         Likewise.
48790         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
48791         Likewise.
48792         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
48793         Likewise.
48794         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
48795         Likewise.
48796         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
48797         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
48798         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
48799         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
48800         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
48801         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
48802         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
48803         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
48804         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
48805         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
48806         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
48807         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
48808         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
48809         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
48810         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
48812         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
48813         that was previously under [RESET_PID].
48814         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
48815         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
48816         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
48818         * sysdeps/i386/nptl/Implies: New file.
48819         * sysdeps/x86_64/nptl/Implies: New file.
48820         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
48821         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
48822         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
48823         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
48825         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
48826         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48827         (__libc_vfork): New strong alias.
48828         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
48829         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
48831         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
48832         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48833         (__libc_vfork): New strong alias.
48834         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
48835         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
48837         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
48838         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48839         (__libc_vfork): New strong alias.
48840         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
48841         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
48842         * nptl/pt-vfork.c: New file.
48843         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
48844         (libpthread: GLIBC_2.20): New version set (empty).
48846 2014-05-14  Will Newton  <will.newton@linaro.org>
48848         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
48849         rather than #if.
48851 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
48853         [BZ #16564]
48854         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
48855         arguments with exponent 65 or above.
48856         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
48857         arguments 0x1p113L or above.
48858         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
48859         to arguments 0x1p107L or above.
48860         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
48861         positive arguments with exponent 65 or above.
48862         * math/auto-libm-test-in: Add more tests of log1p.
48863         * math/auto-libm-test-out: Regenerated.
48865         [BZ #16928]
48866         * math/s_cacos.c (__cacos): Ensure zero real part of result from
48867         non-finite arguments is +0.
48868         * math/s_cacosf.c (__cacosf): Likewise.
48869         * math/s_cacosl.c (__cacosl): Likewise.
48870         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
48871         * sysdeps/i386/fpu/libm-test-ulps: Update.
48872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48874         [BZ #16927]
48875         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
48876         value.
48877         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
48878         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
48879         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
48880         for explicit high bit of mantissa when testing for argument equal
48881         to 1.
48882         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
48883         * sysdeps/i386/fpu/libm-test-ulps: Update.
48884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48886         [BZ #16516]
48887         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
48888         (__erf): Scale by 16 instead of 8 in potentially underflowing
48889         case.  Ensure exception if result actually underflows.
48890         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
48891         (__erff): Scale by 16 instead of 8 in potentially underflowing
48892         case.  Ensure exception if result actually underflows.
48893         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
48894         (efx8): Remove variable.
48895         (__erfl): Scale by 16 instead of 8 in potentially underflowing
48896         case.  Ensure exception if result actually underflows.
48897         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
48898         (efx8): Remove variable.
48899         (__erfl): Scale by 16 instead of 8 in potentially underflowing
48900         case.  Ensure exception if result actually underflows.
48901         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
48902         (efx8): Remove variable.
48903         (__erfl): Scale by 16 instead of 8 in potentially underflowing
48904         case.  Ensure exception if result actually underflows.
48905         * math/auto-libm-test-in: Add more tests of erf.
48906         * math/auto-libm-test-out: Regenerated.
48908 2014-05-14  Andreas Schwab  <schwab@suse.de>
48910         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
48911         Remove code conditionalized on USE___THREAD.
48913         * config.h.in (HAVE_PT_CHOWN): Define as 0.
48914         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
48915         not definedness.
48917 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
48919         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
48920         Define unconditionally.
48921         (__ASSUME_O_CLOEXEC): Likewise.
48922         (__ASSUME_SOCK_CLOEXEC): Likewise.
48923         (__ASSUME_IN_NONBLOCK): Likewise.
48924         (__ASSUME_PIPE2): Likewise.
48925         (__ASSUME_EVENTFD2): Likewise.
48926         (__ASSUME_SIGNALFD4): Likewise.
48927         (__ASSUME_DUP3): Likewise.
48928         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48929         (__ASSUME_DUP3): Do not define.
48930         (__ASSUME_EVENTFD2): Likewise.
48931         (__ASSUME_IN_NONBLOCK): Likewise.
48932         (__ASSUME_O_CLOEXEC): Likewise.
48933         (__ASSUME_PIPE2): Likewise.
48934         (__ASSUME_SIGNALFD4): Likewise.
48935         (__ASSUME_SOCK_CLOEXEC): Likewise.
48936         (__ASSUME_UTIMES): Undefine.
48937         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48938         (__ASSUME_UTIMES): Do not define.
48939         (__ASSUME_O_CLOEXEC): Likewise.
48940         (__ASSUME_SOCK_CLOEXEC): Likewise.
48941         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
48942         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
48943         0x020621].
48944         (__ASSUME_PIPE2): Likewise.
48945         (__ASSUME_EVENTFD2): Likewise.
48946         (__ASSUME_SIGNALFD4): Likewise.
48947         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
48948         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
48949         Do not define.
48950         (__ASSUME_EVENTFD2): Likewise.
48951         (__ASSUME_SIGNALFD4): Likewise.
48952         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
48953         (__ASSUME_32BITUIDS): Likewise.
48954         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
48955         (__ASSUME_IPC64): Likewise.
48956         (__ASSUME_ST_INO_64_BIT): Likewise.
48957         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
48958         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
48959         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
48960         (__ASSUME_UTIMES): Do not define.
48961         (__ASSUME_PSELECT): Likewise.
48962         (__ASSUME_PPOLL): Likewise.
48963         (__ASSUME_O_CLOEXEC): Likewise.
48964         (__ASSUME_SOCK_CLOEXEC): Likewise.
48965         (__ASSUME_IN_NONBLOCK): Likewise.
48966         (__ASSUME_PIPE2): Likewise.
48967         (__ASSUME_EVENTFD2): Likewise.
48968         (__ASSUME_SIGNALFD4): Likewise.
48969         (__ASSUME_DUP3): Likewise.
48970         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
48971         (__ASSUME_UTIMES): Likewise.
48972         (__ASSUME_O_CLOEXEC): Likewise.
48973         (__ASSUME_SOCK_CLOEXEC): Likewise.
48974         (__ASSUME_IN_NONBLOCK): Likewise.
48975         (__ASSUME_PIPE2): Likewise.
48976         (__ASSUME_EVENTFD2): Likewise.
48977         (__ASSUME_SIGNALFD4): Likewise.
48978         (__ASSUME_DUP3): Likewise.
48979         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48980         (__ASSUME_UTIMES): Likewise.
48981         (__ASSUME_O_CLOEXEC): Likewise.
48982         (__ASSUME_SOCK_CLOEXEC): Likewise.
48983         (__ASSUME_IN_NONBLOCK): Likewise.
48984         (__ASSUME_PIPE2): Likewise.
48985         (__ASSUME_EVENTFD2): Likewise.
48986         (__ASSUME_SIGNALFD4): Likewise.
48987         (__ASSUME_DUP3): Likewise.
48988         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
48989         Likewise.
48990         (__ASSUME_UTIMES): Likewise.
48991         (__ASSUME_EVENTFD2): Likewise.
48992         (__ASSUME_SIGNALFD4): Likewise.
48993         * sysdeps/unix/sysv/linux/tile/kernel-features.h
48994         (__ASSUME_O_CLOEXEC): Likewise.
48995         (__ASSUME_SOCK_CLOEXEC): Likewise.
48996         (__ASSUME_IN_NONBLOCK): Likewise.
48997         (__ASSUME_PIPE2): Likewise.
48998         (__ASSUME_EVENTFD2): Likewise.
48999         (__ASSUME_SIGNALFD4): Likewise.
49000         (__ASSUME_DUP3): Likewise.
49001         (__ASSUME_UTIMES): Undefine.
49003         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
49004         feclearexcept.  Remove symbol versioning code.
49005         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
49006         symbol versioning code.
49007         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
49008         symbol versioning code.
49009         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
49010         feupdateenv.  Remove symbol versioning code.
49011         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
49012         fegetexceptflag.  Remove symbol versioning code.
49013         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
49014         fesetexceptflag.  Remove symbol versioning code.
49015         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
49016         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
49017         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
49018         (__posix_fadvise64_l32): Remove prototype.
49019         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
49020         code.
49022 2014-05-13  Roland McGrath  <roland@hack.frob.com>
49024         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
49025         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
49026         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
49027         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
49029 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
49031         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
49032         current working directory
49034 2014-05-13  Roland McGrath  <roland@hack.frob.com>
49036         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
49037         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
49038         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
49039         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
49040         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
49041         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
49042         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
49043         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
49044         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
49045         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
49046         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
49047         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
49048         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
49049         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
49050         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
49051         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
49052         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
49053         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
49054         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
49055         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
49056         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
49057         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
49058         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
49059         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
49060         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
49061         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
49062         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
49063         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
49064         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
49065         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
49066         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
49067         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
49068         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
49069         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
49070         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
49071         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
49072         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
49073         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
49074         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
49075         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
49076         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
49077         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
49079         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
49080         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
49082         * sysdeps/unix/sysv/linux/arm/Makefile
49083         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
49084         Add rt-aeabi_unwind_cpp_pr1.
49085         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
49086         Add nptl-aeabi_unwind_cpp_pr1.
49087         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
49088         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
49089         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
49090         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
49091         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
49092         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
49094         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
49095         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
49096         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
49097         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
49099         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
49100         Deconditionalize the code that was previously under [RESET_PID].
49101         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
49103         * sysdeps/generic/exit-thread.h: New file.
49104         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
49105         * include/unistd.h (__exit_thread): Remove declaration.
49106         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
49107         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
49108         * csu/libc-start.c: Include <exit-thread.h>.
49109         (LIBC_START_MAIN): Pass no argument to __exit_thread.
49110         * nptl/pthread_create.c: Include <exit-thread.h>.
49111         (start_thread): Call __exit_thread in place of __exit_thread_inline.
49112         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
49113         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
49114         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
49115         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
49116         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
49117         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
49118         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
49119         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
49120         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
49121         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
49122         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
49123         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
49124         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
49125         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
49126         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
49127         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
49129 2014-05-13  Andreas Schwab  <schwab@suse.de>
49131         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
49133 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
49135         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
49136         (__ASSUME_UTIMES): Do not condition on kernel version.
49137         (__ASSUME_PSELECT): Define unconditionally.
49138         (__ASSUME_PPOLL): Likewise.
49139         (__ASSUME_ATFCTS): Likewise.
49140         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
49141         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
49142         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
49143         (__ASSUME_UTIMENSAT): Define unconditionally.
49144         (__ASSUME_PRIVATE_FUTEX): Likewise.
49145         (__ASSUME_FALLOCATE): Likewise.
49146         (__ASSUME_O_CLOEXEC): Likewise.
49147         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
49148         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
49149         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
49150         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
49151         (__ASSUME_IN_NONBLOCK): Likewise.
49152         (__ASSUME_PIPE2): Likewise.
49153         (__ASSUME_EVENTFD2): Likewise.
49154         (__ASSUME_SIGNALFD4): Likewise.
49155         (__ASSUME_DUP3): Likewise.
49156         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
49157         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
49158         (__ASSUME_AT_RANDOM): Likewise.
49159         (__ASSUME_PREADV): Likewise.
49160         (__ASSUME_PWRITEV): Likewise.
49161         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
49162         (__ASSUME_F_GETOWN_EX): Define unconditionally.
49163         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
49164         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
49165         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
49166         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49167         (__ASSUME_O_CLOEXEC): Define unconditionally.
49168         (__ASSUME_PSELECT): Do not undefine conditionally.
49169         (__ASSUME_PPOLL): Likewise.
49170         (__ASSUME_ATFCTS): Likewise.
49171         (__ASSUME_SET_ROBUST_LIST): Likewise.
49172         (__ASSUME_UTIMENSAT): Likewise.
49173         (__ASSUME_FDATASYNC): Define unconditionally.
49174         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49175         (__ASSUME_SIGFRAME_V2): Likewise.
49176         )__ASSUME_EVENTFD2): Likewise.
49177         (__ASSUME_SIGNALFD4): Likewise.
49178         (__ASSUME_PSELECT): Do not undefine conditionally.
49179         (__ASSUME_PPOLL): Likewise.
49180         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49181         (__ASSUME_PSELECT): Define unconditionally.
49182         (__ASSUME_PPOLL): Likewise.
49183         (__ASSUME_O_CLOEXEC): Likewise.
49184         (__ASSUME_SOCK_CLOEXEC): Likewise.
49185         (__ASSUME_IN_NONBLOCK): Likewise.
49186         (__ASSUME_PIPE2): Likewise.
49187         (__ASSUME_EVENTFD2): Likewise.
49188         (__ASSUME_SIGNALFD4): Likewise.
49189         (__ASSUME_DUP3): Likewise.
49190         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
49191         (__ASSUME_O_CLOEXEC): Likewise.
49192         (__ASSUME_SOCK_CLOEXEC): Likewise.
49193         (__ASSUME_IN_NONBLOCK): Likewise.
49194         (__ASSUME_PIPE2): Likewise.
49195         (__ASSUME_EVENTFD2): Likewise.
49196         (__ASSUME_SIGNALFD4): Likewise.
49197         (__ASSUME_DUP3): Likewise.
49198         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49199         (__ASSUME_EVENTFD2): Likewise.
49200         (__ASSUME_SIGNALFD4): Likewise.
49201         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
49203 2014-05-12  Andreas Schwab  <schwab@suse.de>
49205         [BZ #16932]
49206         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
49207         (_nss_nis_gethostbyname4_r): Return error if item length is larger
49208         than maximum RPC packet size.
49209         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
49210         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
49211         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
49212         (_nss_nis_getservbyport_r): Likewise.
49214 2014-05-12  Will Newton  <will.newton@linaro.org>
49216         * malloc/Makefile (tests): Add tst-mallopt.
49217         * malloc/tst-mallopt.c: New file.
49219 2014-05-09  Roland McGrath  <roland@hack.frob.com>
49221         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
49222         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
49224 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49226         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
49227         (tst-tlsmod6.so): Likewise.
49229 2014-05-09  Roland McGrath  <roland@hack.frob.com>
49231         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
49233 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
49235         [BZ #16064]
49236         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
49237         and <dl-procinfo.h>.
49238         (__fegetenv): Save SSE state in envp->__eip if supported.
49239         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
49240         envp->__eip if supported.
49241         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
49242         and <dl-procinfo.h>.
49243         (__fesetenv): Always set __eip, __cs_selector, __opcode,
49244         __data_offset and __data_selector in environment to 0.  Set SSE
49245         state if supported.
49246         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
49247         test-fenv-sse.
49248         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
49249         -mfpmath=sse.
49250         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
49252 2014-05-09  Will Newton  <will.newton@linaro.org>
49254         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
49255         and libc_relro_required for ARM.
49256         * sysdeps/arm/preconfigure: Regenerate.
49258 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
49259             Stefan Liebler  <stli@linux.vnet.ibm.com>
49261         * config.make.in (enable-lock-elision): New Makefile variable.
49262         * configure.ac: Likewise.
49263         * configure: Regenerate.
49264         * sysdeps/s390/configure.ac:
49265         Add check for gcc transactions support.
49266         * sysdeps/s390/configure: Regenerate.
49267         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
49268         Build elision files if enabled.
49269         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
49270         Add lock elision support for s390.
49271         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
49272         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
49273         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
49274         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
49275         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
49276         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
49277         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
49278         Likewise.
49279         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
49280         Likewise.
49281         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
49282         Likewise.
49283         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
49284         Likewise.
49285         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
49286         (__lll_timedlock_elision, __lll_lock_elision)
49287         (__lll_unlock_elision, __lll_trylock_elision)
49288         (lll_timedlock_elision, lll_lock_elision)
49289         (lll_unlock_elision, lll_trylock_elision): Add.
49290         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
49291         (pthread_mutex_t): Add lock elision support for s390.
49293 2014-05-14  Wilco  <wdijkstr@arm.com>
49295         * sysdeps/arm/fclrexcpt.c: Cleanup.
49296         * sysdeps/arm/fedisblxcpt.c: Cleanup.
49297         * sysdeps/arm/feenablxcpt.c: Cleanup.
49298         * sysdeps/arm/fegetenv.c: Cleanup.
49299         * sysdeps/arm/fegetexcept.c: Cleanup.
49300         * sysdeps/arm/fegetround.c: Cleanup.
49301         * sysdeps/arm/feholdexcpt.c: Cleanup.
49302         * sysdeps/arm/fesetenv.c: Cleanup.
49303         * sysdeps/arm/fesetround.c: Cleanup.
49304         * sysdeps/arm/feupdateenv.c: Cleanup.
49305         * sysdeps/arm/fgetexcptflg.c: Cleanup.
49306         * sysdeps/arm/fraiseexcpt.c: Cleanup.
49307         * sysdeps/arm/fsetexcptflg.c: Cleanup.
49308         * sysdeps/arm/ftestexcept.c: Cleanup.
49309         * sysdeps/arm/get-rounding-mode.h: Cleanup.
49310         * sysdeps/arm/setfpucw.c: Cleanup.
49312 2014-05-09  Will Newton  <will.newton@linaro.org>
49314         * sysdeps/arm/armv7/strcmp.S: New file.
49315         * NEWS: Mention addition of ARMv7 optimized strcmp.
49317 2014-05-08  Roland McGrath  <roland@hack.frob.com>
49319         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
49320         look for %.ac rather than %.in.
49322         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
49323         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
49324         * sysdeps/mach/hurd/configure: Regenerated.
49325         * sysdeps/unix/sysv/linux/configure: Regenerated.
49327         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
49329 2014-05-07  Steve Ellcey  <sellcey@mips.com>
49331         [BZ #16922]
49332         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
49333         (LONG_SUB): Ditto.
49334         (PTR_SUB): Ditto.
49336 2014-05-07  Andreas Schwab  <schwab@suse.de>
49338         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
49339         when skipping over non-matching result from nscd.
49341 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
49343         [BZ #16876]
49344         * nptl/sockperf.c (client): Check socket return value.
49346         [BZ #16877]
49347         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
49348         nscd security class.
49350 2014-05-06  Roland McGrath  <roland@hack.frob.com>
49352         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
49353         * sysdeps/arm/unwind.h: ... here.
49355 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
49357         [BZ #16916]
49358         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
49359         Define.
49361 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
49363         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
49364         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
49365         multiarch strncpy for PPC64.
49366         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
49367         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
49368         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
49369         multiarch optimizations.
49370         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49371         (__libc_ifunc_impl_list): Likewise.
49372         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
49373         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
49374         multiarch stpncpy for PPC64.
49375         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
49376         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
49378 2014-05-06  Andreas Schwab  <schwab@suse.de>
49380         [BZ #16912]
49381         * gmon/mcount.c (_MCOUNT_DECL): Use
49382         atomic_compare_and_exchange_bool_acq instead of
49383         catomic_compare_and_exchange_bool_acq.
49385 2014-05-05  Roland McGrath  <roland@hack.frob.com>
49387         * elf/Makefile (others, install-bin): Remove pldd.
49388         (pldd-modules): Variable removed.
49389         ($(objpfx)pldd): Target removed.
49390         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
49391         (others, install-bin): Append pldd here.
49392         ($(objpfx)pldd): New target.
49394         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
49395         to 0, so the first #if test emitted later doesn't see it undefined.
49396         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
49397         * sysdeps/gnu/errlist.c: Regenerated.
49399 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49401         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
49402         [libc_hidden_builtin_def]: Define to empty value.
49403         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
49404         [libc_hidden_builtin_def]: Likewise.
49405         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
49406         [libc_hidden_builtin_def]: Likewise.
49407         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
49408         [libc_hidden_builtin_def]: Likewise.
49409         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
49410         __redirect_memcpy and define ifunc as default hidden symbol.
49411         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
49412         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
49414 2014-05-04  Adam Conrad  <adconrad@0c3.net>
49416         * locale/iso-4217.def: Reintroduce XDR currency.
49418 2014-05-04  Allan McRae  <allan@archlinux.org>
49420         * po/eo.po: Update Esperanto translation from translation project.
49422 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
49424         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
49425         and FEATURE_INDEX_MAX to 1.
49426         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
49428 2014-05-01  Steve Ellcey  <sellcey@mips.com>
49430         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
49431         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
49432         * iconvdata/big5.c (ONE_DIRECTION): Define.
49433         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
49434         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
49435         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
49436         * iconvdata/cp932.c (ONE_DIRECTION): Define.
49437         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
49438         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
49439         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
49440         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
49441         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
49442         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
49443         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
49444         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
49445         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
49446         * iconvdata/gbk.c (ONE_DIRECTION): Define.
49447         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
49448         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
49449         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
49450         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
49451         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
49452         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
49453         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
49454         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
49455         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
49456         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
49457         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
49458         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
49459         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
49460         * iconvdata/iso646.c (ONE_DIRECTION): Define.
49461         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
49462         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
49463         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
49464         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
49465         * iconvdata/johab.c (ONE_DIRECTION): Define.
49466         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
49467         * iconvdata/sjis.c (ONE_DIRECTION): Define.
49468         * iconvdata/t.61.c (ONE_DIRECTION): Define.
49469         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
49470         * iconvdata/tscii.c (ONE_DIRECTION): Define.
49471         * iconvdata/uhc.c (ONE_DIRECTION): Define.
49472         * iconvdata/unicode.c (ONE_DIRECTION): Define.
49473         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
49474         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
49475         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
49477 2014-05-01  Roland McGrath  <roland@hack.frob.com>
49479         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
49480         (_IO_JUMPS_OFFSET): Define to 0.
49482         * nptl/sysdeps/pthread/bits/libc-lock.h
49483         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
49484         (__libc_lock_define_initialized_recursive): Always define using
49485         initializer.  Modern compilers treat uninitialized (implicit zero) and
49486         explicit zero initializers the same (i.e. put the datum in bss).
49488 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
49490         * nscd/nscd-client.h: Include <string.h>.
49492 2014-05-01  David S. Miller  <davem@davemloft.net>
49494         [BZ #16885]
49495         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
49496         multiple zero bytes exist at the end of a string.
49497         Reported by Aurelien Jarno <aurelien@aurel32.net>
49499         * string/test-strcmp.c (check): Add explicit test for situations where
49500         there are multiple zero bytes after the first.
49502 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
49504         [BZ #16890]
49505         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
49506         when compiling wprintf.
49507         * stdio-common/tstdiomisc.c (t3): New function.
49508         (main): Call it.
49510 2014-05-01  Steve Ellcey  <sellcey@mips.com>
49512         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
49513         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
49514         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
49515         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
49517 2014-05-01  Steve Ellcey  <sellcey@mips.com>
49519         * stdlib/longlong.h: Updated from GCC.
49521 2014-05-01  Will Newton  <will.newton@linaro.org>
49522             Bernard Ogden  <bernie.ogden@linaro.org>
49524         * NEWS: Update fixed bug list.
49526         [BZ #15119]
49527         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
49529 2014-04-30  David S. Miller  <davem@davemloft.net>
49531         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
49532         (libc_feholdexcept_setround_sparc_ctx): New function.
49533         (libc_fesetenv_sparc_ctx): Likewise.
49534         (libc_feupdateenv_sparc_ctx): Likewise.
49535         (libc_feholdsetround_sparc_ctx): Likewise.
49536         (libc_feholdexcept_setround_ctx): Define.
49537         (libc_feholdexcept_setroundf_ctx): Likewise.
49538         (libc_feholdexcept_setroundl_ctx): Likewise.
49539         (libc_fesetenv_ctx): Likewise.
49540         (libc_fesetenvf_ctx): Likewise.
49541         (libc_fesetenvl_ctx): Likewise.
49542         (libc_feupdateenv_ctx): Likewise.
49543         (libc_feupdateenvf_ctx): Likewise.
49544         (libc_feupdateenvl_ctx): Likewise.
49545         (libc_feresetround_ctx): Likewise.
49546         (libc_feresetroundf_ctx): Likewise.
49547         (libc_feresetroundl_ctx): Likewise.
49548         (libc_feholdsetround_ctx): Likewise.
49549         (libc_feholdsetroundf_ctx): Likewise.
49550         (libc_feholdsetroundl_ctx): Likewise.
49552         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
49553         with __USE_GNU instead of XOPEN cpp guards.
49555         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
49556         0.
49558         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
49559         with XOPEN cpp guards.
49561 2014-04-30  Julian Brown  <julian@codesourcery.com>
49563         [BZ #16888]
49564         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
49565         handling.
49567 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
49569         [BZ #9894]
49570         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
49571         Change to 2.6.32.
49572         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
49573         * sysdeps/unix/sysv/linux/configure: Regenerated.
49574         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
49575         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
49576         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
49577         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
49578         * README: Update reference to required Linux kernel version.
49579         * manual/install.texi (Linux): Update reference to required Linux
49580         kernel headers version.
49581         * INSTALL: Regenerated.
49583         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
49584         header inclusion.
49585         [POSIX] (limits.h): Likewise.
49586         [POSIX] (math.h): Likewise.
49587         [POSIX] (sys/wait.h): Likewise.
49588         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
49589         function.
49590         [POSIX] (stddef.h): Do not allow header inclusion.
49592 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49594         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
49596 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
49598         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
49599         Return immediately after lll_futex_wake.
49601 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49603         [BZ #16791]
49604         * nscd/nscd-client.h (datahead_init_common): Initialize entire
49605         structure.
49606         (datahead_init_pos): Call datahead_init_common early.
49607         (datahead_init_neg): Likewise.
49609         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
49610         datahead_init_neg): New functions.
49611         * nscd/aicache.c (addhstaiX): Use them.
49612         * nscd/grpcache.c (cache_addgr): Likewise.
49613         * nscd/hstcache.c (cache_addhst): Likewise.
49614         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49615         * nscd/netgroupcache.c (do_notfound): Likewise.
49616         (addgetnetgrentX): Likewise.
49617         (addinnetgrX): Likewise.
49618         * nscd/pwdcache.c (cache_addpw): Likewise.
49619         * nscd/servicescache.c (cache_addserv): Likewise.
49621 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49622             Atsushi Onoe  <atsushi@onoe.org>
49624         [BZ #14308]
49625         [BZ #12994]
49626         [BZ #13651]
49627         * resolv/res_query.c (__libc_res_nsearch): Return if at least
49628         one response is valid.
49629         * resolv/res_send.c (send_dg): Check for validity of other
49630         response if the current response is a referral.
49632 2014-04-29  Steve Ellcey  <sellcey@mips.com>
49634         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
49636 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
49638         [BZ #16823]
49639         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
49640         Always divide by positive zero when computing -Inf result.
49641         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
49642         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
49644 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49646         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
49647         FPSCR if value do not change.
49648         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
49649         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
49650         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
49651         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
49652         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
49653         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
49654         function.
49656 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
49658         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
49659         * sysdeps/unix/sysv/linux/hppa: Move directory from
49660         ports/systeps/unix/sysv/linux/hppa.
49661         * README: Update listing for hppa-*-linux-gnu.
49663 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
49665         [BZ #16754]
49666         * manual/stdio.texi (Hook functions): Fix types of stream hook
49667         functions.
49668         [BZ #16854]
49669         * socket/sys/socket.h: Fix typo in comment.
49671 2014-04-28  Wilco  <wdijkstr@arm.com>
49673         * sysdeps/arm/fenv_private.h: New file.
49674         * sysdeps/arm/math_private.h: New file.
49675         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
49677 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
49679         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
49680         with __int128_t.
49681         (La_x86_64_retval): Likewise.
49683 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
49685         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
49686         fpsr if value didn't change.
49687         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
49688         to fpcr if value didn't change.
49689         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
49690         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
49691         fpsr or fpcr if value didn't change.
49692         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
49693         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
49694         fpcr if value didn't change.
49695         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
49696         to fpsr if value didn't change.
49698 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
49700         * nptl/tst-sem3.c: Use test-skeleton.c
49701         (main): Rename to do_test.  Use return instead of
49702         exit.
49703         * nptl/tst-sem4.c: Use test-skeleton.c
49704         (main): Rename to do_test.
49706 2014-04-22  David S. Miller  <davem@davemloft.net>
49708         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
49709         (struct sigaction): New struct member __glibc_reserved0, change
49710         type of sa_flags to int.
49712 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
49714         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
49715         (COUNT_LEADING_ZEROS_0): Define for AArch64.
49717 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49719         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
49720         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
49722 2014-04-22  Will Newton  <will.newton@linaro.org>
49723             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
49725         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
49726         (__longjmp): Add longjmp and longjmp_target SystemTap
49727         probes.
49728         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
49729         (__sigsetjmp): Add setjmp SystemTap probe.
49731 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
49733         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
49734         match manual order.
49736 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49738         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
49740         * sysdeps/powerpc/fpu/fenv_private.h
49741         (libc_feholdexcept_setroundl_ctx): Define to
49742         libc_feholdexcept_setround_ppc_ctx.
49743         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
49744         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
49745         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
49746         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
49748 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
49750         * sysdeps/aarch64/math-tests.h: New file.
49752 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
49754         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
49755         New.
49756         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49757         Check and set bit_AVX2_Usable.
49758         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
49759         macro.
49760         (bit_AVX2): Likewise.
49761         (index_AVX2_Usable): Likewise.
49762         (CPUID_AVX2): Likewise.
49763         (HAS_AVX2): Likewise.
49765 2014-04-17  Will Newton  <will.newton@linaro.org>
49767         * manual/setjmp.texi (System V contexts): Add note that
49768         calling setcontext on a context created by a call to a
49769         signal handler is undefined.  Update text to note that
49770         setcontext from a signal handler is possible but not
49771         recommended.
49773         [BZ #16629]
49774         * stdlib/tst-setcontext.c: Include signal.h.
49775         (main): Check that the signal stack before and
49776         after swapcontext is the same.
49778         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
49779         Re-implement to restore registers in user code and avoid
49780         rt_sigreturn system call.
49782 2014-04-17  Wilco  <wdijkstr@arm.com>
49784         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
49785         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
49786         * math/test-fenv.c: Skip exception trap tests on targets which only
49787         support non-stop mode.
49789 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
49790             Wilco Dijkstra  <wilco.dijkstra@arm.com>
49792         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
49793         (libc_feholdsetround_aarch64_ctx)
49794         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
49795         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
49796         (libc_feresetround_ctx, libc_feresetroundf_ctx)
49797         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
49798         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
49799         (libc_feresetround_noexl_ctx): Define.
49801 2014-04-16  Richard Henderson  <rth@redhat.com>
49803         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
49805         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
49806         unwind tables.
49808         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
49809         const from the non-libc, non-ldso copy.
49811         * sysdeps/alpha/libm-test-ulps: Regenerate.
49813 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
49814             Wilco Dijkstra  <wilco.dijkstra@arm.com>
49816         * sysdeps/aarch64/fpu/math_private.h: New file.
49818 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
49820         * sysdeps/aarch64/libm-test-ulps: Regenerate.
49822 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
49824         [BZ #16275]
49825         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
49826         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
49827         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
49828         Intel MPX bound registers before _dl_profile_fixup.
49829         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
49830         registers after _dl_profile_fixup.  Save and restore bound
49831         registers bnd0/bnd1 when calling _dl_call_pltexit.
49832         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
49833         (LR_BND_OFFSET): Likewise.
49834         (LRV_BND0_OFFSET): Likewise.
49835         (LRV_BND1_OFFSET): Likewise.
49837 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49839         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
49840         to...
49841         * sysdeps/mach/hurd/i386/tls.h: ... here.
49842         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
49843         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
49844         fields.
49846 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49848         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
49850 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
49852         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
49854 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
49856         [BZ #14770]
49857         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
49858         * sysdeps/s390/configure: Regenerate.
49860         [BZ #16824]
49861         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
49862         Set round-to-nearest internally to reduce error accumulation.
49864 2014-04-16  Alan Modra  <amodra@gmail.com>
49866         [BZ #16740]
49867         [BZ #16619]
49868         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
49869         * math/libm-test.inc (frexp_test_data): Add tests.
49870         * NEWS: Update fixed bug list.
49872 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49874         * benchtests/Makefile: Depend on libraries in build directory.
49875         (bench-math): Separate out math tests.
49876         (bench-pthread): Separate out pthread tests.
49877         (bench): Include math and pthread tests.
49879 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
49881         [BZ #16831]
49882         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
49883         _dl_debug_initialize.
49885         * configure.ac: Remove SELinux header check.
49886         * configure: Regenerate.
49887         * nscd/selinux.c (perms): Array of const char* to permission names.
49888         (nscd_request_avc_has_perm): Call security_deny_unknown to find
49889         default policy. Call string_to_security_class and string_to_av_perm to
49890         translate strings. Enforce default policy and call avs_has_perm with
49891         results of translated strings.
49893 2014-04-13  David S. Miller  <davem@davemloft.net>
49895         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49897 2014-04-12  Allan McRae  <allan@archlinux.org>
49899         [BZ #16838]
49900         * manual/string.texi (Collation Functions): Fix qsort argument
49901         order in example.
49902         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
49904 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
49906         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
49907         Make the test a no-op if there are no exceptions defined.
49909 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
49911         * elf/Makefile (tests): make tst-dlopen-aout conditional on
49912         enable-hardcoded-path-in-tests
49914 2014-04-11  Will Newton  <will.newton@linaro.org>
49916         * benchtests/Makefile (extra-objs): Add json-lib.o.
49917         (bench-func): Tidy up JSON output.
49918         * benchtests/bench-skeleton.c: Include json-lib.h.
49919         (main): Use JSON library functions to do output of
49920         benchmark results.
49921         * benchtests/bench-timing-type.c (main): Output the
49922         timing type simply, leaving formatting to the user.
49923         * benchtests/json-lib.c: New file.
49924         * benchtests/json-lib.h: Likewise.
49926 2014-04-11  Torvald Riegel  <triegel@redhat.com>
49928         [BZ #15215]
49929         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
49930         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
49931         memory barriers.  Add comments.
49932         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
49933         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
49934         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
49935         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
49936         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
49937         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
49939 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
49941         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
49942         * sysdeps/s390/s390-64/configure.ac: ... this ...
49943         * sysdeps/s390/configure.ac: ... to here.
49944         * sysdeps/s390/s390-32/configure: Delete file.
49945         * sysdeps/s390/s390-64/configure: Delete file.
49946         * sysdeps/s390/configure: Regenerate.
49948 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
49950         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
49952 2014-04-11  Will Newton  <will.newton@linaro.org>
49954         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
49955         to zero if it is not defined elsewhere.  (mtrim): Test
49956         the value of MALLOC_DEBUG with #if rather than #ifdef.
49958 2014-04-10 Torvald Riegel  <triegel@redhat.com>
49960         * benchtests/pthread_once-inputs: New file.
49961         * benchtests/pthread_once-source.c: New file.
49962         * benchtests/README: Update documentation.
49964 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
49965             H.J. Lu  <hongjiu.lu@intel.com>
49967         [BZ #16275]
49968         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
49969         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
49970         * sysdeps/x86_64/configure: Regenerated.
49971         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
49972         macro.
49973         (REGISTER_SAVE_RAX): Likewise.
49974         (REGISTER_SAVE_RCX): Likewise.
49975         (REGISTER_SAVE_RDX): Likewise.
49976         (REGISTER_SAVE_RSI): Likewise.
49977         (REGISTER_SAVE_RDI): Likewise.
49978         (REGISTER_SAVE_R8): Likewise.
49979         (REGISTER_SAVE_R9): Likewise.
49980         (REGISTER_SAVE_BND0): Likewise.
49981         (REGISTER_SAVE_BND1): Likewise.
49982         (REGISTER_SAVE_BND2): Likewise.
49983         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
49984         bound registers when calling _dl_fixup.
49986 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49988         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
49989         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
49990         of its definition.
49991         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
49992         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
49993         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
49994         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
49995         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
49996         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
49997         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
49999 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
50001         [BZ #15514]
50002         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
50003         pathconf(_PC_NAME_MAX).
50005 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50007         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
50008         Remove macro usage.
50009         (__PTHREAD_SPINS): Move definition to ...
50010         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
50011         (__PTHREAD_SPINS): ... here.
50012         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
50013         (__PTHREAD_SPIN): Likewise.
50014         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
50015         (__PTHREAD_SPIN): Likewise.
50016         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
50017         (__PTHREAD_SPIN): Likewise.
50018         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
50019         (__PTHREAD_SPIN): Likewise.
50020         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
50021         (__PTHREAD_SPIN): Likewise.
50022         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
50023         (__PTHREAD_SPIN): Likewise.
50024         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
50025         (__PTHREAD_SPIN): Likewise.
50026         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
50027         (__PTHREAD_SPIN): Likewise.
50028         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
50029         (__PTHREAD_SPIN): Likewise.
50030         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
50031         (__PTHREAD_SPIN): Likewise.
50032         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
50033         (__PTHREAD_SPIN): Likewise.
50034         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
50035         (__PTHREAD_SPIN): Likewise.
50037         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
50038         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
50039         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
50040         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
50041         imply folder.
50042         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
50043         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
50044         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
50045         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
50046         correct imply path.
50047         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
50048         strlen symbol for non multi-arch builds.
50049         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
50050         missing hidden_def and weak_alias.
50052 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
50054         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
50056 2014-04-07  Will Newton  <will.newton@linaro.org>
50058         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
50059         and contents.  [!_LIBC] Remove #ifndef and contents.
50060         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
50061         * string/memccpy.c (__memccpy): Use ANSI prototype.
50062         * string/memfrob.c (memfrob): Likewise.
50063         * string/strcoll.c (STRCOLL): Likewise.
50064         * string/strlen.c (strlen): Likewise.
50065         * string/strtok.c (STRTOK): Likewise.
50066         * string/strcat.c: Remove unused #include of memcopy.h.
50067         (strcat): Use ANSI prototype.
50068         * string/strchr.c: Remove unused #include of memcopy.h.
50069         (strchr): Use ANSI prototype.
50070         * string/strcmp.c: Remove unused #include of memcopy.h.
50071         (strcmp): Use ANSI prototype.
50072         * string/strcpy.c: Remove unused #include of memcopy.h.
50073         (strcpy): Use ANSI prototype.
50075 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50077         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
50078         * config.make.in (config-extra-cppflags): Set it from
50079         libc_extra_cppflags.
50080         * configure.ac (libc_extra_cflags): Make it accumulate over
50081         configure fragments.
50082         (libc_extra_cppflags): New flag.
50083         * configure. Regenerate.
50084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
50085         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
50086         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
50087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
50089         [BZ #16815]
50090         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
50091         result for FE_DOWNWARD rounding mode.
50092         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
50093         Likewise.
50094         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50096 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
50098         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
50099         in function argument name.
50101 2014-04-03  David Svoboda  <svoboda@cert.org>
50103         [BZ #5666]
50104         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
50105         explicitly.
50107 2014-04-03  Roland McGrath  <roland@hack.frob.com>
50109         * elf/dl-unmap-segments.h: New file.
50110         * sysdeps/generic/ldsodefs.h
50111         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
50112         * elf/dl-close.c: Include <dl-unmap-segments.h>.
50113         * elf/dl-fptr.c: Likewise.
50114         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
50115         * sysdeps/aarch64/tlsdesc.c: Likewise.
50116         * sysdeps/arm/tlsdesc.c: Likewise.
50117         * sysdeps/i386/tlsdesc.c: Likewise.
50118         * sysdeps/tile/dl-runtime.c: Likewise.
50119         * sysdeps/x86_64/tlsdesc.c: Likewise.
50120         * elf/dl-load.h: New file.
50121         * elf/dl-load.c: Include it.
50122         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
50123         Macros moved to dl-load.h.
50124         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
50125         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
50126         Use _dl_unmap_segments in place of __munmap.
50127         Break out segment-mapping loop into ...
50128         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
50130 2014-04-03  Will Newton  <will.newton@linaro.org>
50132         * elf/dl-lookup.c (do_lookup_x): Remove comment
50133         referring to nested function and move variable
50134         declarations down to before first use.
50136 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
50138         [BZ #16799]
50139         [BZ #16800]
50140         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
50141         with 0 numerator.
50142         * math/s_catanf.c (__catanf): Likewise.
50143         * math/s_catanh.c (__catanh): Likewise.
50144         * math/s_catanhf.c (__catanhf): Likewise.
50145         * math/s_catanhl.c (__catanhl): Likewise.
50146         * math/s_catanl.c (__catanl): Likewise.
50147         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
50148         by positive zero when computing -Inf result.
50149         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
50150         (catanh_test): Likewise.
50151         * sysdeps/i386/fpu/libm-test-ulps: Update.
50152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50154         [BZ #16789]
50155         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
50156         instead of using underflowing value in computing result.
50157         * math/s_clog10.c (__clog10): Likewise.
50158         * math/s_clog10f.c (__clog10f): Likewise.
50159         * math/s_clog10l.c (__clog10l): Likewise.
50160         * math/s_clogf.c (__clogf): Likewise.
50161         * math/s_clogl.c (__clogl): Likewise.
50162         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
50163         (clog10_test): Likewise.
50164         * sysdeps/i386/fpu/libm-test-ulps: Update.
50165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50167 2014-04-02  Alan Modra  <amodra@gmail.com>
50169         [BZ #16739]
50170         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
50171         output when value is near a power of two.  Use int64_t for lx and
50172         remove casts.  Use decimal rather than hex exponent constants.
50173         Don't use long double multiplication when double will suffice.
50174         * math/libm-test.inc (nextafter_test_data): Add tests.
50175         * NEWS: Add 16739 and 16786 to bug list.
50177         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
50179         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
50181 2014-04-01  Will Newton  <will.newton@linaro.org>
50183         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
50184         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
50186 2014-04-01  Florian Weimer  <fweimer@redhat.com>
50188         [BZ #13347]
50189         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
50190         * nptl/tst-setuid2.c: New file.
50191         * nptl/Makefile (xtests): Add tst-setuid2.
50193 2014-04-01  Alan Modra  <amodra@gmail.com>
50195         [BZ #16786]
50196         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
50198 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
50200         [BZ #6803]
50201         [BZ #6804]
50202         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
50203         set errno as appropriate.
50204         * math/w_scalbf.c (__scalbf): Likewise.
50205         * math/w_scalbl.c (__scalbl): Likewise.
50206         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
50207         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
50208         * math/libm-test.inc (scalb_test_data): Add errno expectations.
50209         Add more NaN tests.
50211         [BZ #16349]
50212         * math/w_atan2.c: Include <errno.h>.
50213         (__atan2): Set errno for result underflowing to zero.
50214         * math/w_atan2f.c: Include <errno.h>.
50215         (__atan2f): Set errno for result underflowing to zero.
50216         * math/w_atan2l.c: Include <errno.h>.
50217         (__atan2l): Set errno for result underflowing to zero.
50218         * math/auto-libm-test-in: Don't allow missing errno for some atan2
50219         tests.
50220         * math/auto-libm-test-out: Regenerated.
50222 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50224         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
50225         Encode instruction correctly in little endian.
50226         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
50227         Likewise.
50228         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
50229         Likewise.
50230         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
50231         Likewise.
50232         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
50233         Likewise.
50235 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
50237         [BZ #9894]
50238         * sysdeps/unix/sysv/linux/kernel-features.h
50239         [__sparc__ && !__arch64__ && !__sparc_v9__]
50240         (__ASSUME_SET_ROBUST_LIST): Do not define.
50241         [__sparc__ && !__arch64__ && !__sparc_v9__]
50242         (__ASSUME_FUTEX_LOCK_PI): Likewise.
50243         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
50244         Likewise.
50245         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50246         (__ASSUME_FUTEX_LOCK_PI): Undefine.
50247         (__ASSUME_REQUEUE_PI): Likewise.
50248         (__ASSUME_SET_ROBUST_LIST): Likewise.
50249         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
50250         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
50251         Undefine.
50252         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50253         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
50254         Likewise.
50255         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
50256         Likewise.
50257         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
50258         Likewise.
50259         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50260         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
50261         Undefine.
50262         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
50263         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
50264         Likewise.
50266         [BZ #16648]
50267         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50268         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
50269         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
50271 2014-03-31  Will Newton  <will.newton@linaro.org>
50273         * benchtests/Makefile (bench): Add ffs and ffsll to list
50274         of tests.
50275         * benchtests/ffs-inputs: New file.
50276         * benchtests/ffsll-inputs: Likewise.
50278 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
50280         [BZ #16770]
50281         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
50282         too large before casting to int.
50283         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
50284         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
50285         * math/libm-test.inc (scalb_test_data): Add more tests.
50287 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50289         * benchtests/Makefile (DETAILED_OPT): New make option.
50290         (bench-func): Run benchmark program with -d if DETAILED_OPT is
50291         set.
50292         * benchtests/bench-skeleton.c: Include stdbool.h.
50293         (main): Store and print timings per input.
50294         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
50295         member to each argument value.
50296         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
50297         (_print_arg_data): Initialize per-input timing to 0.
50299         * benchtests/Makefile (timing-type): New binary.
50300         (bench-clean): Also remove bench-timing-type.
50301         (bench): New target for timing-type.
50302         (bench-func): Print output in JSON format.
50303         * benchtests/bench-skeleton.c (main): Print output in JSON
50304         format.
50305         * benchtests/bench-timing-type.c: New file.
50306         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
50307         (TIMING_PRINT_STATS): Remove.
50308         * benchtests/scripts/bench.py (_print_arg_data): Store variant
50309         name separately.
50311         * benchtests/bench-modf.c: Remove.
50312         * benchtests/modf-inputs: New inputs file.
50314 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
50316         [BZ #16362]
50317         * math/s_clog10.c (M_PI_LOG10E): New macro.
50318         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
50319         imaginary parts are 0.
50320         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
50321         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
50322         imaginary parts are 0.
50323         * math/s_clog10l.c (M_PI_LOG10El): New macro.
50324         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
50325         imaginary parts are 0.
50326         * math/libm-test.inc (clog10_test_data): Update expected results
50327         for when real and imaginary parts are 0.
50329 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
50331         * elf/dl-load.c: Finish conversion of __builtin_expect into
50332         __glibc_{un}likely.
50334 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
50336         [BZ #16348]
50337         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
50338         1+x for argument with exponent below -67.
50339         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
50340         Likewise.
50341         * math/auto-libm-test-in: Add more tests of exp.
50342         * math/auto-libm-test-out: Regenerated.
50344 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50346         [BZ #16759]
50347         * inet/getnetgrent_r.c (get_nonempty_val): New function.
50348         (nscd_getnetgrent): Use it.
50350         [BZ #16760]
50351         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
50352         of stpcpy.
50354 2014-03-27  Andi Kleen  <ak@linux.intel.com>
50356         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
50357         (lll_robust_lock, lll_cond_lock, lll_timedlock)
50358         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
50359         (lll_robust_unlock): Remove out of line section. Use cfi
50360         intrinsics.
50361         (LLL_STUB_UNWIND_INFO*): Remove.
50362         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
50363         (lll_robust_lock, lll_cond_lock, lll_timedlock)
50364         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
50365         (lll_robust_unlock): Remove out of line section. Use cfi
50366         intrinsics.
50367         (LLL_STUB_UNWIND_INFO*): Remove.
50369 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50371         [BZ #16758]
50372         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
50373         blank values.
50375 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
50377         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
50379 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
50381         [BZ #16198]
50382         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
50383         fnstenv.
50384         * math/test-fenv-preserve.c: New file.
50385         * math/Makefile (tests): Add test-fenv-preserve.
50387 2014-03-26  Will Newton <will.newton@linaro.org>
50389         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
50391 2014-03-25  Roland McGrath  <roland@hack.frob.com>
50393         * scripts/versionlist.awk: Partition the version sets and emit all
50394         GLIBC_* (sorted) before all others (sorted).
50396 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
50398         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
50399         GLIBC_2.2.5 version.
50401 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50403         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
50404         calls.
50406         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
50407         previous change.
50409         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50411 2014-03-25  Andreas Schwab  <schwab@suse.de>
50413         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
50414         label to be used after in6ailist is initialized.
50416 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50418         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
50419         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
50421 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
50423         [BZ #16357]
50424         [BZ #16599]
50425         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
50426         min_plus_half.
50427         (fp_formats): Update initializers.
50428         (init_fp_formats): Initialize new field.
50429         (output_for_one_input_case): Allow underflow for results up to
50430         min_plus_half.
50431         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
50432         * math/auto-libm-test-in: Don't mark some underflows from asin and
50433         atanh as spurious.
50434         * math/auto-libm-test-out: Regenerated.
50435         * sysdeps/i386/fpu/libm-test-ulps: Update.
50436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50438 2014-03-25  Andreas Schwab  <schwab@suse.de>
50440         * libio/Makefile (tst-ftell-partial-wide-ENV)
50441         (tst-ftell-active-handler-ENV): Define.
50443 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
50445         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
50447 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
50449         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
50451 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
50453         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
50454         * sysdeps/x86_64/fpu/multiarch/e_exp.c
50455         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
50457 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
50459         [BZ #16634]
50460         * elf/dl-load.c (open_verify): Add mode parameter.
50461         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
50462         (open_path): Change from boolean 'secure' to complete flag 'mode'
50463         (_dl_map_object): Adjust.
50464         * elf/Makefile (tests): Add tst-dlopen-aout.
50465         * elf/tst-dlopen-aout.c: New test.
50467 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
50469         [BZ #16714]
50470         * sysdeps/unix/sysv/linux/s390/bits/stat.h
50471         (struct stat): Rename member pad0 to __glibc_reserved0.
50473         [BZ #16712]
50474         * sysdeps/s390/s390-32/bits/wordsize.h
50475         (__WORDSIZE32_SIZE_ULONG): New define.
50476         * sysdeps/s390/s390-64/bits/wordsize.h
50477         (__WORDSIZE32_SIZE_ULONG): Likewise.
50478         * sysdeps/generic/stdint.h (SIZE_MAX):
50479         Define as UL if __WORDSIZE32_SIZE_ULONG.
50481         [BZ #16713]
50482         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
50483         (__glibc_reserved0): New variable.
50484         (sa_flags): Change type to int.
50486         * posix/Makefile (before-compile): Use += before-compile instead
50487         of a :=.
50489         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
50490         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
50492 2014-03-20  Andreas Schwab  <schwab@suse.de>
50494         [BZ #16743]
50495         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
50496         non-matching result from nscd.
50498 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
50500         * scripts/bench.py: Moved to ...
50501         * benchtests/scripts/bench.py: ... here.
50502         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
50504 2014-03-24  Andreas Schwab  <schwab@suse.de>
50506         [BZ #16002]
50507         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
50508         alloca_account and account alloca use for struct in6ailist.
50510 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
50512         [BZ #16284]
50513         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
50514         rounding mode to recompute results that overflow to infinity or
50515         underflow to zero.
50516         * math/auto-libm-test-in: Don't mark tests as expected to fail for
50517         bug 16284.
50518         * math/auto-libm-test-out: Regenerated.
50519         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
50520         (ccosh_test): Likewise.
50521         (csin_test_data): Use plus_oflow.
50522         (csin_test): Use ALL_RM_TEST.
50523         (csinh_test_data): Use plus_oflow.
50524         (csinh_test): Use ALL_RM_TEST.
50525         * sysdeps/i386/fpu/libm-test-ulps: Update.
50526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50528 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
50530         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
50531         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
50532         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
50534         [BZ #16731]
50535         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
50536         when x - 1 is zero.
50537         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
50538         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
50539         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
50540         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
50541         argument is 1.
50542         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
50543         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
50544         zero.
50545         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
50546         * sysdeps/i386/fpu/libm-test-ulps: Update.
50547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50549 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50551         * scripts/bench.pl: Remove file.
50552         * scripts/bench.py: New benchmark script.
50553         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
50554         * benchtests/README: Mention python dependency.
50555         * scripts/pylintrc: New file.
50556         * scripts/pylint: New file.
50558         * bits/mathdef.h: Use #ifdef instead of #if.
50559         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
50560         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
50561         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
50562         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
50563         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
50564         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
50566 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50567             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
50569         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
50570         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
50571         and strpbrk-ppc64 objects.
50572         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50573         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
50574         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
50575         multiarch strpbrk for POWER7.
50576         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
50577         multiarch strpbrk for PPC64.
50578         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
50579         ifunc selector.
50580         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
50581         strpbrk for POWER7.
50583 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
50585         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
50586         (atan_test): Likewise.
50587         (atanh_test_data): Use NO_TEST_INLINE for two tests.
50588         (atanh_test): Use ALL_RM_TEST.
50589         (atan2_test_data): Likewise.
50590         (cabs_test): Likewise.
50591         (cacosh_test): Likewise.
50592         (carg_test): Likewise.
50593         (casin_test): Likewise.
50594         (casinh_test): Likewise.
50595         (cbrt_test): Likewise.
50596         (csqrt_test): Likewise.
50597         (erf_test): Likewise.
50598         (erfc_test): Likewise.
50599         (pow10_test): Likewise.
50600         (exp2_test): Likewise.
50601         (hypot_test): Likewise.
50602         (j0_test): Likewise.
50603         (j1_test): Likewise.
50604         (lgamma_test): Likewise.
50605         (gamma_test): Likewise.
50606         (sincos_test): Likewise.
50607         (tanh_test): Likewise.
50608         (y0_test): Likewise.
50609         (y1_test): Likewise.
50610         * sysdeps/i386/fpu/libm-test-ulps: Update.
50611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50613 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50615         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
50616         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
50617         and strcspn-ppc64 objects.
50618         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50619         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
50620         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
50621         multiarch strcspn for POWER7.
50622         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
50623         multiarch strcspn for PPC64.
50624         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
50625         ifunc selector.
50626         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
50627         strcspn for POWER7.
50629 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
50631         * math/gen-libm-test.pl (generate_testfile): Expect only function
50632         name as argument to AUTO_TESTS_* and pass results for all rounding
50633         modes to parse_args.
50634         (parse_auto_input): Separate inputs of automatic tests from
50635         outputs before storing in %auto_tests.
50636         * math/libm-test.inc (acos_test_data): Update call to
50637         AUTO_TESTS_f_f.
50638         (acos_test): Use ALL_RM_TEST.
50639         (acos_tonearest_test_data): Remove.
50640         (acos_test_tonearest): Likewise.
50641         (acos_towardzero_test_data): Likewise.
50642         (acos_test_towardzero): Likewise.
50643         (acos_downward_test_data): Likewise.
50644         (acos_test_downward): Likewise.
50645         (acos_upward_test_data): Likewise.
50646         (acos_test_upward): Likewise.
50647         (acosh_test_data): Update call to AUTO_TESTS_f_f.
50648         (asin_test_data): Likewise.
50649         (asin_test): Use ALL_RM_TEST.
50650         (asin_tonearest_test_data): Remove.
50651         (asin_test_tonearest): Likewise.
50652         (asin_towardzero_test_data): Likewise.
50653         (asin_test_towardzero): Likewise.
50654         (asin_downward_test_data): Likewise.
50655         (asin_test_downward): Likewise.
50656         (asin_upward_test_data): Likewise.
50657         (asin_test_upward): Likewise.
50658         (asinh_test_data): Update call to AUTO_TESTS_f_f.
50659         (atan_test_data): Likewise.
50660         (atanh_test_data): Likewise.
50661         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
50662         (cabs_test_data): Update call to AUTO_TESTS_c_f.
50663         (carg_test_data): Likewise.
50664         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
50665         (ccos_test_data): Update call to AUTO_TESTS_c_c.
50666         (ccosh_test_data): Likewise.
50667         (cexp_test_data): Likewise.
50668         (clog_test_data): Likewise.
50669         (clog10_test_data): Likewise.
50670         (cos_test_data): Update call to AUTO_TESTS_f_f.
50671         (cos_test): Use ALL_RM_TEST.
50672         (cos_tonearest_test_data): Remove.
50673         (cos_test_tonearest): Likewise.
50674         (cos_towardzero_test_data): Likewise.
50675         (cos_test_towardzero): Likewise.
50676         (cos_downward_test_data): Likewise.
50677         (cos_test_downward): Likewise.
50678         (cos_upward_test_data): Likewise.
50679         (cos_test_upward): Likewise.
50680         (cosh_test_data): Update call to AUTO_TESTS_f_f.
50681         (cosh_test): Use ALL_RM_TEST.
50682         (cosh_tonearest_test_data): Remove.
50683         (cosh_test_tonearest): Likewise.
50684         (cosh_towardzero_test_data): Likewise.
50685         (cosh_test_towardzero): Likewise.
50686         (cosh_downward_test_data): Likewise.
50687         (cosh_test_downward): Likewise.
50688         (cosh_upward_test_data): Likewise.
50689         (cosh_test_upward): Likewise.
50690         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
50691         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
50692         (ctan_test_data): Likewise.
50693         (ctan_test): Use ALL_RM_TEST.
50694         (ctan_tonearest_test_data): Remove.
50695         (ctan_test_tonearest): Likewise.
50696         (ctan_towardzero_test_data): Likewise.
50697         (ctan_test_towardzero): Likewise.
50698         (ctan_downward_test_data): Likewise.
50699         (ctan_test_downward): Likewise.
50700         (ctan_upward_test_data): Likewise.
50701         (ctan_test_upward): Likewise.
50702         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
50703         (ctanh_test): Use ALL_RM_TEST.
50704         (ctanh_tonearest_test_data): Remove.
50705         (ctanh_test_tonearest): Likewise.
50706         (ctanh_towardzero_test_data): Likewise.
50707         (ctanh_test_towardzero): Likewise.
50708         (ctanh_downward_test_data): Likewise.
50709         (ctanh_test_downward): Likewise.
50710         (ctanh_upward_test_data): Likewise.
50711         (ctanh_test_upward): Likewise.
50712         (erf_test_data): Update call to AUTO_TESTS_f_f.
50713         (erfc_test_data): Likewise.
50714         (exp_test_data): Likewise.
50715         (exp_test): Use ALL_RM_TEST.
50716         (exp_tonearest_test_data): Remove.
50717         (exp_test_tonearest): Likewise.
50718         (exp_towardzero_test_data): Likewise.
50719         (exp_test_towardzero): Likewise.
50720         (exp_downward_test_data): Likewise.
50721         (exp_test_downward): Likewise.
50722         (exp_upward_test_data): Likewise.
50723         (exp_test_upward): Likewise.
50724         (exp10_test_data): Update call to AUTO_TESTS_f_f.
50725         (exp10_test): Use ALL_RM_TEST.
50726         (exp10_tonearest_test_data): Remove.
50727         (exp10_test_tonearest): Likewise.
50728         (exp10_towardzero_test_data): Likewise.
50729         (exp10_test_towardzero): Likewise.
50730         (exp10_downward_test_data): Likewise.
50731         (exp10_test_downward): Likewise.
50732         (exp10_upward_test_data): Likewise.
50733         (exp10_test_upward): Likewise.
50734         (exp2_test_data): Update call to AUTO_TESTS_f_f.
50735         (expm1_test_data): Likewise.
50736         (expm1_test): Use ALL_RM_TEST.
50737         (expm1_tonearest_test_data): Remove.
50738         (expm1_test_tonearest): Likewise.
50739         (expm1_towardzero_test_data): Likewise.
50740         (expm1_test_towardzero): Likewise.
50741         (expm1_downward_test_data): Likewise.
50742         (expm1_test_downward): Likewise.
50743         (expm1_upward_test_data): Likewise.
50744         (expm1_test_upward): Likewise.
50745         (fma_test_data): Update call to AUTO_TESTS_fff_f.
50746         (fma_test): Use ALL_RM_TEST.
50747         (fma_towardzero_test_data): Remove.
50748         (fma_test_towardzero): Likewise.
50749         (fma_downward_test_data): Likewise.
50750         (fma_test_downward): Likewise.
50751         (fma_upward_test_data): Likewise.
50752         (fma_test_upward): Likewise.
50753         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
50754         (j0_test_data): Update call to AUTO_TESTS_f_f.
50755         (j1_test_data): Likewise.
50756         (jn_test_data): Update call to AUTO_TESTS_if_f.
50757         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
50758         (log_test_data): Update call to AUTO_TESTS_f_f.
50759         (log10_test_data): Likewise.
50760         (log1p_test_data): Likewise.
50761         (log2_test_data): Likewise.
50762         (pow_test_data): Update call to AUTO_TESTS_ff_f.
50763         (pow_tonearest_test_data): Likewise.
50764         (sin_test_data): Update call to AUTO_TESTS_f_f.
50765         (sin_test): Use ALL_RM_TEST.
50766         (sin_tonearest_test_data): Remove.
50767         (sin_test_tonearest): Likewise.
50768         (sin_towardzero_test_data): Likewise.
50769         (sin_test_towardzero): Likewise.
50770         (sin_downward_test_data): Likewise.
50771         (sin_test_downward): Likewise.
50772         (sin_upward_test_data): Likewise.
50773         (sin_test_upward): Likewise.
50774         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
50775         (sinh_test_data): Update call to AUTO_TESTS_f_f.
50776         (sinh_test): Use ALL_RM_TEST.
50777         (sinh_tonearest_test_data): Remove.
50778         (sinh_test_tonearest): Likewise.
50779         (sinh_towardzero_test_data): Likewise.
50780         (sinh_test_towardzero): Likewise.
50781         (sinh_downward_test_data): Likewise.
50782         (sinh_test_downward): Likewise.
50783         (sinh_upward_test_data): Likewise.
50784         (sinh_test_upward): Likewise.
50785         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
50786         (sqrt_test): Use ALL_RM_TEST.
50787         (sqrt_tonearest_test_data): Remove.
50788         (sqrt_test_tonearest): Likewise.
50789         (sqrt_towardzero_test_data): Likewise.
50790         (sqrt_test_towardzero): Likewise.
50791         (sqrt_downward_test_data): Likewise.
50792         (sqrt_test_downward): Likewise.
50793         (sqrt_upward_test_data): Likewise.
50794         (sqrt_test_upward): Likewise.
50795         (tan_test_data): Update call to AUTO_TESTS_f_f.
50796         (tan_test): Use ALL_RM_TEST.
50797         (tan_tonearest_test_data): Remove.
50798         (tan_test_tonearest): Likewise.
50799         (tan_towardzero_test_data): Likewise.
50800         (tan_test_towardzero): Likewise.
50801         (tan_downward_test_data): Likewise.
50802         (tan_test_downward): Likewise.
50803         (tan_upward_test_data): Likewise.
50804         (tan_test_upward): Likewise.
50805         (tanh_test_data): Update call to AUTO_TESTS_f_f.
50806         (tgamma_test_data): Likewise.
50807         (y0_test_data): Likewise.
50808         (y1_test_data): Likewise.
50809         (yn_test_data): Update call to AUTO_TESTS_if_f.
50810         (main): Do not call removed functions.
50812 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
50814         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
50815         (ldexp_test_data): Remove.
50816         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
50817         scalbn_test_data.
50818         (scalb_test): Use ALL_RM_TEST.
50820 2014-03-19  Andreas Schwab  <schwab@suse.de>
50822         * nscd/nscd.service: Also invalidate netgroup cache on reload.
50824 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
50826         [BZ #16649]
50827         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50828         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
50829         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
50830         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50831         (__ASSUME_PREADV): Undefine.
50832         (__ASSUME_PWRITEV): Likewise.
50834 2014-03-18  Roland McGrath  <roland@hack.frob.com>
50836         * bits/mman-linux.h: Add comment about non-Linux use.
50837         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
50838         bits/mman-linux.h resting place.
50840         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
50841         * bits/mman-linux.h: ... here.
50843 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50845         * conform/conformtest.pl: Add standard definition when calling C
50846         preprocessor on data files.
50847         (checknamespace): Remove unused variable.
50849 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
50851         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
50852         minus_oflow, plus_uflow and minus_uflow in expected results.
50853         * math/libm-test.inc (scalbn_test_data): Add more tests of
50854         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
50855         minus_uflow.
50856         (scalbn_test): Use ALL_RM_TEST.
50857         (scalbln_test_data): Add more tests of negative arguments.  Use
50858         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
50859         (scalbln_test): Use ALL_RM_TEST.
50861 2014-03-18  Roland McGrath  <roland@hack.frob.com>
50863         * scripts/abilist.awk: Ignore symbols marked with .hidden.
50865 2014-03-18  Will Newton  <will.newton@linaro.org>
50867         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
50868         inaccurate comment.
50870 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
50872         * Makerules [!subdir] (check-abi): Exit with error status if a
50873         test failed.
50875 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
50877         * math/libm-test.inc (nearbyint_test_data): Include all tests used
50878         for rint.  Include results for all rounding modes.
50879         (nearbyint_test): Use ALL_RM_TEST.
50880         (rint_test_data): Include all tests used for nearbyint.
50882 2014-03-17  Will Newton  <will.newton@linaro.org>
50884         * nptl/sysdeps/pthread/pthread.h: Revert previous
50885         change.
50887         * sysdeps/generic/ldsodefs.h: Revert previous
50888         change.
50890         * libio/genops.c: Revert previous change.
50891         * libio/libioP.h: Likewise.
50892         * stdio-common/vfprintf.c: Likewise.
50894         * sysdeps/generic/math_private.h: Revert previous
50895         change.
50897         * sysdeps/generic/math_private.h: Check whether
50898         HAVE_RM_CTX is defined with #ifdef rather
50899         than #if.
50901         * argp/argp-fmtstream.h: Check whether
50902         __STRICT_ANSI__ is defined with #ifdef rather
50903         than #if.
50904         * argp/argp.h: Likewise.
50906         * libio/genops.c: Check whether
50907         _IO_JUMPS_OFFSET is defined with #ifdef rather
50908         than #if.
50909         * libio/libioP.h: Likewise.
50910         * stdio-common/vfprintf.c: Likewise.
50912         * sysdeps/generic/ldsodefs.h: Check whether
50913         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
50914         than #if.
50916         * nptl/sysdeps/pthread/pthread.h: Check
50917         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
50918         its value.
50920 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50922         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
50923         setting O_APPEND.
50924         * libio/tst-ftell-active-handler.c (do_append_test): Add a
50925         test case.
50927         [BZ #16680]
50928         * libio/fileops.c (_IO_file_open): Seek to end of file but
50929         don't cache the offset.
50930         (get_file_offset): Remove function.
50931         (do_ftell): Use cached offset when available.
50932         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
50933         don't cache the offset.
50934         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
50935         case.
50936         (do_one_test): Call it.
50937         (do_ftell_test): Fix up expected old offset for a+ mode.
50938         * libio/wfileops.c (do_ftell_wide): Used cached offset when
50939         available.
50941         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
50942         up test status with function return status.
50943         (do_write_test): Likewise.
50944         (do_append_test): Likewise.
50946         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
50947         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
50948         Remove.
50950 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
50952         * math/gen-libm-test.pl (parse_args): Handle results specified for
50953         each rounding mode separately.
50954         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
50955         tests and results from lrint_tonearest_test_data,
50956         lrint_towardzero_test_data, lrint_downward_test_data and
50957         lrint_upward_test_data.
50958         (lrint_test): Use ALL_RM_TEST.
50959         (lrint_tonearest_test_data): Remove.
50960         (lrint_test_tonearest): Likewise.
50961         (lrint_towardzero_test_data): Likewise.
50962         (lrint_test_towardzero): Likewise.
50963         (lrint_downward_test_data): Likewise.
50964         (lrint_test_downward): Likewise.
50965         (lrint_upward_test_data): Likewise.
50966         (lrint_test_upward): Likewise.
50967         (llrint_test_data): Merge in per-rounding-mode tests and results
50968         from llrint_tonearest_test_data, llrint_towardzero_test_data,
50969         llrint_downward_test_data and llrint_upward_test_data.
50970         (llrint_test): Use ALL_RM_TEST.
50971         (llrint_tonearest_test_data): Remove.
50972         (llrint_test_tonearest): Likewise.
50973         (llrint_towardzero_test_data): Likewise.
50974         (llrint_test_towardzero): Likewise.
50975         (llrint_downward_test_data): Likewise.
50976         (llrint_test_downward): Likewise.
50977         (llrint_upward_test_data): Likewise.
50978         (llrint_test_upward): Likewise.
50979         (rint_test_data): Merge in per-rounding-mode tests and results
50980         from rint_tonearest_test_data, rint_towardzero_test_data,
50981         rint_downward_test_data and rint_upward_test_data.  Add
50982         per-rounding-mode results for tests not in those arrays.
50983         (rint_test): Use ALL_RM_TEST.
50984         (rint_tonearest_test_data): Remove.
50985         (rint_test_tonearest): Likewise.
50986         (rint_towardzero_test_data): Likewise.
50987         (rint_test_towardzero): Likewise.
50988         (rint_downward_test_data): Likewise.
50989         (rint_test_downward): Likewise.
50990         (rint_upward_test_data): Likewise.
50991         (rint_test_upward): Likewise.
50992         (main): Don't call removed functions.
50994 2014-03-14  Roland McGrath  <roland@hack.frob.com>
50996         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
50997         "Compiled on ..." crapola.  It is anti-useful.
50999 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
51001         * scripts/evaluate-test.sh: Handle fourth argument to determine
51002         whether test run should stop on failure.
51003         * Makeconfig (stop-on-test-failure): New variable.
51004         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
51005         $(stop-on-test-failure).
51006         * Makefile (tests): Give a summary of results from testing and
51007         exit with failure status if they include an ERROR or FAIL.
51008         (xtests): Likewise.
51009         * manual/install.texi (Configuring and compiling): Mention
51010         stop-on-test-failure=y.
51011         * INSTALL: Regenerated.
51013 2014-03-14  Roland McGrath  <roland@hack.frob.com>
51015         * scripts/versionlist.awk: New file.
51016         * Makerules [$(build-shared) = yes]
51017         (postclean-generated): Add Versions.def, not Versions.def.v and
51018         Versions.def.v.i.
51019         ($(common-objpfx)Versions.def.v.i): Target removed.
51020         ($(common-objpfx)Versions.def): New target.
51021         ($(common-objpfx)Versions.all): Depend on that rather that
51022         $(common-objpfx)Versions.def.v.
51023         * Versions.def: File removed.
51025         * Makeconfig (+gccwarn): Add -Wundef.
51026         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
51027         a dl-sysdep.h breaking its contract.
51028         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
51029         * include/stackinfo.h: New file.
51030         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
51031         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
51032         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
51033         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
51034         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
51035         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
51036         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51037         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51038         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51039         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51040         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51041         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
51042         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51043         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51044         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51046 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51048         [BZ #16707]
51049         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
51050         implementation.
51051         * math/libm-test.inc (round_test_data): Add more tests.
51053         [BZ #16706]
51054         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
51055         implementation.
51056         * math/libm-test.inc (nearbyint_test_data): Add more tests.
51058         [BZ #16701]
51059         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
51060         implementation.
51061         * math/libm-test.inc (ceil_test_data): Add more tests.
51063         * math/libm-test.inc (trunc_test_data): Add more tests related to
51064         BZ#16414.
51066 2014-03-14  Roland McGrath  <roland@hack.frob.com>
51068         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
51069         with #if rather than #ifdef.
51070         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
51072 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
51074         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
51075         first.  Disable AVX-512 GCC support if assembler doesn't support
51076         it.
51077         * sysdeps/x86_64/configure: Regenerated.
51079 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
51081         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
51082         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
51083         (__old_pthread_attr_setstack): Likewise.
51084         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
51085         [!_STACK_GROWS_DOWN]: Likewise.
51087 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
51089         * config.make.in (have-bash2): Delete.
51090         * configure.ac (libc_cv_have_bash2): Delete.
51091         * configure: Regenerate.
51092         * elf/Makefile (common-ldd-rewrite): Rename to ...
51093         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
51094         (sh-ldd-rewrite): Delete.
51095         (bash-ldd-rewrite): Delete.
51096         (have-bash2): Delete checks.
51097         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
51098         ldd-rewrite.
51100         * config.make.in (have-ksh): Delete.
51101         (KSH): Delete.
51102         * configure.ac (libc_cv_have_ksh): Delete.
51103         * configure: Regenerate.
51105         * elf/Makefile: Delete $(have-ksh) check.
51106         ($(objpfx)sotruss): Change KSH to BASH.
51107         * elf/sotruss.ksh: Rename to ...
51108         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
51109         function style to match POSIX.  Drop ksh vim mode setting.
51111         * manual/time.texi (Specifying the Time Zone with TZ): Change
51112         Tuesday to Thursday.
51114         * debug/tst-longjmp_chk2.c: Update header comment.
51115         (stackoverflow_handler): Add comment.  Call assert on pass value.
51117 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
51119         [BZ #16194]
51120         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
51121         (HAVE_AVX512_ASM_SUPPORT): Likewise.
51122         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
51123         (La_x86_64_vector): Add zmm.
51124         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
51125         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
51126         ($(objpfx)tst-audit10): New target.
51127         ($(objpfx)tst-audit10.out): Likewise.
51128         (tst-audit10-ENV): New.
51129         (AVX512-CFLAGS): Likewise.
51130         (CFLAGS-tst-audit10.c): Likewise.
51131         (CFLAGS-tst-auditmod10a.c): Likewise.
51132         (CFLAGS-tst-auditmod10b.c): Likewise.
51133         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
51134         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
51135         * sysdeps/x86_64/configure: Regenerated.
51136         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
51137         AVX-512 zmm register support.
51138         (_dl_x86_64_save_sse): Likewise.
51139         (_dl_x86_64_restore_sse): Likewise.
51140         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
51141         size vector registers.
51142         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
51143         (ZMM_SIZE): Likewise.
51144         * sysdeps/x86_64/tst-audit10.c: New file.
51145         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
51146         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
51148 2014-03-13  Roland McGrath  <roland@hack.frob.com>
51150         * configure.ac (HAVE_EHDR_START): New check.
51151         * configure: Regenerated.
51152         * config.h.in (HAVE_EHDR_START): New #undef.
51153         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
51154         assuming the lowest-addressed segment maps the start of the file.
51156 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
51158         * INSTALL: Regenerated.
51160 2014-03-13  Will Newton  <will.newton@linaro.org>
51162         * manual/setjmp.texi (System V contexts): Improve
51163         clarity and grammar of documentation.
51165 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
51167         [BZ #16381]
51168         * elf/Makefile (tests): Add tst-pie2.
51169         (tests-pie): Add tst-pie2.
51170         * elf/tst-pie2.c: New file.
51171         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
51172         for ET_EXEC.
51173         * elf/rtld.c (map_doit): Load executable as lt_executable.
51174         (dl_main): Likewise.
51176 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
51178         [BZ #16642]
51179         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51180         (__ASSUME_PSELECT): Undefine.
51182 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51184         [BZ #16689]
51185         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
51186         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
51187         static build.
51188         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
51189         selector for static builds.
51191 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
51193         [BZ #16695]
51194         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
51195         key in the buffer.
51197 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51199         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
51200         IFUNC selector for static builds.
51202 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
51204         * sysdeps/mips/math_private.h [__mips_hard_float]
51205         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
51206         libc_feresetround_mips_ctx.
51207         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
51208         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
51209         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
51211         [BZ #16677]
51212         * math/s_nextafter.c (__nextafter): Do not return value from
51213         overflowing computation.
51214         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
51215         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
51216         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
51217         Likewise.
51218         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
51219         Likewise.
51220         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
51221         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
51223 2014-03-11  Roland McGrath  <roland@hack.frob.com>
51225         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
51226         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
51227         Move sfi_sp use from the load-multiple (that no longer sets sp) to
51228         the new mov targetting sp.
51230 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51232         [BZ #16683]
51233         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
51234         Define it for static builds as well.
51235         (NO_BZERO_IMPL): Likewise.
51237 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
51239         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
51240         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
51241         multiarch strspn for PPC64.
51242         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
51243         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
51244         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
51245         (__libc_ifunc_impl_list): Likewise.
51246         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
51247         multiarch optimizations
51248         * string/strspn.c (strspn): Using macro to redefine symbol name.
51250 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
51251             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51253         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
51254         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
51255         multiarch strncat for PPC64.
51256         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
51257         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
51258         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
51259         (__libc_ifunc_impl_list): Likewise.
51260         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
51261         multiarch optimizations
51263 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51265         [BZ #16639]
51266         * nscd/nscd.service: Make service type forking.
51268 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51270         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
51271         sign in non default rounding modes.
51272         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
51274 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
51276         * math/libm-test.inc (ALL_RM_TEST): New macro.
51277         (ceil_test): Use ALL_RM_TEST.
51278         (cimag_test): Likewise.
51279         (conj_test): Likewise.
51280         (copysign_test): Likewise.
51281         (cproj_test): Likewise.
51282         (creal_test): Likewise.
51283         (fabs_test): Likewise.
51284         (floor_test): Likewise.
51285         (fmax_test): Likewise.
51286         (fmin_test): Likewise.
51287         (fmod_test): Likewise.
51288         (fpclassify_test): Likewise.
51289         (frexp_test): Likewise.
51290         (ilogb_test): Likewise.
51291         (isfinite_test): Likewise.
51292         (finite_test): Likewise.
51293         (isgreater_test): Likewise.
51294         (isgreaterequal_test): Likewise.
51295         (isinf_test): Likewise.
51296         (isless_test): Likewise.
51297         (islessequal_test): Likewise.
51298         (islessgreater_test): Likewise.
51299         (isnan_test): Likewise.
51300         (isnormal_test): Likewise.
51301         (issignaling_test): Likewise.
51302         (isunordered_test): Likewise.
51303         (logb_test): Likewise.
51304         (logb_downward_test_data): Remove.
51305         (logb_test_downward): Likewise.
51306         (lround_test): Use ALL_RM_TEST.
51307         (llround_test): Likewise.
51308         (modf_test): Likewise.
51309         (nexttoward_test): Likewise.
51310         (remainder_test): Likewise.
51311         (drem_test): Likewise.
51312         (remainder_tonearest_test_data): Likewise.
51313         (remainder_test_tonearest): Likewise.
51314         (drem_test_tonearest): Likewise.
51315         (remainder_towardzero_test_data): Likewise.
51316         (remainder_test_towardzero): Likewise.
51317         (drem_test_towardzero): Likewise.
51318         (remainder_downward_test_data): Likewise.
51319         (remainder_test_downward): Likewise.
51320         (drem_test_downward): Likewise.
51321         (remainder_upward_test_data): Likewise.
51322         (remainder_test_upward): Likewise.
51323         (drem_test_upward): Likewise.
51324         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
51325         (round_test): Use ALL_RM_TEST.
51326         (signbit_test): Likewise.
51327         (trunc_test): Likewise.
51328         (significand_test): Likewise.
51329         (main): Don't call removed functions.
51331 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
51333         [BZ #16674]
51334         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
51335         || __USE_XOPEN2K8].
51336         (ILL_ILLOPN): Likewise.
51337         (ILL_ILLADR): Likewise.
51338         (ILL_ILLTRP): Likewise.
51339         (ILL_PRVOPC): Likewise.
51340         (ILL_PRVREG): Likewise.
51341         (ILL_COPROC): Likewise.
51342         (ILL_BADSTK): Likewise.
51343         (FPE_INTDIV): Likewise.
51344         (FPE_INTOVF): Likewise.
51345         (FPE_FLTDIV): Likewise.
51346         (FPE_FLTOVF): Likewise.
51347         (FPE_FLTUND): Likewise.
51348         (FPE_FLTRES): Likewise.
51349         (FPE_FLTINV): Likewise.
51350         (FPE_FLTSUB): Likewise.
51351         (SEGV_MAPERR): Likewise.
51352         (SEGV_ACCERR): Likewise.
51353         (BUS_ADRALN): Likewise.
51354         (BUS_ADRERR): Likewise.
51355         (BUS_OBJERR): Likewise.
51356         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51357         (TRAP_TRACE): Likewise.
51358         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51359         __USE_XOPEN2K8].
51360         (CLD_KILLED): Likewise.
51361         (CLD_DUMPED): Likewise.
51362         (CLD_TRAPPED): Likewise.
51363         (CLD_STOPPED): Likewise.
51364         (CLD_CONTINUED): Likewise.
51365         (POLL_IN): Likewise.
51366         (POLL_OUT): Likewise.
51367         (POLL_MSG): Likewise.
51368         (POLL_ERR): Likewise.
51369         (POLL_PRI): Likewise.
51370         (POLL_HUP): Likewise.
51371         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
51372         Likewise.
51373         (ILL_ILLOPN): Likewise.
51374         (ILL_ILLADR): Likewise.
51375         (ILL_ILLTRP): Likewise.
51376         (ILL_PRVOPC): Likewise.
51377         (ILL_PRVREG): Likewise.
51378         (ILL_COPROC): Likewise.
51379         (ILL_BADSTK): Likewise.
51380         (FPE_INTDIV): Likewise.
51381         (FPE_INTOVF): Likewise.
51382         (FPE_FLTDIV): Likewise.
51383         (FPE_FLTOVF): Likewise.
51384         (FPE_FLTUND): Likewise.
51385         (FPE_FLTRES): Likewise.
51386         (FPE_FLTINV): Likewise.
51387         (FPE_FLTSUB): Likewise.
51388         (SEGV_MAPERR): Likewise.
51389         (SEGV_ACCERR): Likewise.
51390         (BUS_ADRALN): Likewise.
51391         (BUS_ADRERR): Likewise.
51392         (BUS_OBJERR): Likewise.
51393         (BUS_MCEERR_AR): Likewise.
51394         (BUS_MCEERR_AO): Likewise.
51395         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51396         (TRAP_TRACE): Likewise.
51397         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51398         __USE_XOPEN2K8].
51399         (CLD_KILLED): Likewise.
51400         (CLD_DUMPED): Likewise.
51401         (CLD_TRAPPED): Likewise.
51402         (CLD_STOPPED): Likewise.
51403         (CLD_CONTINUED): Likewise.
51404         (POLL_IN): Likewise.
51405         (POLL_OUT): Likewise.
51406         (POLL_MSG): Likewise.
51407         (POLL_ERR): Likewise.
51408         (POLL_PRI): Likewise.
51409         (POLL_HUP): Likewise.
51410         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
51411         (ILL_ILLOPN): Likewise.
51412         (ILL_ILLADR): Likewise.
51413         (ILL_ILLTRP): Likewise.
51414         (ILL_PRVOPC): Likewise.
51415         (ILL_PRVREG): Likewise.
51416         (ILL_COPROC): Likewise.
51417         (ILL_BADSTK): Likewise.
51418         (FPE_INTDIV): Likewise.
51419         (FPE_INTOVF): Likewise.
51420         (FPE_FLTDIV): Likewise.
51421         (FPE_FLTOVF): Likewise.
51422         (FPE_FLTUND): Likewise.
51423         (FPE_FLTRES): Likewise.
51424         (FPE_FLTINV): Likewise.
51425         (FPE_FLTSUB): Likewise.
51426         (SEGV_MAPERR): Likewise.
51427         (SEGV_ACCERR): Likewise.
51428         (BUS_ADRALN): Likewise.
51429         (BUS_ADRERR): Likewise.
51430         (BUS_OBJERR): Likewise.
51431         (BUS_MCEERR_AR): Likewise.
51432         (BUS_MCEERR_AO): Likewise.
51433         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51434         (TRAP_TRACE): Likewise.
51435         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51436         __USE_XOPEN2K8].
51437         (CLD_KILLED): Likewise.
51438         (CLD_DUMPED): Likewise.
51439         (CLD_TRAPPED): Likewise.
51440         (CLD_STOPPED): Likewise.
51441         (CLD_CONTINUED): Likewise.
51442         (POLL_IN): Likewise.
51443         (POLL_OUT): Likewise.
51444         (POLL_MSG): Likewise.
51445         (POLL_ERR): Likewise.
51446         (POLL_PRI): Likewise.
51447         (POLL_HUP): Likewise.
51448         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
51449         Likewise.
51450         (ILL_ILLOPN): Likewise.
51451         (ILL_ILLADR): Likewise.
51452         (ILL_ILLTRP): Likewise.
51453         (ILL_PRVOPC): Likewise.
51454         (ILL_PRVREG): Likewise.
51455         (ILL_COPROC): Likewise.
51456         (ILL_BADSTK): Likewise.
51457         (ILL_BADIADDR): Likewise.
51458         (ILL_BREAK): Likewise.
51459         (FPE_INTDIV): Likewise.
51460         (FPE_INTOVF): Likewise.
51461         (FPE_FLTDIV): Likewise.
51462         (FPE_FLTOVF): Likewise.
51463         (FPE_FLTUND): Likewise.
51464         (FPE_FLTRES): Likewise.
51465         (FPE_FLTINV): Likewise.
51466         (FPE_FLTSUB): Likewise.
51467         (FPE_DECOVF): Likewise.
51468         (FPE_DECDIV): Likewise.
51469         (FPE_DECERR): Likewise.
51470         (FPE_INVASC): Likewise.
51471         (FPE_INVDEC): Likewise.
51472         (SEGV_MAPERR): Likewise.
51473         (SEGV_ACCERR): Likewise.
51474         (SEGV_PSTKOVF): Likewise.
51475         (BUS_ADRALN): Likewise.
51476         (BUS_ADRERR): Likewise.
51477         (BUS_OBJERR): Likewise.
51478         (BUS_MCEERR_AR): Likewise.
51479         (BUS_MCEERR_AO): Likewise.
51480         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51481         (TRAP_TRACE): Likewise.
51482         (TRAP_BRANCH): Likewise.
51483         (TRAP_HWBKPT): Likewise.
51484         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51485         __USE_XOPEN2K8].
51486         (CLD_KILLED): Likewise.
51487         (CLD_DUMPED): Likewise.
51488         (CLD_TRAPPED): Likewise.
51489         (CLD_STOPPED): Likewise.
51490         (CLD_CONTINUED): Likewise.
51491         (POLL_IN): Likewise.
51492         (POLL_OUT): Likewise.
51493         (POLL_MSG): Likewise.
51494         (POLL_ERR): Likewise.
51495         (POLL_PRI): Likewise.
51496         (POLL_HUP): Likewise.
51497         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
51498         (ILL_ILLOPN): Likewise.
51499         (ILL_ILLADR): Likewise.
51500         (ILL_ILLTRP): Likewise.
51501         (ILL_PRVOPC): Likewise.
51502         (ILL_PRVREG): Likewise.
51503         (ILL_COPROC): Likewise.
51504         (ILL_BADSTK): Likewise.
51505         (FPE_INTDIV): Likewise.
51506         (FPE_INTOVF): Likewise.
51507         (FPE_FLTDIV): Likewise.
51508         (FPE_FLTOVF): Likewise.
51509         (FPE_FLTUND): Likewise.
51510         (FPE_FLTRES): Likewise.
51511         (FPE_FLTINV): Likewise.
51512         (FPE_FLTSUB): Likewise.
51513         (SEGV_MAPERR): Likewise.
51514         (SEGV_ACCERR): Likewise.
51515         (BUS_ADRALN): Likewise.
51516         (BUS_ADRERR): Likewise.
51517         (BUS_OBJERR): Likewise.
51518         (BUS_MCEERR_AR): Likewise.
51519         (BUS_MCEERR_AO): Likewise.
51520         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51521         (TRAP_TRACE): Likewise.
51522         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51523         __USE_XOPEN2K8].
51524         (CLD_KILLED): Likewise.
51525         (CLD_DUMPED): Likewise.
51526         (CLD_TRAPPED): Likewise.
51527         (CLD_STOPPED): Likewise.
51528         (CLD_CONTINUED): Likewise.
51529         (POLL_IN): Likewise.
51530         (POLL_OUT): Likewise.
51531         (POLL_MSG): Likewise.
51532         (POLL_ERR): Likewise.
51533         (POLL_PRI): Likewise.
51534         (POLL_HUP): Likewise.
51535         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
51536         (ILL_ILLOPN): Likewise.
51537         (ILL_ILLADR): Likewise.
51538         (ILL_ILLTRP): Likewise.
51539         (ILL_PRVOPC): Likewise.
51540         (ILL_PRVREG): Likewise.
51541         (ILL_COPROC): Likewise.
51542         (ILL_BADSTK): Likewise.
51543         (FPE_INTDIV): Likewise.
51544         (FPE_INTOVF): Likewise.
51545         (FPE_FLTDIV): Likewise.
51546         (FPE_FLTOVF): Likewise.
51547         (FPE_FLTUND): Likewise.
51548         (FPE_FLTRES): Likewise.
51549         (FPE_FLTINV): Likewise.
51550         (FPE_FLTSUB): Likewise.
51551         (SEGV_MAPERR): Likewise.
51552         (SEGV_ACCERR): Likewise.
51553         (BUS_ADRALN): Likewise.
51554         (BUS_ADRERR): Likewise.
51555         (BUS_OBJERR): Likewise.
51556         (BUS_MCEERR_AR): Likewise.
51557         (BUS_MCEERR_AO): Likewise.
51558         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51559         (TRAP_TRACE): Likewise.
51560         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51561         __USE_XOPEN2K8].
51562         (CLD_KILLED): Likewise.
51563         (CLD_DUMPED): Likewise.
51564         (CLD_TRAPPED): Likewise.
51565         (CLD_STOPPED): Likewise.
51566         (CLD_CONTINUED): Likewise.
51567         (POLL_IN): Likewise.
51568         (POLL_OUT): Likewise.
51569         (POLL_MSG): Likewise.
51570         (POLL_ERR): Likewise.
51571         (POLL_PRI): Likewise.
51572         (POLL_HUP): Likewise.
51573         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
51574         (ILL_ILLOPN): Likewise.
51575         (ILL_ILLADR): Likewise.
51576         (ILL_ILLTRP): Likewise.
51577         (ILL_PRVOPC): Likewise.
51578         (ILL_PRVREG): Likewise.
51579         (ILL_COPROC): Likewise.
51580         (ILL_BADSTK): Likewise.
51581         (FPE_INTDIV): Likewise.
51582         (FPE_INTOVF): Likewise.
51583         (FPE_FLTDIV): Likewise.
51584         (FPE_FLTOVF): Likewise.
51585         (FPE_FLTUND): Likewise.
51586         (FPE_FLTRES): Likewise.
51587         (FPE_FLTINV): Likewise.
51588         (FPE_FLTSUB): Likewise.
51589         (SEGV_MAPERR): Likewise.
51590         (SEGV_ACCERR): Likewise.
51591         (BUS_ADRALN): Likewise.
51592         (BUS_ADRERR): Likewise.
51593         (BUS_OBJERR): Likewise.
51594         (BUS_MCEERR_AR): Likewise.
51595         (BUS_MCEERR_AO): Likewise.
51596         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51597         (TRAP_TRACE): Likewise.
51598         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51599         __USE_XOPEN2K8].
51600         (CLD_KILLED): Likewise.
51601         (CLD_DUMPED): Likewise.
51602         (CLD_TRAPPED): Likewise.
51603         (CLD_STOPPED): Likewise.
51604         (CLD_CONTINUED): Likewise.
51605         (POLL_IN): Likewise.
51606         (POLL_OUT): Likewise.
51607         (POLL_MSG): Likewise.
51608         (POLL_ERR): Likewise.
51609         (POLL_PRI): Likewise.
51610         (POLL_HUP): Likewise.
51611         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
51612         (ILL_ILLOPN): Likewise.
51613         (ILL_ILLADR): Likewise.
51614         (ILL_ILLTRP): Likewise.
51615         (ILL_PRVOPC): Likewise.
51616         (ILL_PRVREG): Likewise.
51617         (ILL_COPROC): Likewise.
51618         (ILL_BADSTK): Likewise.
51619         (ILL_DBLFLT): Likewise.
51620         (ILL_HARDWALL): Likewise.
51621         (FPE_INTDIV): Likewise.
51622         (FPE_INTOVF): Likewise.
51623         (FPE_FLTDIV): Likewise.
51624         (FPE_FLTOVF): Likewise.
51625         (FPE_FLTUND): Likewise.
51626         (FPE_FLTRES): Likewise.
51627         (FPE_FLTINV): Likewise.
51628         (FPE_FLTSUB): Likewise.
51629         (SEGV_MAPERR): Likewise.
51630         (SEGV_ACCERR): Likewise.
51631         (BUS_ADRALN): Likewise.
51632         (BUS_ADRERR): Likewise.
51633         (BUS_OBJERR): Likewise.
51634         (BUS_MCEERR_AR): Likewise.
51635         (BUS_MCEERR_AO): Likewise.
51636         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51637         (TRAP_TRACE): Likewise.
51638         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51639         __USE_XOPEN2K8].
51640         (CLD_KILLED): Likewise.
51641         (CLD_DUMPED): Likewise.
51642         (CLD_TRAPPED): Likewise.
51643         (CLD_STOPPED): Likewise.
51644         (CLD_CONTINUED): Likewise.
51645         (POLL_IN): Likewise.
51646         (POLL_OUT): Likewise.
51647         (POLL_MSG): Likewise.
51648         (POLL_ERR): Likewise.
51649         (POLL_PRI): Likewise.
51650         (POLL_HUP): Likewise.
51651         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
51652         (ILL_ILLOPN): Likewise.
51653         (ILL_ILLADR): Likewise.
51654         (ILL_ILLTRP): Likewise.
51655         (ILL_PRVOPC): Likewise.
51656         (ILL_PRVREG): Likewise.
51657         (ILL_COPROC): Likewise.
51658         (ILL_BADSTK): Likewise.
51659         (FPE_INTDIV): Likewise.
51660         (FPE_INTOVF): Likewise.
51661         (FPE_FLTDIV): Likewise.
51662         (FPE_FLTOVF): Likewise.
51663         (FPE_FLTUND): Likewise.
51664         (FPE_FLTRES): Likewise.
51665         (FPE_FLTINV): Likewise.
51666         (FPE_FLTSUB): Likewise.
51667         (SEGV_MAPERR): Likewise.
51668         (SEGV_ACCERR): Likewise.
51669         (BUS_ADRALN): Likewise.
51670         (BUS_ADRERR): Likewise.
51671         (BUS_OBJERR): Likewise.
51672         (BUS_MCEERR_AR): Likewise.
51673         (BUS_MCEERR_AO): Likewise.
51674         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51675         (TRAP_TRACE): Likewise.
51676         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51677         __USE_XOPEN2K8].
51678         (CLD_KILLED): Likewise.
51679         (CLD_DUMPED): Likewise.
51680         (CLD_TRAPPED): Likewise.
51681         (CLD_STOPPED): Likewise.
51682         (CLD_CONTINUED): Likewise.
51683         (POLL_IN): Likewise.
51684         (POLL_OUT): Likewise.
51685         (POLL_MSG): Likewise.
51686         (POLL_ERR): Likewise.
51687         (POLL_PRI): Likewise.
51688         (POLL_HUP): Likewise.
51689         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
51690         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
51692         [BZ #16670]
51693         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
51694         before #include of <time.h>.
51695         [!__USE_XOPEN2K] (__need_timespec): Likewise.
51696         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
51697         (test-xfail-UNIX98/sched.h/conform): Likewise.
51699 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
51701         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
51702         error absence of trapping exception support.
51703         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
51705 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
51707         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
51708         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
51709         * timezone/Makefile (testdata): Move definition above include of
51710         Rules.
51711         (test-zones): New variable.
51712         (tests-special): Add zone files.
51713         (build-testdata): Use $(evaluate-test).
51715         * elf/Makefile (tests-special): Rename tests to end with .out.
51716         ($(objpfx)noload-mem): Likewise.
51717         ($(objpfx)tst-leaks1-mem): Likewise.
51718         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
51719         * iconv/Makefile (xtests-special): Change test-iconvconfig to
51720         $(objpfx)test-iconvconfig.out.
51721         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
51722         set -e inside subshell and redirect output to file.
51723         * iconvdata/Makefile (generated): Rename tests to end with .out.
51724         Correct type.
51725         (tests-special): Rename tests to end with .out.
51726         ($(objpfx)mtrace-tst-loading): Likewise.
51727         * intl/Makefile (generated): Likewise.
51728         (tests-special): Likewise.
51729         ($(objpfx)mtrace-tst-gettext): Likewise.
51730         * misc/Makefile (generated): Likewise.
51731         (tests-special): Likewise.
51732         ($(objpfx)tst-error1-mem): Likewise.
51733         * nptl/Makefile (tests-special): Likewise.
51734         ($(objpfx)tst-stack3-mem): Likewise.
51735         (generated): Likewise.
51736         * posix/Makefile (generated): Likewise.
51737         (tests-special): Likewise.
51738         (xtests-special): Likewise.
51739         ($(objpfx)tst-fnmatch-mem): Likewise.
51740         ($(objpfx)bug-regex2-mem): Likewise.
51741         ($(objpfx)bug-regex14-mem): Likewise.
51742         ($(objpfx)bug-regex21-mem): Likewise.
51743         ($(objpfx)bug-regex31-mem): Likewise.
51744         ($(objpfx)tst-vfork3-mem): Likewise.
51745         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
51746         ($(objpfx)tst-pcre-mem): Likewise.
51747         ($(objpfx)tst-boost-mem): Likewise.
51748         ($(objpfx)bug-ga2-mem): Likewise.
51749         ($(objpfx)bug-glob2-mem): Likewise.
51750         * resolv/Makefile (generate): Likewise.
51751         (tests-special): Likewise.
51752         (xtests-special): Likewise.
51753         (generated): Likewise.
51754         ($(objpfx)mtrace-tst-leaks): Likewise.
51755         ($(objpfx)mtrace-tst-leaks2): Likewise.
51757         * scripts/merge-test-results.sh: New file.
51758         * Makefile (tests-special-notdir): New variable.
51759         (tests): Run merge-test-results.sh.
51760         (xtests): Likewise.
51761         * Rules (tests-special-notdir): New variable.
51762         (xtests-special-notdir): Likewise.
51763         (tests): Run merge-test-results.sh
51764         (xtests): Likewise.
51766         * Makeconfig (test-xfail-name): New variable.
51767         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
51768         compute variable name for expected failures.
51769         * conform/Makefile (conformtest-headers-data): New variable.
51770         (conformtest-standards): Likewise.
51771         (conformtest-headers-ISO): Likewise.
51772         (conformtest-headers-ISO99): Likewise.
51773         (conformtest-headers-ISO11): Likewise.
51774         (conformtest-headers-POSIX): Likewise.
51775         (conformtest-headers-XPG3): Likewise.
51776         (conformtest-headers-XPG4): Likewise.
51777         (conformtest-headers-UNIX98): Likewise.
51778         (conformtest-headers-XOPEN2K): Likewise.
51779         (conformtest-headers-POSIX2008): Likewise.
51780         (conformtest-headers-XOPEN2K8): Likewise.
51781         (conformtest-header-list-base): Likewise.
51782         (conformtest-header-list-tests): Likewise.
51783         (conformtest-header-base): Likewise.
51784         (conformtest-header-tests): Likewise.
51785         (tests-special): Add $(conformtest-header-list-tests).  If
51786         [$(fast-check) && !$(cross-compiling)], add
51787         $(conformtest-header-tests) instead of
51788         $(objpfx)run-conformtest.out.
51789         (generated): Add $(conformtest-header-list-base).  If
51790         [$(fast-check) && !$(cross-compiling)], add
51791         $(conformtest-header-base).  Remove previous setting.
51792         ($(conformtest-header-list-tests)): New target.
51793         (test-xfail-run-conformtest): Remove variable.
51794         ($(objpfx)run-conformtest.out): Remove target.
51795         (test-xfail-ISO11/complex.h/conform): New variable.
51796         (test-xfail-ISO11/stdalign.h/conform): Likewise.
51797         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
51798         (test-xfail-XPG3/varargs.h/conform): Likewise.
51799         (test-xfail-XPG4/varargs.h/conform): Likewise.
51800         (test-xfail-UNIX98/varargs.h/conform): Likewise.
51801         (test-xfail-XPG4/ndbm.h/conform): Likewise.
51802         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
51803         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
51804         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
51805         (test-xfail-XPG3/fcntl.h/conform): Likewise.
51806         (test-xfail-XPG3/ftw.h/conform): Likewise.
51807         (test-xfail-XPG3/grp.h/conform): Likewise.
51808         (test-xfail-XPG3/langinfo.h/conform): Likewise.
51809         (test-xfail-XPG3/limits.h/conform): Likewise.
51810         (test-xfail-XPG3/pwd.h/conform): Likewise.
51811         (test-xfail-XPG3/search.h/conform): Likewise.
51812         (test-xfail-XPG3/signal.h/conform): Likewise.
51813         (test-xfail-XPG3/stdio.h/conform): Likewise.
51814         (test-xfail-XPG3/stdlib.h/conform): Likewise.
51815         (test-xfail-XPG3/string.h/conform): Likewise.
51816         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
51817         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
51818         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
51819         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
51820         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
51821         (test-xfail-XPG3/sys/types.h/conform): Likewise.
51822         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
51823         (test-xfail-XPG3/termios.h/conform): Likewise.
51824         (test-xfail-XPG3/time.h/conform): Likewise.
51825         (test-xfail-XPG3/unistd.h/conform): Likewise.
51826         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
51827         (test-xfail-XPG4/fcntl.h/conform): Likewise.
51828         (test-xfail-XPG4/langinfo.h/conform): Likewise.
51829         (test-xfail-XPG4/netdb.h/conform): Likewise.
51830         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
51831         (test-xfail-XPG4/signal.h/conform): Likewise.
51832         (test-xfail-XPG4/stdio.h/conform): Likewise.
51833         (test-xfail-XPG4/stdlib.h/conform): Likewise.
51834         (test-xfail-XPG4/stropts.h/conform): Likewise.
51835         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
51836         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
51837         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
51838         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
51839         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
51840         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
51841         (test-xfail-XPG4/sys/time.h/conform): Likewise.
51842         (test-xfail-XPG4/sys/types.h/conform): Likewise.
51843         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
51844         (test-xfail-XPG4/termios.h/conform): Likewise.
51845         (test-xfail-XPG4/ucontext.h/conform): Likewise.
51846         (test-xfail-XPG4/unistd.h/conform): Likewise.
51847         (test-xfail-XPG4/utmpx.h/conform): Likewise.
51848         (test-xfail-POSIX/sched.h/conform): Likewise.
51849         (test-xfail-POSIX/signal.h/conform): Likewise.
51850         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
51851         (test-xfail-POSIX/tar.h/conform): Likewise.
51852         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
51853         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
51854         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
51855         (test-xfail-UNIX98/netdb.h/conform): Likewise.
51856         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
51857         (test-xfail-UNIX98/sched.h/conform): Likewise.
51858         (test-xfail-UNIX98/signal.h/conform): Likewise.
51859         (test-xfail-UNIX98/stdio.h/conform): Likewise.
51860         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
51861         (test-xfail-UNIX98/stropts.h/conform): Likewise.
51862         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
51863         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
51864         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
51865         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
51866         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
51867         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
51868         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
51869         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
51870         (test-xfail-UNIX98/unistd.h/conform): Likewise.
51871         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
51872         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
51873         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
51874         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
51875         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
51876         (test-xfail-XOPEN2K/math.h/conform): Likewise.
51877         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
51878         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
51879         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
51880         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
51881         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
51882         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
51883         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
51884         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
51885         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
51886         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
51887         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
51888         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
51889         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
51890         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
51891         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
51892         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
51893         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
51894         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
51895         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
51896         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
51897         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
51898         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
51899         (test-xfail-POSIX2008/signal.h/conform): Likewise.
51900         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
51901         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
51902         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
51903         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
51904         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
51905         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
51906         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
51907         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
51908         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
51909         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
51910         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
51911         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
51912         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
51913         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
51914         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
51915         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
51916         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
51917         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
51918         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
51919         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
51920         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
51921         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
51922         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
51923         (conformtest-cc-flags): Likewise.
51924         ($(conformtest-header-tests): New target.
51925         * conform/check-header-lists.sh: New file.
51926         * conform/run-conformtest.sh: Remove.
51928         * conform/conformtest.pl: Allow ' and \ in values given for
51929         constants.
51930         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
51931         inclusion.
51932         [POSIX] (sys/types.h): Likewise.
51933         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
51934         inclusion.
51935         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
51936         inclusion.
51937         * conform/data/signal.h-data (SIGIO): Remove expectation.
51938         [XPG3] (SIGBUS): Do not expect.
51939         [POSIX || XPG3] (SIGPOLL): Likewise.
51940         [POSIX || XPG3] (SIGPROF): Likewise.
51941         [POSIX || XPG3] (SIGSYS): Likewise.
51942         [XPG3] (SIGTRAP): Likewise.
51943         [POSIX || XPG3] (SIGURG): Likewise.
51944         [POSIX || XPG3] (SIGVTALRM): Likewise.
51945         [POSIX || XPG3] (SIGXCPU): Likewise.
51946         [POSIX || XPG3] (SIGXFSZ): Likewise.
51947         [POSIX] (SA_SIGINFO): Expect.
51948         [XPG3] (siginfo_t): Do not expect type or contents.
51949         [POSIX] (si_pid): Do not expect element.
51950         [POSIX] (si_uid): Likewise.
51951         [POSIX] (si_addr): Likewise.
51952         [POSIX] (si_status): Likewise.
51953         [POSIX] (si_band): Likewise.
51954         [XPG4] (si_value): Likewise.
51955         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
51956         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
51957         [POSIX || XPG3] (ILL_ILLADR): Likewise.
51958         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
51959         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
51960         [POSIX || XPG3] (ILL_PRVREG): Likewise.
51961         [POSIX || XPG3] (ILL_COPROC): Likewise.
51962         [POSIX || XPG3] (ILL_BADSTK): Likewise.
51963         [POSIX || XPG3] (FPE_INTDIV): Likewise.
51964         [POSIX || XPG3] (FPE_INTOVF): Likewise.
51965         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
51966         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
51967         [POSIX || XPG3] (FPE_FLTUND): Likewise.
51968         [POSIX || XPG3] (FPE_FLTRES): Likewise.
51969         [POSIX || XPG3] (FPE_FLTINV): Likewise.
51970         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
51971         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
51972         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
51973         [POSIX || XPG3] (BUS_ADRALN): Likewise.
51974         [POSIX || XPG3] (BUS_ADRERR): Likewise.
51975         [POSIX || XPG3] (BUS_OBJERR): Likewise.
51976         [POSIX || XPG3] (CLD_EXITED): Likewise.
51977         [POSIX || XPG3] (CLD_KILLED): Likewise.
51978         [POSIX || XPG3] (CLD_DUMPED): Likewise.
51979         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
51980         [POSIX || XPG3] (CLD_STOPPED): Likewise.
51981         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
51982         [POSIX || XPG3] (POLL_IN): Likewise.
51983         [POSIX || XPG3] (POLL_OUT): Likewise.
51984         [POSIX || XPG3] (POLL_MSG): Likewise.
51985         [POSIX || XPG3] (POLL_ERR): Likewise.
51986         [POSIX || XPG3] (POLL_PRI): Likewise.
51987         [POSIX || XPG3] (POLL_HUP): Likewise.
51988         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
51989         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
51990         (SIG*): Do not allow.
51991         [XPG3] (si_*): Likewise.
51992         [XPG3] (SI_*): Likewise.
51993         [XPG3 || XPG4] (sigev_*): Likewise.
51994         [XPG3 || XPG4] (SIGEV_*): Likewise.
51995         [XPG3 || XPG4] (sival_*): Likewise.
51996         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
51997         [POSIX || XPG3] (BUS_*): Likewise.
51998         [POSIX || XPG3] (CLD_*): Likewise.
51999         [POSIX || XPG3] (FPE_*): Likewise.
52000         [POSIX || XPG3] (ILL_*): Likewise.
52001         [POSIX || XPG3] (POLL_*): Likewise.
52002         [POSIX || XPG3] (SEGV_*): Likewise.
52003         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
52004         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
52005         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
52006         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
52007         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
52008         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
52009         Specify type and value.
52010         (TVERSLEN): Likewise.
52011         (REGTYPE): Likewise.
52012         (AREGTYPE): Likewise.
52013         (LNKTYPE): Likewise.
52014         (SYMTYPE): Likewise.
52015         (CHRTYPE): Likewise.
52016         (BLKTYPE): Likewise.
52017         (DIRTYPE): Likewise.
52018         (FIFOTYPE): Likewise.
52019         (CONTTYPE): Likewise.
52020         (TSUID): Likewise.
52021         (TSGID): Likewise.
52022         (TSVTX): Likewise.
52023         (TUREAD): Likewise.
52024         (TUWRITE): Likewise.
52025         (TUEXEC): Likewise.
52026         (TGREAD): Likewise.
52027         (TGWRITE): Likewise.
52028         (TGEXEC): Likewise.
52029         (TOREAD): Likewise.
52030         (TOWRITE): Likewise.
52031         (TOEXEC): Likewise.
52032         [POSIX] (TSVTX): Expect constant.
52034 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
52036         * Makefile (tests): Change dependencies to ....
52037         (tests-special): ... additions to this variable.
52038         (tests): Depend on $(tests-special).
52039         * Makerules (check-abi-list): New variable.
52040         (check-abi): Depend on $(check-abi-list).
52041         [$(subdir) = elf] (tests-special): Add
52042         $(objpfx)check-abi-libc.out.
52043         [$(build-shared) = yes && subdir] (tests-special): Add
52044         $(check-abi-list).
52045         [$(build-shared) = yes && subdir] (tests): Do not depend on
52046         check-abi.
52047         * Rules (tests): Depend on $(tests-special).
52048         (xtests): Depend on $(xtests-special).
52049         * catgets/Makefile (tests): Change dependencies to ....
52050         (tests-special): ... additions to this variable.
52051         * conform/Makefile (tests): Change dependencies to ....
52052         (tests-special): ... additions to this variable.
52053         * elf/Makefile (tests): Change dependencies to ....
52054         (tests-special): ... additions to this variable.
52055         * grp/Makefile (tests): Change dependencies to ....
52056         (tests-special): ... additions to this variable.
52057         * iconv/Makefile (xtests): Change dependencies to ....
52058         (xtests-special): ... additions to this variable.
52059         * iconvdata/Makefile (tests): Change dependencies to ....
52060         (tests-special): ... additions to this variable.
52061         * intl/Makefile (tests): Change dependencies to ....
52062         (tests-special): ... additions to this variable.  Also add
52063         $(objpfx)tst-gettext.out.
52064         * io/Makefile (tests): Change dependencies to ....
52065         (tests-special): ... additions to this variable.
52066         * libio/Makefile (tests): Change dependencies to ....
52067         (tests-special): ... additions to this variable.
52068         * malloc/Makefile (tests): Change dependencies to ....
52069         (tests-special): ... additions to this variable.
52070         * misc/Makefile (tests): Change dependencies to ....
52071         (tests-special): ... additions to this variable.
52072         * nptl/Makefile (tests): Change dependencies to ....
52073         (tests-special): ... additions to this variable.
52074         * nptl_db/Makefile (tests): Change dependencies to ....
52075         (tests-special): ... additions to this variable.
52076         * posix/Makefile (tests): Change dependencies to ....
52077         (tests-special): ... additions to this variable.
52078         (xtests): Change dependencies to ....
52079         (xtests-special): ... additions to this variable.
52080         * resolv/Makefile (tests): Change dependencies to ....
52081         (tests-special): ... additions to this variable.
52082         (xtests): Change dependencies to ....
52083         (xtests-special): ... additions to this variable.
52084         * stdio-common/Makefile (tests): Change dependencies to ....
52085         (tests-special): ... additions to this variable.
52086         (do-tst-unbputc): Remove target.
52087         (do-tst-printf): Likewise.
52088         * stdlib/Makefile (tests): Change dependencies to ....
52089         (tests-special): ... additions to this variable.
52090         * string/Makefile (tests): Change dependencies to ....
52091         (tests-special): ... additions to this variable.
52092         * sysdeps/x86/Makefile (tests): Change dependencies to ....
52093         (tests-special): ... additions to this variable.
52095         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
52096         whole file.
52097         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
52098         whole file.
52099         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
52100         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
52102         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
52103         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
52104         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
52105         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
52106         * conform/data/libgen.h-data [XPG3]: Likewise.
52107         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
52108         * conform/data/ndbm.h-data [XPG3]: Likewise.
52109         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
52110         * conform/data/netdb.h-data [XPG3]: Likewise.
52111         * conform/data/netinet/in.h-data [XPG3]: Likewise.
52112         * conform/data/poll.h-data [XPG3]: Likewise.
52113         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
52114         * conform/data/strings.h-data [XPG3]: Likewise.
52115         * conform/data/stropts.h-data [XPG3]: Likewise.
52116         * conform/data/sys/mman.h-data [XPG3]: Likewise.
52117         * conform/data/sys/resource.h-data [XPG3]: Likewise.
52118         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
52119         Likewise.
52120         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
52121         * conform/data/sys/time.h-data [XPG3]: Likewise.
52122         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
52123         * conform/data/sys/uio.h-data [XPG3]: Likewise.
52124         * conform/data/sys/un.h-data [XPG3]: Likewise.
52125         * conform/data/syslog.h-data [XPG3]: Likewise.
52126         * conform/data/ucontext.h-data [XPG3]: Likewise.
52127         * conform/data/utmpx.h-data [XPG3]: Likewise.
52128         * conform/data/varargs.h-data [UNIX98]: Enable file.
52130         * manual/Makefile (INSTALL_INFO): Remove variable setting.
52132         * math/libm-test.inc (struct test_f_f_data): Move expected results
52133         into structure for each rounding mode.
52134         (struct test_ff_f_data): Likewise.
52135         (struct test_ff_f_data_nexttoward): Likewise.
52136         (struct test_fi_f_data): Likewise.
52137         (struct test_fl_f_data): Likewise.
52138         (struct test_if_f_data): Likewise.
52139         (struct test_fff_f_data): Likewise.
52140         (struct test_c_f_data): Likewise.
52141         (struct test_f_f1_data): Likewise.
52142         (struct test_fF_f1_data): Likewise.
52143         (struct test_ffI_f1_data): Likewise.
52144         (struct test_c_c_data): Likewise.
52145         (struct test_cc_c_data): Likewise.
52146         (struct test_f_i_data): Likewise.
52147         (struct test_ff_i_data): Likewise.
52148         (struct test_f_l_data): Likewise.
52149         (struct test_f_L_data): Likewise.
52150         (struct test_fFF_11_data): Likewise.
52151         (RM_): New macro.
52152         (RM_FE_DOWNWARD): Likewise.
52153         (RM_FE_TONEAREST): Likewise.
52154         (RM_FE_TOWARDZERO): Likewise.
52155         (RM_FE_UPWARD): Likewise.
52156         (RUN_TEST_LOOP_f_f): Update references to expected results.
52157         (RUN_TEST_LOOP_2_f): Likewise.
52158         (RUN_TEST_LOOP_fff_f): Likewise.
52159         (RUN_TEST_LOOP_c_f): Likewise.
52160         (RUN_TEST_LOOP_f_f1): Likewise.
52161         (RUN_TEST_LOOP_fF_f1): Likewise.
52162         (RUN_TEST_LOOP_fI_f1): Likewise.
52163         (RUN_TEST_LOOP_ffI_f1): Likewise.
52164         (RUN_TEST_LOOP_c_c): Likewise.
52165         (RUN_TEST_LOOP_cc_c): Likewise.
52166         (RUN_TEST_LOOP_f_i): Likewise.
52167         (RUN_TEST_LOOP_f_i_tg): Likewise.
52168         (RUN_TEST_LOOP_ff_i_tg): Likewise.
52169         (RUN_TEST_LOOP_f_b): Likewise.
52170         (RUN_TEST_LOOP_f_b_tg): Likewise.
52171         (RUN_TEST_LOOP_f_l): Likewise.
52172         (RUN_TEST_LOOP_f_L): Likewise.
52173         (RUN_TEST_LOOP_fFF_11): Likewise.
52174         * math/gen-libm-test.pl (parse_args): Output four copies of
52175         expected results for each test.
52177         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52178         (__ASSUME_UTIMES): Remove.
52179         * sysdeps/unix/sysv/linux/tile/kernel-features.h
52180         (__ASSUME_UTIMES): Likewise.
52182         * math/gen-auto-libm-tests.c: Update comment on output format.
52183         (output_for_one_input_case): Generate before-rounding and
52184         after-rounding information as conditions on output flags not
52185         floating-point format.
52186         * math/auto-libm-test-out: Regenerated.
52187         * math/gen-libm-test.pl (cond_value): New function.
52188         (or_cond_value): Use cond_value.
52189         (generate_testfile): Handle conditional exceptions.
52191 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
52193         * math/libm-test.inc (max_valid_error): New variable.
52194         (init_max_error): Take new argument specifying whether function
52195         results are exactly determined.  Set max_valid_error and bound
52196         other variables for errors based on this argument.
52197         (set_max_error): Do not record results above max_valid_error.
52198         (check_float_internal): Only accept errors of up to 0.5ulps if
52199         also at most max_valid_error.
52200         (START): Take new argument EXACT and pass it to init_max_error.
52201         (acos_test): Update call to START.
52202         (acos_test_tonearest): Likewise.
52203         (acos_test_towardzero): Likewise.
52204         (acos_test_downward): Likewise.
52205         (acos_test_upward): Likewise.
52206         (acosh_test): Likewise.
52207         (asin_test): Likewise.
52208         (asin_test_tonearest): Likewise.
52209         (asin_test_towardzero): Likewise.
52210         (asin_test_downward): Likewise.
52211         (asin_test_upward): Likewise.
52212         (asinh_test): Likewise.
52213         (atan_test): Likewise.
52214         (atanh_test): Likewise.
52215         (atan2_test): Likewise.
52216         (cabs_test): Likewise.
52217         (cacos_test): Likewise.
52218         (cacosh_test): Likewise.
52219         (carg_test): Likewise.
52220         (casin_test): Likewise.
52221         (casinh_test): Likewise.
52222         (catan_test): Likewise.
52223         (catanh_test): Likewise.
52224         (cbrt_test): Likewise.
52225         (ccos_test): Likewise.
52226         (ccosh_test): Likewise.
52227         (ceil_test): Likewise.
52228         (cexp_test): Likewise.
52229         (cimag_test): Likewise.
52230         (clog_test): Likewise.
52231         (clog10_test): Likewise.
52232         (conj_test): Likewise.
52233         (copysign_test): Likewise.
52234         (cos_test): Likewise.
52235         (cos_test_tonearest): Likewise.
52236         (cos_test_towardzero): Likewise.
52237         (cos_test_downward): Likewise.
52238         (cos_test_upward): Likewise.
52239         (cosh_test): Likewise.
52240         (cosh_test_tonearest): Likewise.
52241         (cosh_test_towardzero): Likewise.
52242         (cosh_test_downward): Likewise.
52243         (cosh_test_upward): Likewise.
52244         (cpow_test): Likewise.
52245         (cproj_test): Likewise.
52246         (creal_test): Likewise.
52247         (csin_test): Likewise.
52248         (csinh_test): Likewise.
52249         (csqrt_test): Likewise.
52250         (ctan_test): Likewise.
52251         (ctan_test_tonearest): Likewise.
52252         (ctan_test_towardzero): Likewise.
52253         (ctan_test_downward): Likewise.
52254         (ctan_test_upward): Likewise.
52255         (ctanh_test): Likewise.
52256         (ctanh_test_tonearest): Likewise.
52257         (ctanh_test_towardzero): Likewise.
52258         (ctanh_test_downward): Likewise.
52259         (ctanh_test_upward): Likewise.
52260         (erf_test): Likewise.
52261         (erfc_test): Likewise.
52262         (exp_test): Likewise.
52263         (exp_test_tonearest): Likewise.
52264         (exp_test_towardzero): Likewise.
52265         (exp_test_downward): Likewise.
52266         (exp_test_upward): Likewise.
52267         (exp10_test): Likewise.
52268         (exp10_test_tonearest): Likewise.
52269         (exp10_test_towardzero): Likewise.
52270         (exp10_test_downward): Likewise.
52271         (exp10_test_upward): Likewise.
52272         (pow10_test): Likewise.
52273         (exp2_test): Likewise.
52274         (expm1_test): Likewise.
52275         (expm1_test_tonearest): Likewise.
52276         (expm1_test_towardzero): Likewise.
52277         (expm1_test_downward): Likewise.
52278         (expm1_test_upward): Likewise.
52279         (fabs_test): Likewise.
52280         (fdim_test): Likewise.
52281         (floor_test): Likewise.
52282         (fma_test): Likewise.
52283         (fma_test_towardzero): Likewise.
52284         (fma_test_downward): Likewise.
52285         (fma_test_upward): Likewise.
52286         (fmax_test): Likewise.
52287         (fmin_test): Likewise.
52288         (fmod_test): Likewise.
52289         (fpclassify_test): Likewise.
52290         (frexp_test): Likewise.
52291         (hypot_test): Likewise.
52292         (ilogb_test): Likewise.
52293         (isfinite_test): Likewise.
52294         (finite_test): Likewise.
52295         (isgreater_test): Likewise.
52296         (isgreaterequal_test): Likewise.
52297         (isinf_test): Likewise.
52298         (isless_test): Likewise.
52299         (islessequal_test): Likewise.
52300         (islessgreater_test): Likewise.
52301         (isnan_test): Likewise.
52302         (isnormal_test): Likewise.
52303         (issignaling_test): Likewise.
52304         (isunordered_test): Likewise.
52305         (j0_test): Likewise.
52306         (j1_test): Likewise.
52307         (jn_test): Likewise.
52308         (ldexp_test): Likewise.
52309         (lgamma_test): Likewise.
52310         (gamma_test): Likewise.
52311         (lrint_test): Likewise.
52312         (lrint_test_tonearest): Likewise.
52313         (lrint_test_towardzero): Likewise.
52314         (lrint_test_downward): Likewise.
52315         (lrint_test_upward): Likewise.
52316         (llrint_test): Likewise.
52317         (llrint_test_tonearest): Likewise.
52318         (llrint_test_towardzero): Likewise.
52319         (llrint_test_downward): Likewise.
52320         (llrint_test_upward): Likewise.
52321         (log_test): Likewise.
52322         (log10_test): Likewise.
52323         (log1p_test): Likewise.
52324         (log2_test): Likewise.
52325         (logb_test): Likewise.
52326         (logb_test_downward): Likewise.
52327         (lround_test): Likewise.
52328         (llround_test): Likewise.
52329         (modf_test): Likewise.
52330         (nearbyint_test): Likewise.
52331         (nextafter_test): Likewise.
52332         (nexttoward_test): Likewise.
52333         (pow_test): Likewise.
52334         (pow_test_tonearest): Likewise.
52335         (pow_test_towardzero): Likewise.
52336         (pow_test_downward): Likewise.
52337         (pow_test_upward): Likewise.
52338         (remainder_test): Likewise.
52339         (drem_test): Likewise.
52340         (remainder_test_tonearest): Likewise.
52341         (drem_test_tonearest): Likewise.
52342         (remainder_test_towardzero): Likewise.
52343         (drem_test_towardzero): Likewise.
52344         (remainder_test_downward): Likewise.
52345         (drem_test_downward): Likewise.
52346         (remainder_test_upward): Likewise.
52347         (drem_test_upward): Likewise.
52348         (remquo_test): Likewise.
52349         (rint_test): Likewise.
52350         (rint_test_tonearest): Likewise.
52351         (rint_test_towardzero): Likewise.
52352         (rint_test_downward): Likewise.
52353         (rint_test_upward): Likewise.
52354         (round_test): Likewise.
52355         (scalb_test): Likewise.
52356         (scalbn_test): Likewise.
52357         (scalbln_test): Likewise.
52358         (signbit_test): Likewise.
52359         (sin_test): Likewise.
52360         (sin_test_tonearest): Likewise.
52361         (sin_test_towardzero): Likewise.
52362         (sin_test_downward): Likewise.
52363         (sin_test_upward): Likewise.
52364         (sincos_test): Likewise.
52365         (sinh_test): Likewise.
52366         (sinh_test_tonearest): Likewise.
52367         (sinh_test_towardzero): Likewise.
52368         (sinh_test_downward): Likewise.
52369         (sinh_test_upward): Likewise.
52370         (sqrt_test): Likewise.
52371         (sqrt_test_tonearest): Likewise.
52372         (sqrt_test_towardzero): Likewise.
52373         (sqrt_test_downward): Likewise.
52374         (sqrt_test_upward): Likewise.
52375         (tan_test): Likewise.
52376         (tan_test_tonearest): Likewise.
52377         (tan_test_towardzero): Likewise.
52378         (tan_test_downward): Likewise.
52379         (tan_test_upward): Likewise.
52380         (tanh_test): Likewise.
52381         (tgamma_test): Likewise.
52382         (trunc_test): Likewise.
52383         (y0_test): Likewise.
52384         (y1_test): Likewise.
52385         (yn_test): Likewise.
52386         (significand_test): Likewise.
52388         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
52389         individual tests in comment.
52390         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
52391         (prev_max_error): New variable.
52392         (prev_real_max_error): Likewise.
52393         (prev_imag_max_error): Likewise.
52394         (compare_ulp_data): Don't refer to test names in comment.
52395         (find_test_ulps): Remove function.
52396         (find_function_ulps): Likewise.
52397         (find_complex_function_ulps): Likewise.
52398         (init_max_error): Take function name as argument.  Look up ulps
52399         for that function.
52400         (print_ulps): Remove function.
52401         (print_max_error): Use prev_max_error instead of calling
52402         find_function_ulps.
52403         (print_complex_max_error): Use prev_real_max_error and
52404         prev_imag_max_error instead of calling find_complex_function_ulps.
52405         (check_float_internal): Take max_ulp parameter instead of calling
52406         find_test_ulps.  Don't call print_ulps.
52407         (check_float): Update call to check_float_internal.
52408         (check_complex): Update calls to check_float_internal.
52409         (START): Pass argument to init_max_error.
52410         * math/gen-libm-test.pl (%results): Don't include "kind"
52411         information.
52412         (parse_ulps): Don't handle ulps of individual tests.
52413         (print_ulps_file): Likewise.
52414         (output_ulps): Likewise.
52415         * math/README.libm-test: Update.
52416         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
52417         individual tests.
52418         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
52419         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
52420         * sysdeps/arm/libm-test-ulps: Likewise.
52421         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
52422         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
52423         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
52424         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
52425         * sysdeps/microblaze/libm-test-ulps: Likewise.
52426         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
52427         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
52428         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52429         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
52430         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
52431         * sysdeps/sh/libm-test-ulps: Likewise.
52432         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
52433         * sysdeps/tile/libm-test-ulps: Likewise.
52434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52436 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
52438         * math/libm-test.inc (print_complex_max_error): Check separately
52439         whether real and imaginary errors are within allowed range and
52440         pass 0 to print_complex_function_ulps instead of value within
52441         allowed range.
52443 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52445         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
52446         formatting.
52447         (get_handles_fopen): Likewise.
52448         (do_write_test): Likewise.
52450         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
52452         * libio/fileops.c (do_ftell): Use cached offset when
52453         available.
52454         * libio/iofwide.c (do_ftell_wide): Likewise.
52455         * libio/iofdopen.c (_IO_new_fdopen): Don't use
52456         _IO_file_attach.
52457         * libio/wfileops.c (_IO_fwide): Don't cache offset.
52459         [BZ #16532]
52460         * libio/libioP.h (get_file_offset): New function.
52461         * libio/fileops.c (get_file_offset): Likewise.
52462         (do_ftell): Likewise.
52463         (_IO_new_file_seekoff): Split out ftell logic.
52464         * libio/wfileops.c (do_ftell_wide): Likewise.
52465         (_IO_wfile_seekoff): Split out ftell logic.
52466         * libio/tst-ftell-active-handler.c: New test case.
52467         * libio/Makefile (tests): Add it.
52469 2014-03-03  Roland McGrath  <roland@hack.frob.com>
52471         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
52472         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
52474 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52476         [BZ #16639]
52477         * nscd/connections.c (nscd_init): Call do_exit.
52478         (start_threads): Call do_exit and notify_parent.
52479         (begin_drop_privileges): Call do_exit.
52480         (finish_drop_privileges): Likewise.
52481         * nscd/selinux.c (preserve_capabilities): Likewise.
52482         (install_real_capabilities): Likewise.
52483         (nscd_selinux_enabled): Likewise.
52484         (avc_create_thread): Likewise.
52485         (avc_alloc_lock): Likewise.
52486         (nscd_avc_init): Likewise.
52487         * nscd/nscd.c (parent_fd): New static variable.
52488         (main): Create a pipe between parent and child processes.
52489         Skip closing parent_fd.
52490         (monitor_child): New function.
52491         (do_exit): Likewise.
52492         (notify_parent): Likewise.
52493         * nscd/nscd.h (notify_parent): Likewise.
52494         (do_exit): Likewise.
52496 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
52498         * malloc/malloc.c (__libc_calloc): Revert last change.
52500 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52502         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52504 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
52506         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
52507         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
52508         implementation.
52509         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52510         (__libc_ifunc_impl_list): Likewise.
52511         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
52512         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
52513         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
52514         * string/strrchr.c: Define STRRCHR.
52516 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
52518         * benchtest/bench-strtok.c (simple_strtok): Delete.
52519         (strtok_string): Use as benchmark.
52520         * string/strtok (STRTOK): New macro.
52522 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
52524         * manual/threads.texi: Add header and standard comments to all
52525         functions.
52527         * elf/dl-lookup.c (check_match): New function.
52528         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
52529         (do_lookup_x): Remove nested function check_match. Use non-nested
52530         function check_match.
52532 2014-02-28  Roland McGrath  <roland@hack.frob.com>
52534         * csu/Makefile (generated, before-compile): Use += rather than =.
52535         * catgets/Makefile (generated, generated-dirs): Likewise.
52536         * debug/Makefile (generated): Likewise.
52537         * dlfcn/Makefile (generated): Likewise.
52538         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
52539         * iconvdata/Makefile (before-compile, generated): Likewise.
52540         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
52541         * libio/Makefile (generated): Likewise.
52542         * malloc/Makefile (generated): Likewise.
52543         * manual/Makefile (generated, generated-dirs): Likewise.
52544         * misc/Makefile (generated): Likewise.
52545         * posix/Makefile (generated): Likewise.
52546         * resolv/Makefile (generated): Likewise.
52547         * sunrpc/Makefile (generated, generated-dirs): Likewise.
52548         * timezone/Makefile (generated, generated-dirs): Likewise.
52550         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
52552 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52554         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
52555         power8 implementation.
52556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
52557         file: POWER8 llround ifunc implementation.
52558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
52559         (__lllround): Add POWER8 implementation.
52560         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
52561         POWER8 llround implementation.
52563         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
52564         power8 implementation.
52565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
52566         file: POWER8 llrint ifunc implementation.
52567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
52568         Add POWER8 implementation.
52569         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
52570         POWER8 llrint implementation.
52572         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
52573         power8 implementation.
52574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
52575         file: POWER8 finite ifunc implementation.
52576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
52577         Add POWER8 implementation.
52578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
52579         Likewise.
52580         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
52581         POWER8 finite implementation.
52582         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
52584         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
52585         power8 implementation.
52586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
52587         file: POWER8 isinf ifunc implementation.
52588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
52589         POWER8 implementation.
52590         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
52591         Likewise.
52592         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
52593         isinf implementation.
52594         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
52596         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
52597         (INIT_ARCH): Add hwcap2 initialization.
52598         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
52599         power8 implementation.
52600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
52601         file: POWER8 isnan ifunc implementation.
52602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
52603         POWER8 implementation.
52604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
52605         Likewise.
52606         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
52607         isnan implementation.
52608         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
52610 2014-02-27  Joey Ye  <joey.ye@arm.com>
52612         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
52613         (_FP_NANFRAC_Q): Set to zero.
52615 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52617         [BZ #16623]
52618         * math/auto-libm-test-in: New test inputs.
52619         * math/auto-libm-test-out: Regenerate.
52620         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
52621         and DA.
52622         (__cos): Likewise.
52623         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
52625 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
52627         * scripts/evaluate-test.sh: Take new argument indicating whether
52628         failure is expected.
52629         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
52630         indicating whether failure is expected.
52631         * conform/Makefile (test-xfail-run-conformtest): New variable.
52632         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
52633         level.
52634         * posix/Makefile (test-xfail-annexc): New variable.
52635         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
52637 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
52639         * argp/Makefile: Include Makeconfig immediately after defining
52640         subdir.
52641         * assert/Makefile: Likewise.
52642         * benchtests/Makefile: Likewise.
52643         * catgets/Makefile: Likewise.
52644         * conform/Makefile: Likewise.
52645         * crypt/Makefile: Likewise.
52646         * csu/Makefile: Likewise.
52647         (all): Remove target.
52648         * ctype/Makefile: Include Makeconfig immediately after defining
52649         subdir.
52650         * debug/Makefile: Likewise.
52651         * dirent/Makefile: Likewise.
52652         * dlfcn/Makefile: Likewise.
52653         * gmon/Makefile: Likewise.
52654         * gnulib/Makefile: Likewise.
52655         * grp/Makefile: Likewise.
52656         * gshadow/Makefile: Likewise.
52657         * hesiod/Makefile: Likewise.
52658         * hurd/Makefile: Likewise.
52659         (all): Remove target.
52660         * iconvdata/Makefile: Include Makeconfig immediately after
52661         defining subdir.
52662         * inet/Makefile: Likewise.
52663         * intl/Makefile: Likewise.
52664         * io/Makefile: Likewise.
52665         * libio/Makefile: Likewise.
52666         (all): Remove target.
52667         * locale/Makefile: Include Makeconfig immediately after defining
52668         subdir.
52669         * login/Makefile: Likewise.
52670         * mach/Makefile: Likewise.
52671         (all): Remove target.
52672         * malloc/Makefile: Include Makeconfig immediately after defining
52673         subdir.
52674         (all): Remove target.
52675         * manual/Makefile: Include Makeconfig immediately after defining
52676         subdir.
52677         * math/Makefile: Likewise.
52678         * misc/Makefile: Likewise.
52679         * nis/Makefile: Likewise.
52680         * nss/Makefile: Likewise.
52681         * po/Makefile: Likewise.
52682         (all): Remove target.
52683         * posix/Makefile: Include Makeconfig immediately after defining
52684         subdir.
52685         * pwd/Makefile: Likewise.
52686         * resolv/Makefile: Likewise.
52687         * resource/Makefile: Likewise.
52688         * rt/Makefile: Likewise.
52689         * setjmp/Makefile: Likewise.
52690         * shadow/Makefile: Likewise.
52691         * signal/Makefile: Likewise.
52692         * socket/Makefile: Likewise.
52693         * soft-fp/Makefile: Likewise.
52694         * stdio-common/Makefile: Likewise.
52695         * stdlib/Makefile: Likewise.
52696         * streams/Makefile: Likewise.
52697         * string/Makefile: Likewise.
52698         * sunrpc/Makefile: Likewise.
52699         (all): Remove target.
52700         * sysvipc/Makefile: Include Makeconfig immediately after defining
52701         subdir.
52702         * termios/Makefile: Likewise.
52703         * time/Makefile: Likewise.
52704         * timezone/Makefile: Likewise.
52705         (all): Remove target.
52706         * wcsmbs/Makefile: Include Makeconfig immediately after defining
52707         subdir.
52708         * wctype/Makefile: Likewise.
52710 2014-02-26  Steve Ellcey  <sellcey@mips.com>
52712         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
52713         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
52714         (libc_feholdexcept_setround_mips): Ditto.
52715         (libc_feholdsetround): New.
52716         (libc_feholdsetroundf): New.
52717         (libc_feholdsetroundl): New.
52718         (libc_feupdateenv_test_mips): New.
52719         (libc_feupdateenv_test): New.
52720         (libc_feupdateenv_testf): New.
52721         (libc_feupdateenv_testl): New.
52722         (libc_feresetround): New.
52723         (libc_feresetroundf): New.
52724         (libc_feresetroundl): New.
52725         (libc_fetestexcept_mips): New.
52726         (libc_fetestexcept): New.
52727         (libc_fetestexceptf): New.
52728         (libc_fetestexceptl): New.
52729         (HAVE_RM_CTX): New.
52730         (libc_feholdexcept_setround_mips_ctx): New.
52731         (libc_feholdexcept_setround_ctx): New.
52732         (libc_feholdexcept_setroundf_ctx): New.
52733         (libc_feholdexcept_setroundl_ctx): New.
52734         (libc_fesetenv_mips_ctx): New.
52735         (libc_fesetenv_ctx): New.
52736         (libc_fesetenv_ctxf): New.
52737         (libc_fesetenv_ctxl): New.
52738         (libc_feupdateenv_mips_ctx): New.
52739         (libc_feupdateenv_ctx): New.
52740         (libc_feupdateenvf_ctx): New.
52741         (libc_feupdateenvl_ctx): New.
52742         (libc_feholdsetround_mips_ctx): New.
52743         (libc_feholdsetround_ctx): New.
52744         (libc_feholdsetroundf_ctx): New.
52745         (libc_feholdsetroundl_ctx): New.
52746         (libc_feresetround_mips_ctx): New.
52747         (libc_feresetround_ctx): New.
52748         (libc_feresetroundf_ctx): New.
52749         (libc_feresetroundl_ctx): New.
52751 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
52753         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
52755         * manual/ipc.texi: New file.
52756         * manual/Makefile (chapters): Add ipc.
52757         * manual/job.texi: Add "Inter-Process Communication" to next.
52758         * manual/process.texi: Add "Inter-Process Communication" to prev.
52760 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52762         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52764 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
52766         * malloc/malloc.c (__libc_calloc): Simplify implementation.
52768         * manual/arith.texi: Fix spaces after sentences.
52769         * manual/charset.texi: Likewise.
52770         * manual/errno.texi: Likewise.
52771         * manual/install.texi: Likewise.
52772         * manual/llio.texi: Likewise.
52773         * manual/locale.texi: Likewise.
52774         * manual/maint.texi: Likewise.
52775         * manual/math.texi: Likewise.
52776         * manual/memory.texi: Likewise.
52777         * manual/message.texi: Likewise.
52778         * manual/probes.texi: Likewise.
52779         * manual/resource.texi: Likewise.
52780         * manual/signal.texi: Likewise.
52781         * manual/socket.texi: Likewise.
52782         * manual/stdio.texi: Likewise.
52783         * manual/string.texi: Likewise.
52784         * manual/time.texi: Likewise.
52785         * manual/users.texi: Likewise.
52787 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
52789         [BZ #16632]
52790         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
52791         _DEFAULT_SOURCE is defined.
52793 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
52794             Carlos O'Donell  <carlos@redhat.com>
52796         [BZ #16613]
52797         * elf/dl-tls.c (_dl_count_modids): New function.
52798         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
52799         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
52800         audit library and increment generation counter.
52801         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
52802         * elf/tst-audit9.c: New file.
52803         * elf/tst-auditmod9a.c: New file.
52804         * elf/tst-auditmod9b.c: New file.
52805         * elf/Makefile: Add rules to build and run tst-audit9.
52807 2014-02-25  Florian Weimer  <fweimer@redhat.com>
52809         [BZ #15347]
52810         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
52812 2014-02-25  Will Newton  <will.newton@linaro.org>
52814         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
52815         (__longjmp): Restore sp and lr before restoring callee
52816         saved registers.  Add longjmp and longjmp_target
52817         SystemTap probe point.
52818         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
52819         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
52820         Define to zero to match jmpbuf layout.
52821         * sysdeps/arm/setjmp.S: Include stap-probe.h.
52822         (__sigsetjmp): Save sp and lr before saving callee
52823         saved registers.  Add setjmp SystemTap probe point.
52825 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
52827         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
52829 2014-02-24  Andreas Schwab  <schwab@suse.de>
52831         [BZ #15804]
52832         * elf/pldd.c (wait_for_ptrace_stop): New function.
52833         (main): Call it after attaching.
52835 2014-02-22  Roland McGrath  <roland@hack.frob.com>
52837         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
52838         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
52839         Versions files is now verboten.
52840         * hurd/Versions (libc: GLIBC_2.0):
52841         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
52842         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
52843         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
52844         * mach/Versions: Likewise.
52846         * csu/Versions: Remove unused %include.
52847         * resolv/Versions: Likewise.
52849 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
52851         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
52852         ($(objpfx)check-local-headers.out): Likewise.
52853         ($(objpfx)begin-end-check.out): Likewise.
52854         * Makerules (check-abi-%.out): Likewise.
52855         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
52856         ($(objpfx)test2.cat): Likewise.
52857         ($(objpfx)de/libc.cat): Likewise.
52858         ($(objpfx)test-gencat.out): Likewise.
52859         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
52860         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
52861         ($(objpfx)noload-mem): Likewise.
52862         ($(objpfx)tst-pathopt.out): Likewise.
52863         ($(objpfx)tst-rtld-load-self.out): Likewise.
52864         ($(objpfx)tst-array1-cmp.out): Likewise.
52865         ($(objpfx)tst-array1-static-cmp.out): Likewise.
52866         ($(objpfx)tst-array2-cmp.out): Likewise.
52867         ($(objpfx)tst-array3-cmp.out): Likewise.
52868         ($(objpfx)tst-array4-cmp.out): Likewise.
52869         ($(objpfx)tst-array5-cmp.out): Likewise.
52870         ($(objpfx)tst-array5-static-cmp.out): Likewise.
52871         ($(objpfx)check-textrel.out): Likewise.
52872         ($(objpfx)check-execstack.out): Likewise.
52873         ($(objpfx)check-localplt.out): Likewise.
52874         ($(objpfx)order2-cmp.out): Likewise.
52875         ($(objpfx)tst-leaks1-mem): Likewise.
52876         ($(objpfx)tst-leaks1-static-mem): Likewise.
52877         ($(objpfx)tst-initorder-cmp.out): Likewise.
52878         ($(objpfx)tst-initorder2-cmp.out): Likewise.
52879         ($(objpfx)tst-unused-dep.out): Likewise.
52880         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
52881         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
52882         * iconv/Makefile (test-iconvconfig): Likewise.
52883         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
52884         ($(objpfx)iconv-test.out): Likewise.
52885         ($(objpfx)tst-tables.out): Likewise.
52886         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
52887         ($(objpfx)tst-gettext.out): Likewise.
52888         ($(objpfx)tst-translit.out): Likewise.
52889         ($(objpfx)tst-gettext2.out): Likewise.
52890         ($(objpfx)tst-gettext4.out): Likewise.
52891         ($(objpfx)tst-gettext6.out): Likewise.
52892         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
52893         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
52894         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
52895         ($(objpfx)tst-fopenloc-mem.out): Likewise.
52896         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
52897         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
52898         * posix/Makefile ($(objpfx)globtest.out): Likewise.
52899         ($(objpfx)wordexp-tst.out): Likewise.
52900         ($(objpfx)annexc.out): Likewise.
52901         ($(objpfx)tst-fnmatch-mem): Likewise.
52902         ($(objpfx)bug-regex2-mem): Likewise.
52903         ($(objpfx)bug-regex14-mem): Likewise.
52904         ($(objpfx)bug-regex21-mem): Likewise.
52905         ($(objpfx)bug-regex31-mem): Likewise.
52906         ($(objpfx)tst-vfork3-mem): Likewise.
52907         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
52908         ($(objpfx)tst-pcre-mem): Likewise.
52909         ($(objpfx)tst-boost-mem): Likewise.
52910         ($(objpfx)tst-getconf.out): Likewise.
52911         ($(objpfx)bug-ga2-mem): Likewise.
52912         ($(objpfx)bug-glob2-mem): Likewise.
52913         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
52914         ($(objpfx)mtrace-tst-leaks2): Likewise.
52915         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
52916         ($(objpfx)tst-printf.out): Likewise.
52917         ($(objpfx)tst-setvbuf1.out): Likewise.
52918         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
52919         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
52920         ($(objpfx)tst-fmtmsg.out): Likewise.
52921         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
52922         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
52924         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
52925         * bits/sigaction.h [__USE_MISC]: Likewise.
52926         * bits/waitstatus.h: Update #endif comments.
52927         * ctype/ctype.h: Likewise.
52928         * dirent/dirent.h: Likewise.
52929         [__USE_MISC]: Remove redundant conditionals.
52930         * grp/grp.h: Update #endif comments.
52931         [__USE_GNU]: Remove redundant conditionals.
52932         [__USE_MISC]: Likewise.
52933         * inet/netinet/in.h [__USE_GNU]: Likewise.
52934         * io/sys/stat.h [__USE_MISC]: Likewise.
52935         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
52936         * libio/bits/stdio.h: Update #endif comments.
52937         [__USE_MISC]: Remove redundant conditionals.
52938         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
52939         * libio/stdio.h: Update #endif comments.
52940         [__USE_MISC]: Remove redundant conditionals.
52941         * math/bits/math-finite.h [__USE_MISC]: Likewise.
52942         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
52943         * math/math.h: Update #else and #endif comments.
52944         [__USE_MISC]: Remove redundant conditionals.
52945         * misc/sys/uio.h: Update #endif comments.
52946         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
52947         * posix/glob.h [__USE_MISC]: Likewise.
52948         * posix/sys/types.h: Update #endif comments.
52949         [__USE_MISC]: Remove redundant conditionals.
52950         * posix/sys/wait.h: Update #endif comments.
52951         [__USE_MISC]: Remove redundant conditionals.
52952         * posix/unistd.h: Update #endif comments.
52953         [__USE_MISC]: Remove redundant conditionals.
52954         * pwd/pwd.h [__USE_GNU]: Likewise.
52955         [__USE_MISC]: Likewise.
52956         * resolv/netdb.h [__USE_GNU]: Likewise.
52957         * signal/signal.h: Update #endif comments.
52958         [__USE_MISC]: Remove redundant conditionals.
52959         * stdlib/stdlib.h: Update #else and #endif comments.
52960         [__USE_MISC]: Remove redundant conditionals.
52961         [__USE_GNU]: Likewise.
52962         * string/bits/string2.h [__USE_MISC]: Likewise.
52963         * string/string.h: Update #endif comments.
52964         [__USE_MISC]: Remove redundant conditionals.
52965         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
52966         Likewise.
52967         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
52968         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
52969         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
52970         Likewise.
52971         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
52972         Likewise.
52973         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
52974         comments.
52975         [__USE_MISC]: Remove redundant conditionals.
52976         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
52977         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
52978         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
52979         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
52980         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
52981         Likewise.
52982         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
52983         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
52984         Likewise.
52985         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
52986         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
52987         Likewise.
52988         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
52989         Likewise.
52990         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
52991         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
52992         Likewise.
52993         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
52994         Likewise.
52995         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
52996         * sysdeps/x86/bits/string.h: Update #endif comments.
52997         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
52998         conditionals.
52999         * time/sys/time.h: Update #endif comments.
53000         * time/time.h: Likewise.
53001         [__USE_MISC]: Remove redundant conditionals.
53003 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
53005         [BZ #16600]
53006         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
53008 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
53010         * Versions.def (librt): Add GLIBC_2.17.
53012 2014-02-21  Adam Conrad  <adconrad@0c3.net>
53014         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
53015         synonym for _SYS_AUXV_H to allow direct inclusion.
53016         * sysdeps/sparc/bits/hwcap.h: Likewise.
53017         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
53018         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
53019         * sysdeps/sparc/sysdep.h: Likewise.
53021 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53023         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
53025 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
53027         * benchtests/bench-strrchr.c: Print length instead of position.
53029 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
53031         [BZ #16611]
53032         * sysdeps/unix/sysv/linux/kernel-features.h
53033         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
53034         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
53035         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
53036         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
53037         Likewise.
53038         [__i386__ || __powerpc__ || __sh__ || __sparc__]
53039         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
53040         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
53041         (__ASSUME_SENDMMSG): Define instead of using previous
53042         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
53043         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
53044         (__ASSUME_SENDMMSG_SYSCALL): Define.
53045         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
53046         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
53047         Likewise.
53048         * sysdeps/unix/sysv/linux/arm/kernel-features.h
53049         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
53050         Likewise.
53051         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
53052         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
53053         Likewise.
53054         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
53055         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
53056         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
53057         [__ASSUME_SENDMMSG]: Change conditionals to
53058         [__ASSUME_SENDMMSG_SOCKETCALL].
53059         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53060         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
53061         Define.
53062         * sysdeps/unix/sysv/linux/mips/kernel-features.h
53063         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
53064         Likewise.
53065         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
53066         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
53067         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
53068         [!__ASSUME_SENDMMSG]: Change conditional to
53069         [!__ASSUME_SENDMMSG_SOCKETCALL].
53070         * sysdeps/unix/sysv/linux/tile/kernel-features.h
53071         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
53072         Define.
53074         [BZ #16610]
53075         * sysdeps/unix/sysv/linux/kernel-features.h
53076         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
53077         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
53078         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
53079         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
53080         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
53081         [__i386__ || __sparc__]
53082         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
53083         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
53084         (__ASSUME_RECVMMSG): Define instead of using previous
53085         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
53086         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
53087         (__ASSUME_RECVMMSG_SYSCALL): Define.
53088         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
53089         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53090         Likewise.
53091         * sysdeps/unix/sysv/linux/arm/kernel-features.h
53092         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53093         Likewise.
53094         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
53095         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53096         Likewise.
53097         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
53098         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
53099         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
53100         [__ASSUME_RECVMMSG]: Change condition to
53101         [__ASSUME_RECVMMSG_SOCKETCALL].
53102         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53103         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53104         Define.
53105         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
53106         * sysdeps/unix/sysv/linux/mips/kernel-features.h
53107         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53108         Likewise.
53109         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
53110         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
53111         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
53112         [!__ASSUME_RECVMMSG]: Change condition to
53113         [!__ASSUME_RECVMMSG_SOCKETCALL].
53114         * sysdeps/unix/sysv/linux/tile/kernel-features.h
53115         (__ASSUME_RECVMMSG_SYSCALL): Define.
53117         [BZ #16609]
53118         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
53119         __powerpc__ || __s390__ || __sh__ || __sparc__]
53120         (__ASSUME_SOCKETCALL): Define.
53121         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
53122         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
53123         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
53124         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
53125         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
53126         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
53127         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
53128         (__ASSUME_ACCEPT4): Define instead of using previous
53129         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
53130         __powerpc__ || __sparc__ || __s390__)] condition.
53131         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
53132         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
53133         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
53134         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
53135         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
53136         [!__ASSUME_ACCEPT4]: Change condition to
53137         [!__ASSUME_ACCEPT4_SOCKETCALL].
53138         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
53139         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
53140         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
53141         * sysdeps/unix/sysv/linux/arm/kernel-features.h
53142         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
53143         __ASSUME_ACCEPT4_SYSCALL.
53144         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
53145         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
53146         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
53147         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
53148         __ASSUME_ACCEPT4_SYSCALL.
53149         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
53150         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
53151         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
53152         [__ASSUME_ACCEPT4]: Change condition to
53153         [__ASSUME_ACCEPT4_SOCKETCALL].
53154         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
53155         (__ASSUME_SOCKETCALL): Define.
53156         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
53157         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53158         (__ASSUME_SOCKETCALL): Define.
53159         (__ASSUME_ACCEPT4): Remove.
53160         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
53161         Define.
53162         * sysdeps/unix/sysv/linux/mips/kernel-features.h
53163         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
53164         Likewise.
53165         * sysdeps/unix/sysv/linux/tile/kernel-features.h
53166         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
53168         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
53169         macro.
53170         (HWCAP_ARM_LPAE): Likewise.
53171         (HWCAP_ARM_EVTSTRM): Likewise.
53172         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
53173         Add vpfd32, lpae and evtstrm.
53174         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
53175         Increase to 22.
53177 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
53179         * math/auto-libm-test-in: Add tests of clog10.
53180         * math/auto-libm-test-out: Regenerated.
53181         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
53182         * sysdeps/i386/fpu/libm-test-ulps: Update.
53183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53185 2014-02-18  Andreas Schwab  <schwab@suse.de>
53187         [BZ #16574]
53188         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
53189         Store non-zero if the second buffer was newly allocated.
53190         (send_dg): Likewise.
53191         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
53192         to send_vc and send_dg.
53193         (res_nsend): Pass NULL for ansp2_malloced.
53194         * resolv/res_query.c (__libc_res_nquery): Add parameter
53195         answerp2_malloced and pass it down to __libc_res_nsend.
53196         (res_nquery): Pass additional NULL to __libc_res_nquery.
53197         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
53198         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
53199         second answer buffer if answerp2_malloced was set.
53200         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
53201         (__libc_res_nquerydomain): Add parameter
53202         answerp2_malloced and pass it down to __libc_res_nquery.
53203         (res_nquerydomain): Pass additional NULL to
53204         __libc_res_nquerydomain.
53205         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
53206         additional NULL to __libc_res_nsend and __libc_res_nquery.
53207         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
53208         additional NULL to __libc_res_nsearch.
53209         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
53210         parameter of __libc_res_nsearch to check for separately allocated
53211         second buffer.
53212         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
53213         __libc_res_nquery.
53214         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
53215         additional NULL to __libc_res_nquery.
53216         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
53217         __libc_res_nsearch.
53218         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
53219         * include/resolv.h: Update prototypes of __libc_res_nquery,
53220         __libc_res_nsearch, __libc_res_nsend.
53222 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
53224         * math/auto-libm-test-in: Add tests of fma.
53225         * math/auto-libm-test-out: Regenerated.
53226         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
53227         (fma_towardzero_test_data): Likewise.
53228         (fma_downward_test_data): Likewise.
53229         (fma_upward_test_data): Likewise.
53230         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
53231         mpc_mode.
53232         (rounding_modes): Add values for new field.
53233         (func_calc_method): Add value mpfr_fff_f.
53234         (func_calc_desc): Add mpfr_fff_f union field.
53235         (test_function): Add field exact_args.
53236         (FUNC): Add macro argument EXACT_ARGS.
53237         (FUNC_mpfr_f_f): Update call to FUNC.
53238         (FUNC_mpfr_f_f): Likewise.
53239         (FUNC_mpfr_ff_f): Likewise.
53240         (FUNC_mpfr_if_f): Likewise.
53241         (FUNC_mpc_c_f): Likewise.
53242         (FUNC_mpc_c_c): Likewise.
53243         (test_functions): Add fma.  Update calls to FUNC.
53244         (handle_input_arg): Add argument exact_args.
53245         (add_test): Update call to handle_input_arg.
53246         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
53247         (output_for_one_input_case): Update call to calc_generic_results.
53248         Recalculate exact zero results in each rounding mode.
53250         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
53251         non-negative before setting low bit.
53252         * math/auto-libm-test-in: Mark one asin test possibly having
53253         spurious underflow.
53254         * math/auto-libm-test-out: Regenerated.
53255         * sysdeps/i386/fpu/libm-test-ulps: Update.
53256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53258 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
53260         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
53261         * sysdeps/unix/sysv/linux/microblaze: Move directory from
53262         ports/sysdeps/unix/sysv/linux/microblaze.
53263         * README: Add missing listing for microblaze*-*-linux-gnu.
53265 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
53267         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
53268         duplicate code
53270 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
53272         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
53273         * sysdeps/unix/sysv/linux/ia64: Move directory from
53274         ports/sysdeps/unix/sysv/linux/ia64.
53275         * README: Update listing for ia64-*-linux-gnu.
53277 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
53278             Joseph Myers  <joseph@codesourcery.com>
53280         * Makeconfig (test-name): New variable.
53281         (evaluate-test): Likewise.
53282         * Makerules (do-test-clean): Remove .test-result files.
53283         (common-mostlyclean): Likewise.
53284         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
53285         * scripts/evaluate-test.sh: New file.
53287 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
53289         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
53290         separate $(objpfx)tst-fopenloc-cmp.out and
53291         $(objpfx)tst-fopenloc-mem.out targets.
53292         (tests): Update dependencies.
53293         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
53294         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
53295         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
53296         (tst-rxspencer-no-utf8-ARGS): New variable.
53297         (tst-rxspencer-no-utf8-ENV): Likewise.
53298         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
53299         instead of $(objpfx)tst-rxspencer-mem.
53300         ($(objpfx)tst-rxspencer-mem): Change target to
53301         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
53302         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
53303         * posix/tst-rxspencer-no-utf8.c: New file.
53305         * elf/Makefile ($(objpfx)order.out): Remove rule.
53306         [$(run-built-tests) = yes] (tests): Depend on
53307         $(objpfx)order-cmp.out.
53308         ($(objpfx)order-cmp.out): New rule.
53309         [$(run-built-tests) = yes] (tests): Depend on
53310         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
53311         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
53312         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
53313         $(objpfx)tst-array5-static-cmp.out.
53314         ($(objpfx)tst-array1.out): Remove rule.
53315         ($(objpfx)tst-array1-cmp.out): New rule.
53316         ($(objpfx)tst-array1-static.out): Remove rule.
53317         ($(objpfx)tst-array1-static-cmp.out): New rule.
53318         ($(objpfx)tst-array2.out): Remove rule.
53319         ($(objpfx)tst-array2-cmp.out): New rule.
53320         ($(objpfx)tst-array3.out): Remove rule.
53321         ($(objpfx)tst-array3-cmp.out): New rule.
53322         ($(objpfx)tst-array4.out): Remove rule.
53323         ($(objpfx)tst-array4-cmp.out): New rule.
53324         ($(objpfx)tst-array5.out): Remove rule.
53325         ($(objpfx)tst-array5-cmp.out): New rule.
53326         ($(objpfx)tst-array5-static.out): Remove rule.
53327         ($(objpfx)tst-array5-static-cmp.out): New rule.
53328         [$(run-built-tests) = yes] (tests): Depend on
53329         $(objpfx)order2-cmp.out.
53330         ($(objpfx)order2.out): Remove rule.
53331         ($(objpfx)order2-cmp.out): New rule.
53332         ($(objpfx)tst-initorder.out): Remove rule.
53333         [$(run-built-tests) = yes] (tests): Depend on
53334         $(objpfx)tst-initorder-cmp.out.
53335         ($(objpfx)tst-initorder-cmp.out): New rule.
53336         ($(objpfx)tst-initorder2.out): Remove rule.
53337         [$(run-built-tests) = yes] (tests): Depend on
53338         $(objpfx)tst-initorder2-cmp.out.
53339         ($(objpfx)tst-initorder2-cmp.out): New rule.
53340         [$(run-built-tests) = yes] (tests): Depend on
53341         $(objpfx)tst-unused-dep-cmp.out.
53342         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
53343         ($(objpfx)tst-unused-dep-cmp.out): New rule.
53344         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
53345         on $(objpfx)tst-setvbuf1-cmp.out.
53346         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
53347         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
53348         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
53349         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
53350         ($(objpfx)tst-svc.out): Remove rule.
53351         ($(objpfx)tst-svc-cmp.out): New rule.
53353 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
53355         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
53356         * ctype/ctype.h [__USE_MISC]: Likewise.
53357         * dirent/dirent.h [__USE_MISC]: Likewise.
53358         * grp/grp.h [__USE_MISC]: Likewise.
53359         * io/fcntl.h [__USE_MISC]: Likewise.
53360         * io/sys/stat.h [__USE_MISC]: Likewise.
53361         * libio/stdio.h [__USE_MISC]: Likewise.
53362         * posix/unistd.h [__USE_MISC]: Likewise.
53363         * pwd/pwd.h [__USE_MISC]: Likewise.
53364         * stdlib.h [__USE_MISC]: Likewise.
53365         * string/bits/string2.h [__USE_MISC]: Likewise.
53366         * string/string.h [__USE_MISC]: Likewise.
53367         * time/time.h [__USE_MISC]: Likewise.
53369 2014-02-13  Andreas Schwab  <schwab@suse.de>
53371         [BZ #16574]
53372         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
53373         second answer buffer if it was separately allocated.
53375 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
53377         * sysdeps/mips/math-tests.h: Include <features.h>.
53378         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
53379         (ROUNDING_TESTS_long_double): Do not define.
53380         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
53381         (EXCEPTION_TESTS_long_double): Likewise.
53382         * sysdeps/mips/mips64/libm-test-ulps: Update.
53384         * include/features.h (__USE_BSD): Remove macro definitions.
53385         (__USE_SVID): Likewise.
53386         (_BSD_SOURCE): Likewise.
53387         (_SVID_SOURCE): Likewise.
53388         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
53389         from definition of _DEFAULT_SOURCE.
53390         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
53391         [_DEFAULT_SOURCE].
53392         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
53393         * bits/mman.h [__USE_BSD]: Likewise.
53394         * bits/termios.h [__USE_BSD]: Likewise.
53395         * bits/waitstatus.h [__USE_BSD]: Likewise.
53396         * ctype/ctype.h [__USE_SVID]: Likewise.
53397         * dirent/dirent.h [__USE_BSD]: Likewise.
53398         * grp/grp.h [__USE_SVID]: Likewise.
53399         [__USE_BSD]: Likewise.
53400         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
53401         * io/fcntl.h [__USE_BSD]: Likewise.
53402         * io/ftw.h [__USE_BSD]: Likewise.
53403         * io/sys/stat.h [__USE_BSD]: Likewise.
53404         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
53405         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
53406         * libio/stdio.h [__USE_SVID]: Likewise.
53407         [__USE_BSD]: Likewise.
53408         * math/math.h [__USE_SVID]: Likewise.
53409         [__USE_BSD]: Likewise.
53410         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
53411         * misc/bits/syslog.h [__USE_BSD]: Likewise.
53412         * misc/search.h [__USE_SVID]: Likewise.
53413         * misc/sys/mman.h [__USE_BSD]: Likewise.
53414         * misc/sys/syslog.h [__USE_BSD]: Likewise.
53415         * misc/sys/uio.h [__USE_BSD]: Likewise.
53416         * posix/bits/unistd.h [__USE_BSD]: Likewise.
53417         * posix/glob.h [__USE_BSD]: Likewise.
53418         * posix/regex.h [__USE_BSD]: Likewise.
53419         * posix/sys/types.h [__USE_BSD]: Likewise.
53420         [__USE_SVID]: Likewise.
53421         * posix/sys/utsname.h [__USE_SVID]: Likewise.
53422         * posix/sys/wait.h [__USE_BSD]: Likewise.
53423         [__USE_SVID]: Likewise.
53424         * posix/unistd.h [__USE_BSD]: Likewise.
53425         [__USE_SVID]: Likewise.
53426         * pwd/pwd.h [__USE_SVID]: Likewise.
53427         * resolv/netdb.h [__USE_BSD]: Likewise.
53428         * setjmp/setjmp.h [__USE_BSD]: Likewise.
53429         * signal/signal.h [__USE_BSD]: Likewise.
53430         [__USE_SVID]: Likewise.
53431         * socket/sys/socket.h [__USE_BSD]: Likewise.
53432         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
53433         * stdlib/stdlib.h [__USE_BSD]: Likewise.
53434         [__USE_SVID]: Likewise.
53435         * string/bits/string2.h [__USE_BSD]: Likewise.
53436         [__USE_SVID]: Likewise.
53437         * string/bits/string3.h [__USE_BSD]: Likewise.
53438         * string/endian.h [__USE_BSD]: Likewise.
53439         * string/string.h [__USE_SVID]: Likewise.
53440         [__USE_BSD]: Likewise.
53441         * string/strings.h [__USE_BSD]: Likewise.
53442         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
53443         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
53444         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
53445         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
53446         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
53447         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
53448         Likewise.
53449         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
53450         Likewise.
53451         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
53452         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
53453         Likewise.
53454         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
53455         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
53456         Likewise.
53457         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
53458         Likewise.
53459         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
53460         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
53461         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
53462         Likewise.
53463         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
53464         Likewise.
53465         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
53466         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
53467         * termios/termios.h [__USE_BSD]: Likewise.
53468         * time/sys/time.h [__USE_BSD]: Likewise.
53469         * time/time.h [__USE_BSD]: Likewise.
53470         [__USE_SVID]: Likewise.
53472         * Makefile (subdir_targets): Remove subdir_lint.out.
53474         * stdio-common/Makefile (do-tst-unbputc): Remove target.
53475         (do-tst-printf): Likewise.
53476         (tests): Depend directly on $(objpfx)tst-unbputc.out and
53477         $(objpfx)tst-printf.out.
53479         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
53481         * Makerules (check-abi-%): Change target to
53482         $(objpfx)check-abi-%.out.
53483         (check-abi target): Update dependencies.
53484         (check-abi-pattern variable): Redirect output of diff to $@.
53485         (check-abi variable): Likewise.
53486         * elf/Makefile (check-abi): Update dependencies.
53488         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
53489         unused.
53490         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
53491         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
53492         subnormal range.
53493         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
53494         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
53495         value has largest subnormal exponent.
53496         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
53497         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
53498         * sysdeps/aarch64/soft-fp/sfp-machine.h
53499         (_FP_TININESS_AFTER_ROUNDING): New macro.
53500         * sysdeps/alpha/soft-fp/sfp-machine.h
53501         (_FP_TININESS_AFTER_ROUNDING): Likewise.
53502         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
53503         Likewise.
53504         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
53505         (_FP_TININESS_AFTER_ROUNDING): Likewise.
53506         * sysdeps/mips/soft-fp/sfp-machine.h
53507         (_FP_TININESS_AFTER_ROUNDING): Likewise.
53508         * sysdeps/powerpc/soft-fp/sfp-machine.h
53509         (_FP_TININESS_AFTER_ROUNDING): Likewise.
53510         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
53511         Likewise.
53512         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
53513         (_FP_TININESS_AFTER_ROUNDING): Likewise.
53514         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
53515         (_FP_TININESS_AFTER_ROUNDING): Likewise.
53516         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
53517         Likewise.
53519 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
53521         [BZ #16545]
53522         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
53523         model 1.
53525 2014-02-12  Richard Henderson  <rth@redhat.com>
53527         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
53528         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
53529         * sysdeps/unix/sysv/linux/alpha: Move directory from
53530         ports/sysdeps/unix/sysv/linux/alpha.
53531         * README: Update listing for alpha-*-linux-gnu.
53533 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
53535         * include/features.h: Update comment documenting feature test
53536         macros.
53537         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
53538         _DEFAULT_SOURCE.
53539         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
53540         (_SVID_SOURCE): Likewise.
53541         (_DEFAULT_SOURCE): Update description of default features.
53542         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
53543         with _GNU_SOURCE.
53544         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
53545         (S_ISVTX): Likewise.
53546         * manual/math.texi (Mathematical Constants): Likewise.
53547         * manual/signal.texi (Interrupted Primitives): Likewise.
53548         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
53549         * math/test-matherr.c (_SVID_SOURCE): Do not define.
53550         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
53551         Don't refer to _SVID_SOURCE in warning text.
53553         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53555         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
53556         already defined.
53557         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
53558         * sysdeps/mips/dl-lookup.c: Remove.
53559         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
53561 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
53563         [BZ #16447]
53564         * math/auto-libm-test-in: Add testcase for expl.
53565         * math/auto-libm-test-out: Regenerate.
53566         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
53567         calculation of unsafe.
53568         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
53570 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
53572         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
53573         * sysdeps/unix/sysv/linux/aarch64: Move directory from
53574         ports/sysdeps/unix/sysv/linux/aarch64.
53575         * README: Update listing for aarch64*-*-linux-gnu.
53577 2014-02-11  Will Newton  <will.newton@linaro.org>
53579         * manual/probes.texi (Mathematical Function Probes): Use
53580         "triggered" instead of "hit".
53582         * manual/probes.texi (Internal Probes): Add documentation
53583         of setjmp, longjmp and longjmp_target probes.
53585         * include/stap-probe.h: Add comment about probe argument
53586         format.
53588         * malloc/mtrace.c (attribute_hidden): Remove unused macro
53589         definition.  (tr_where, tr_freehook, tr_mallochook,
53590         tr_reallochook, tr_memalignhook): Use ANSI protoype.
53592 2014-02-11  David S. Miller  <davem@davemloft.net>
53594         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
53595         processing int_tests.
53597 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
53599         * sysdeps/mips: Move directory from ports/sysdeps/mips.
53600         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
53601         * sysdeps/unix/sysv/linux/mips: Move directory from
53602         ports/sysdeps/unix/sysv/linux/mips.
53603         * README: Update listing for mips-*-linux-gnu and
53604         mips64-*-linux-gnu.
53606 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
53608         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
53609         * sysdeps/unix/sysv/linux/m68k: Move directory from
53610         ports/sysdeps/unix/sysv/linux/m68k.
53611         * README: Update listing for m68k-*-linux-gnu.
53613 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
53615         * sysdeps/tile: Move directory from ports/sysdeps/tile.
53616         * sysdeps/unix/sysv/linux/generic: Move directory from
53617         ports/sysdeps/unix/sysv/linux/generic.
53618         * sysdeps/unix/sysv/linux/tile: Move directory from
53619         ports/sysdeps/unix/sysv/linux/tile.
53620         * README: Update listing for tile*-*-linux-gnu.
53622 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
53624         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
53625         __builtin_expect.
53626         * benchtests/bench-memmem.c (simple_memmem): Likewise.
53627         * catgets/open_catalog.c (__open_catalog): Likewise.
53628         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
53629         * debug/confstr_chk.c: Likewise.
53630         * debug/fread_chk.c (__fread_chk): Likewise.
53631         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
53632         * debug/getgroups_chk.c: Likewise.
53633         * debug/mbsnrtowcs_chk.c: Likewise.
53634         * debug/mbsrtowcs_chk.c: Likewise.
53635         * debug/mbstowcs_chk.c: Likewise.
53636         * debug/memcpy_chk.c: Likewise.
53637         * debug/memmove_chk.c: Likewise.
53638         * debug/mempcpy_chk.c: Likewise.
53639         * debug/memset_chk.c: Likewise.
53640         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
53641         * debug/strcat_chk.c (__strcat_chk): Likewise.
53642         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
53643         * debug/strncat_chk.c (__strncat_chk): Likewise.
53644         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
53645         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
53646         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
53647         * debug/wcpncpy_chk.c: Likewise.
53648         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
53649         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
53650         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
53651         * debug/wcsncpy_chk.c: Likewise.
53652         * debug/wcsnrtombs_chk.c: Likewise.
53653         * debug/wcsrtombs_chk.c: Likewise.
53654         * debug/wcstombs_chk.c: Likewise.
53655         * debug/wmemcpy_chk.c: Likewise.
53656         * debug/wmemmove_chk.c: Likewise.
53657         * debug/wmempcpy_chk.c: Likewise.
53658         * debug/wmemset_chk.c: Likewise.
53659         * dirent/scandirat.c (SCANDIRAT): Likewise.
53660         * dlfcn/dladdr1.c (dladdr1): Likewise.
53661         * dlfcn/dladdr.c (dladdr): Likewise.
53662         * dlfcn/dlclose.c (dlclose_doit): Likewise.
53663         * dlfcn/dlerror.c (__dlerror): Likewise.
53664         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
53665         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
53666         * dlfcn/dlopen.c (dlopen_doit): Likewise.
53667         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
53668         * dlfcn/dlsym.c (dlsym_doit): Likewise.
53669         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
53670         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
53671         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
53672         Likewise.
53673         * elf/dl-conflict.c: Likewise.
53674         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
53675         * elf/dl-dst.h: Likewise.
53676         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
53677         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
53678         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
53679         * elf/dl-init.c (call_init, _dl_init): Likewise.
53680         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
53681         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
53682         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
53683         Likewise.
53684         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
53685         Likewise.
53686         * elf/dl-minimal.c (__libc_memalign): Likewise.
53687         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
53688         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
53689         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
53690         * elf/dl-sym.c (do_sym): Likewise.
53691         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
53692         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
53693         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
53694         * elf/dl-writev.h (_dl_writev): Likewise.
53695         * elf/ldconfig.c (search_dir): Likewise.
53696         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
53697         (dl_main): Likewise.
53698         * elf/setup-vdso.h (setup_vdso): Likewise.
53699         * grp/compat-initgroups.c (compat_call): Likewise.
53700         * grp/fgetgrent.c (fgetgrent): Likewise.
53701         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
53702         * grp/putgrent.c (putgrent): Likewise.
53703         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
53704         Likewise.
53705         * hurd/hurdinit.c: Likewise.
53706         * iconvdata/8bit-gap.c (struct): Likewise.
53707         * iconvdata/ansi_x3.110.c : Likewise.
53708         * iconvdata/big5.c : Likewise.
53709         * iconvdata/big5hkscs.c : Likewise.
53710         * iconvdata/cp1255.c: Likewise.
53711         * iconvdata/cp1258.c : Likewise.
53712         * iconvdata/cp932.c : Likewise.
53713         * iconvdata/euc-cn.c: Likewise.
53714         * iconvdata/euc-jisx0213.c : Likewise.
53715         * iconvdata/euc-jp.c: Likewise.
53716         * iconvdata/euc-jp-ms.c : Likewise.
53717         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
53718         * iconvdata/gb18030.c : Likewise.
53719         * iconvdata/gbbig5.c (const): Likewise.
53720         * iconvdata/gbgbk.c: Likewise.
53721         * iconvdata/gbk.c : Likewise.
53722         * iconvdata/ibm1364.c : Likewise.
53723         * iconvdata/ibm930.c : Likewise.
53724         * iconvdata/ibm932.c: Likewise.
53725         * iconvdata/ibm933.c : Likewise.
53726         * iconvdata/ibm935.c : Likewise.
53727         * iconvdata/ibm937.c : Likewise.
53728         * iconvdata/ibm939.c : Likewise.
53729         * iconvdata/ibm943.c: Likewise.
53730         * iconvdata/iso_11548-1.c: Likewise.
53731         * iconvdata/iso-2022-cn.c : Likewise.
53732         * iconvdata/iso-2022-cn-ext.c : Likewise.
53733         * iconvdata/iso-2022-jp-3.c: Likewise.
53734         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
53735         * iconvdata/iso-2022-kr.c : Likewise.
53736         * iconvdata/iso646.c (gconv_end): Likewise.
53737         * iconvdata/iso_6937-2.c : Likewise.
53738         * iconvdata/iso_6937.c : Likewise.
53739         * iconvdata/iso8859-1.c: Likewise.
53740         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
53741         * iconvdata/shift_jisx0213.c : Likewise.
53742         * iconvdata/sjis.c : Likewise.
53743         * iconvdata/t.61.c : Likewise.
53744         * iconvdata/tcvn5712-1.c : Likewise.
53745         * iconvdata/tscii.c: Likewise.
53746         * iconvdata/uhc.c : Likewise.
53747         * iconvdata/unicode.c (gconv_end): Likewise.
53748         * iconvdata/utf-16.c (gconv_end): Likewise.
53749         * iconvdata/utf-32.c (gconv_end): Likewise.
53750         * iconvdata/utf-7.c (base64): Likewise.
53751         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
53752         * iconv/gconv_close.c (__gconv_close): Likewise.
53753         * iconv/gconv_open.c (__gconv_open): Likewise.
53754         * iconv/gconv_simple.c (internal_ucs4_loop_single)
53755         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
53756         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
53757         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
53758         (ucs4le_internal_loop_single): Likewise.
53759         * iconv/iconv.c (iconv): Likewise.
53760         * iconv/iconv_close.c: Likewise.
53761         * iconv/loop.c (SINGLE): Likewise.
53762         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
53763         * include/atomic.h: Likewise.
53764         * inet/inet6_option.c (option_alloc): Likewise.
53765         * intl/bindtextdom.c (set_binding_values): Likewise.
53766         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
53767         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
53768         * intl/localealias.c (read_alias_file): Likewise.
53769         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
53770         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
53771         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
53772         * libio/fmemopen.c (fmemopen): Likewise.
53773         * libio/iofgets.c (_IO_fgets): Likewise.
53774         * libio/iofgets_u.c (fgets_unlocked): Likewise.
53775         * libio/iofgetws.c (fgetws): Likewise.
53776         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
53777         * libio/iogetdelim.c (_IO_getdelim): Likewise.
53778         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
53779         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
53780         * locale/findlocale.c (_nl_find_locale): Likewise.
53781         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
53782         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
53783         Likewise.
53784         * locale/setlocale.c (setlocale): Likewise.
53785         * login/programs/pt_chown.c (main): Likewise.
53786         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
53787         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
53788         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
53789         (mmap, mmap64, mremap, munmap): Likewise.
53790         * math/e_exp2l.c: Likewise.
53791         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
53792         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
53793         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
53794         * math/s_catan.c (__catan): Likewise.
53795         * math/s_catanf.c (__catanf): Likewise.
53796         * math/s_catanh.c (__catanh): Likewise.
53797         * math/s_catanhf.c (__catanhf): Likewise.
53798         * math/s_catanhl.c (__catanhl): Likewise.
53799         * math/s_catanl.c (__catanl): Likewise.
53800         * math/s_ccosh.c (__ccosh): Likewise.
53801         * math/s_ccoshf.c (__ccoshf): Likewise.
53802         * math/s_ccoshl.c (__ccoshl): Likewise.
53803         * math/s_cexp.c (__cexp): Likewise.
53804         * math/s_cexpf.c (__cexpf): Likewise.
53805         * math/s_cexpl.c (__cexpl): Likewise.
53806         * math/s_clog10.c (__clog10): Likewise.
53807         * math/s_clog10f.c (__clog10f): Likewise.
53808         * math/s_clog10l.c (__clog10l): Likewise.
53809         * math/s_clog.c (__clog): Likewise.
53810         * math/s_clogf.c (__clogf): Likewise.
53811         * math/s_clogl.c (__clogl): Likewise.
53812         * math/s_csin.c (__csin): Likewise.
53813         * math/s_csinf.c (__csinf): Likewise.
53814         * math/s_csinh.c (__csinh): Likewise.
53815         * math/s_csinhf.c (__csinhf): Likewise.
53816         * math/s_csinhl.c (__csinhl): Likewise.
53817         * math/s_csinl.c (__csinl): Likewise.
53818         * math/s_csqrt.c (__csqrt): Likewise.
53819         * math/s_csqrtf.c (__csqrtf): Likewise.
53820         * math/s_csqrtl.c (__csqrtl): Likewise.
53821         * math/s_ctan.c (__ctan): Likewise.
53822         * math/s_ctanf.c (__ctanf): Likewise.
53823         * math/s_ctanh.c (__ctanh): Likewise.
53824         * math/s_ctanhf.c (__ctanhf): Likewise.
53825         * math/s_ctanhl.c (__ctanhl): Likewise.
53826         * math/s_ctanl.c (__ctanl): Likewise.
53827         * math/w_pow.c: Likewise.
53828         * math/w_powf.c: Likewise.
53829         * math/w_powl.c: Likewise.
53830         * math/w_scalb.c (sysv_scalb): Likewise.
53831         * math/w_scalbf.c (sysv_scalbf): Likewise.
53832         * math/w_scalbl.c (sysv_scalbl): Likewise.
53833         * misc/error.c (error_tail): Likewise.
53834         * misc/pselect.c (__pselect): Likewise.
53835         * nis/nis_callback.c (__nis_create_callback): Likewise.
53836         * nis/nis_call.c (__nisfind_server): Likewise.
53837         * nis/nis_creategroup.c (nis_creategroup): Likewise.
53838         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
53839         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
53840         * nis/nis_getservlist.c (nis_getservlist): Likewise.
53841         * nis/nis_lookup.c (nis_lookup): Likewise.
53842         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
53843         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
53844         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
53845         * nis/nis_xdr.c (xdr_endpoint): Likewise.
53846         * nis/nss_compat/compat-grp.c (getgrent_next_file)
53847         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
53848         * nis/nss_compat/compat-initgroups.c (add_group)
53849         (internal_getgrent_r): Likewise.
53850         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
53851         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
53852         * nis/nss_compat/compat-spwd.c (getspent_next_file)
53853         (internal_getspnam_r): Likewise.
53854         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
53855         (_nss_nis_getaliasbyname_r): Likewise.
53856         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
53857         (_nss_nis_getntohost_r): Likewise.
53858         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
53859         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
53860         (_nss_nis_getgrgid_r): Likewise.
53861         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
53862         (internal_nis_gethostent_r, internal_gethostbyname2_r)
53863         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
53864         (_nss_nis_gethostbyname4_r): Likewise.
53865         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
53866         (initgroups_netid): Likewise.
53867         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
53868         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
53869         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
53870         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
53871         (_nss_nis_getprotobynumber_r): Likewise.
53872         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
53873         (_nss_nis_getsecretkey): Likewise.
53874         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
53875         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
53876         (_nss_nis_getpwuid_r): Likewise.
53877         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
53878         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
53879         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
53880         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
53881         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
53882         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
53883         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
53884         Likewise.
53885         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
53886         (_nss_nisplus_getntohost_r): Likewise.
53887         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
53888         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
53889         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
53890         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
53891         Likewise.
53892         * nis/nss_nisplus/nisplus-initgroups.c
53893         (_nss_nisplus_initgroups_dyn): Likewise.
53894         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
53895         (_nss_nisplus_getnetbyaddr_r): Likewise.
53896         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
53897         (_nss_nisplus_getprotobynumber_r): Likewise.
53898         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
53899         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
53900         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
53901         Likewise.
53902         * nis/nss_nisplus/nisplus-service.c
53903         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
53904         (_nss_nisplus_getservbyport_r): Likewise.
53905         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
53906         (_nss_nisplus_getspnam_r): Likewise.
53907         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
53908         Likewise.
53909         * nscd/aicache.c (addhstaiX): Likewise.
53910         * nscd/cache.c (cache_search, prune_cache): Likewise.
53911         * nscd/connections.c (register_traced_file, send_ro_fd)
53912         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
53913         (main_loop_epoll): Likewise.
53914         * nscd/grpcache.c (addgrbyX): Likewise.
53915         * nscd/hstcache.c (addhstbyX): Likewise.
53916         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53917         * nscd/mem.c (gc, mempool_alloc): Likewise.
53918         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
53919         (addinnetgrX): Likewise.
53920         * nscd/nscd-client.h (__nscd_acquire_maplock)
53921         (__nscd_drop_map_ref): Likewise.
53922         * nscd/nscd_getai.c (__nscd_getai): Likewise.
53923         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
53924         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
53925         Likewise.
53926         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
53927         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
53928         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
53929         (__nscd_get_map_ref): Likewise.
53930         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
53931         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
53932         Likewise.
53933         * nscd/pwdcache.c (addpwbyX): Likewise.
53934         * nscd/selinux.c (preserve_capabilities): Likewise.
53935         * nscd/servicescache.c (addservbyX): Likewise.
53936         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
53937         * posix/fnmatch.c (fnmatch): Likewise.
53938         * posix/getopt.c (_getopt_internal_r): Likewise.
53939         * posix/glob.c (glob, glob_in_dir): Likewise.
53940         * posix/wordexp.c (exec_comm_child): Likewise.
53941         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
53942         (getanswer_r, gaih_getanswer_slice): Likewise.
53943         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
53944         * resolv/res_init.c: Likewise.
53945         * resolv/res_mkquery.c (res_nmkquery): Likewise.
53946         * resolv/res_query.c (__libc_res_nquery): Likewise.
53947         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
53948         Likewise.
53949         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
53950         * stdio-common/perror.c (perror): Likewise.
53951         * stdio-common/printf_fp.c (___printf_fp): Likewise.
53952         * stdio-common/tmpnam.c (tmpnam): Likewise.
53953         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
53954         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
53955         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
53956         Likewise.
53957         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
53958         * stdlib/putenv.c (putenv): Likewise.
53959         * stdlib/setenv.c (__add_to_environ): Likewise.
53960         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
53961         * stdlib/strtol_l.c (INTERNAL): Likewise.
53962         * string/memmem.c (memmem): Likewise.
53963         * string/strerror.c (strerror): Likewise.
53964         * string/strnlen.c (__strnlen): Likewise.
53965         * string/test-memmem.c (simple_memmem): Likewise.
53966         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
53967         * sunrpc/pm_getport.c (__get_socket): Likewise.
53968         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
53969         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
53970         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
53971         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
53972         Likewise.
53973         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
53974         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
53975         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
53976         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
53977         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
53978         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
53979         Likewise.
53980         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
53981         Likewise.
53982         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
53983         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
53984         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53985         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
53986         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
53987         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
53988         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
53989         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
53990         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
53991         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
53992         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
53993         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
53994         Likewise.
53995         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
53996         Likewise.
53997         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
53998         Likewise.
53999         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
54000         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
54001         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
54002         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
54003         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
54004         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
54005         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
54006         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
54007         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
54008         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
54009         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
54010         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54011         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
54012         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
54013         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54014         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
54015         Likewise.
54016         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
54017         Likewise.
54018         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
54019         Likewise.
54020         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
54021         Likewise.
54022         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
54023         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54024         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
54025         Likewise.
54026         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
54027         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
54028         * sysdeps/posix/opendir.c (__opendirat): Likewise.
54029         * sysdeps/posix/sleep.c: Likewise.
54030         * sysdeps/posix/tempname.c: Likewise.
54031         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
54032         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
54033         Likewise.
54034         * sysdeps/powerpc/powerpc32/dl-machine.h
54035         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
54036         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
54037         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
54038         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
54039         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
54040         Likewise.
54041         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
54042         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
54043         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
54044         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
54045         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
54046         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
54047         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
54048         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
54049         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
54050         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
54051         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
54052         (elf_machine_lazy_rel): Likewise.
54053         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
54054         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
54055         (elf_machine_lazy_rel): Likewise.
54056         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
54057         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
54058         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
54059         * sysdeps/unix/grantpt.c (grantpt): Likewise.
54060         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
54061         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
54062         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
54063         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54064         Likewise.
54065         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
54066         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
54067         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
54068         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
54069         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
54070         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
54071         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
54072         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
54073         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
54074         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
54075         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
54076         Likewise.
54077         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
54078         (__posix_fallocate64_l64): Likewise.
54079         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
54080         (posix_fallocate): Likewise.
54081         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
54082         Likewise.
54083         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
54084         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
54085         (getifaddrs_internal): Likewise.
54086         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
54087         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
54088         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
54089         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
54090         * sysdeps/unix/sysv/linux/posix_fallocate64.c
54091         (__posix_fallocate64_l64): Likewise.
54092         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
54093         Likewise.
54094         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
54095         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
54096         (__get_clockfreq): Likewise.
54097         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
54098         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
54099         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
54100         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
54101         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
54102         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
54103         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
54104         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
54105         Likewise.
54106         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
54107         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
54108         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
54109         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
54110         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
54111         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
54112         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
54113         Likewise.
54114         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
54115         (posix_fallocate): Likewise.
54116         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
54117         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
54118         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
54119         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
54120         (elf_machine_rela, elf_machine_rela_relative)
54121         (elf_machine_lazy_rel): Likewise.
54122         * time/asctime.c (asctime_internal): Likewise.
54123         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
54124         * time/tzset.c (__tzset_parse_tz): Likewise.
54125         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
54126         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
54127         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
54128         * wcsmbs/wcsmbsload.h: Likewise.
54130         [BZ #15894]
54131         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
54133         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
54134         (arena_get2): Remove THREAD_STATS conditionals.
54135         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
54136         (__malloc_stats, int): Likewise.
54138 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
54140         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
54141         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
54143         * manual/setjmp.texi: Fix typos/grammar errors.
54145         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
54146         Only return early when n is <= 0.  Delete unused return statement.
54148         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
54149         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
54150         * debug/tst-longjmp_chk3.c: New file.
54152         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
54153         (test_main): Replace code with set_fortify_handler call.
54154         * debug/test-strcpy_chk.c: Likewise.
54155         * debug/tst-chk1.c: Likewise.
54156         * debug/tst-longjmp_chk.c: Likewise.
54157         * test-skeleton.c: Include fcntl.h & paths.h
54158         (set_fortify_handler): Define.
54160         * debug/tst-longjmp_chk.c: Add header comment and include
54161         ../test-skeleton.c.
54162         (do_test): Mark static.
54163         (TEST_FUNCTION): Define.
54165         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
54166         (IP_PMTUDISC_INTERFACE): Likewise.
54167         (IP_MULTICAST_IF): Likewise.
54168         (IP_MULTICAST_TTL): Likewise.
54169         (IP_MULTICAST_LOOP): Likewise.
54170         (IP_ADD_MEMBERSHIP): Likewise.
54171         (IP_DROP_MEMBERSHIP): Likewise.
54172         (IP_UNBLOCK_SOURCE): Likewise.
54173         (IP_BLOCK_SOURCE): Likewise.
54174         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
54175         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
54176         (IP_MSFILTER): Likewise.
54177         (MCAST_JOIN_GROUP): Likewise.
54178         (MCAST_BLOCK_SOURCE): Likewise.
54179         (MCAST_UNBLOCK_SOURCE): Likewise.
54180         (MCAST_LEAVE_GROUP): Likewise.
54181         (MCAST_JOIN_SOURCE_GROUP): Likewise.
54182         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
54183         (MCAST_MSFILTER): Likewise.
54184         (IP_MULTICAST_ALL): Likewise.
54185         (IP_UNICAST_IF): Likewise.
54187         * timezone/Makefile: Delete $(have-ksh) check.
54188         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
54189         * timezone/tzselect.ksh: Add +x mode bits.
54191         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
54192         (ANON_INODE_FS_MAGIC): Likewise.
54193         (BDEVFS_MAGIC): Likewise.
54194         (BINFMTFS_MAGIC): Likewise.
54195         (BTRFS_TEST_MAGIC): Likewise.
54196         (CRAMFS_MAGIC_WEND): Likewise.
54197         (DEBUGFS_MAGIC): Likewise.
54198         (ECRYPTFS_SUPER_MAGIC): Likewise.
54199         (EXT3_SUPER_MAGIC): Likewise.
54200         (EXT4_SUPER_MAGIC): Likewise.
54201         (FUTEXFS_SUPER_MAGIC): Likewise.
54202         (HOSTFS_SUPER_MAGIC): Likewise.
54203         (HUGETLBFS_MAGIC): Likewise.
54204         (MINIX3_SUPER_MAGIC): Likewise.
54205         (MTD_INODE_FS_MAGIC): Likewise.
54206         (NILFS_SUPER_MAGIC): Likewise.
54207         (OPENPROM_SUPER_MAGIC): Likewise.
54208         (PIPEFS_MAGIC): Likewise.
54209         (PSTOREFS_MAGIC): Likewise.
54210         (QNX6_SUPER_MAGIC): Likewise.
54211         (RAMFS_MAGIC): Likewise.
54212         (REISERFS_SUPER_MAGIC_STRING): Likewise.
54213         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
54214         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
54215         (SECURITYFS_MAGIC): Likewise.
54216         (SELINUX_MAGIC): Likewise.
54217         (SMACK_MAGIC): Likewise.
54218         (SOCKFS_MAGIC): Likewise.
54219         (SQUASHFS_MAGIC): Likewise.
54220         (STACK_END_MAGIC): Likewise.
54221         (TMPFS_MAGIC): Likewise.
54222         (USBDEVICE_SUPER_MAGIC): Likewise.
54223         (V9FS_MAGIC): Likewise.
54224         (XENFS_SUPER_MAGIC): Likewise.
54225         (CRAMFS_MAGIC): Fix typo in comment.
54226         (EXT2_SUPER_MAGIC): Update comment.
54227         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
54229 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
54231         * sysdeps/arm: Move directory from ports/sysdeps/arm.
54232         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
54233         * sysdeps/unix/sysv/linux/arm: Move directory from
54234         ports/sysdeps/unix/sysv/linux/arm.
54235         * README: Update listing for arm-*-linux-gnueabi.
54237         * README: Remove mention of am33.
54239 2014-02-07  Roland McGrath  <roland@hack.frob.com>
54241         * bits/sigset.h (__sigemptyset): Use a statement expression rather
54242         than the comma operator, to avoid "rhs of comma has no effect"
54243         compiler warnings.
54244         (__sigfillset, __sigandset, __sigorset): Likewise.
54245         * include/signal.h (__sigemptyset): Likewise.
54246         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
54248 2014-02-07  Allan McRae  <allan@archlinux.org>
54250         * version.h (RELEASE): Set to "development".
54251         (VERSION): Set to "2.19.90"
54252         * NEWS: Add 2.20 section.
54254 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
54256         [BZ #16529]
54257         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
54259 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54261         * manual/contrib.texi: Update entry for Carlos O'Donell,
54262         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
54264 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
54266         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
54268         * sysdeps/unix/sysv/linux/kernel-features.h
54269         [__LINUX_KERNEL_VERSION >= 0x020621]
54270         (__ASSUME_PROC_PID_TASK_COMM): Define.
54272 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54274         [BZ #16398]
54275         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
54276         conversion when destination buffer does not have enough space.
54277         * libio/tst-ftell-partial-wide.c: New test case.
54278         * libio/Makefile (tests): Add tst-ftell-partial-wide.
54280         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
54281         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
54282         Leonard and Allan McRae.
54284 2014-02-04  David S. Miller  <davem@davemloft.net>
54286         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
54287         32-bit.
54289 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
54292         New file
54293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
54294         New file
54295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
54296         New file.
54297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
54298         New file.
54299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
54300         New file.
54301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
54302         New file.
54303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
54304         New file.
54305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
54306         New file.
54307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
54308         New file.
54309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
54310         New file.
54311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
54312         New file.
54313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
54314         New file.
54315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
54316         New file.
54318 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54320         * nptl/shlib-versions: Change powerpc*le start to 2.17.
54321         * shlib-versions: Likewise.
54323 2014-02-04  Roland McGrath  <roland@hack.frob.com>
54324             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54326         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
54327         (abilist-pattern): New variable, set to %-le.abilist.
54329         * Makerules (abilist-pattern): New variable.
54330         (vpath): Use $(abilist-pattern) in place of %.abilist.
54331         (check-abi-% pattern rule): Likewise.
54332         (check-abi, update-abi): Likewise.
54334 2014-02-04  Eric Wong  <normalperson@yhbt.net>
54336         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54338 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
54340         * manual/startup.texi: Add next, previous, and top entries for
54341         the `Program Arguments' and `Environment Variables' nodes.
54343 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
54345         * manual/macros.texi: Add comments before MTASC-safety macros.
54347         * manual/users.texi: Document MTASC-safety properties.
54349         * manual/threads.texi (pthread_key_create, pthread_key_delete)
54350         (pthread_getspecific, pthread_setspecific): Format with
54351         @deftypefun, and add @safety note.
54352         * manual/signal.texi: Move comments that analyze the above
54353         functions to their home place.
54355 2014-02-03  Allan McRae  <allan@archlinux.org>
54357         * po/sl.po: Update Slovenian translation from translation project.
54359 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
54361         * manual/time.texi (timegm): Add missing blank after @c.
54362         Reported by Joseph Myers <joseph@codesourcery.com>.
54364 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
54366         * manual/check-safety.sh: New.
54367         * manual/Makefile ($(objpfx)stamp-summary): Run it.
54369         * manual/terminal.texi: Document MTASC-safety properties.
54371         * manual/filesys.texi: Document MTASC-safety properties.
54373         * manual/errno.texi: Document MTASC-safety properties.
54375         * manual/intro.texi: Document safety identifiers and
54376         conditionals.
54378         * manual/string.texi (wcstok): Fix prototype.
54379         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
54381         * manual/time.texi: Document MTASC-safety properties.
54383         * manual/string.texi: Document MTASC-safety properties.
54385         * manual/threads.texi: Document MTASC-safety properties.
54387         * manual/stdio.texi: Document MTASC-safety properties.
54389         * manual/syslog.texi: Document MTASC-safety properties.
54391         * manual/sysinfo.texi: Document MTASC-safety properties.
54393         * manual/startup.texi: Document MTASC-safety properties.
54395         * manual/socket.texi: Document MTASC-safety properties.
54397         * manual/signal.texi: Document MTASC-safety properties.
54399 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
54401         * manual/setjmp.texi: Document MTASC-safety properties.
54403         * manual/search.texi: Document MTASC-safety properties.
54405         * manual/resource.texi: Document MTASC-safety properties.
54407         * manual/process.texi: Document MTASC-safety properties.
54409         * manual/platform.texi: Document MTASC-safety properties.
54411         * manual/pipe.texi: Document MTASC-safety properties.
54413         * manual/pattern.texi: Document MTASC-safety properties.
54415         * manual/message.texi: Document MTASC-safety properties.
54417         [BZ #12751]
54418         * manual/memory.texi: Document MTASC-safety properties.
54420         * manual/math.texi: Document MTASC-safety properties.
54422         * manual/locale.texi: Document MTASC-safety properties.
54424         * manual/llio.texi: Document MTASC-safety properties.
54426         * manual/libdl.texi: New.
54428         * manual/lang.texi: Document MTASC-safety properties.
54430         * manual/job.texi: Document MTASC-safety properties.
54432         * manual/getopt.texi: Document MTASC-safety properties.
54434         * manual/ctype.texi: Document MTASC-safety properties.
54436 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
54438         [BZ #16046]
54439         * csu/libc-tls.c (static_map): Remove variable.
54440         (__libc_setup_tls): Use main executable's link map for TLS data.
54441         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
54442         casing for LM_ID_BASE and GL(dl_nns).
54443         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
54444         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
54445         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
54446         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
54447         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
54448         member.
54449         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
54450         l_phnum members.
54452 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
54454         * manual/debug.texi: Document MTASC-safety properties.
54456 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
54458         [BZ #16510]
54459         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
54460         of __x86_64__ when disabling x87 inline functions.
54462 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
54464         * manual/charset.texi: Document MTASC-safety properties.
54466         * manual/crypt.texi: Document MTASC-safety properties.
54468         * manual/conf.texi: Document MTASC-safety properties.
54470         * manual/arith.texi: Document MTASC-safety properties.
54472         * manual/argp.texi: Document MTASC-safety properties.
54474         * manual/macros.texi: Introduce macros to document multi
54475         thread, asynchronous signal and asynchronous cancellation
54476         safety properties.
54477         * manual/intro.texi: Introduce the properties themselves.
54479 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54481         * sysdeps/sh/sh4/Makefile: New file.
54483 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
54485         * math/gen-libm-test.pl ($srcdir): New variable.
54486         ($auto_input): Use it.
54488 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54490         [BZ #16506]
54491         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
54492         access beyond array bounds when parsing netgroups file.
54494         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
54495         the old buffer before realloc.
54497 2014-01-27  Allan McRae  <allan@archlinux.org>
54499         * po/fr.po: Update French translation from translation project.
54501 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54503         * sysdeps/sh/libm-test-ulps: Regenerate.
54505 2014-01-24  David S. Miller  <davem@davemloft.net>
54507         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
54509 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54511         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
54512         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
54514 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
54516         [BZ #16474]
54517         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
54518         string pointers after reallocation.
54520 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54522         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
54523         __SH4A__ instead of __SH_FPU_ANY__.
54525 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54527         * sysdeps/sh/fpu_control.h: New file.
54528         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
54529         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
54530         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
54531         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
54532         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
54533         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
54534         * sysdeps/sh/sys/ucontext.h: Remove.
54535         * sysdeps/sh/sys: Remove directory.
54537 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54539         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
54540         s390/sys/ucontext.h.
54541         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
54542         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
54544 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
54546         [BZ #15605]
54547         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
54549 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54551         [BZ #16431]
54552         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
54553         Adjust the vDSO correctly for internal calls.
54554         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
54556 2014-01-20  Allan McRae  <allan@archlinux.org>
54558         * po/ca.po: Update Catalan translation from translation project.
54560 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
54562         * sysdeps/s390/sotruss-lib.c: New file.
54564 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54566         [BZ #16430]
54567         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
54568         (__GI___gettimeofday): Alias for a different internal symbol to avoid
54569         local calls issues by not having a PLT stub required for IFUNC calls.
54570         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
54572 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
54574         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
54575         * math/test-fpucw-static.c: Likewise.
54577 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54579         [BZ #16453]
54580         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
54582 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54584         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
54585         implementation for powerpc.
54587 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
54589         [BZ #14782]
54590         * sysdeps/posix/system.c (__libc_system): Do not enable
54591         asynchronous cancellation.
54593 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54595         [BZ #16427]
54596         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
54597         handling only for numbers special also in the IEEE case.
54599 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54601         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
54603 2014-01-11  Allan McRae  <allan@archlinux.org>
54605         * po/bg.po: Update Bulgarian translation from translation project.
54607         * po/de.po: Update German translation from translation project.
54609 2014-01-10  Roland McGrath  <roland@hack.frob.com>
54611         * sysdeps/generic/gcc-compat.h: New file.
54613 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54615         * benchtests/asin-inputs: Correct slow inputs.
54616         * benchtests/acos-inputs: Likewise.
54618 2014-01-10  Allan McRae  <allan@archlinux.org>
54620         * po:sv.po: Update Swedish translation from translation project.
54622         * po/vi.po: Update Vietnamese translation from translation project.
54624         * po/eo.po: Update Esperanto translation from translation project.
54626         * po/cs.po: Update Czech translation from translation project.
54628         * po/nl.po: Update Dutch translation from translation project.
54630         * po/pl.po: Update Polish translation from translation project.
54632         * po/ru.po: Update Russian translation from translation project.
54634         * po/uk.po: Update Ukrainian translation from translation project.
54636 2014-01-08  Brooks Moses  <bmoses@google.com>
54638         * elf/dl-load.c: Fix comment typo.
54640 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
54642         * po/header.pot: Rename to...
54643         * po/pot.header: ... this.
54644         * po/Makefile: Use pot.header.
54646 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
54647             Maxim Kuvyrkov  <maxim@kugelworks.com>
54649         [BZ #16394]
54650         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
54651         SRC and DEST against LEN.
54653 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54655         [BZ #16414]
54656         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
54657         implementation.
54658         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
54660 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54662         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54664 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
54666         [BZ #16408]
54667         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
54668         for large positive arguments.
54670 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
54672         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
54674         * math/auto-libm-test-in: Mark various tests with
54675         xfail-rounding:ldbl-128ibm.
54676         * math/auto-libm-test-out: Regenerated.
54678         [BZ #16407]
54679         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
54680         Increase overflow threshold.
54682 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
54684         [BZ #14286]
54685         * stdio-common/vfprintf.c: Check for integer overflow.
54687 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54689         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
54690         the first argument and return value of __tls_get_addr_internal.
54692 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54694         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
54695         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
54697 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54699         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
54700         * sysdeps/s390/rtld-global-offsets.sym: New file.
54701         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
54702         GLIBC_2.19 symbol.
54703         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
54704         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
54705         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
54706         ... this.
54707         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
54708         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
54709         ... this.
54710         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
54711         Regenerate.
54712         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
54713         Regenerate.
54714         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
54715         halfs of GPRs for high_gprs contexts.
54716         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
54717         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
54718         field.
54719         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
54720         uc_flags field.
54721         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
54722         64 bit versions:
54723         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
54724         for high GPRs (uc_high_gprs) and for future extensions
54725         (__reserved).
54726         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
54727         for future extensions (__reserved).
54728         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
54729         64 bit versions:
54730         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
54731         SC_HIGHGPRS offset definition.
54732         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
54733         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
54735         * Versions.def: Add GLIBC_2.19 for libpthread.
54736         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
54737         siglongjmp for libpthread with GLIBC_2.19 symver.
54738         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
54739         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
54740         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
54741         * sysdeps/s390/__longjmp.c: New file.
54742         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
54743         * sysdeps/s390/longjmp.c: New file.
54744         * sysdeps/s390/setjmp.S: New file.
54745         * sysdeps/s390/sigjmp.S: New file.
54746         * sysdeps/s390/v1-longjmp.c: New file.
54747         * sysdeps/s390/v1-setjmp.h: New file.
54748         * sysdeps/s390/v1-sigjmp.c: New file.
54749         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
54750         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
54751         GLIBC_2.19 version.
54752         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
54753         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
54754         versioned symbols for ____longjmp_chk.
54755         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
54756         Likewise.
54757         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
54758         Regenerate.
54759         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54760         Regenerate.
54761         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
54762         Regenerate.
54763         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54764         Regenerate.
54765         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
54766         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
54767         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
54768         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
54769         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
54770         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
54771         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
54772         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
54773         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
54774         * sysdeps/s390/rtld-__longjmp.c: New file.
54775         * sysdeps/s390/rtld-setjmp.S: New file.
54777 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
54779         [BZ #16400]
54780         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
54781         Return -__logl (x) for small positive arguments without evaluating
54782         a polynomial.
54784 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
54786         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
54787         Rename to ...
54788         (__ptrace_peeksiginfo_args): ... this.
54789         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54790         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54791         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54793 2014-01-06  Allan McRae  <allan@archlinux.org>
54795         * inet/netinet/in.h: Fix typo in comment.
54797 2014-01-05  Andreas Jaeger  <aj@suse.de>
54799         * sysdeps/i386/fpu/libm-test-ulps: Update.
54801 2014-01-05  Allan McRae  <allan@archlinux.org>
54803         * po/libc.pot: Regenerated.
54805         * malloc/memusagestat.c: Fix gettext call formatting.
54807 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
54809         * nscd/nscd.c: Improve usage() output.
54811 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
54813         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
54814         * sysdeps/unix/sysv/linux/configure: Regenerated.
54815         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
54816         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
54818 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
54820         [BZ #16390]
54821         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
54822         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
54824 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54826         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
54827         extra tokens at end of #undef directive.
54828         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
54829         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
54830         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
54832 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
54834         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
54836         * math/auto-libm-test-in: Mark various tests with
54837         xfail-rounding:ldbl-128ibm.
54838         * math/auto-libm-test-out: Regenerated.
54840 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
54842         [BZ #16386]
54843         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
54844         numbers with subnormal high part when calculating exponent.
54846         [BZ #16385]
54847         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
54848         fabs.
54850         [BZ #16384]
54851         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
54852         M_LN2l.
54853         (__ieee754_acoshl): Use __log1pl not __log1p.
54855 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
54857         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
54858         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
54859         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
54860         (grow_heap, heap_trim, _int_new_arena, get_free_list)
54861         (reused_arena, arena_get2): Convert to GNU style.
54862         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
54863         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
54864         (memalign_check, __malloc_set_state): Likewise.
54865         * malloc/mallocbug.c (main): Likewise.
54866         * malloc/malloc.c (__malloc_assert, malloc_init_state)
54867         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
54868         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
54869         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
54870         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
54871         (__posix_memalign, malloc_info): Likewise.
54872         * malloc/malloc.h: Likewise.
54873         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
54874         (mallochook, memalignhook, reallochook, mabort): Likewise.
54875         * malloc/mcheck.h: Likewise.
54876         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
54877         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
54878         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
54879         * malloc/morecore.c (__default_morecore): Likewise.
54880         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
54881         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
54882         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
54883         (print_and_abort): Likewise.
54884         * malloc/obstack.h: Likewise.
54885         * malloc/set-freeres.c (__libc_freeres): Likewise.
54886         * malloc/tst-mallocstate.c (main): Likewise.
54887         * malloc/tst-mtrace.c (main): Likewise.
54888         * malloc/tst-realloc.c (do_test): Likewise.
54890 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
54892         [BZ #16366]
54893         * nscd/netgroupcache.c (do_notfound): New function.
54894         (addgetnetgrentX): Use it.
54896         [BZ # 16365]
54897         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
54898         NSS_STATUS_NOTFOUND.
54900 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
54902         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
54903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54905 2014-01-01  Allan McRae  <allan@archlinux.org>
54907         * scripts/update-copyrights: Update configure input file suffix.
54909         * NEWS: Update copyright year.
54910         * catgets/gencat.c: Likewise.
54911         * csu/version.c: Likewise.
54912         * debug/catchsegv.sh: Likewise.
54913         * debug/pcprofiledump.c: Likewise.
54914         * debug/xtrace.sh: Likewise.
54915         * elf/ldconfig.c: Likewise.
54916         * elf/ldd.bash.in: Likewise.
54917         * elf/pldd.c: Likewise.
54918         * elf/sotruss.ksh: Likewise.
54919         * elf/sprof.c: Likewise.
54920         * iconv/iconv_prog.c: Likewise.
54921         * iconv/iconvconfig.c: Likewise.
54922         * locale/programs/locale.c: Likewise.
54923         * locale/programs/localedef.c: Likewise.
54924         * login/programs/pt_chown.c: Likewise.
54925         * malloc/memusage.sh: Likewise.
54926         * malloc/memusagestat.c: Likewise.
54927         * malloc/mtrace.pl: Likewise.
54928         * manual/libc.texinfo: Likewise.
54929         * nscd/nscd.c: Likewise.
54930         * nss/getent.c: Likewise.
54931         * nss/makedb.c: Likewise.
54932         * posix/getconf.c: Likewise.
54933         * scripts/test-installation.pl: Likewise.
54935         * All files with FSF copyright notices: Update copyright dates
54936         using scripts/update-copyrights.
54937         * intl/plural.c: Regenerated.
54938         * locale/programs/charmap-kw.h: Likewise.
54939         * locale/programs/locfile-kw.h: Likewise.
54941 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
54943         * sysdeps/unix/sysv/linux/configure: Regenerated.
54944         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
54945         the linux/fanotify.h header.
54946         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
54947         HAVE_LINUX_FANOTIFY_H is defined.
54949 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
54951         * benchtests/cos-inputs: New inputs.
54952         * benchtests/sin-inputs: Likewise.
54954         * benchtests/atan-inputs: New inputs. Fix name of multiple
54955         precision fallback inputs.
54957         * benchtests/atanh-inputs: New inputs.
54958         * benchtests/tanh-inputs: Likewise.
54960         * benchtests/acosh-inputs: New inputs.
54961         * benchtests/asinh-inputs: Likewise.
54963         * benchtests/cosh-inputs: New inputs.
54964         * benchtests/sinh-inputs: Likewise.
54966         * benchtests/acos-inputs: Add more inputs.
54967         * benchtests/asin-inputs: Likewise.
54969 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
54971         [BZ #16375]
54972         * manual/arith.texi: Fix spelling.
54973         * manual/charset.texi: Likewise.
54974         * manual/errno.texi: Likewise.
54975         * manual/filesys.texi: Likewise.
54976         * manual/lang.texi: Likewise.
54977         * manual/llio.texi: Likewise.
54978         * manual/locale.texi: Likewise.
54979         * manual/message.texi: Likewise.
54980         * manual/resource.texi: Likewise.
54981         * manual/search.texi: Likewise.
54982         * manual/setjmp.texi: Likewise.
54983         * manual/stdio.texi: Likewise.
54984         * manual/string.texi: Likewise.
54985         * manual/sysinfo.texi: Likewise.
54986         * manual/time.texi: Likewise.
54988 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
54990         * po/sl.po: New file.
54992 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
54994         * .gitignore: Add core/.gdbinit/.gdb_history.
54996 2013-12-27  Allan McRae  <allan@archlinux.org>
54998         [BZ #16369]
54999         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
55000         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
55002 2013-12-24  Brooks Moses  <bmoses@google.com>
55004         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
55005         all compilers that claim C++98 compliance, not just GCC.
55006         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
55007         Likewise.
55009 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
55011         * NEWS: Restore accidentally deleted bug-fix entries.
55013 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
55014             Ondřej Bílka  <neleai@seznam.cz>
55016         [BZ #15073]
55017         * malloc/malloc.c (_int_free): Perform sanity check only if we
55018         have_lock.
55020 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
55022         [BZ #12986]
55023         * manual/stdio.texi (String Input Conversions): Clarify that character
55024         classes are not supported.
55026 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55028         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55030 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
55032         [BZ #16337]
55033         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
55034         Calculate results for small negative arguments directly rather
55035         than using reflection formula with special underflow handling.
55037         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
55038         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
55039         sysdeps/unix/bsd/bsd4.4/syscalls.list.
55040         (fchflags): Likewise.
55041         (revoke): Likewise.
55042         (setlogin): Likewise.
55043         (sigaltstack): Likewise.
55044         (wait4): Likewise.
55045         (sigblock): Remove.
55046         (sigsetmask): Likewise.
55047         (wait3): Likewise.
55048         (waitpid): Likewise.
55049         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
55050         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
55051         file.
55052         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
55053         * sysdeps/unix/bsd/Makefile: ... here.
55054         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
55055         * sysdeps/unix/bsd/Versions: ... here.
55056         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
55057         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
55058         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
55059         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
55060         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
55061         * sysdeps/unix/bsd/sigblock.c: ... here.
55062         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
55063         * sysdeps/unix/bsd/sigsetmask.c: ... here.
55064         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
55065         * sysdeps/unix/bsd/sigvec.c: ... here.
55066         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
55067         * sysdeps/unix/bsd/tcdrain.c: ... here.
55068         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
55069         * sysdeps/unix/bsd/tcgetattr.c: ... here.
55070         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
55071         * sysdeps/unix/bsd/tcsetattr.c: ... here.
55072         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
55073         * sysdeps/unix/bsd/wait.c: ... here.
55074         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
55075         * sysdeps/unix/bsd/wait3.c: ... here.
55076         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
55077         * sysdeps/unix/bsd/waitpid.c: ... here.
55079 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
55081         [BZ #16356]
55082         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
55083         round-to-nearest for [!USE_AS_EXPM1L].
55084         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
55085         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
55086         more tests of exp and exp10.  Expect some exp10 tests to miss
55087         exceptions or fail in directed rounding modes.
55088         * math/auto-libm-test-out: Regenerated.
55089         * math/libm-test.inc (exp10_tonearest_test_data): New array.
55090         (exp10_test_tonearest): New function.
55091         (exp10_towardzero_test_data): New array.
55092         (exp10_test_towardzero): New function.
55093         (exp10_downward_test_data): New array.
55094         (exp10_test_downward): New function.
55095         (exp10_upward_test_data): New array.
55096         (exp10_test_upward): New function.
55097         (main): Call the new functions.
55098         * sysdeps/i386/fpu/libm-test-ulps: Update.
55099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55101 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
55103         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
55104         asinh, atan, atan2, atanh, cbrt, cos and cosh.
55105         * math/auto-libm-test-out: Regenerated.
55106         * math/libm-test.inc (acosh_test_data): Add more tests.
55107         (atanh_test_data): Likewise.
55108         (ceil_test_data): Likewise.
55109         (copysign_test_data): Likewise.
55110         * sysdeps/i386/fpu/libm-test-ulps: Update.
55111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55113         * timezone/checktab.awk: Update from tzcode 2013i.
55114         * timezone/private.h: Likewise.
55115         * timezone/scheck.c: Likewise.
55116         * timezone/tzfile.h: Likewise.
55117         * timezone/tzselect.ksh: Likewise.
55118         * timezone/zdump.c: Likewise.
55119         * timezone/zic.c: Likewise.
55121         * math/auto-libm-test-in: Add tests of cpow.
55122         * math/auto-libm-test-out: Regenerated.
55123         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
55124         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55125         mpc_cc_c.
55126         (func_calc_desc): Add mpc_cc_c union field.
55127         (test_functions): Add cpow.
55128         (special_fill_2pi): New function.
55129         (special_real_inputs): Add 2pi.
55130         (calc_generic_results): Handle mpc_cc_c.
55131         * sysdeps/i386/fpu/libm-test-ulps: Update.
55132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55134         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
55135         csqrt, ctan and ctanh.
55136         * math/auto-libm-test-out: Regenerated.
55137         * math/libm-test.inc (TEST_COND_x86_64): New macro.
55138         (TEST_COND_x86): Likewise.
55139         (ccos_test_data): Use AUTO_TESTS_c_c.
55140         (ccosh_test_data): Likewise.
55141         (cexp_test_data): Likewise.
55142         (clog_test_data): Likewise.
55143         (csqrt_test_data): Likewise.
55144         (ctan_test_data): Likewise.
55145         (ctan_tonearest_test_data): Likewise.
55146         (ctan_towardzero_test_data): Likewise.
55147         (ctan_downward_test_data): Likewise.
55148         (ctan_upward_test_data): Likewise.
55149         (ctanh_test_data): Likewise.
55150         (ctanh_tonearest_test_data): Likewise.
55151         (ctanh_towardzero_test_data): Likewise.
55152         (ctanh_downward_test_data): Likewise.
55153         (ctanh_upward_test_data): Likewise.
55154         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55155         mpc_c_c.
55156         (func_calc_desc): Add mpc_c_c union field.
55157         (FUNC_mpc_c_c): New macro.
55158         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
55159         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
55160         ctanh.
55161         (special_fill_min_subnorm_p120): New function.
55162         (special_real_inputs): Add min_subnorm_p120.
55163         (calc_generic_results): Handle mpc_c_c.
55164         * sysdeps/i386/fpu/libm-test-ulps: Update.
55165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55167 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55169         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
55170         (do_sin_slow): New functions.
55171         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
55172         (cslow2, csloww1, csloww2): Use the new functions.
55174         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
55175         Use M to change sign of result instead of X.  Assume X is
55176         positive.
55177         (csloww1): Likewise.
55178         (__sin): Adjust.
55179         (__cos): Adjust.
55181         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
55182         arguments A and DA.
55183         (__sin): Adjust.
55184         (__cos): Likewise.
55186         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
55187         (__cos): Likewise.
55188         (sloww1): Don't adjust sign of DX.
55189         (csloww1): Likewise.
55190         (sloww2): Use X directly and don't adjust sign of DX.
55191         (csloww2): Likewise.
55193 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
55195         * math/auto-libm-test-in: Add tests of cabs and carg.
55196         * math/auto-libm-test-out: Regenerated.
55197         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
55198         (carg_test_data): Likewise.
55199         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55200         mpc_c_f.
55201         (func_calc_desc): Add mpc_c_f union field.
55202         (test_functions): Add cabs and carg.
55203         (calc_generic_results): Handle mpc_c_f.
55205         * sysdeps/powerpc/powerpc32/libgcc-compat.S
55206         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
55207         as a macro and a compat symbol.
55208         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
55209         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
55210         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
55211         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
55212         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
55213         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
55214         not use .hidden.
55215         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
55216         Likewise.
55217         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
55218         Likewise.
55219         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
55220         Likewise.
55221         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
55222         Likewise.
55223         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
55224         Likewise.
55225         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
55226         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
55227         from GLIBC_2.3.2.
55229 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55231         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55233 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
55235         * manual/texinfo.tex: Update to version 2013-11-26.10 with
55236         trailing whitespace removed.
55237         * scripts/config.guess: Update to version 2013-11-29.
55238         * scripts/config.sub: Update to version 2013-10-01.
55240         * math/auto-libm-test-in: Add tests of sincos.
55241         * math/auto-libm-test-out: Regenerated.
55242         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
55243         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55244         mpfr_f_11.
55245         (func_calc_desc): Add mpfr_f_11 union field.
55246         (test_functions): Add sincos.
55247         (calc_generic_results): Handle mpfr_f_11.
55248         * sysdeps/i386/fpu/libm-test-ulps: Update.
55249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55251 2013-12-19  Andreas Schwab  <schwab@suse.de>
55253         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
55254         CALL_MCOUNT.
55255         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
55256         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
55257         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
55259 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
55261         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
55262         * sysdeps/i386/fpu/libm-test-ulps: Update.
55263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55265         [BZ #16293]
55266         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
55267         round-to-nearest mode when using frndint.
55268         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
55269         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
55270         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
55271         Likewise.
55272         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
55273         sinh test to fail.
55274         * math/auto-libm-test-out: Regenerated.
55275         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
55276         (TEST_COND_x86): Likewise.
55277         (expm1_tonearest_test_data): New array.
55278         (expm1_test_tonearest): New function.
55279         (expm1_towardzero_test_data): New array.
55280         (expm1_test_towardzero): New function.
55281         (expm1_downward_test_data): New array.
55282         (expm1_test_downward): New function.
55283         (expm1_upward_test_data): New array.
55284         (expm1_test_upward): New function.
55285         (main): Run the new test functions.
55286         * sysdeps/i386/fpu/libm-test-ulps: Update.
55287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55289         * include/features.h: Update comment documenting feature test
55290         macros.  Mention _DEFAULT_SOURCE in comment.
55291         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
55292         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
55293         _BSD_SOURCE and _SVID_SOURCE.
55294         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
55295         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
55296         !_SVID_SOURCE]: Likewise.
55297         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
55298         (__USE_POSIX_IMPLICITLY): Define.
55299         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
55300         (_POSIX_SOURCE): Undefine and redefine.
55301         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
55302         (_POSIX_C_SOURCE): Likewise.
55303         * manual/creature.texi (_DEFAULT_SOURCE): Document.
55304         (Feature Test Macros): Update documentation of default features.
55306 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
55308         * benchtests/Makefile: Add bench-strtok.
55309         * benchtests/bench-strtok.c: New file: strtok benchtest.
55311 2013-12-19  Allan McRae  <allan@archlinux.org>
55313         * manual/install.texi: Suppress menu for plain text output.
55314         * INSTALL: Regenerated.
55316 2013-12-18  Brooks Moses  <bmoses@google.com>
55318         [BZ #15846]
55319         * misc/getauxval.c: Include errno.h.
55320         (__getauxval): Set errno to ENOENT if the requested type is not
55321         found.
55322         * misc/sys/auxv.h (getauxval): Document that it may set errno;
55323         don't declare with __attribute_const__.
55324         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
55325         * manual/startup.texi: Document that getauxval sets errno.
55327 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
55329         * math/auto-libm-test-in: Add tests of jn and yn.
55330         * math/auto-libm-test-out: Regenerated.
55331         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
55332         (yn_test_data): Likewise.
55333         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55334         mpfr_if_f.
55335         (func_calc_desc): Add mpfr_if_f union field.
55336         (FUNC_mpfr_if_f): New macro.
55337         (test_functions): Add jn and yn.
55338         (calc_generic_results): Assert type of second input for
55339         mpfr_ff_f.  Handle mpfr_if_f.
55340         (output_for_one_input_case): Disable all checking for arguments
55341         fitting floating-point types in case of an integer argument.
55342         * sysdeps/i386/fpu/libm-test-ulps: Update.
55343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
55346         Don't expect fegetround reference in libm.so.
55348 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55350         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
55351         $(config-cflags-nofma).
55353 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
55355         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
55356         * math/auto-libm-test-out: Regenerated.
55358         [BZ #16338]
55359         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
55360         to determine exponent and adjust argument to have exponent of -1.
55361         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
55362         log2.
55363         * math/auto-libm-test-out: Regenerated.
55364         * sysdeps/i386/fpu/libm-test-ulps: Update.
55365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55367 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
55369         * manual/probes.texi: Remove cases when per-thread arenas are
55370         disabled.
55372 2013-12-18  Andreas Schwab  <schwab@suse.de>
55374         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
55375         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
55376         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
55377         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
55378         * sysdeps/i386/i686/multiarch/Makefile: Update.
55379         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
55381 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
55383         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
55384         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
55386 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
55388         [BZ #15968]
55389         Support TZ transition times < 00:00:00.
55390         This is needed for version-3 tz-format files; it supports time
55391         stamps past 2037 for America/Godthab (the only entry in the tz
55392         database for which this change is relevant).
55393         * manual/time.texi (TZ Variable): Document transition times
55394         from -167:59:59 through -00:00:01.
55395         * time/tzset.c (tz_rule): Time of day is now signed.
55396         (__tzset_parse_tz): Parse negative time of day.
55398         Document TZ transition times >= 25:00:00.
55399         * manual/time.texi (TZ Variable): Document transition times from
55400         25:00:00 through 167:59:59.  These are already supported, and this
55401         support will help with version-3 tz-format files.
55403         * manual/time.texi (TZ Variable): Modernize North America example
55404         to reflect current (i.e., 2007-and-later) daylight saving rules.
55406         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
55408 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
55410         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
55411         * sysdeps/unix/bsd/bits/stat.h: Likewise.
55412         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
55413         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
55414         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
55415         * sysdeps/unix/bsd/bsdstat.h: Likewise.
55416         * sysdeps/unix/bsd/clock.c: Likewise.
55417         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
55418         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
55419         * sysdeps/unix/bsd/init-posix.c: Likewise.
55420         * sysdeps/unix/bsd/poll.c: Likewise.
55421         * sysdeps/unix/bsd/ptsname.c: Likewise.
55422         * sysdeps/unix/bsd/seekdir.c: Likewise.
55423         * sysdeps/unix/bsd/setegid.c: Likewise.
55424         * sysdeps/unix/bsd/seteuid.c: Likewise.
55425         * sysdeps/unix/bsd/setgid.c: Likewise.
55426         * sysdeps/unix/bsd/setrgid.c: Likewise.
55427         * sysdeps/unix/bsd/setruid.c: Likewise.
55428         * sysdeps/unix/bsd/setsid.c: Likewise.
55429         * sysdeps/unix/bsd/setuid.c: Likewise.
55430         * sysdeps/unix/bsd/sigaction.c: Likewise.
55431         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
55432         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
55433         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
55434         * sysdeps/unix/bsd/telldir.c: Likewise.
55435         * sysdeps/unix/bsd/times.c: Likewise.
55436         * sysdeps/unix/bsd/usleep.c: Likewise.
55438         * misc/Makefile (install-lib): Remove libbsd-compat.a.
55439         ($(objpfx)libbsd-compat.a): Remove rule.
55441         * include/features.h (__FAVOR_BSD): Do not define.
55442         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
55443         features conflicting with POSIX.
55444         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
55445         (_BSD_SOURCE): Remove description of not being a subset of other
55446         feature test macros.
55447         * manual/job.texi (getpgrp): Do not document BSD version.
55448         (getpgid): Do not document by reference to BSD getpgrp.
55449         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
55450         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
55451         * signal/signal.h [__FAVOR_BSD]: Likewise.
55452         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
55453         instead of making contents conditional on [__FAVOR_BSD].
55454         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
55456 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55458         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55460 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
55462         [BZ #16314]
55463         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
55464         values below 2**-450, not 2**-500.
55465         * math/auto-libm-test-in: Don't allow spurious underflow from
55466         hypot.
55467         * math/auto-libm-test-out: Regenerated.
55469         [BZ #16316]
55470         [BZ #16330]
55471         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
55472         values of ha and hb and sort them after adjusting subnormal
55473         arguments.
55474         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
55475         Likewise.
55476         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
55477         values of ea and eb and sort them after adjusting subnormal
55478         arguments.
55479         * math/auto-libm-test-in: Do not expect some hypot tests of
55480         subnormals to fail.  Add more hypot tests.
55481         * math/auto-libm-test-out: Regenerated.
55483 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55485         [BZ #13304]
55486         * sysdeps/sh/s_fma.c: New file.
55487         * sysdeps/sh/s_fmaf.c: New file.
55488         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
55489         version.
55490         * sysdeps/sh/Implies: Add sh/soft-fp.
55492 2013-12-16  Roland McGrath  <roland@hack.frob.com>
55494         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
55495         level of indirection to members `objname', `errstring', `malloced'.
55496         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
55497         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
55498         it as the __longjmp argument (just pass 1 instead).
55499         (_dl_catch_error): Initialize C with argument pointers and address of
55500         volatile local ERRCODE rather than copying values out of C at return.
55502 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
55504         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
55505         * math/auto-libm-test-out: Regenerated.
55506         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
55507         (hypot_test_data): Likewise.
55508         (pow_test_data): Likewise.
55509         (pow_tonearest_test_data): Likewise.
55510         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55511         mpfr_ff_f.
55512         (func_calc_desc): Add mpfr_ff_f union field.
55513         (FUNC_mpfr_ff_f): New macro.
55514         (test_functions): Add atan2, hypot and pow.
55515         (special_fill_min): New function.
55516         (special_fill_minus_min): Likewise.
55517         (special_fill_min_subnorm): Likewise.
55518         (special_fill_minus_min_subnorm): Likewise.
55519         (special_real_inputs): Add min, -min, min_subnorm and
55520         -min_subnorm.
55521         (calc_generic_results): Handle mpfr_ff_f.
55522         * sysdeps/i386/fpu/libm-test-ulps: Update.
55523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55525 2013-12-16  Will Newton  <will.newton@linaro.org>
55527         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
55528         (Aligned Memory Blocks): Add documentation for aligned_alloc
55529         and suggest it as an alternative to posix_memalign.
55530         (Hooks for Malloc): Document __memalign_hook is also called
55531         for aligned_alloc.  (Summary of Malloc): Add summary for
55532         aligned alloc.  Document __memalign_hook is also called
55533         for aligned_alloc.
55535 2013-12-16  Will Newton  <will.newton@linaro.org>
55537         * manual/memory.texi (Malloc Examples): Clarify default
55538         alignment documentation.  Suggest posix_memalign rather
55539         than memalign or valloc.
55540         (Aligned Memory Blocks): Remove suggestion to use memalign
55541         or valloc.  Remove obsolete comment about BSD.
55542         Document memalign errno values and mark the function obsolete.
55543         Document posix_memalign returned error codes.  Mark valloc
55544         as obsolete.  (Hooks for Malloc): __memalign_hook is also
55545         called for posix_memalign and valloc.
55546         (Summary of Malloc): Add posix_memalign to function summary.
55547         __memalign_hook is also called for posix_memalign and valloc.
55549 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55551         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
55552         TAYLOR_SIN.
55553         (__sin): Adjust.
55554         (__cos): Likewise.
55555         (sloww): Use mynumber union.  Expand ternary operator into
55556         if-else statements.
55557         (cslow): use mynumber union.
55559 2013-12-16  Allan McRae  <allan@archlinux.org>
55561         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
55562         * configure: Regenerated.
55564         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
55566         [BZ #14120]
55567         * configure.ac: Added --enable-maintainer-mode. Check for
55568         autoconf when enabled.
55569         * configure: Regenerated.
55571         * nscd/nscd.service: New file.
55572         * nscd/nscd.tmpfiles: New file.
55574 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
55576         [BZ #12100]
55577         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
55578         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
55579         * sysdeps/x86_64/multiarch/strstr.c: ... here.
55580         (strstr): Add __strstr_sse2_unaligned ifunc.
55581         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
55582         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
55583         (strcasestr): Remove __strcasestr_sse42 ifunc.
55584         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
55585         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
55586         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
55588 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55590         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
55591         * sysdeps/sh/bits/fenv.h: ... here.
55592         * sysdeps/sh/sh4/fpu/bits: Remove directory.
55594 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55596         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
55598         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
55599         hypotf multiarch implementations.
55600         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
55601         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
55602         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
55603         multiarch hypot for PPC64.
55604         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
55605         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
55606         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
55607         multiarch hypotf for PPC64.
55609         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
55610         modff multiarch implementations.
55611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
55612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
55613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
55614         multiarch modf for PPC64.
55615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
55616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
55617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
55618         multiarch modff for PPC64.
55620         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
55621         and logl multiarch implementations.
55622         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
55623         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
55624         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
55625         multiarch logb for PPC64.
55626         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
55627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
55628         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
55629         multiarch logb for PPC64.
55630         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
55631         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
55632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
55633         multiarch logb for PPC64.
55635         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
55636         isinff multiarch implementation.
55637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
55638         file.
55639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
55640         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
55641         multiarch isinf for PPC64.
55642         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
55643         file.
55644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
55645         multiarch isinff for PPC64.
55647         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
55648         finitef multiarch implementation.
55649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
55650         file.
55651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
55652         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
55653         multiarch finite for PPC64.
55654         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
55655         file.
55656         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
55657         multiarch finitef for PPC64.
55659         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
55660         lrint multiarch implementation.
55661         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
55662         file.
55663         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
55664         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
55665         multiarch llrint for PPC64.
55666         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
55667         multiarch lrint for PPC64.
55669         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
55670         copysignf multiarch implementation.
55671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
55672         file.
55673         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
55674         file.
55675         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
55676         multiarch copysign for PPC64.
55677         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
55678         multiarch copysignf for PPC64.
55680         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
55681         multiarch implementation.
55682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
55683         file.
55684         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
55685         file.
55686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
55687         file.
55688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
55689         file.
55690         multiarch llround for PPC64.
55691         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
55692         multiarch trunc for PPC64.
55693         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
55694         multiarch truncf for PPC64.
55696         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
55697         multiarch implementation.
55698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
55699         file.
55700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
55701         file.
55702         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
55703         file.
55704         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
55705         file.
55706         multiarch llround for PPC64.
55707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
55708         multiarch round for PPC64.
55709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
55710         multiarch roundf for PPC64.
55712         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
55713         multiarch implementation.
55714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
55715         file.
55716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
55717         file.
55718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
55719         file.
55720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
55721         file.
55722         multiarch llround for PPC64.
55723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
55724         multiarch floor for PPC64.
55725         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
55726         multiarch floorf for PPC64.
55728         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
55729         multiarch implementation.
55730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
55731         file.
55732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
55733         file.
55734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
55735         file.
55736         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
55737         file.
55738         multiarch llround for PPC64.
55739         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
55740         multiarch ceil for PPC64.
55741         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
55742         multiarch ceilf for PPC64.
55744         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
55745         multiarch implementation.
55746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
55747         file.
55748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
55749         file.
55750         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
55751         file.
55752         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
55753         multiarch llround for PPC64.
55754         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
55755         multiarch lround for PPC64.
55757         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
55758         multiarch implementation.
55759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
55760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
55761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
55762         file.
55763         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
55764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
55765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
55766         multiarch isnan for PPC64.
55767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
55768         multiarch isnanf for PPC64.
55770         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
55771         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
55772         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
55773         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
55774         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
55775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
55777         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
55778         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55779         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55780         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55782         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
55783         multiarch implementations.
55784         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55785         (__libc_ifunc_impl_list): Likewise.
55786         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
55787         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
55788         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
55789         multiarch stpcpy for PPC64.
55791         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
55792         multiarch implementations.
55793         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55794         (__libc_ifunc_impl_list): Likewise.
55795         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
55796         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
55797         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
55798         multiarch strcpy for PPC64.
55800         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
55801         redefine function name.
55802         (_wordcopy_fwd_dest_aligned): Likewise.
55803         (_wordcopy_bwd_aligned): Likewise.
55804         (_wordcopy_bwd_dest_aligned): Likewise.
55805         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
55806         multiarch implementations.
55807         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55808         (__libc_ifunc_impl_list): Likewise.
55809         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
55810         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
55811         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
55812         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
55813         multiarch wcscpy for PPC64.
55815         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
55816         multiarch implementations.
55817         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55818         (__libc_ifunc_impl_list): Likewise.
55819         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
55820         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
55821         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
55822         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
55823         multiarch wcscpy for PPC64.
55825         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
55826         multiarch implementations.
55827         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55828         (__libc_ifunc_impl_list): Likewise.
55829         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
55830         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
55831         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
55832         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
55833         multiarch wcsrchr for PPC64.
55835         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
55836         multiarch implementations.
55837         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55838         (__libc_ifunc_impl_list): Likewise.
55839         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
55840         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
55841         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
55842         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
55843         multiarch wcschr for PPC64.
55845         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
55846         multiarch implementations.
55847         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55848         (__libc_ifunc_impl_list): Likewise.
55849         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
55850         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
55851         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
55852         multiarch strchrnul for PPC64.
55854         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
55855         implementations.
55856         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55857         (__libc_ifunc_impl_list): Likewise.
55858         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
55859         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
55860         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
55861         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
55862         strchr for PPC64.
55864         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
55865         implementations.
55866         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55867         (__libc_ifunc_impl_list): Likewise.
55868         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
55869         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
55870         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
55871         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
55872         strncmp for PPC64.
55874         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
55875         multiarch implementations.
55876         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55877         (__libc_ifunc_impl_list): Likewise.
55878         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
55879         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
55880         strncasecmp for PPC64.
55881         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
55882         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
55883         multiarch strncasecmp_l for PPC64.
55885         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
55886         multiarch implementations.
55887         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
55888         (__libc_ifunc_impl_list): Likewise.
55889         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
55890         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
55891         multiarch strcasecmp for PPC64.
55892         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
55893         file.
55894         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
55895         multiarch strcasecmp_l for PPC64.
55897         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
55898         implementations.
55899         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55900         (__libc_ifunc_impl_list): Likewise.
55901         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
55902         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
55903         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
55904         strnlen for PPC64.
55906         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
55907         implementations.
55908         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55909         (__libc_ifunc_impl_list): Likewise.
55910         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
55911         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
55912         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
55913         strlen for PPC64.
55915         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
55916         implementations.
55917         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55918         (__libc_ifunc_impl_list): Likewise.
55919         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
55920         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
55921         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
55922         rawmemrchr for PPC64.
55924         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
55925         implementation.
55926         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55927         (__libc_ifunc_impl_list): Likewise.
55928         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
55929         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
55930         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
55931         memrchr for PPC64.
55933         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
55934         implementation.
55935         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55936         (__libc_ifunc_impl_list): Likewise.
55937         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
55938         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
55939         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
55940         memchr for PPC64.
55942         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
55943         implementation.
55944         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55945         (__libc_ifunc_impl_list): Likewise.
55946         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
55947         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
55948         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
55949         mempcpy for PPC64.
55951         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
55952         avoid cretion of __bzero symbol.
55953         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
55954         Likewise.
55955         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
55956         Likewise.
55957         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
55958         Likewise.
55959         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
55960         multiarch implementations.
55961         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55962         (__libc_ifunc_impl_list): Likewise.
55963         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
55964         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
55965         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
55966         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
55967         bzero for PPC32.
55968         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
55969         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
55970         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
55971         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
55972         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
55973         memset for PPC64.
55974         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
55976         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
55977         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
55978         implementations.
55979         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55980         (__libc_ifunc_impl_list): Likewise.
55981         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
55982         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
55983         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
55984         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
55985         memcmp for PPC64.
55987         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
55988         multiarch for POWER/PPC64.
55989         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
55990         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
55991         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
55992         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
55993         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
55994         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
55995         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
55996         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
55997         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
55998         memcpy for PPC64.
56000         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
56001         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
56002         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
56003         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
56004         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
56005         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
56006         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
56007         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
56008         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
56009         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
56010         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
56011         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
56012         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
56013         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
56014         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
56015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
56016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
56017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
56018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
56019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
56020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
56021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
56023 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56025         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
56027 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
56029         * benchtests/Makefile (bench): Add exp2 and log2.
56030         (LDLIBS-bench-exp2): Add -lm.
56031         (LDLIBS-bench-log2): Likewise.
56032         * benchtests/exp2-inputs: New inputs file.
56033         * benchtests/log2-inputs: New inputs file.
56034         * benchtests/log-inputs: Add new inputs.
56035         * benchtests/tan-inputs: Likewise.
56037 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56039         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
56040         definition...
56041         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
56042         (csloww2): ... from here.
56044         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
56045         instead of structures.
56046         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
56047         (POLYNOMIAL): Likewise.
56048         (TAYLOR_SLOW): Likewise.
56049         (__sin): Likewise.
56050         (__cos): Likewise.
56051         (slow1): Likewise.
56052         (slow2): Likewise.
56053         (sloww): Likewise.
56054         (sloww1); Likewise.
56055         (sloww2): Likewise.
56056         (bsloww1): Likewise.
56057         (bsloww2): Likewise.
56058         (cslow2): Likewise.
56059         (csloww): Likewise.
56060         (csloww1): Likewise.
56061         (csloww2): Likewise.
56063 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
56065         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
56066         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
56067         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
56068         * malloc/hooks.c (realloc_check): Likewise.
56070         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
56071         * malloc/arena.c: Remove PER_THREAD conditional.
56072         [!PER_THREAD]: Remove code.
56073         (ptmalloc_unlock_all2): Likewise.
56074         (ptmalloc_init): Likewise.
56075         (_int_new_arena): Likewise.
56076         (arena_get2): Likewise.
56077         * malloc/hooks.c (__malloc_get_state): Likewise.
56078         (__malloc_set_state): Likewise.
56079         * malloc/malloc.c: Likewise.
56080         (struct malloc_state): Likewise.
56081         (struct malloc_par): Likewise.
56082         (__libc_realloc): Likewise.
56083         (__libc_mallopt): Likewise.
56085 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56087         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
56089 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
56091         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
56092         macro to a function.  Check for zero perturb_byte.
56093         (_int_malloc, _int_free): Remove zero perturb_byte checks.
56095         * malloc/malloc.c: (force_reg): Remove.
56096         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
56097         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
56098         force_reg by atomic_forced_read.
56099         * malloc/arena.c (ptmalloc_init): Likewise.
56100         * malloc/hooks.c (top_check): Likewise.
56102 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56104         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56106 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
56108         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56110 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
56112         * math/auto-libm-test-in: Add tests of lgamma.
56113         * math/auto-libm-test-out: Regenerated.
56114         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
56115         (M_LOG_2_SQRT_PIl): Likewise.
56116         (lgamma_test_data): Use AUTO_TESTS_f_f1.
56117         * math/gen-auto-libm-tests.c (func_calc_method): Add value
56118         mpfr_f_f1.
56119         (func_calc_desc): Add mpfr_f_f1 union field.
56120         (ARGS1): New macro.
56121         (ARGS2): Likewise.
56122         (ARGS3): Likewise.
56123         (ARGS4): Likewise.
56124         (RET1): Likewise.
56125         (RET2): Likewise.
56126         (CALC): Likewise.
56127         (FUNC): Likewise.
56128         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
56129         (test_functions): Add lgamma.
56130         (calc_generic_results): Handle mpfr_f_f1.
56131         * sysdeps/i386/fpu/libm-test-ulps: Update.
56132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56134 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56136         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
56137         __mpn_add_n for PowerPC64/POWER7.
56138         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
56139         __mpn_sub_n for PowerPC64/POWER7.
56141         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
56142         __mpn_addmul_1 for PowerPC64.
56143         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
56144         __mpn_submul_1 for PowerPC64.
56145         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
56146         for PowerPC64.
56147         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
56148         for PowerPC64.
56150 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
56152         [BZ #15089]
56153         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
56155 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56157         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
56159         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
56160         add multiarch folders.
56161         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
56162         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
56163         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
56164         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
56165         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
56166         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
56167         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
56168         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
56169         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
56170         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
56171         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
56172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
56173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
56174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
56175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
56176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
56177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
56179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
56180         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
56181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
56182         New file.
56183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
56184         New file.
56185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
56186         multiarch __ieee754_hypot for PowerPC32.
56187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
56188         New file.
56189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
56190         New file.
56191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
56192         multiarch __ieee754_hypotf for PowerPC32.
56194         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
56195         long_double_symbol only if __logbl is defined.
56196         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
56197         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
56198         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
56199         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
56200         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
56201         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
56202         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
56203         path for implementation.
56204         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
56205         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
56206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
56207         logb, and logbl multiarch implementations for PowerPC32.
56208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
56209         file.
56210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
56211         file.
56212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
56213         multiarch logb for PowerPC32.
56214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
56215         file.
56216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
56217         file.
56218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
56219         multiarch logbf for PowerPC32.
56220         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
56221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
56222         file.
56223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
56224         multiarch logbl implementation for PowerPC32.
56226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
56227         and modff multiarch implementations.
56228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
56229         New file.
56230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
56231         New file.
56232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
56233         multiarch modf for PowerPC32.
56234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
56235         New file.
56236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
56237         New file.
56238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
56239         multiarch modff for PowerPC32.
56241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
56242         and lrintf multiarch implementations.
56243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
56244         New file.
56245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
56246         New file.
56247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
56248         multiarch lrint for PowerPC32.
56249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
56250         file: multiarch lrintf for PowerPC32.
56252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
56253         and lroundf multiarch implementations.
56254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
56255         New file.
56256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
56257         New file.
56258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
56259         New file.
56260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
56261         multiarch lround for PowerPC32.
56262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
56263         file: multiarch lroundf for PowerPC32.
56265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
56266         copysign and copysignf multiarch implementations.
56267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
56268         New file.
56269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
56270         New file.
56271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
56272         file: multiarch copysign for PowerPC32.
56273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
56274         file: multiarch copysignf for PowerPC32.
56276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
56277         and truncf multiarch implementations.
56278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
56279         New file.
56280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
56281         file.
56282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
56283         multiarch trunc for PowerPC32.
56284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
56285         New file.
56286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
56287         New file.
56288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
56289         multiarch truncf for PowerPC32.
56291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
56292         and roundf multiarch implementations.
56293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
56294         New file.
56295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
56296         file.
56297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
56298         multiarch round for PowerPC32.
56299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
56300         New file.
56301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
56302         New file.
56303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
56304         multiarch roundf for PowerPC32.
56306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
56307         and floorf multiarch implementations.
56308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
56309         New file.
56310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
56311         file.
56312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
56313         multiarch floor for PowerPC32.
56314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
56315         New file.
56316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
56317         New file.
56318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
56319         multiarch floorf for PowerPC32.
56321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
56322         and ceilf multiarch implementations.
56323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
56324         New file.
56325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
56326         file.
56327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
56328         multiarch ceil for PowerPC32.
56329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
56330         New file.
56331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
56332         file.
56333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
56334         multiarch ceilf for PowerPC32.
56336         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
56337         is defined.
56338         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
56339         FINITEF is defined.
56340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
56341         and finitef multiarch implementations.
56342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
56343         New file.
56344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
56345         file.
56346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
56347         multiarch finite for PowerPC32.
56348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
56349         New file.
56350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
56351         file: multiarch finitef for PowerPC32.
56353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
56354         and isinff multiarch implementations.
56355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
56356         file.
56357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
56358         file.
56359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
56360         multiarch isinf for PowerPC32.
56361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
56362         New file.
56363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
56364         multiarch isinff for PowerPC32.
56366         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
56367         alias when __isnan is defined.
56368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
56369         and isnanf multiarch implementations.
56370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
56371         file.
56372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
56373         file.
56374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
56375         file.
56376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
56377         file.
56378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
56379         multiarch isnan for PowerPC32.
56380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
56381         New file.
56382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
56383         New file.
56384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
56385         multiarch isnanf for PowerPC32.
56387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
56388         and sqrtf multiarch implementations.
56389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
56390         file.
56391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
56392         file.
56393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
56394         multiarch sqrt for PowerPC32.
56395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
56396         file.
56397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
56398         file.
56399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
56400         multiarch sqrtf for PowerPC32.
56402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
56403         and llroundf multiarch implementations.
56404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
56405         New file.
56406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
56407         New file.
56408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
56409         New file.
56410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
56411         file: multiarch llround for PowerPC32.
56412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
56413         file: multiarch llroundf for PowerPC32.
56415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
56416         multiarch PowerPC32 fpu implementations.
56417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
56418         New file.
56419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
56420         New file.
56421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
56422         multiarch llrint for PowerPC32.
56423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
56424         New file.
56425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
56426         New file.
56427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
56428         file.
56430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
56432         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
56433         file.
56434         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
56435         file.
56436         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
56437         file.
56438         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
56439         multiarch wordcopy for PPC32.
56440         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
56441         wordcopy objects.
56442         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56443         (__libc_ifunc_impl_list): Likewise.
56444         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
56445         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
56446         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
56447         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
56448         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
56449         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
56451         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
56452         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
56453         file.
56454         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
56455         file.
56456         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
56457         file.
56458         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
56459         multiarch wcscpy for PPC32.
56460         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
56461         multiarch objects.
56462         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56463         (__libc_ifunc_impl_list): Likewise.
56464         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
56465         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
56466         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
56467         sysdeps/powerpc/power6/wcscpy.c.
56469         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
56470         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
56471         file.
56472         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
56473         file.
56474         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
56475         file.
56476         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
56477         multiarch wcsrchr for PPC32.
56478         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
56479         multiarch objects.
56480         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56481         (__libc_ifunc_impl_list): Likewise.
56482         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
56483         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
56484         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
56485         sysdeps/powerpc/power6/wcsrchr.c.
56487         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
56488         file.
56489         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
56490         file.
56491         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
56492         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
56493         multiarch wcschr for PPc32.
56494         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
56495         multiarch objects.
56496         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56497         (__libc_ifunc_impl_list): Likewise.
56498         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
56499         * sysdeps/powerpc/power6/wcschr.c: ... to here.
56500         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
56501         sysdeps/powerpc/power6/wcschr.c.
56503         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
56504         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
56505         file.
56506         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
56507         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
56508         file: multiarch strchr for PPC32.
56509         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
56510         multiarch objects.
56511         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56512         (__libc_ifunc_impl_list): Likewise.
56514         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
56515         name.
56516         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
56517         file.
56518         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
56519         file.
56520         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
56521         multiarch strchrnul for PPC32.
56522         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
56523         multiarch objects.
56524         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56525         (__libc_ifunc_impl_list): Likewise.
56527         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
56528         file.
56529         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
56530         multiarch strncasecmp for PPC32.
56531         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
56532         file.
56533         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
56534         multiarch strncasecmp_l for PPC32.
56535         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
56536         strncasecmp multiarch objects.
56537         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56538         (__libc_ifunc_impl_list): Likewise.
56540         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
56541         file.
56542         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
56543         multiarch strncasecmp for PPC32.
56544         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
56545         New file.
56546         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
56547         multiarch strcasecmp_l for PPC32.
56548         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
56549         multiarch objects.
56550         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56551         (__libc_ifunc_impl_list): Likewise.
56553         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
56554         file.
56555         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
56556         file.
56557         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
56558         multiarch strncmp for PPC32.
56559         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
56560         multiarch objects.
56561         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56562         (__libc_ifunc_impl_list): Likewise.
56564         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
56565         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
56566         file.
56567         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
56568         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
56569         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
56570         multiarch objects.
56571         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56572         (__libc_ifunc_impl_list): Likewise.
56574         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
56575         file.
56576         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
56577         file.
56578         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
56579         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
56580         multiarch objects.
56581         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56582         (__libc_ifunc_impl_list): Likewise.
56584         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
56585         file.
56586         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
56587         file.
56588         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
56589         multiarch rawmemchr for PPC32.
56590         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
56591         multiarch objects.
56592         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56593         (__libc_ifunc_impl_list): Likewise.
56595         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
56596         file.
56597         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
56598         file.
56599         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
56600         file: memrchr multiarch for PPC32.
56601         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
56602         multiarch objects.
56603         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56604         (__libc_ifunc_impl_list): Likewise.
56606         * string/memchr.c (__memchr): Using macro to redefine symbol name.
56607         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
56608         file.
56609         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
56610         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
56611         multiarch memchr for PPC32.
56612         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
56613         multiarch objects.
56614         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
56615         (__libc_ifunc_impl_list): Likewise.
56617         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
56618         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
56619         file.
56620         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
56621         file.
56622         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
56623         file: multiarch mempcpy for PPC32.
56624         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
56625         multiarch objects.
56626         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
56627         (__libc_ifunc_impl_list): Likewise.
56629         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
56630         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
56631         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
56632         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
56633         multiarch bzero for PPC32.
56634         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
56635         file.
56636         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
56637         file.
56638         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
56639         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
56640         file: multiarch memset for PPC32.
56641         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
56642         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
56643         memset multiarch objects.
56644         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
56645         (__libc_ifunc_impl_list): Likewise.
56647         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
56648         file.
56649         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
56650         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
56651         memcmp for PPC32.
56652         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
56653         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
56654         multiarch objects.
56655         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
56656         (__libc_ifunc_impl_list): Likewise.
56658         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
56659         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
56660         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
56661         file.
56662         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
56663         file.
56664         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
56665         file.
56666         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
56667         multiarch memcpy for PPC32.
56668         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
56669         multiarch objects.
56670         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
56671         (__libc_ifunc_impl_list): Likewise.
56673         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
56674         support multiarch for POWER/PPC32.
56675         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
56676         Likewise.
56677         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
56678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
56679         Implies file to make multiarch folder appers before the fpu and
56680         default folder for power4 configuration.
56682 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56684         * scripts/bench.pl: Append volatile keyword to type.
56686 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56688         * sysdeps/sh/sotruss-lib.c: New file.
56689         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
56691 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56693         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56695 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
56697         [BZ #6810]
56698         * math/w_tgamma.c: Include <errno.h>.
56699         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
56700         * math/w_tgammaf.c: Include <errno.h>.
56701         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
56702         * math/w_tgammal.c: Include <errno.h>.
56703         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
56704         * math/auto-libm-test-in: Do not allow missing errno on tgamma
56705         underflow.  Add more tgamma tests.
56706         * math/auto-libm-test-out: Regenerated.
56707         * sysdeps/i386/fpu/libm-test-ulps: Update.
56708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56710         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
56711         sin, sinh, tan, tanh, tgamma, y0 and y1.
56712         * math/auto-libm-test-out: Regenerated.
56713         * math/libm-test.inc (TEST_COND_x86_64): New macro.
56714         (TEST_COND_x86): Likewise.
56715         (M_E2l): Remove macro.
56716         (M_E3l): Likewise.
56717         (M_2_SQRT_PIl): Likewise.
56718         (M_SQRT_PIl): Likewise.
56719         (M_1_DIV_El): Likewise.
56720         (log_test_data): Use AUTO_TESTS_f_f.
56721         (log10_test_data): Likewise.
56722         (log1p_test_data): Likewise.
56723         (log2_test_data): Likewise.
56724         (sin_test_data): Likewise.
56725         (sin_tonearest_test_data): Likewise.
56726         (sin_towardzero_test_data): Likewise.
56727         (sin_downward_test_data): Likewise.
56728         (sin_upward_test_data): Likewise.
56729         (sinh_test_data): Likewise.
56730         (sinh_tonearest_test_data): Likewise.
56731         (sinh_towardzero_test_data): Likewise.
56732         (sinh_downward_test_data): Likewise.
56733         (sinh_upward_test_data): Likewise.
56734         (tan_test_data): Likewise.
56735         (tan_tonearest_test_data): Likewise.
56736         (tan_towardzero_test_data): Likewise.
56737         (tan_downward_test_data): Likewise.
56738         (tan_upward_test_data): Likewise.
56739         (tanh_test_data): Likewise.
56740         (tgamma_test_data): Likewise.
56741         (y0_test_data): Likewise.
56742         (y1_test_data): Likewise.
56743         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
56744         (special_real_inputs): Add pi/4.
56745         * sysdeps/i386/fpu/libm-test-ulps: Update.
56746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56748 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56750         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
56751         "longjmp_target" static probes.
56752         (__longjmp): Rename to __longjmp_symbol.
56753         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
56754         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
56755         on which longjmp to generate.
56756         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
56757         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
56758         probe.
56759         (__sigsetjmp): Rename to __sigsetjmp_symbol.
56760         (__sigjmp_save): Rename to __sigjmp_save_symbol.
56761         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
56762         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
56763         and __sigjmp_save_symbol based on which sigsetjmp to generated.
56764         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
56765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
56766         __longjmp_symbol based on which __longjmp to generate.
56767         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
56768         probe.
56769         (setjmp): Rename to setjmp_symbol.
56770         (__sigsetjmp): Rename to __sigsetjmp_symbol.
56771         (_setjmp): Rename to _setjmp_symbol.
56772         (__sigsetjmp): Rename to __sigsetjmp_symbol.
56773         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
56774         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
56775         which setjmp to generate.
56776         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
56777         "longjmp_target" static probes.
56779 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
56781         * benchtests/README: Add note about output arguments.
56782         * benchtests/bench-sincos.c: Remove file.
56783         * benchtests/sincos-inputs: New file.
56784         * scripts/bench.pl: Identify output arguments and define
56785         static variables for them.
56787         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
56789         [BZ #15941]
56790         * Makefile (INSTALL): Add install-plain.texi as the primary
56791         dependency.
56792         * manual/install-plain.texi: New file.
56793         * manual/install.texi: Include node directive only for
56794         non-plaintext output.
56796 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
56798         * stdlib/longlong.h: Update from GCC.
56800         [BZ #6807]
56801         [BZ #15901]
56802         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
56803         * math/w_j0f.c (y0f): Likewise.
56804         * math/w_j0l.c (__y0l): Likewise.
56805         * math/w_j1.c (y1): Likewise.
56806         * math/w_j1f.c (y1f): Likewise.
56807         * math/w_j1l.c (__y1l): Likewise.
56808         * math/w_jn.c (yn): Likewise.
56809         * math/w_jnf.c (ynf): Likewise.
56810         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
56811         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
56812         value for Bessel function domain errors outside _SVID_ mode.
56813         Adjust sign of return value for yn (negative integer, 0).
56814         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
56815         by zero in return for negative x and set sign appropriately for
56816         negative n.
56817         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
56818         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
56819         * math/libm-test.inc (y0_test_data): Add more tests and adjust
56820         expectations in error cases.
56821         (y1_test_data): Likewise.
56822         (yn_test_data): Likewise.
56823         * sysdeps/i386/fpu/libm-test-ulps: Update.
56824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56826 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56828         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
56829         "64" to "64-v1".  Add "64-v2".
56830         (abi-64-options): Rename to ...
56831         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
56832         (abi-64-condition): Rename to ...
56833         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
56834         (abi-64-ld-soname): Rename to ...
56835         (abi-64-v1-ld-soname): ... this.
56836         (abi-64-v2-options): Define.
56837         (abi-64-v2-condition): Likewise.
56838         (abi-64-v2-ld-soname): Likewise.
56839         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
56840         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
56841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
56842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
56843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
56845 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56846             Alan Modra  <amodra@gmail.com>
56848         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
56849         New versions for use with the ELFv2 ABI.
56850         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
56851         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
56852         declaration.
56853         (struct La_ppc64v2_retval): Likewise.
56854         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
56855         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
56856         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
56857         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
56858         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
56859         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56860         Do not save or restore CR.
56861         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
56862         (_dl_profile_resolve): Do no save or restore CR.  Support extended
56863         return values for ELFv2 ABI.  Fix location of FPR return registers.
56864         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
56865         updated values for _CALL_ELF == 2.
56866         (La_regs, La_retval, int_retval): Likewise.
56868 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56870         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
56871         (FRAME_MIN_SIZE_PARM): Likewise.
56872         (FRAME_BACKCHAIN): Likewise.
56873         (FRAME_CR_SAVE): Likewise.
56874         (FRAME_LR_SAVE): Likewise.
56875         (FRAME_TOC_SAVE): Likewise.
56876         (FRAME_PARM_SAVE): Likewise.
56877         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
56878         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
56879         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
56880         (call_mcount_parm_offset): New macro.
56881         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
56882         (PROF): Use symbolic stack frame offsets.
56883         (TAIL_CALL_SYSCALL_ERROR): Likewise.
56884         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
56885         Redefine in terms of FRAME_MIN_SIZE.
56886         (_dl_runtime_resolve): Use symbolic stack frame offsets.
56887         (_dl_profile_resolve): Likewise.  Update comment.
56888         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
56889         symbols stack frame offsets.
56890         (__sigsetjmp): Likewise.
56891         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
56892         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
56893         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
56894         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
56896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
56897         (FRAME_BACKCHAIN): Remove.
56898         (FRAME_CR_SAVE): Likewise.
56899         (FRAME_LR_SAVE): Likewise.
56900         (FRAME_COMPILER_DW): Likewise.
56901         (FRAME_LINKER_DW): Likewise.
56902         (FRAME_TOC_SAVE): Likewise.
56903         (FRAME_PARM_SAVE): Likewise.
56904         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
56905         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
56906         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
56907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
56908         (CHECK_SP): Use symbolic stack frame offsets.
56909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
56910         zone" instead of caller's parameter save area for temp storage.
56911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56912         Likewise.  Also, use symbolic stack frame offsets.
56913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
56914         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
56915         our own stack frame instead of the caller's.
56916         (__socket): Use symbolic stack frame offsets.
56918 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56919             Alan Modra  <amodra@gmail.com>
56921         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
56922         Define.
56923         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
56924         (PPC64_LOCAL_ENTRY_OFFSET): Define.
56925         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
56926         New function.
56927         (elf_machine_fixup_plt): Call it.
56928         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
56929         reloc arguments.
56930         (elf_machine_rela): Update call to elf_machine_plt_conflict.
56931         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
56932         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
56933         r2 before calling target.
56935 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56936             Alan Modra  <amodra@gmail.com>
56938         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
56939         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
56940         versions of macros to support ELFv2 ABI.
56941         (LOCALENTRY): New macro.
56942         (ENTRY, EALIGN): Use it.
56943         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
56944         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
56945         fall through into ENTRY entry point.
56946         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
56947         Only define if _CALL_ELF != 2.
56949         (elf_machine_matches_host): Verify ABI version matches.
56950         (RTLD_START): Use LOCALENTRY.
56951         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
56952         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
56953         (PLT_ENTRY_WORDS): New macro.
56954         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
56955         (elf_machine_runtime_setup): Support ELFv2 ABI.
56956         (elf_machine_fixup_plt): Likewise.
56957         (elf_machine_plt_conflict): Likewise.
56958         (resolve_ifunc): Likewise.
56959         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
56960         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
56961         Likewise.
56962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
56963         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
56964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56965         (makecontext): Support ELFv2 ABI.
56966         * elf/elf.h (EF_PPC64_ABI): Define.
56968 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56970         * sysdeps/powerpc/powerpc64/sysdep.h
56971         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
56972         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
56973         (ENTRY) [ASSEMBLER]: ... but instead here ...
56974         (EALIGN) [ASSEMBLER]: ... and here.
56975         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
56976         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
56977         (ENTRY_2) [!ASSEMBLER]: Use it.
56978         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
56979         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
56980         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
56981         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
56982         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
56983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
56984         Use PPC64_LOAD_FUNCPTR.
56986         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
56988 2013-12-04  Alan Modra  <amodra@gmail.com>
56990         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
56991         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
56992         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
56993         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
56995         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
56996         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
56997         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
56998         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
56999         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
57000         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
57002 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57005         (__makecontext): Fix incorrect CFI when backtracing out of
57006         context created via makecontext.
57007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
57008         (__setcontext): Fix incorrect CFI during switch to new context.
57009         (__novec_setcontext): Likewise.
57011 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
57013         [BZ #4772]
57014         * time/strptime_l.c (__strptime_internal): Allow modifiers
57015         in strptime.
57016         * time/tst-strptime.c (day_tests): Add testcase.
57018 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57020         * scripts/bench.pl: Skip over blank lines.
57022 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
57024         [BZ #926]
57025         * manual/time.texi (Calendar Time): Clarify what timezone functions
57026         use.
57028 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57030         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57032 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
57034         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
57035         implementation.
57036         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
57037         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
57038         * debug/memset_chk.c (__memset_chk): Likewise.
57039         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
57040         * debug/strncpy_chk.c: Likewise.
57042 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
57044         [BZ #15268]
57045         [BZ #15425]
57046         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
57047         (__ieee754_exp): For possibly underflowing results, check size of
57048         result and force underflow exception if required.
57049         * math/auto-libm-test-in: Add more tests of exp.
57050         * math/auto-libm-test-out: Regenerated.
57051         * sysdeps/i386/fpu/libm-test-ulps: Update.
57052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57054         [BZ #16283]
57055         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
57056         * math/w_exp2f.c (__exp2f): Likewise.
57057         * math/w_exp2l.c (__exp2l): Likewise.
57058         * math/auto-libm-test-in: Do not allow missing errno on exp2
57059         underflow.
57060         * math/auto-libm-test-out: Regenerated.
57062 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
57064         [BZ #16274]
57065         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
57066         handle filename validation.
57067         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
57068         (do_open): Delete.
57070 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
57072         [BZ #6786]
57073         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
57074         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
57075         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
57076         <float.h>.
57077         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
57078         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
57079         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
57080         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
57081         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
57082         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
57083         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
57084         * math/auto-libm-test-in: Don't allow missing errno from erfc.
57085         Add more erfc tests.
57086         * math/auto-libm-test-out: Regenerated.
57087         * sysdeps/i386/fpu/libm-test-ulps: Update.
57088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57090         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
57091         exp2, expm1, j0 and j1.
57092         * math/auto-libm-test-out: Regenerated.
57093         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
57094         (erfc_test_data): Likewise.
57095         (exp_test_data): Likewise.
57096         (exp_tonearest_test_data): Likewise.
57097         (exp_towardzero_test_data): Likewise.
57098         (exp_downward_test_data): Likewise.
57099         (exp_upward_test_data): Likewise.
57100         (exp10_test_data): Likewise.
57101         (exp2_test_data): Likewise.
57102         (expm1_test_data): Likewise.
57103         (j0_test_data): Likewise.
57104         (j1_test_data): Likewise.
57105         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
57106         (input_flag_type): Add flag_xfail_rounding.
57107         (input_flags): Add xfail-rounding.
57108         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
57109         (output_for_one_input_case): Handle flag_xfail_rounding.
57110         * sysdeps/i386/fpu/libm-test-ulps: Update.
57111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57113 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
57115         [BZ #16289]
57116         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
57117         division by 0.
57119 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
57121         [BZ #16195]
57122         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
57123         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
57124         (STAP_PROBE0): New macro.
57125         (STAP_PROBE1): Likewise.
57126         (STAP_PROBE2): Likewise.
57127         (STAP_PROBE3): Likewise.
57128         (STAP_PROBE4): Likewise.
57130 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
57132         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
57134 2013-12-02  Steve Ellcey  <sellcey@mips.com>
57136         * benchtests/Makefile (bench): Add sqrt.
57137         (LDLIBS-bench-sqrt): New.
57138         * benchtests/sqrt-input: New.
57140 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
57142         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
57143         (GAIH_EAI): Likewise.
57144         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
57145         (gaih_inet): Likewise.
57146         (getaddrinfo): Don't use GAIH_EAI.
57148         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
57149         (struct gaih): Remove definition.
57151 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
57153         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
57154         Use HERRNOP directly.
57156 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57158         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57160 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
57162         * math/gen-auto-libm-tests.c (test_functions): Add more
57163         single-argument functions.
57164         (special_fill_pi_2): New function.
57165         (special_fill_minus_pi_2): Likewise.
57166         (special_fill_pi_6): Likewise.
57167         (special_fill_minus_pi_6): Likewise.
57168         (special_fill_pi_3): Likewise.
57169         (special_fill_2pi_3): Likewise.
57170         (special_fill_e): Likewise.
57171         (special_fill_1_e): Likewise.
57172         (special_fill_e_minus_1): Likewise.
57173         (special_real_inputs): Add more special inputs.
57174         (output_for_one_input_case): Do not require ERANGE on underflow to
57175         zero if round-to-nearest result does not underflow to zero, unless
57176         exact results required.
57177         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
57178         atan, atanh, cbrt, cos and cosh.
57179         * math/auto-libm-test-out: Regenerated.
57180         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
57181         (acos_tonearest_test_data): Likewise.
57182         (acos_towardzero_test_data): Likewise.
57183         (acos_downward_test_data): Likewise.
57184         (acos_upward_test_data): Likewise.
57185         (acosh_test_data): Likewise.
57186         (asin_test_data): Likewise.
57187         (asin_tonearest_test_data): Likewise.
57188         (asin_towardzero_test_data): Likewise.
57189         (asin_upward_test_data): Likewise.
57190         (asinh_test_data): Likewise.
57191         (atan_test_data): Likewise.
57192         (atanh_test_data): Likewise.
57193         (cbrt_test_data): Likewise.
57194         (cos_test_data): Likewise.
57195         (cos_tonearest_test_data): Likewise.
57196         (cos_towardzero_test_data): Likewise.
57197         (cos_downward_test_data): Likewise.
57198         (cos_upward_test_data): Likewise.
57199         (cosh_test_data): Likewise.
57200         (cosh_tonearest_test_data): Likewise.
57201         (cosh_towardzero_test_data): Likewise.
57202         (cosh_downward_test_data): Likewise.
57203         (cosh_upward_test_data): Likewise.
57204         * sysdeps/i386/fpu/libm-test-ulps: Update.
57205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57207 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
57209         [BZ #6787]
57210         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
57211         * math/w_exp10f.c (__exp10f): Likewise.
57212         * math/w_exp10l.c (__exp10l): Likewise.
57213         * math/libm-test.inc (exp10_test_data): Add more tests and expect
57214         errno settings in existing tests.
57216         [BZ #14032]
57217         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
57218         precision control set to double precision.
57219         * sysdeps/i386/fpu/w_sqrt.c: New file.
57220         * math/auto-libm-test-in: Add more tests.
57221         * math/auto-libm-test-out: Update.
57223         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
57224         (sqrt_test_tonearest): New function.
57225         (sqrt_towardzero_test_data): New variable.
57226         (sqrt_test_towardzero): New function.
57227         (sqrt_downward_test_data): New variable.
57228         (sqrt_test_downward): New function.
57229         (sqrt_upward_test_data): New variable.
57230         (sqrt_test_upward): New function.
57231         (main): Call the new functions.
57233         * math/gen-auto-libm-tests.c: New file.
57234         * math/auto-libm-test-in: Likewise.
57235         * math/auto-libm-test-out: New generated file.
57236         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
57237         variables.
57238         (%beautify): Add generated representations of zero.
57239         (top level): Set $auto_input and call parse_auto_input.
57240         (beautify): Remove trailing "f" from hex float constants.
57241         (parse_args): Handle XFAIL_TEST.
57242         (convert_condition): New function.
57243         (or_value): Likewise.
57244         (or_cond_value): Likewise.
57245         (generate_testfile): Handle AUTO_TESTS_* lines.
57246         (parse_auto_input): New function.
57247         * math/libm-test.inc (XFAIL_TEST): New macro.
57248         (ERRNO_UNCHANGED): Update value.
57249         (ERRNO_EDOM): Likewise.
57250         (ERRNO_ERANGE): Likewise.
57251         (IGNORE_RESULT): Likewise.
57252         (TEST_COND_flt_32): New macro.
57253         (TEST_COND_dbl_64): Likewise.
57254         (TEST_COND_ldbl_96_intel): Likewise.
57255         (TEST_COND_ldbl_96_m68k): Likewise.
57256         (TEST_COND_ldbl_128): Likewise.
57257         (TEST_COND_ldbl_128ibm): Likewise.
57258         (TEST_COND_long32): Likewise.
57259         (TEST_COND_long64): Likewise.
57260         (TEST_COND_before_rounding): Likewise.
57261         (TEST_COND_after_rounding): Likewise.
57262         (enable_test): Handle XFAIL_TEST flag.
57263         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
57264         with finite results.
57265         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
57266         auto-libm-test-out.
57268 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57269             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57271         [BZ #16214]
57272         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
57273         __tls_get_addr_internal instead of __tls_get_offset in order to
57274         avoid GOT pointer dependency.  Make rtld export
57275         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
57276         __tls_get_addr since we are a __tls_get_offset platform.
57277         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
57278         GOT pointer being set up before.
57279         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
57281 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
57283         * manual/math.texi (Errors in Math Functions): Document accuracy
57284         goals.
57286         [BZ #15004]
57287         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
57288         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
57289         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57290         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
57291         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
57292         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
57293         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
57294         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
57295         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
57296         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
57297         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
57298         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
57299         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
57300         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
57301         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
57302         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
57304         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
57305         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
57306         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
57307         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
57308         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
57309         Likewise.
57310         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
57311         Likewise.
57312         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
57313         Likewise.
57314         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
57315         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
57316         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
57317         atomic-feupdateenv and flt-rounds.
57318         * sysdeps/powerpc/nofpu/Versions (libc): Add
57319         __atomic_feholdexcept, __atomic_feclearexcept,
57320         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
57321         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
57322         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
57323         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
57324         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
57325         here.
57326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
57327         Update.
57329         * manual/arith.texi (FP Exceptions): Document that exceptions may
57330         not be raised when matherr is used.
57331         (Math Error Reporting): Document overflow in directed rounding
57332         modes.  Document that errno may not be set when finite values are
57333         returned on overflow.  Document intent to set errno on underflow
57334         only for underflow to zero.
57336         [BZ #16271]
57337         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
57338         round-to-nearest then adjust result for other rounding modes.
57339         * include/fenv.h (fegetround): Use libm_hidden_proto.
57340         * math/fegetround.c (fegetround): Use libm_hidden_def.
57341         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
57342         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
57343         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
57344         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
57345         Likewise.
57346         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
57347         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
57348         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
57349         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
57351 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57353         [BZ #16077]
57354         * nss/Versions (libnss_files): Add
57355         _nss_files_gethostbyname3_r.
57356         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
57357         New function.
57358         (HOST_DB_LOOKUP): Remove macro.
57359         (_nss_files_gethostbyname_r): Implement function without the
57360         HOST_DB_LOOKUP macro.
57361         (_nss_files_gethostbyname2_r): Likewise.
57363 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
57365         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
57367 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
57369         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
57370         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
57371         warning.
57373 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57375         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
57376         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
57377         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
57378         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
57379         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
57380         __fe_nomask_env_priv and attribute_hidden.
57381         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
57382         (libc_feupdateenv_test_ppc): Likewise.
57383         (libc_feresetround_ppc): Likewise.
57384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
57385         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
57386         compat_symbol macro.
57387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
57388         (__fe_nomask_env): Likewise.
57389         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
57391 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
57393         * string/Makefile: Remove ifunc tests.
57394         * string/test-string.h: Define TEST_IFUNC.
57395         * string/test-bcopy-ifunc.c: Remove.
57396         * string/test-bzero-ifunc.c: Likewise.
57397         * string/test-memccpy-ifunc.c: Likewise.
57398         * string/test-memchr-ifunc.c: Likewise.
57399         * string/test-memcmp-ifunc.c: Likewise.
57400         * string/test-memcpy-ifunc.c: Likewise.
57401         * string/test-memmem-ifunc.c: Likewise.
57402         * string/test-memmove-ifunc.c: Likewise.
57403         * string/test-mempcpy-ifunc.c: Likewise.
57404         * string/test-memrchr-ifunc.c: Likewise.
57405         * string/test-memset-ifunc.c: Likewise.
57406         * string/test-rawmemchr-ifunc.c: Likewise.
57407         * string/test-stpcpy-ifunc.c: Likewise.
57408         * string/test-stpncpy-ifunc.c: Likewise.
57409         * string/test-strcasecmp-ifunc.c: Likewise.
57410         * string/test-strcasestr-ifunc.c: Likewise.
57411         * string/test-strcat-ifunc.c: Likewise.
57412         * string/test-strchr-ifunc.c: Likewise.
57413         * string/test-strchrnul-ifunc.c: Likewise.
57414         * string/test-strcmp-ifunc.c: Likewise.
57415         * string/test-strcpy-ifunc.c: Likewise.
57416         * string/test-strcspn-ifunc.c: Likewise.
57417         * string/test-strlen-ifunc.c: Likewise.
57418         * string/test-strncasecmp-ifunc.c: Likewise.
57419         * string/test-strncat-ifunc.c: Likewise.
57420         * string/test-strncmp-ifunc.c: Likewise.
57421         * string/test-strncpy-ifunc.c: Likewise.
57422         * string/test-strnlen-ifunc.c: Likewise.
57423         * string/test-strpbrk-ifunc.c: Likewise.
57424         * string/test-strrchr-ifunc.c: Likewise.
57425         * string/test-strspn-ifunc.c: Likewise.
57426         * string/test-strstr-ifunc.c: Likewise.
57428 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
57430         * benchtests/Makefile: Remove ifunc tests.
57431         * benchtests/bench-string.h: Define TEST_IFUNC.
57432         * benchtests/bench-bcopy-ifunc.c: Remove.
57433         * benchtests/bench-bzero-ifunc.c: Likewise.
57434         * benchtests/bench-memccpy-ifunc.c: Likewise.
57435         * benchtests/bench-memchr-ifunc.c: Likewise.
57436         * benchtests/bench-memcmp-ifunc.c: Likewise.
57437         * benchtests/bench-memcpy-ifunc.c: Likewise.
57438         * benchtests/bench-memmem-ifunc.c: Likewise.
57439         * benchtests/bench-memmove-ifunc.c: Likewise.
57440         * benchtests/bench-mempcpy-ifunc.c: Likewise.
57441         * benchtests/bench-memrchr-ifunc.c: Likewise.
57442         * benchtests/bench-memset-ifunc.c: Likewise.
57443         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
57444         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
57445         * benchtests/bench-stpcpy-ifunc.c: Likewise.
57446         * benchtests/bench-stpncpy-ifunc.c: Likewise.
57447         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
57448         * benchtests/bench-strcasestr-ifunc.c: Likewise.
57449         * benchtests/bench-strcat-ifunc.c: Likewise.
57450         * benchtests/bench-strchr-ifunc.c: Likewise.
57451         * benchtests/bench-strchrnul-ifunc.c: Likewise.
57452         * benchtests/bench-strcmp-ifunc.c: Likewise.
57453         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
57454         * benchtests/bench-strcpy-ifunc.c: Likewise.
57455         * benchtests/bench-strcspn-ifunc.c: Likewise.
57456         * benchtests/bench-strlen-ifunc.c: Likewise.
57457         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
57458         * benchtests/bench-strncat-ifunc.c: Likewise.
57459         * benchtests/bench-strncmp-ifunc.c: Likewise.
57460         * benchtests/bench-strncpy-ifunc.c: Likewise.
57461         * benchtests/bench-strnlen-ifunc.c: Likewise.
57462         * benchtests/bench-strpbrk-ifunc.c: Likewise.
57463         * benchtests/bench-strrchr-ifunc.c: Likewise.
57464         * benchtests/bench-strsep-ifunc.c: Likewise.
57465         * benchtests/bench-strspn-ifunc.c: Likewise.
57466         * benchtests/bench-strstr-ifunc.c: Likewise.
57468 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
57470         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
57472 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
57474         * resolv/netdb.h: Use __glibc_reserved instead __unused.
57475         * rt/aio.h: Likewise.
57476         * sysdeps/gnu/bits/utmp.h: Likewise.
57477         * sysdeps/gnu/bits/utmpx.h: Likewise.
57478         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
57479         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
57480         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
57481         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
57482         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
57483         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
57484         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
57485         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
57486         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
57487         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
57488         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
57489         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
57490         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
57491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
57492         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
57493         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
57494         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
57495         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
57496         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
57497         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
57498         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
57499         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
57500         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
57501         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
57502         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
57503         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57504         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
57505         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
57506         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
57507         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
57508         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
57509         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
57510         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
57511         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
57512         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
57513         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
57514         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
57515         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
57516         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
57517         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
57518         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
57519         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
57521 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
57523         [BZ #16245]
57524         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
57525         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
57527 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
57529         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
57530         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
57531         Likewise.
57533 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57535         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
57536         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
57537         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
57538         (__fesetround): Remove define.
57539         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
57540         rounding and exceptions handling.
57541         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
57542         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
57543         (__fe_nomask_env): Likewise.
57544         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
57545         __fegetround instead of fegetround.
57546         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
57547         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
57549 2013-11-21  Roland McGrath  <roland@hack.frob.com>
57551         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
57552         it's there.
57554         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
57556 2013-11-21  Meador Inge  <meadori@codesourcery.com>
57558         [BZ #11157]
57559         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
57560         (encrypt_r): Likewise.
57561         * malloc/obstack.h (obstack_free): Likewise.
57562         * posix/unistd.h (encrypt): Likewise.
57564 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
57566         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
57567         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
57568         DL_CALL_DT_FINI() that call the functions directly.
57569         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
57570         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
57571         * elf/dl-fini.c: Likewise.
57573 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
57575         * malloc/hooks.c (memalign_check): Add alignment rounding.
57576         * malloc/malloc.c (_mid_memalign): New function.
57577         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
57578         Implement by calling _mid_memalign.
57579         * manual/probes.texi (Memory Allocation Probes): Remove
57580         memory_valloc_retry and memory_pvalloc_retry.
57582 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57584         * locale/programs/locarchive.c (open_archive): Add const
57585         qualifier to ARCHIVEFNAME and copy default fname to
57586         DEFAULT_FNAME.
57588         [BZ #15601]
57589         * libio/tst-widetext.input: Rename Oriya to Odia.
57590         * locale/iso-639.def: Likewise.
57592         * manual/probes.texi (Mathematical Function Probes): Add
57593         documentation for sin, cos, asin and acos probes.
57594         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
57595         (__sin32): Add slowasin probe.
57596         (__cos32): Add slowacos probe.
57597         (__mpsin): Add slowsin probe.
57598         (__mpcos): Add slowcos probe.
57600 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
57602         [BZ #15483]
57603         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
57604         thread-local __sim_exceptions_thread and global
57605         __sim_exceptions_global.
57606         (__sim_disabled_exceptions): Change to thread-local
57607         __sim_disabled_exceptions_thread and global
57608         __sim_disabled_exceptions_global.
57609         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
57610         and global __sim_round_mode_global.
57611         (__simulate_exceptions): Use thread-local floating-point state and
57612         set global state from it as needed.
57613         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
57614         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
57615         __sim_round_mode_thread.
57616         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
57617         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
57618         and global __sim_exceptions_global.
57619         (__sim_disabled_exceptions): Change to thread-local
57620         __sim_disabled_exceptions_thread and global
57621         __sim_disabled_exceptions_global.
57622         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
57623         and global __sim_round_mode_global.
57624         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
57625         (SIM_SET_GLOBAL): Likewise.
57626         * sysdeps/powerpc/soft-fp/sfp-machine.h
57627         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
57628         __sim_round_mode_thread.
57629         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
57630         __sim_disabled_exceptions_thread.
57631         (__sim_exceptions): Change to __sim_exceptions_thread.
57632         (__sim_disabled_exceptions): Change to
57633         __sim_disabled_exceptions_thread.
57634         (__sim_round_mode): Change to __sim_round_mode_thread.
57635         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
57636         thread-local floating-point state and set global state from it as
57637         needed.
57638         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
57639         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
57640         (__sim_disabled_exceptions): Remove extern declaration.
57641         (feenableexcept): Use thread-local floating-point state and set
57642         global state from it as needed.
57643         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
57644         extern declaration.
57645         (__sim_disabled_exceptions): Likewise.
57646         (__sim_round_mode): Likewise.
57647         (__fegetenv): Use thread-local floating-point state.
57648         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
57649         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
57650         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
57651         floating-point state and set global state from it as needed.
57652         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
57653         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
57654         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
57655         Likewise.
57656         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
57657         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
57658         Likewise.
57659         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
57660         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
57661         Use __sim_round_mode_thread.
57662         * math/test-fenv-tls.c: New file.
57663         * math/Makefile (tests): Add test-fenv-tls.
57664         ($(objpfx)test-fenv-tls): Depend on
57665         $(common-objpfx)nptl/libpthread.so.
57667 2013-11-19  Andreas Schwab  <schwab@suse.de>
57669         * locale/programs/locale.c (show_info): Decode wordarray elements.
57670         * locale/categories.def (LC_MONETARY): Add element for
57671         _NL_MONETARY_CRNCYSTR.
57672         * locale/C-monetary.c (conversion_rate): New variable.
57673         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
57674         element.
57676 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
57678         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
57679         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
57681 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
57683         * elf/Makefile (tst-auxv): New test.
57684         * elf/tst-auxv.c: New
57685         * elf/rtld.c (dl_main): Adjust AT_EXECFN
57687 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
57689         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
57690         (hidden_proto): Caller changed.
57691         (hidden_tls_proto): New macro.
57692         (libc_hidden_tls_proto): Likewise.
57693         (rtld_hidden_tls_proto): Likewise.
57694         (libm_hidden_tls_proto): Likewise.
57695         (libresolv_hidden_tls_proto): Likewise.
57696         (librt_hidden_tls_proto): Likewise.
57697         (libdl_hidden_tls_proto): Likewise.
57698         (libnss_files_hidden_tls_proto): Likewise.
57699         (libnsl_hidden_tls_proto): Likewise.
57700         (libnss_nisplus_hidden_tls_proto): Likewise.
57701         (libutil_hidden_tls_proto): Likewise.
57703 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
57705         [BZ #10253]
57706         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
57707         (decompose_rpath): Defer expansion to fillin_rpath.
57708         (_dl_init_paths): Pass linkmap to fillin_rpath.
57710 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
57712         * benchtests/Makefile: Add strsep.
57713         * benchtests/bench-strsep.c: New file: strsep benchtest.
57714         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
57716 2013-11-18  Andreas Schwab  <schwab@suse.de>
57718         * locale/programs/locale.c (show_info) [case byte]: Check for
57719         '\377' instead of '\177'.
57720         * locale/C-monetary.c (not_available): Always use "\377".
57721         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
57722         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
57723         detect unavailable sign_posn locale elements.
57724         * locale/localeconv.c (__localeconv): For grouping and
57725         mon_grouping handle "\177" and "\377" like no grouping.
57726         (INT_ELEM): New macro.  Use it to set all numeric members.
57727         * locale/programs/ld-monetary.c (monetary_read)
57728         <tok_mon_grouping>: Normalize single -1 to the empty string.
57729         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
57730         Likewise.
57732 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
57734         [BZ #16055]
57735         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
57736         when we match (nil).
57737         * stdio-common/tst-sscanf.c (struct test): Add testcase.
57739 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
57741         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
57742         (NO_TEST_INLINE): Update value.
57743         (ERRNO_UNCHANGED): Likewise.
57744         (ERRNO_EDOM): Likewise.
57745         (ERRNO_ERANGE): Likewise.
57746         (IGNORE_RESULT): Likewise.
57747         (check_float_internal): Check signs of NaN results if
57748         TEST_NAN_SIGN used.
57749         (check_complex): Pass TEST_NAN_SIGN flag through to second
57750         check_float_internal call.
57751         (copysign_test_data): Add tests with quiet NaNs as second
57752         argument.  Use TEST_NAN_SIGN.
57753         (fabs_test_data): Add test of negative quiet NaN argument.  Use
57754         TEST_NAN_SIGN.
57755         (signbit_test_data): Add tests of quiet NaN argument.
57756         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
57758         * math/gen-libm-test.pl (show_exceptions): Take extra argument
57759         $ignore_result.
57760         (parse_args): Handle function results specified as IGNORE.
57761         * math/libm-test.inc (IGNORE_RESULT): New macro.
57762         (check_float_internal): Do not check numerical result if flag
57763         IGNORE_RESULT set.
57764         (check_complex): Pass through IGNORE_RESULT to second
57765         check_float_internal call.
57766         (check_int): Do not check numerical result if flag IGNORE_RESULT
57767         set.
57768         (check_long): Likewise.
57769         (check_bool): Likewise.
57770         (check_longlong): Likewise.
57771         (lrint_test_data): Add tests of infinite and NaN arguments.
57772         (lrint_tonearest_test_data): Likewise.
57773         (lrint_towardzero_test_data): Likewise.
57774         (lrint_downward_test_data): Likewise.
57775         (lrint_upward_test_data): Likewise.
57776         (llrint_test_data): Likewise.
57777         (llrint_tonearest_test_data): Likewise.
57778         (llrint_towardzero_test_data): Likewise.
57779         (llrint_downward_test_data): Likewise.
57780         (llrint_upward_test_data): Likewise.
57781         (lround_test_data): Likewise.
57782         (llround_test_data): Likewise.
57784         * math/libm-test.inc (NO_TEST_INLINE): New macro.
57785         (ERRNO_UNCHANGED): Update value.
57786         (ERRNO_EDOM): Likewise.
57787         (ERRNO_ERANGE): Likewise.
57788         (NO_TEST_INLINE_FLOAT): New macro.
57789         (NO_TEST_INLINE_DOUBLE): Likewise.
57790         (enable_test): New function.
57791         (RUN_TEST_f_f): Check enable_test before running test.
57792         (RUN_TEST_2_f): Likewise.
57793         (RUN_TEST_fff_f): Likewise.
57794         (RUN_TEST_c_f): Likewise.
57795         (RUN_TEST_f_f1): Likewise.
57796         (RUN_TEST_fF_f1): Likewise.
57797         (RUN_TEST_fI_f1): Likewise.
57798         (RUN_TEST_ffI_f1): Likewise.
57799         (RUN_TEST_c_c): Likewise.
57800         (RUN_TEST_cc_c): Likewise.
57801         (RUN_TEST_f_i): Likewise.
57802         (RUN_TEST_f_i_tg): Likewise.
57803         (RUN_TEST_ff_i_tg): Likewise.
57804         (RUN_TEST_f_b): Likewise.
57805         (RUN_TEST_f_b_tg): Likewise.
57806         (RUN_TEST_f_l): Likewise.
57807         (RUN_TEST_f_L): Likewise.
57808         (RUN_TEST_fFF_11): Likewise.
57809         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
57810         conditionals.
57811         (cosh_test_data): Likewise.
57812         (exp_test_data): Likewise.
57813         (expm1_test_data): Likewise.
57814         (hypot_test_data): Likewise.
57815         (pow_test_data): Likewise.
57816         (sinh_test_data): Likewise.
57817         (tanh_test_data): Likewise.
57818         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
57819         flags argument.
57821         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
57822         tests with quiet NaN input and output.
57823         (acosh_test_data): Likewise.
57824         (asin_test_data): Likewise.
57825         (asinh_test_data): Likewise.
57826         (atan_test_data): Likewise.
57827         (atanh_test_data): Likewise.
57828         (atan2_test_data): Likewise.
57829         (cbrt_test_data): Likewise.
57830         (cos_test_data): Likewise.
57831         (cosh_test_data): Likewise.
57832         (erf_test_data): Likewise.
57833         (erfc_test_data): Likewise.
57834         (exp_test_data): Likewise.
57835         (exp10_test_data): Likewise.
57836         (exp2_test_data): Likewise.
57837         (expm1_test_data): Likewise.
57838         (hypot_test_data): Likewise.
57839         (j0_test_data): Likewise.
57840         (j1_test_data): Likewise.
57841         (jn_test_data): Likewise.
57842         (lgamma_test_data): Likewise.
57843         (log_test_data): Likewise.
57844         (log10_test_data): Likewise.
57845         (log1p_test_data): Likewise.
57846         (log2_test_data): Likewise.
57847         (pow_test_data): Likewise.
57848         (scalb_test_data): Likewise.
57849         (sin_test_data): Likewise.
57850         (sincos_test_data): Likewise.
57851         (sinh_test_data): Likewise.
57852         (tan_test_data): Likewise.
57853         (tanh_test_data): Likewise.
57854         (tgamma_test_data): Likewise.
57855         (y0_test_data): Likewise.
57856         (y1_test_data): Likewise.
57857         (yn_test_data): Likewise.
57859         [BZ #16167]
57860         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
57861         argument being NaN and avoid computations with second argument in
57862         that case.
57863         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
57864         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
57865         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
57867 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
57869         * locale/iso-639.def: Add Chitwani Tharu (the).
57871 2013-11-14  Andreas Schwab  <schwab@suse.de>
57873         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
57874         word instead of empty string.
57876 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
57879         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
57880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
57881         (__fe_nomask_env): Likewise.
57883 2013-11-13  Steve Ellcey  <sellcey@mips.com>
57885         * benchtests/bench-timing.h: Include time.h.
57887 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
57889         [BZ #15997]
57890         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
57891         to 3.4.0 for x32.
57892         * sysdeps/unix/sysv/linux/configure: Regenerated.
57894 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
57896         [BZ #16151]
57897         * stdlib/strtod_l.c (round_and_return): Do not consider
57898         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
57899         exponent one less than half the least subnormal exponent.
57900         * stdlib/test-strtod-round-data: Add more tests.
57901         * stdlib/tst-strtod-round.c (tests): Regenerated.
57903 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57905         [BZ #14143]
57906         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
57907         (__fe_mask_env): Likewise.
57908         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
57909         libm_hidden_proto and add function prototype.
57910         (__fe_mask_env): Add function prototype.
57911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
57912         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
57913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
57914         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
57915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
57916         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
57918 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57920         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
57921         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
57923 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57925         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
57926         of htab_find_slot().
57928 2013-11-11  David S. Miller  <davem@davemloft.net>
57930         [BZ #16150]
57931         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
57932         symbol in the non-vis3 case in static builds.
57933         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
57934         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
57935         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
57936         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
57938 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
57940         [BZ #387]
57941         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
57942         it is empty.
57944 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57946         * benchtests/Makefile: Add bench-strtod.
57947         * benchtests/bench-strtod.c: New file: strtod benchtest
57949 2013-11-11  Andreas Schwab  <schwab@suse.de>
57951         [BZ #16153]
57952         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
57953         terminating NUL in key length.
57955 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57957         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
57958         Add artificial ODP entry for vDSO symbol for PPC64.
57959         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
57960         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
57962 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
57964         [BZ #15374]
57965         * nss/getent.c (services_keys): Recognize services starting with digit.
57967 2013-11-06  David S. Miller  <davem@davemloft.net>
57969         [BZ #15985]
57970         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
57971         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
57973 2013-11-06  Will Newton  <will.newton@linaro.org>
57975         * manual/memory.texi (Malloc Examples): Remove register
57976         keyword from examples.
57978 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
57980         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
57982 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
57984         [BZ #6981]
57985         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
57986         depending on [__GCC_IEC_559 > 0].
57987         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
57988         depending on [__GCC_IEC_559_COMPLEX > 0].
57990 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
57992         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
57993         to iso-639.def.
57995 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
57997         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
57999 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
58001         [BZ #16112]
58002         * malloc/malloc (malloc_info): Do not handle first bin as
58003         special case.
58005 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
58007         * locale/iso-639.def: Add Central Nahuatl (nhn).
58009 2013-11-01  Bruno Haible  <bruno@clisp.org>
58011         [BZ #7003]
58012         * manual/math.texi (BSD Random): Specify range upper bound as
58013         in POSIX.
58015 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
58017         * locale/iso-639.def: Add Meadow Mari (mhr).
58019 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
58021         [BZ #14752], [BZ #15763]
58022         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
58023         Validate name.
58024         * rt/tst_shm.c: Add test for escaping directory.
58026 2013-10-31  Andreas Schwab  <schwab@suse.de>
58028         [BZ #15917]
58029         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
58030         followed by 'x' as part of digit sequence.
58031         * stdio-common/tst-sscanf.c (double_tests2): New tests.
58033 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
58035         [BZ #16037]
58036         * configure.ac: allow GNU Make 4.0 and greater.
58037         * configure: Regenerated.
58039 2013-10-30  Will Newton  <will.newton@linaro.org>
58041         [BZ #16038]
58042         * malloc/hooks.c (memalign_check): Limit alignment to the
58043         maximum representable power of two.
58044         * malloc/malloc.c (__libc_memalign): Likewise.
58045         * malloc/tst-memalign.c (do_test): Add test for very
58046         large alignment values.
58047         * malloc/tst-posix_memalign.c (do_test): Likewise.
58049 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
58051         [BZ #11087]
58052         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
58053         (munmap_chunk): Likewise.
58054         (mremap_chunk): Likewise.
58056 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
58058         [BZ #15799]
58059         * stdlib/div.c (div): Remove obsolete code.
58060         * stdlib/ldiv.c (ldiv): Likewise.
58061         * stdlib/lldiv.c (lldiv): Likewise.
58063 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
58065         [BZ #16071]
58066         * nss/nss_files/files-XXX.c (get_contents_ret): New
58067         enumerator.
58068         (get_contents): New function.
58069         (internal_getent): Use it.  Expand size of LINEBUFLEN.
58071 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
58073         * configure.in: Moved to ...
58074         * configure.ac: ... here. Change reference to configure.in
58075         to configure.ac.
58076         * sysdeps/arm/preconfigure.ac: ... here.
58077         configure.in to configure.ac.
58078         * sysdeps/gnu/configure.in: Moved to ...
58079         * sysdeps/gnu/configure.ac: ... here.
58080         * sysdeps/i386/configure.in: Moved to ...
58081         * sysdeps/i386/configure.ac: ... here.
58082         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
58083         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
58084         * sysdeps/mach/configure.in: Moved to ...
58085         * sysdeps/mach/configure.ac: ... here.
58086         * sysdeps/mach/hurd/configure.in: Moved to ...
58087         * sysdeps/mach/hurd/configure.ac: ... here.
58088         * sysdeps/powerpc/configure.in: Moved to ...
58089         * sysdeps/powerpc/configure.ac: ... here.
58090         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
58091         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
58092         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
58093         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
58094         * sysdeps/s390/s390-32/configure.in: Moved to ...
58095         * sysdeps/s390/s390-32/configure.ac: ... here.
58096         * sysdeps/s390/s390-64/configure.in: Moved to ...
58097         * sysdeps/s390/s390-64/configure.ac: ... here.
58098         * sysdeps/sh/configure.in: Moved to ...
58099         * sysdeps/sh/configure.ac: ... here.
58100         * sysdeps/sparc/configure.in: Moved to ...
58101         * sysdeps/sparc/configure.ac: ... here.
58102         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
58103         * sysdeps/unix/sysv/linux/configure.ac: ... here.
58104         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
58105         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
58106         * sysdeps/x86_64/configure.in: Moved to ...
58107         * sysdeps/x86_64/configure.ac: ... here.
58108         * sysdeps/x86_64/preconfigure.in: Moved to ...
58109         * sysdeps/x86_64/preconfigure.ac: ... here.
58110         * aclocal.m4: Change reference to configure.in to configure.ac.
58111         * config.h.in: Likewise.
58112         * manual/install.texi: Likewise.
58113         * manual/maint.texi: Likewise.
58114         * Makefile: Likewise.
58115         * malloc/Makefile: Likewise.
58116         * nscd/Makefile: Likewise.
58117         * Makeconfig: Change reference to configure.in and
58118         preconfigure.in to configure.ac and preconfigure.ac
58119         respectively.
58120         * INSTALL: Regenerated.
58121         * configure: Likewise.
58122         * sysdeps/gnu/configure: Likewise.
58123         * sysdeps/i386/configure: Likewise.
58124         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
58125         * sysdeps/mach/configure: Likewise.
58126         * sysdeps/mach/hurd/configure: Likewise.
58127         * sysdeps/powerpc/configure: Likewise.
58128         * sysdeps/powerpc/powerpc32/configure: Likewise.
58129         * sysdeps/powerpc/powerpc64/configure: Likewise.
58130         * sysdeps/s390/s390-32/configure: Likewise.
58131         * sysdeps/s390/s390-64/configure: Likewise.
58132         * sysdeps/sh/configure: Likewise.
58133         * sysdeps/sparc/configure: Likewise.
58134         * sysdeps/unix/sysv/linux/configure: Likewise.
58135         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
58136         * sysdeps/x86_64/configure: Likewise.
58137         * sysdeps/x86_64/preconfigure: Likewise.
58139 2013-10-29  Andreas Schwab  <schwab@suse.de>
58141         * stdio-common/Makefile (tst-swscanf-ENV): Define.
58143 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58145         * benchtests/pow-inputs: Add new inputs.
58147         * benchtests/exp-inputs: Add new inputs.
58149         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
58150         conditional check for return value.
58151         (__cos32): Likewise.
58153 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58155         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
58156         to provide a boost for large inputs with word alignment.
58157         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
58158         implementation based on optimized PPC64 strcpy.
58159         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
58160         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
58161         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
58162         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
58164 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
58166         [BZ #2801]
58167         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
58169 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
58171         [BZ #14876]
58172         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
58173         * time/tst-strptime.c (day_tests): Add testcase.
58175 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
58177         [BZ #14029]
58178         * manual/pattern.texi: Acknowledge that fnmatch can fail.
58180 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
58182         [BZ #16074]
58183         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
58184         MAP_FAILED on error.
58186 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58188         [BZ #16072]
58189         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
58190         heap for large requests.
58192 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
58194         [BZ #9954]
58195         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
58196         result if the result has no associated interface.
58197         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
58198         interface for all 127.X.Y.Z addresses.
58200 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
58202         * locale/iso-639.def: Add Ligurian (lij)
58204 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
58206         [BZ #15825]
58207         * sunrpc/rpc_main.c: Document rpcgen -5.
58209 2013-10-19  Michael Stahl  <mstahl@redhat.com>
58211         * elf/rtld.c (do_preload): Print the reason why preloading failed.
58213 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
58215         [BZ #10278]
58216         * posix/glob.c: Match only directories when trailing slash is present.
58217         * posix/tst-gnuglob.c (my_opendir): Do not open files.
58218         (main): Add testcase.
58220 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
58222         [BZ #15670]
58223         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
58225 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
58227         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
58228         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
58229         AUTH_DES and cindex for FIPS 140-2.
58230         (DES Encryption): Add cindex FIPS 46-3.
58232         * locale/locarchive.h (struct locarhandle): Add fname.
58233         * locale/programs/localedef.c (main): Pass ARGV[remaining]
58234         if an optional argument was specified to --list-archive,
58235         otherwise NULL.
58236         * locale/programs/locarchive.c (show_archive_content): Take new
58237         argument fname and pass it via ah.fname to open_archive.
58238         * locale/programs/localedef.h: Update decl.
58239         (open_archive): If AH->fname is non-null, open that file
58240         rather than the default file name, and don't ignore ENOENT.
58241         (create_archive): Set AH.fname to NULL.
58242         (delete_locales_from_archive): Likewise.
58243         (add_locales_to_archive): Likewise.
58244         * locale/programs/locfile.c (write_all_categories): Likewise.
58246 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
58247             Aldy Hernandez  <aldyh@redhat.com>
58249         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
58250         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
58251         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
58252         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
58253         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
58254         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
58255         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
58256         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
58257         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
58258         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
58259         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
58260         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
58261         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
58262         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
58263         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
58264         Likewise.
58265         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
58266         Likewise.
58267         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
58268         Likewise.
58269         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
58270         Likewise.
58271         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
58272         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
58273         Likewise.
58274         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
58275         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
58276         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
58277         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
58278         Likewise.
58279         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
58280         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
58281         * sysdeps/powerpc/preconfigure: Likewise.
58282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
58283         Likewise.
58284         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
58285         Replace contents of file by #include of <fenv_libc.h>.
58286         * sysdeps/powerpc/soft-fp/sfp-machine.h
58287         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
58288         and <sys/prctl.h>.
58289         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
58290         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
58291         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
58292         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
58293         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
58294         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
58295         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
58296         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
58297         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
58298         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
58299         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
58300         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
58301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
58302         Allow copysignl PLT reference to be missing.
58304 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
58305             Joseph Myers  <joseph@codesourcery.com
58307         [BZ #15948]
58308         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
58309         single character.
58310         (add_to_tablewc): Assert sequence of wide characters is nonempty.
58312 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
58314         * elf/tst-tls-dlinfo.c: Don't include tls.h.
58315         * elf/tst-tls1.c: Likewise.
58316         * elf/tst-tls10.h: Likewise.
58317         * elf/tst-tls14.c: Likewise.
58318         * elf/tst-tls2.c: Likewise.
58319         * elf/tst-tls3.c: Likewise.
58320         * elf/tst-tls4.c: Likewise.
58321         * elf/tst-tls5.c: Likewise.
58322         * elf/tst-tls6.c: Likewise.
58323         * elf/tst-tls7.c: Likewise.
58324         * elf/tst-tls8.c: Likewise.
58325         * elf/tst-tls9.c: Likewise.
58326         * elf/tst-tlsmod1.c: Likewise.
58327         * elf/tst-tlsmod13.c: Likewise.
58328         * elf/tst-tlsmod13a.c: Likewise.
58329         * elf/tst-tlsmod14a.c: Likewise.
58330         * elf/tst-tlsmod16a.c: Likewise.
58331         * elf/tst-tlsmod16b.c: Likewise.
58332         * elf/tst-tlsmod2.c: Likewise.
58333         * elf/tst-tlsmod3.c: Likewise.
58334         * elf/tst-tlsmod4.c: Likewise.
58335         * elf/tst-tlsmod5.c: Likewise.
58336         * elf/tst-tlsmod6.c: Likewise.
58338 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
58340         [BZ #12486]
58341         * malloc/malloc.c: remove checks for statistics.
58343 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
58345         [BZ #15277]
58346         * inet/inet_net.c (inet_network): Detect additional invalid strings.
58347         * inet/tst-network.c: Add testcase.
58349 2013-10-17  Andreas Schwab  <schwab@suse.de>
58351         [BZ #15218]
58352         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
58353         to determine canonical name.
58355 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
58357         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
58358         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
58359         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58360         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
58361         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58362         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
58363         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58364         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
58365         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
58366         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
58367         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
58368         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58369         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
58370         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
58371         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
58372         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
58373         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58374         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58375         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
58376         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
58377         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58378         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58379         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
58380         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
58381         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
58382         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
58383         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
58384         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
58385         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
58386         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
58387         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
58388         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58389         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
58390         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
58391         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
58392         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
58393         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
58394         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
58395         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
58396         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58397         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
58398         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
58399         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
58400         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
58401         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
58402         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
58403         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
58404         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
58405         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
58406         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
58407         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
58408         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
58409         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
58410         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
58411         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58412         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
58413         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58414         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
58416 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
58418         [BZ #16041]
58419         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
58420         make result into a quiet NaN.
58422 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
58424         * soft-fp/adddf3.c: Fix horizontal whitespace.
58425         * soft-fp/addsf3.c: Likewise.
58426         * soft-fp/addtf3.c: Likewise.
58427         * soft-fp/divdf3.c: Likewise.
58428         * soft-fp/divsf3.c: Likewise.
58429         * soft-fp/divtf3.c: Likewise.
58430         * soft-fp/double.h: Likewise.
58431         * soft-fp/eqdf2.c: Likewise.
58432         * soft-fp/eqsf2.c: Likewise.
58433         * soft-fp/eqtf2.c: Likewise.
58434         * soft-fp/extenddftf2.c: Likewise.
58435         * soft-fp/extended.h: Likewise.
58436         * soft-fp/extendsfdf2.c: Likewise.
58437         * soft-fp/extendsftf2.c: Likewise.
58438         * soft-fp/extendxftf2.c: Likewise.
58439         * soft-fp/fixdfdi.c: Likewise.
58440         * soft-fp/fixdfsi.c: Likewise.
58441         * soft-fp/fixdfti.c: Likewise.
58442         * soft-fp/fixsfdi.c: Likewise.
58443         * soft-fp/fixsfsi.c: Likewise.
58444         * soft-fp/fixsfti.c: Likewise.
58445         * soft-fp/fixtfdi.c: Likewise.
58446         * soft-fp/fixtfsi.c: Likewise.
58447         * soft-fp/fixtfti.c: Likewise.
58448         * soft-fp/fixunsdfdi.c: Likewise.
58449         * soft-fp/fixunsdfsi.c: Likewise.
58450         * soft-fp/fixunsdfti.c: Likewise.
58451         * soft-fp/fixunssfdi.c: Likewise.
58452         * soft-fp/fixunssfsi.c: Likewise.
58453         * soft-fp/fixunssfti.c: Likewise.
58454         * soft-fp/fixunstfdi.c: Likewise.
58455         * soft-fp/fixunstfsi.c: Likewise.
58456         * soft-fp/fixunstfti.c: Likewise.
58457         * soft-fp/floatdidf.c: Likewise.
58458         * soft-fp/floatdisf.c: Likewise.
58459         * soft-fp/floatditf.c: Likewise.
58460         * soft-fp/floatsidf.c: Likewise.
58461         * soft-fp/floatsisf.c: Likewise.
58462         * soft-fp/floatsitf.c: Likewise.
58463         * soft-fp/floattidf.c: Likewise.
58464         * soft-fp/floattisf.c: Likewise.
58465         * soft-fp/floattitf.c: Likewise.
58466         * soft-fp/floatundidf.c: Likewise.
58467         * soft-fp/floatundisf.c: Likewise.
58468         * soft-fp/floatunditf.c: Likewise.
58469         * soft-fp/floatunsidf.c: Likewise.
58470         * soft-fp/floatunsisf.c: Likewise.
58471         * soft-fp/floatunsitf.c: Likewise.
58472         * soft-fp/floatuntidf.c: Likewise.
58473         * soft-fp/floatuntisf.c: Likewise.
58474         * soft-fp/floatuntitf.c: Likewise.
58475         * soft-fp/fmadf4.c: Likewise.
58476         * soft-fp/fmasf4.c: Likewise.
58477         * soft-fp/fmatf4.c: Likewise.
58478         * soft-fp/gedf2.c: Likewise.
58479         * soft-fp/gesf2.c: Likewise.
58480         * soft-fp/getf2.c: Likewise.
58481         * soft-fp/ledf2.c: Likewise.
58482         * soft-fp/lesf2.c: Likewise.
58483         * soft-fp/letf2.c: Likewise.
58484         * soft-fp/muldf3.c: Likewise.
58485         * soft-fp/mulsf3.c: Likewise.
58486         * soft-fp/multf3.c: Likewise.
58487         * soft-fp/negdf2.c: Likewise.
58488         * soft-fp/negsf2.c: Likewise.
58489         * soft-fp/negtf2.c: Likewise.
58490         * soft-fp/op-1.h: Likewise.
58491         * soft-fp/op-2.h: Likewise.
58492         * soft-fp/op-4.h: Likewise.
58493         * soft-fp/op-8.h: Likewise.
58494         * soft-fp/op-common.h: Likewise.
58495         * soft-fp/quad.h: Likewise.
58496         * soft-fp/single.h: Likewise.
58497         * soft-fp/soft-fp.h: Likewise.
58498         * soft-fp/sqrtdf2.c: Likewise.
58499         * soft-fp/sqrtsf2.c: Likewise.
58500         * soft-fp/sqrttf2.c: Likewise.
58501         * soft-fp/subdf3.c: Likewise.
58502         * soft-fp/subsf3.c: Likewise.
58503         * soft-fp/subtf3.c: Likewise.
58504         * soft-fp/truncdfsf2.c: Likewise.
58505         * soft-fp/trunctfdf2.c: Likewise.
58506         * soft-fp/trunctfsf2.c: Likewise.
58507         * soft-fp/trunctfxf2.c: Likewise.
58508         * soft-fp/unorddf2.c: Likewise.
58509         * soft-fp/unordsf2.c: Likewise.
58510         * soft-fp/unordtf2.c: Likewise.
58512 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
58514         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
58515         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
58517 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
58519         * elf/dl-libc.c: Clear initfini list after freeing.
58521 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
58523         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
58524         * soft-fp/addsf3.c: Likewise.
58525         * soft-fp/addtf3.c: Likewise.
58526         * soft-fp/divdf3.c: Likewise.
58527         * soft-fp/divsf3.c: Likewise.
58528         * soft-fp/divtf3.c: Likewise.
58529         * soft-fp/double.h: Likewise.
58530         * soft-fp/eqdf2.c: Likewise.
58531         * soft-fp/eqsf2.c: Likewise.
58532         * soft-fp/eqtf2.c: Likewise.
58533         * soft-fp/extenddftf2.c: Likewise.
58534         * soft-fp/extended.h: Likewise.
58535         * soft-fp/extendsfdf2.c: Likewise.
58536         * soft-fp/extendsftf2.c: Likewise.
58537         * soft-fp/extendxftf2.c: Likewise.
58538         * soft-fp/fixdfdi.c: Likewise.
58539         * soft-fp/fixdfsi.c: Likewise.
58540         * soft-fp/fixdfti.c: Likewise.
58541         * soft-fp/fixsfdi.c: Likewise.
58542         * soft-fp/fixsfsi.c: Likewise.
58543         * soft-fp/fixsfti.c: Likewise.
58544         * soft-fp/fixtfdi.c: Likewise.
58545         * soft-fp/fixtfsi.c: Likewise.
58546         * soft-fp/fixtfti.c: Likewise.
58547         * soft-fp/fixunsdfdi.c: Likewise.
58548         * soft-fp/fixunsdfsi.c: Likewise.
58549         * soft-fp/fixunsdfti.c: Likewise.
58550         * soft-fp/fixunssfdi.c: Likewise.
58551         * soft-fp/fixunssfsi.c: Likewise.
58552         * soft-fp/fixunssfti.c: Likewise.
58553         * soft-fp/fixunstfdi.c: Likewise.
58554         * soft-fp/fixunstfsi.c: Likewise.
58555         * soft-fp/fixunstfti.c: Likewise.
58556         * soft-fp/floatdidf.c: Likewise.
58557         * soft-fp/floatdisf.c: Likewise.
58558         * soft-fp/floatditf.c: Likewise.
58559         * soft-fp/floatsidf.c: Likewise.
58560         * soft-fp/floatsisf.c: Likewise.
58561         * soft-fp/floatsitf.c: Likewise.
58562         * soft-fp/floattidf.c: Likewise.
58563         * soft-fp/floattisf.c: Likewise.
58564         * soft-fp/floattitf.c: Likewise.
58565         * soft-fp/floatundidf.c: Likewise.
58566         * soft-fp/floatundisf.c: Likewise.
58567         * soft-fp/floatunsidf.c: Likewise.
58568         * soft-fp/floatunsisf.c: Likewise.
58569         * soft-fp/floatuntidf.c: Likewise.
58570         * soft-fp/floatuntisf.c: Likewise.
58571         * soft-fp/floatuntitf.c: Likewise.
58572         * soft-fp/fmadf4.c: Likewise.
58573         * soft-fp/fmasf4.c: Likewise.
58574         * soft-fp/fmatf4.c: Likewise.
58575         * soft-fp/gedf2.c: Likewise.
58576         * soft-fp/gesf2.c: Likewise.
58577         * soft-fp/getf2.c: Likewise.
58578         * soft-fp/ledf2.c: Likewise.
58579         * soft-fp/lesf2.c: Likewise.
58580         * soft-fp/letf2.c: Likewise.
58581         * soft-fp/muldf3.c: Likewise.
58582         * soft-fp/mulsf3.c: Likewise.
58583         * soft-fp/multf3.c: Likewise.
58584         * soft-fp/negdf2.c: Likewise.
58585         * soft-fp/negsf2.c: Likewise.
58586         * soft-fp/negtf2.c: Likewise.
58587         * soft-fp/op-1.h: Likewise.
58588         * soft-fp/op-2.h: Likewise.
58589         * soft-fp/op-4.h: Likewise.
58590         * soft-fp/op-8.h: Likewise.
58591         * soft-fp/op-common.h: Likewise.
58592         * soft-fp/quad.h: Likewise.
58593         * soft-fp/single.h: Likewise.
58594         * soft-fp/soft-fp.h: Likewise.
58595         * soft-fp/sqrtdf2.c: Likewise.
58596         * soft-fp/sqrtsf2.c: Likewise.
58597         * soft-fp/sqrttf2.c: Likewise.
58598         * soft-fp/subdf3.c: Likewise.
58599         * soft-fp/subsf3.c: Likewise.
58600         * soft-fp/subtf3.c: Likewise.
58601         * soft-fp/truncdfsf2.c: Likewise.
58602         * soft-fp/trunctfdf2.c: Likewise.
58603         * soft-fp/trunctfsf2.c: Likewise.
58604         * soft-fp/trunctfxf2.c: Likewise.
58605         * soft-fp/unorddf2.c: Likewise.
58606         * soft-fp/unordsf2.c: Likewise.
58607         * soft-fp/unordtf2.c: Likewise.
58609 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
58611         [BZ #15672]
58612         * misc/error.c (error_tail): Fix possible buffer overflow.
58614 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
58616         [BZ #13028]
58617         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
58618         address.
58620 2013-10-14  P. J. McDermott  <pj@pehjota.net>
58622         [BZ #832]
58623         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
58624         testing pipefail option.
58626 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
58628         * soft-fp/double.h: Indent preprocessor directives inside #if.
58629         * soft-fp/extended.h: Likewise.
58630         * soft-fp/op-2.h: Likewise.
58631         * soft-fp/op-4.h: Likewise.
58632         * soft-fp/op-common.h: Likewise.
58633         * soft-fp/quad.h: Likewise.
58634         * soft-fp/single.h: Likewise.
58635         * soft-fp/soft-fp.h: Likewise.
58637 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
58639         * iconv/iconv_prog.c: Fix typos.
58640         * stdio-common/psiginfo-data.h: Likewise.
58642 2013-10-12   Reuben Thomas <rrt@sc3d.org>
58644         [BZ #15764]
58645         * locale/setlocale.c: Fix typo.
58647 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
58649         [BZ #16036]
58650         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
58651         signaling NaN arguments.
58652         * soft-fp/unordsf2.c (__unordsf2): Likewise.
58653         * soft-fp/unordtf2.c (__unordtf2): Likewise.
58655         [BZ #14910]
58656         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
58657         unordered operands.
58658         * soft-fp/gesf2.c (__gesf2): Likewise.
58659         * soft-fp/getf2.c (__getf2): Likewise.
58660         * soft-fp/ledf2.c (__ledf2): Likewise.
58661         * soft-fp/lesf2.c (__lesf2): Likewise.
58662         * soft-fp/letf2.c (__letf2): Likewise.
58664         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
58665         * soft-fp/eqsf2.c (__eqsf2): Likewise.
58666         * soft-fp/eqtf2.c (__eqtf2): Likewise.
58667         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
58668         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
58669         * soft-fp/fixdfti.c (__fixdfti): Likewise.
58670         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
58671         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
58672         * soft-fp/fixsfti.c (__fixsfti): Likewise.
58673         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
58674         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
58675         * soft-fp/fixtfti.c (__fixtfti): Likewise.
58676         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
58677         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
58678         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
58679         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
58680         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
58681         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
58682         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
58683         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
58684         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
58685         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
58686         * soft-fp/floatdisf.c (__floatdisf): Likewise.
58687         * soft-fp/floatsisf.c (__floatsisf): Likewise.
58688         * soft-fp/floattidf.c (__floattidf): Likewise.
58689         * soft-fp/floattisf.c (__floattisf): Likewise.
58690         * soft-fp/floattitf.c (__floattitf): Likewise.
58691         * soft-fp/floatundidf.c (__floatundidf): Likewise.
58692         * soft-fp/floatundisf.c (__floatundisf): Likewise.
58693         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
58694         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
58695         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
58696         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
58697         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
58698         * soft-fp/gesf2.c (__gesf2): Likewise.
58699         * soft-fp/getf2.c (__getf2): Likewise.
58700         * soft-fp/ledf2.c (__ledf2): Likewise.
58701         * soft-fp/lesf2.c (__lesf2): Likewise.
58702         * soft-fp/letf2.c (__letf2): Likewise.
58704         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
58705         Undefine and redefine.
58706         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
58707         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
58708         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
58709         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
58710         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58711         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
58712         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58713         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
58714         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58715         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
58716         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58717         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
58718         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58719         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
58720         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58722         [BZ #16032]
58723         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
58724         without decrementing exponent if mantissa >= that for the
58725         denominator, not >.
58726         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
58727         denominator, not >.  Decrement exponent in < case instead of
58728         incrementing in >= case.
58729         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
58730         without decrementing exponent if mantissa >= that for the
58731         denominator, not >.
58733         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
58734         computing saturated result for unsigned overflow.
58736 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58737             Jeff Law  <law@redhat.com>
58739         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
58740         (atan2Mp): Add systemtap probe marker.
58741         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
58742         (__ieee754_log): Add systemtap probe marker.
58743         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
58744         (atanMp): Add systemtap probe marker.
58745         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
58746         (tanMp): Add systemtap probe marker.
58747         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
58748         (__slowexp): Add systemtap probe marker.
58749         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
58750         (__slowpow): Add systemtap probe marker.
58751         * manual/probes.texi: Document probes.
58753 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
58755         [BZ #15362]
58756         * libio/fileops.c (_IO_new_file_write): Return count of bytes
58757         written.
58758         (_IO_new_file_xsputn): Don't return EOF if nothing has been
58759         written.
58760         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
58761         written to buffer but not flushed.
58762         * libio/iofwrite_u.c:  Likewise.
58763         * libio/iopadn.c:  Return bytes returned even if EOF was
58764         encountered.
58765         * libio/iowpadn.c:  Likewise.
58766         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
58767         if _IO_padn does not write the whole buffer.
58768         [!COMPILE_WPRINTF] (PAD): Likewise.
58770 2013-10-10  David S. Miller  <davem@davemloft.net>
58772         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
58773         directory block.
58775 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
58777         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
58778         instead of FSF address.
58779         * soft-fp/fixdfti.c: Likewise.
58780         * soft-fp/fixsfti.c: Likewise.
58781         * soft-fp/fixtfti.c: Likewise.
58782         * soft-fp/fixunsdfti.c: Likewise.
58783         * soft-fp/fixunssfti.c: Likewise.
58784         * soft-fp/fixunstfti.c: Likewise.
58785         * soft-fp/floattidf.c: Likewise.
58786         * soft-fp/floattisf.c: Likewise.
58787         * soft-fp/floattitf.c: Likewise.
58788         * soft-fp/floatuntidf.c: Likewise.
58789         * soft-fp/floatuntisf.c: Likewise.
58790         * soft-fp/floatuntitf.c: Likewise.
58791         * soft-fp/trunctfxf2.c: Likewise.
58793         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
58794         * soft-fp/fixdfti.c: Likewise.
58795         * soft-fp/fixsfti.c: Likewise.
58796         * soft-fp/fixtfti.c: Likewise.
58797         * soft-fp/fixunsdfti.c: Likewise.
58798         * soft-fp/fixunssfti.c: Likewise.
58799         * soft-fp/fixunstfti.c: Likewise.
58800         * soft-fp/floattidf.c: Likewise.
58801         * soft-fp/floattisf.c: Likewise.
58802         * soft-fp/floattitf.c: Likewise.
58803         * soft-fp/floatuntidf.c: Likewise.
58804         * soft-fp/floatuntisf.c: Likewise.
58805         * soft-fp/floatuntitf.c: Likewise.
58806         * soft-fp/trunctfxf2.c: Likewise.
58808 2013-10-10  David S. Miller  <davem@davemloft.net>
58810         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58812 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
58814         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
58815         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
58816         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
58817         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
58818         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
58819         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
58820         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
58822         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
58823         for NaNs before doing comparisons on argument.
58824         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
58825         Likewise.
58827 2013-10-10  Will Newton  <will.newton@linaro.org>
58829         * malloc/hooks.c (memalign_check): Ensure the value of bytes
58830         passed to _int_memalign does not overflow.
58832 2013-10-10  Torvald Riegel  <triegel@redhat.com>
58834         * scripts/bench.pl: Add include-sources directive.
58835         * benchtests/README: Update documentation.
58837 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
58839         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
58840         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
58841         instead of FP_INIT_ROUNDMODE.
58842         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
58843         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
58845         [BZ #16034]
58846         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
58847         copy class of input value.
58848         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
58849         not handle exceptions.
58850         * soft-fp/negsf2.c (__negsf2): Likewise.
58851         * soft-fp/negtf2.c (__negtf2): Likewise.
58852         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
58854 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
58856         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
58857         semicolon.  From Linux kernel.
58859 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
58861         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
58863 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
58865         [BZ #156]
58866         * manual/socket.texi: Added statement about buffer
58867         for gethostbyname2_r.
58869 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
58871         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
58872         Use .p2align directive instead, throughout.
58873         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
58874         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
58875         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
58876         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
58877         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
58878         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
58879         * sysdeps/x86_64/strchr.S: Likewise.
58880         * sysdeps/x86_64/strrchr.S: Likewise.
58882 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
58884         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
58886         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
58888         * sysdeps/generic/math_private.h (__mpsin1): Remove
58889         declaration.
58890         (__mpcos1): Likewise.
58891         (__mpsin): New argument __range_reduce.
58892         (__mpcos): Likewise.
58893         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58894         (slow): Use __mpsin and __mpcos.
58895         (slow1): Likewise.
58896         (slow2): Likewise.
58897         (sloww): Likewise.
58898         (sloww1): Likewise.
58899         (sloww2): Likewise.
58900         (bsloww): Likewise.
58901         (bsloww1): Likewise.
58902         (bsloww2): Likewise.
58903         (cslow2): Likewise.
58904         (csloww): Likewise.
58905         (csloww1): Likewise.
58906         (csloww2): Likewise.
58907         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
58908         range_reduce.  Merge in __mpsin1.
58909         (__mpcos): Likewise.
58910         (__mpsin1): Remove.
58911         (__mpcos1): Likewise.
58913 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
58915         * locale/loadlocale.c (_nl_intern_locale_data): Use
58916         LOCFILE_ALIGNED_P.
58917         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
58918         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
58919         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
58920         obstack data is appropriately aligned.
58921         (obstack_int32_grow_fast): Likewise.
58922         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
58923         * locale/programs/locfile.c (add_locale_uint32): Likewise.
58924         (add_locale_uint32_array): Likewise.
58926 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
58928         * benchtests/Makefile: Remove ARGLIST and RET variables.
58929         ($(objpfx)bench-%.c): Pass only function name to the script.
58930         * benchtests/README: Update documentation.
58931         * benchtests/acos-inputs: Add new directives.
58932         * benchtests/acosh-inputs: Likewise.
58933         * benchtests/asin-inputs: Likewise.
58934         * benchtests/asinh-inputs: Likewise.
58935         * benchtests/atan-inputs: Likewise.
58936         * benchtests/atanh-inputs: Likewise.
58937         * benchtests/cos-inputs: Likewise.
58938         * benchtests/cosh-inputs: Likewise.
58939         * benchtests/exp-inputs: Likewise.
58940         * benchtests/log-inputs: Likewise.
58941         * benchtests/pow-inputs: Likewise.
58942         * benchtests/rint-inputs: Likewise.
58943         * benchtests/sin-inputs: Likewise.
58944         * benchtests/sinh-inputs: Likewise.
58945         * benchtests/tan-inputs: Likewise.
58946         * benchtests/tanh-inputs: Likewise.
58947         * scripts/bench.pl: Add support for new directives.
58949 2013-10-07  Alan Modra  <amodra@gmail.com>
58951         * README: Fix careless merge.
58953 2013-10-05  Alan Modra  <amodra@gmail.com>
58955         * NEWS: Mention powerpc64le support and bugs fixed.
58956         * README: Both big-endian and little-endian powerpc64 supported.
58958 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58960         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
58961         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
58962         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
58963         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
58965 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
58967         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
58968         match prototype.
58970 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
58972         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
58973         Move -mhard-float appending from
58974         ports/sysdeps/powerpc/powerpc32/Makefile.
58975         [$(with-fp) = yes] (ASFLAGS): Likewise.
58976         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
58977         * sysdeps/powerpc/nofpu: Move directory from
58978         ports/sysdeps/powerpc/nofpu.
58979         * sysdeps/powerpc/soft-fp: Move directory from
58980         ports/sysdeps/powerpc/soft-fp.
58981         * sysdeps/powerpc/powerpc32/405: Move directory from
58982         ports/sysdeps/powerpc/powerpc32/405.
58983         * sysdeps/powerpc/powerpc32/440: Move directory from
58984         ports/sysdeps/powerpc/powerpc32/440.
58985         * sysdeps/powerpc/powerpc32/464: Move directory from
58986         ports/sysdeps/powerpc/powerpc32/464.
58987         * sysdeps/powerpc/powerpc32/476: Move directory from
58988         ports/sysdeps/powerpc/powerpc32/476.
58989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
58990         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
58991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
58992         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
58993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
58994         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
58995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
58996         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
58997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
58998         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
58999         * README: Update for powerpc-*-linux-gnu software floating point
59000         support in libc.
59002         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
59003         case to powerpc/powerpc32*.
59004         * sysdeps/unix/sysv/linux/configure: Regenerated.
59006         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
59007         (_FPU_MASK_OM): Define as 0x04.
59008         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
59009         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
59010         0x00c10080.
59011         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
59012         0x0000003c.
59013         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
59015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
59016         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
59017         getcontext_e500.
59018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
59019         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
59020         setcontext_e500.
59021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
59022         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
59023         and setcontext_e500.
59025 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
59027         * locale/iso-3166.def: Update iso-1366.def and related occurrences
59029 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59031         * manual/threads.texi (Default Thread Attributes): Fix typo.
59033 2013-10-04  Will Newton  <will.newton@linaro.org>
59035         * malloc/Makefile: Add tst-memalign.
59036         * malloc/tst-memalign.c: New file.
59038         * malloc/tst-posix_memalign.c: Add comments.
59039         (do_test): Add comments and call free on all potentially
59040         allocated pointers. Add space after cast.
59042         * malloc/tst-pvalloc.c: Add comments.
59043         (do_test): Add comments and call free on all potentially
59044         allocated pointers. Remove duplicate check for NULL pointer.
59045         Add space after cast.
59047         * malloc/tst-valloc.c: Add comments.
59048         (do_test): Add comments and call free on all potentially
59049         allocated pointers. Remove duplicate check for NULL pointer.
59050         Add space after cast.
59052 2013-10-04  Alan Modra  <amodra@gmail.com>
59054         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
59055         Use stdint types in rather than __attribute__((mode())).
59056         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
59058 2013-10-04  Alan Modra  <amodra@gmail.com>
59060         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
59061         Correct handling of unaligned relocs for little-endian.
59062         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
59064 2013-10-04  Alan Modra  <amodra@gmail.com>
59066         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
59067         * configure: Regenerate.
59068         * nptl/shlib-versions: Powerpc*le starts at 2.18.
59069         * shlib-versions: Likewise.
59071 2013-10-04  Alan Modra  <amodra@gmail.com>
59073         * string/tester.c (test_memrchr): Increment reported test cycle.
59075 2013-10-04  Alan Modra  <amodra@gmail.com>
59077         * string/test-memcpy.c (do_one_test): When reporting errors, print
59078         string address and don't overrun end of string.
59080 2013-10-04  Alan Modra  <amodra@gmail.com>
59082         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
59083         insrdi.  Make better use of reg selection to speed exit slightly.
59084         Schedule entry path a little better.  Remove useless "are we done"
59085         checks on entry to main loop.  Handle wrapping around zero address.
59086         Correct main loop count.  Handle single left-over word from main
59087         loop inline rather than by using loop_small.  Remove extra word
59088         case in loop_small caused by wrong loop count.  Add little-endian
59089         support.
59090         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
59091         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
59092         cache hint.
59093         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
59094         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
59095         support.  Avoid rlwimi.
59096         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
59098 2013-10-04  Alan Modra  <amodra@gmail.com>
59100         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
59101         insrdi.  Formatting.
59102         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
59103         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
59104         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
59105         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
59106         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
59107         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
59109 2013-10-04  Alan Modra  <amodra@gmail.com>
59111         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
59112         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
59113         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
59114         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
59115         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
59116         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
59117         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
59118         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
59119         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
59120         use of regs.  Use power7 mtocrf.  Tidy function tails.
59122 2013-10-04  Alan Modra  <amodra@gmail.com>
59124         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
59125         Formatting.  Consistently use rXXX register defines or rN defines.
59126         Use early exit labels that avoid restoring unused non-volatile regs.
59127         Make cr field use more consistent with rWORDn compares.  Rename
59128         regs used as shift registers for unaligned loop, using rN defines
59129         for short lifetime/multiple use regs.
59130         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
59131         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
59132         addi 1,1,64 to pop stack frame.  Simplify return value code.
59133         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
59135 2013-10-04  Alan Modra  <amodra@gmail.com>
59137         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
59138         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
59139         rather than rlwimi.
59140         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
59141         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
59142         little-endian support.  Correct typos.
59143         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
59144         rather than rlwimi.
59145         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
59146         in loop and entry code to keep "and." results.
59147         (strchr): Add little-endian support.  Comment.  Move cntlzd
59148         earlier in tail.
59149         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
59151 2013-10-04  Alan Modra  <amodra@gmail.com>
59153         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
59154         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
59155         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
59156         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
59158 2013-10-04  Alan Modra  <amodra@gmail.com>
59160         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
59161         (rTMP): Define as r11.
59162         (strcmp): Add little-endian support.  Optimise tail.
59163         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
59164         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
59165         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
59166         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59167         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
59168         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59169         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59171 2013-10-04  Alan Modra  <amodra@gmail.com>
59173         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
59174         little-endian support.  Remove unnecessary "are we done" tests.
59175         Handle "s" wrapping around zero and extremely large "size".
59176         Correct main loop count.  Handle single left-over word from main
59177         loop inline rather than by using small_loop.  Correct comments.
59178         Delete "zero" tail, use "end_max" instead.
59179         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
59181 2013-10-04  Alan Modra  <amodra@gmail.com>
59183         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
59184         support.  Don't branch over align.
59185         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
59186         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
59187         support.  Rearrange tmp reg use to suit.  Comment.
59188         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
59190 2013-10-04  Alan Modra  <amodra@gmail.com>
59192         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
59194 2013-10-04  Alan Modra  <amodra@gmail.com>
59196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
59197         conditional form of branch and link when obtaining pc.
59198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
59200 2013-10-04  Alan Modra  <amodra@gmail.com>
59202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
59203         HIWORD/LOWORD.
59204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
59205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
59207 2013-10-04  Alan Modra  <amodra@gmail.com>
59209         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
59210         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
59211         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
59212         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
59213         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
59214         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
59215         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
59216         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
59217         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
59218         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
59220 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
59221             Alistair Popple <alistair@ozlabs.au.ibm.com>
59222             Alan Modra <amodra@gmail.com>
59224         [BZ #15723]
59225         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
59226         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
59227         _dl_hwcap access for little-endian.
59228         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
59229         destroy vmx regs when saving unaligned.
59230         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
59231         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
59232         destroy vmx regs when saving unaligned.
59234 2013-10-04  Alan Modra  <amodra@gmail.com>
59236         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
59237         Don't use a union to pack hi/low value.
59239 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
59241         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
59242         for little-endian.
59243         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
59244         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
59245         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
59246         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
59247         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
59249 2013-10-04  Alan Modra  <amodra@gmail.com>
59251         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
59252         constants to usual value for .cst8 section, and remove redundant
59253         high address load.
59254         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
59255         constant for 0x1p52.  Load little-endian words of double from
59256         correct stack offsets.
59258 2013-10-04  Alan Modra  <amodra@gmail.com>
59260         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
59261         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
59262         words of double from correct stack offsets.
59263         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
59264         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
59265         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
59266         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
59267         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
59268         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
59269         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
59270         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
59271         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
59272         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
59273         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
59274         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
59275         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
59276         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
59277         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
59278         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
59279         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
59281 2013-10-04  Alan Modra  <amodra@gmail.com>
59283         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
59284         64-bit int/double union.
59285         (_FPU_SETCW): Likewise.
59286         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
59287         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
59289 2013-10-04  Alan Modra  <amodra@gmail.com>
59291         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
59292         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
59294 2013-10-04  Alan Modra  <amodra@gmail.com>
59296         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
59297         use vector int constants.
59298         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
59300 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
59302         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
59303         array with long long.
59304         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
59305         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
59306         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
59307         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
59308         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
59309         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
59310         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
59311         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
59312         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
59313         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
59314         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
59315         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
59316         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
59318 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
59320         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
59321         (__signbit): Likewise.  Correct for little-endian.
59322         (__signbitl): Call __signbit.
59323         (lrint): Correct for little-endian.
59324         (lrintf): Call lrint.
59326 2013-10-04  Alan Modra  <amodra@gmail.com>
59328         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
59329         union 32-bit int array member with 64-bit int array.
59330         (t515, tm256): Double rather than long double.
59331         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
59333 2013-10-04  Alan Modra  <amodra@gmail.com>
59335         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
59336         Delete.
59337         (IEEE854_LONG_DOUBLE_BIAS): Delete.
59338         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
59339         version of math_ldbl.h.
59341 2013-10-04  Alan Modra  <amodra@gmail.com>
59343         [BZ #15734], [BZ #15735]
59344         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
59345         all uses of ieee875 long double macros and unions.  Simplify test
59346         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
59347         ldbl_extract_mantissa value for ix,iy exponents.  Properly
59348         normalize after ldbl_extract_mantissa, and don't add hidden bit
59349         already handled.  Don't treat low word of ieee854 mantissa like
59350         low word of IBM long double and mask off bit when testing for
59351         zero.
59352         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
59353         all uses of ieee875 long double macros and unions.  Simplify tests
59354         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
59355         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
59356         two1022, instead use their values.  Recognise that tests for large
59357         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
59358         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
59359         Rewrite all uses of ieee875 long double macros and unions.  Simplify
59360         test for 0.0L and nan.  Correct negation.
59361         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
59362         ieee875 long double macros and unions.  Correct output for large
59363         magnitude x.  Correct absolute value calculation.
59364         (__erfcl): Likewise.
59365         * math/libm-test.inc: Add tests for errors discovered in IBM long
59366         double versions of fmodl, remainderl, erfl and erfcl.
59368 2013-10-04  Alan Modra  <amodra@gmail.com>
59370         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
59371         all uses of ieee854 long double macros and unions.  Simplify tests
59372         for long doubles that are fully specified by the high double.
59373         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
59374         Likewise.
59375         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
59376         Remove dead code too.
59377         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
59378         (__ieee754_ynl): Likewise.
59379         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
59380         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
59381         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
59382         Remove dead code too.
59383         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
59384         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
59385         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
59386         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
59387         Simplify.
59388         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
59389         Simplify.
59390         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
59391         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
59392         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
59393         Comment on variable precision.
59394         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
59395         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
59396         Likewise.
59397         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
59398         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
59399         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
59400         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
59401         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
59403 2013-10-04  Alan Modra  <amodra@gmail.com>
59405         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
59406         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
59407         all uses of ieee854 long double macros and unions.
59408         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
59409         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
59410         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
59411         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
59412         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
59413         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
59414         Likewise.
59415         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
59416         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
59417         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
59418         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
59419         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
59420         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
59421         Simplify sign and nan test too.
59422         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
59423         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
59424         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
59425         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
59426         Likewise.
59427         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
59428         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
59429         Likewise.
59430         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59431         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
59432         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
59433         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
59434         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
59435         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
59437 2013-10-04  Alan Modra  <amodra@gmail.com>
59439         * stdio-common/printf_size.c (__printf_size): Don't use
59440         union ieee854_long_double in fpnum union.
59441         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
59442         signbit macro to retrieve sign from long double.
59443         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
59444         retrieve sign from long double.
59445         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
59446         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
59447         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
59448         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
59449         * math/test-misc.c (main): Don't use union ieee854_long_double.
59451 2013-10-04  Alan Modra  <amodra@gmail.com>
59453         [BZ #15680]
59454         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
59455         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
59456         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
59457         calculation.  Remove unnecessary test for denormal exponent.
59458         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
59459         Correct handling of denormals.  Avoid undefined shift behaviour.
59460         Correct normalisation of low mantissa when low double is denormal.
59461         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
59462         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
59463         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
59464         Correct normalisation of low mantissa.  Test for overflow of high
59465         mantissa and normalise.
59466         (ldbl_nearbyint): Use more readable constant for two52.
59467         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
59468         (__mpn_construct_long_double): Fix test for overflow of high
59469         mantissa and correct normalisation.  Avoid undefined shift.
59471 2013-10-04  Alan Modra  <amodra@gmail.com>
59473         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
59474         (union ibm_extended_long_double): Define as an array of ieee754_double.
59475         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
59476         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
59477         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
59478         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
59479         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59480         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
59481         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
59482         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
59483         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
59484         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
59485         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
59487 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
59489         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
59490         page size instead of calling getpagesize.
59492         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
59493         (LOCFILE_ALIGN_MASK): Likewise.
59494         (LOCFILE_ALIGN_UP): Likewise.
59495         (LOCFILE_ALIGNED_P): Likewise.
59496         * locale/programs/ld-collate.c (collate_output): Use the new
59497         macros instead of __alignof__ (int32_t).
59498         * locale/weight.h (findidx): Likewise.
59500 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
59502         [BZ #431]
59503         * manual/string.texi: Fix strncat and wcsncat.
59505 2013-10-03  Brooks Moses  <bmoses@google.com>
59507         [BZ #15915]
59508         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
59509         * Makerules: ...here, and adjust associated comments.
59511 2013-10-02  Will Newton  <will.newton@linaro.org>
59513         * malloc/Makefile: Add tst-pvalloc.
59514         * malloc/tst-pvalloc.c: New file.
59516 2013-10-02  Will Newton  <will.newton@linaro.org>
59518         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
59519         improve test coverage.
59521 2013-10-02  Will Newton  <will.newton@linaro.org>
59523         * malloc/Makefile: Add tst-posix_memalign.
59524         * malloc/tst-posix_memalign.c: New file.
59526 2013-10-01  Eric Blake  <eblake@redhat.com>
59528         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
59529         Use __THROWNL rather than __THROW on static functions.
59531 2013-09-30  Petr Machata  <pmachata@redhat.com>
59533         * elf/elf.h (R_AARCH64_ABS16): New macro.
59534         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
59535         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
59536         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
59537         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
59538         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
59539         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
59540         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
59541         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
59542         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
59543         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
59544         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
59545         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
59546         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
59547         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
59548         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
59549         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
59550         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
59551         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
59552         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
59553         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
59554         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
59555         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
59556         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
59557         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
59558         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
59559         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
59560         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
59561         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
59562         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
59563         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
59564         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
59565         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
59566         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
59567         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
59568         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
59569         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
59570         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
59571         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
59572         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
59573         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
59574         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
59575         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
59576         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
59577         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
59578         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
59579         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
59580         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
59581         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
59582         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
59583         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
59584         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
59585         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
59586         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
59587         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
59588         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
59589         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
59590         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
59591         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
59592         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
59593         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
59594         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
59595         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
59596         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
59597         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
59598         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
59599         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
59600         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
59601         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
59602         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
59603         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
59604         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
59605         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
59606         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
59607         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
59608         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
59609         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
59610         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
59611         (R_AARCH64_TLSDESC_LDR): Likewise.
59612         (R_AARCH64_TLSDESC_ADD): Likewise.
59613         (R_AARCH64_TLSDESC_CALL): Likewise.
59615 2013-09-30  Andreas Schwab  <schwab@suse.de>
59617         [BZ #15048]
59618         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
59619         the nss database lookup.
59620         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59621         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
59623 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
59625         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
59627 2013-09-28  P. J. McDermott  <pj@pehjota.net>
59629         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
59630         ${Bash-specific parameter/pattern/string} parameter expansion.
59631         * sysdeps/unix/make-syscalls.sh: Likewise.
59633 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59635         * sysdeps/sh/stackguard-macros.h: New file.
59637 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
59639         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
59640         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
59641         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
59642         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
59643         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59644         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
59646 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59648         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
59649         Fix thread ID register.
59651 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
59653         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
59654         [POSIX || UNIX98]: Require rather than permitting all symbols from
59655         <time.h>.
59656         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
59657         element of struct sched_param.
59658         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
59659         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
59660         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
59661         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
59662         constant.
59664 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
59666         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
59667         argument calculation.
59669 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
59671         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
59672         Expect macro.
59673         [POSIX] (pthread_attr_t): Do not require type.
59674         [POSIX] (pthread_cond_t): Likewise.
59675         [POSIX] (pthread_condattr_t): Likewise.
59676         [POSIX] (pthread_key_t): Likewise.
59677         [POSIX] (pthread_mutex_t): Likewise.
59678         [POSIX] (pthread_mutexattr_t): Likewise.
59679         [POSIX] (pthread_once_t): Likewise.
59680         [POSIX] (pthread_t): Likewise.
59681         [POSIX-based standards] (pthread_atfork): Expect function.
59683 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
59684             Richard Sandiford  <richard@codesourcery.com>
59686         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
59687         (swap_endianness_p): New extern variable.
59688         (set_big_endian): New inline function.
59689         (maybe_swap_uint32): Likewise.
59690         (maybe_swap_uint32_array): Likewise.
59691         (maybe_swap_uint32_obstack): Likewise.
59692         * locale/programs/locfile.c: Include <stdbool.h>.
59693         (swap_endianness_p): New variable.
59694         (add_locale_uint32): Call maybe_swap_uint32.
59695         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
59696         (write_locale_data): Call maybe_swap_uint32_array.
59697         * locale/programs/ld-collate.c (obstack_int32_grow): Call
59698         maybe_swap_uint32.
59699         (obstack_int32_grow_fast): Likewise.
59700         (output_weightwc): Call maybe_swap_uint32_obstack.
59701         (collate_output): Likewise.
59702         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
59703         (OPT_LITTLE_ENDIAN): Likewise.
59704         (options): Add --little-endian and --big-endian options.
59705         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
59706         * locale/programs/locarchive.c: Include "locfile.h".
59707         (GET): New macro.
59708         (SET): Likewise.
59709         (INC): Likewise.
59710         (create_archive): Use the new macros to access fields of
59711         structures directly mapped from or written to locale archives.
59712         (oldlocrecentcmp): Likewise.
59713         (enlarge_archive): Likewise.
59714         (insert_name): Likewise.
59715         (add_alias): Likewise.
59716         (add_locale): Likewise.
59717         (delete_locales_from_archive): Likewise.
59718         (show_archive_content): Likewise.
59719         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
59720         locale data.
59722 2013-09-24  Roland McGrath  <roland@hack.frob.com>
59724         * manual/freemanuals.texi: Updated from (newly) canonical copy at
59725         http://www.gnu.org/doc/freemanuals.texi.
59726         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
59728 2013-09-24  Will Newton  <will.newton@linaro.org>
59730         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
59731         macro.
59733 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
59735         * locale/hashval.h (compute_hashval): Interpret bytes of key as
59736         unsigned char.
59738 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
59740         * manual/threads.texi (POSIX Threads): Fix a typo.
59742 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
59744         [BZ #14547]
59745         * string/tst-strcoll-overflow.c: New test case.
59746         * string/Makefile (xtests): Add tst-strcoll-overflow.
59747         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
59748         cache if string sizes may cause integer overflow.
59750         [BZ #14547]
59751         * string/strcoll_l.c (coll_seq): New members rule, idx,
59752         save_idx and back_us.
59753         (get_next_seq_nocache): New function.
59754         (do_compare_nocache): New function.
59755         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
59756         when malloc fails.
59758 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
59760         [BZ #15754]
59761         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
59762         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
59763         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
59765         [BZ #15754]
59766         * elf/Makefile (tests): Add tst-ptrguard1.
59767         (tests-static): Add tst-ptrguard1-static.
59768         (tst-ptrguard1-ARGS): Define.
59769         (tst-ptrguard1-static-ARGS): Define.
59770         * elf/tst-ptrguard1.c: New file.
59771         * elf/tst-ptrguard1-static.c: New file.
59772         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
59773         * sysdeps/i386/stackguard-macros.h: Likewise.
59774         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
59775         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
59776         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
59777         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
59778         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
59779         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
59781 2013-09-23  Hector Marco  <hecmargi@upv.es>
59782             Ismael Ripoll  <iripoll@disca.upv.es>
59783             Carlos O'Donell  <carlos@redhat.com>
59785         [BZ #15754]
59786         * sysdeps/generic/stackguard-macros.h: Define
59787         __pointer_chk_guard_local and POINTER_CHK_GUARD.
59788         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
59789         Define __pointer_chk_guard_local.
59790         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
59791         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
59793 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
59795         [BZ #15859]
59796         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
59798 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
59800         * include/string.h (__ffs): Declare as hidden.
59801         * string/ffs.c (__ffs): Define as hidden.
59802         * sysdeps/i386/ffs.c (__ffs): Likewise.
59803         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
59804         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
59805         * sysdeps/s390/ffs.c (__ffs): Likewise.
59806         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
59808 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
59810         * NEWS: Mention malloc probes.
59812         * malloc/arena.c (new_heap): New memory_heap_new probe.
59813         (grow_heap): New memory_heap_more probe.
59814         (shrink_heap): New memory_heap_less probe.
59815         (heap_trim): New memory_heap_free probe.
59816         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
59817         (systrim): New memory_sbrk_less probe.
59818         * manual/probes.texi: Document them.
59820         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
59821         * manual/probes.texi: Document it.
59823         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
59824         (__libc_realloc): Add memory_realloc_retry probe.
59825         (__libc_memalign): Add memory_memalign_retry probe.
59826         (__libc_valloc): Add memory_valloc_retry probe.
59827         (__libc_pvalloc): Add memory_pvalloc_retry probe.
59828         (__libc_calloc): Add memory_calloc_retry probe.
59829         * manual/probes.texi: Document them.
59831         * malloc/arena.c (get_free_list): Add probe
59832         memory_arena_reuse_free_list.
59833         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
59834         and memory_arena_reuse.
59835         (arena_get2) [!PER_THREAD]: Likewise.
59836         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
59837         memory_arena_reuse_realloc.
59838         * manual/probes.texi: Document them.
59840         * malloc/malloc.c (__libc_free): Add
59841         memory_mallopt_free_dyn_thresholds probe.
59842         (__libc_mallopt): Add multiple memory_mallopt probes.
59843         * manual/probes.texi: Document them.
59845         * malloc/malloc.c: Include stap-probe.h.
59846         (__libc_mallopt): Add memory_mallopt probe.
59847         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
59848         * manual/probes.texi: New.
59849         * manual/Makefile (chapters): Add probes.
59850         * manual/threads.texi: Set next node.
59852 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
59854         [BZ #15963, #13985]
59855         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
59856         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
59857         Add `Chinese' to `nan' entry name.
59859 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
59861         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
59862         (POLYNOMIAL): Likewise.
59863         (TAYLOR_SINCOS): Likewise.
59864         (TAYLOR_SLOW): Likewise.
59865         (__sin): Use TAYLOR_SINCOS.
59866         (__cos): Likewise.
59867         (slow): Use TAYLOR_SLOW.
59868         (sloww): Likewise.
59869         (bsloww): Likewise.
59870         (csloww): Likewise.
59872 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59874         * stdlib/strtod_l.c: Fix buffer overrun.
59876 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
59878         * benchtests/Makefile (bench): Add sincos.
59879         * benchtests/bench-sincos.c: New file.
59881         * math/libm-test.inc (cos_test_data): New test inputs.
59882         (sin_test_data): Likewise.
59884         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
59885         macro.
59886         (__sin): Use it.
59887         (__cos): Likewise.
59888         (slow1): Likewise.
59889         (slow2): Likewise.
59890         (sloww1): Likewise.
59891         (sloww2): Likewise.
59892         (bsloww1): Likewise.
59893         (bsloww2): Likewise.
59894         (cslow2): Likewise.
59895         (csloww1): Likewise.
59896         (csloww2): Likewise.
59898         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
59899         function.
59900         (__sin): Use it.
59901         (__cos): Likewise.
59903         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
59904         gotos.
59905         (__cos): Likewise.
59907 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
59909         * config.h.in (HAVE_MIPS_NAN2008): New macro.
59910         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
59911         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
59912         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
59913         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
59914         * elf/cache.c (print_entry): Handle the new cache flags.
59916 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
59917             Aldy Hernandez  <aldyh@redhat.com>
59919         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
59920         Change condition to [_SOFT_FLOAT].
59921         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
59922         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
59923         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
59924         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
59925         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
59926         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
59927         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
59928         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
59929         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
59930         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
59931         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
59932         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
59933         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
59934         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
59935         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
59936         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
59937         declaration.
59939 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
59941         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
59942         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
59943         (__longjmp): Use LOAD_GP to load saved GPRs.
59944         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
59945         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
59946         (__sigsetjmp): Use SAVE_GP to save GPRs.
59948         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
59949         Do not append -msoft-float.
59950         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
59952 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59954         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
59956 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
59958         [BZ #15966]
59959         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
59960         (_FPU_GETCW): Use initial "__" on variable and field names but not
59961         on macro parameter name.
59962         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
59963         parentheses around reference to macro parameter.
59965 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
59967         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
59968         prototype.
59969         (ctype_startup): Use uint32_t in cast and sizeof for
59970         ctype->charnames.
59972 2013-09-11  Jia Liu  <proljc@gmail.com>
59974         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
59975         __daddr_t_defined.
59976         [__FreeBSD__]: Likewise.
59978 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
59980         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
59981         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
59982         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
59983         (strchr): Remove __strchr_sse42 ifunc selection.
59984         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
59985         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
59987 2013-09-11  Will Newton  <will.newton@linaro.org>
59989         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
59990         parameter to RES. Remove hardcoded 1000 value.
59991         * benchtests/bench-skeleton.c (main): Pass RES parameter
59992         to TIMING_INIT and multiply result by 1000.
59994 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59996         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59998 2013-09-11  Andreas Schwab  <schwab@suse.de>
60000         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
60001         if not defined.
60002         (O_TMPFILE) [__USE_GNU]: Define.
60003         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
60004         Define.
60006 2013-09-11  Will Newton  <will.newton@linaro.org>
60008         [BZ #15857]
60009         * malloc/malloc.c (__libc_memalign): Check the value of bytes
60010         does not overflow.
60012 2013-09-11  Will Newton  <will.newton@linaro.org>
60014         [BZ #15856]
60015         * malloc/malloc.c (__libc_valloc): Check the value of bytes
60016         does not overflow.
60018 2013-09-11  Will Newton  <will.newton@linaro.org>
60020         [BZ #15855]
60021         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
60022         does not overflow.
60024 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
60026         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
60027         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60028         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
60029         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60030         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60032 2013-09-10  Allan McRae  <allan@archlinux.org>
60034         [BZ #15748]
60035         * manual/arith.texi (Parsing of Floats): Clarify
60036         cross-reference.
60038         [BZ #15849]
60039         * manual/install.texi (Running make install): Mention
60040         --enable-pt-chown.
60041         * INSTALL: Regenerated.
60043 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
60045         * csu/init-first.c (_init): Remove the !SHARED condition around
60046         FPU control word initialization.
60047         * elf/dl-support.c (_dl_fpu_control): New variable.
60048         (_dl_aux_init) <AT_FPUCW>: Initialize it.
60049         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
60050         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
60051         * math/test-fpucw-static.c: New file.
60052         * math/test-fpucw-ieee.c: New file.
60053         * math/test-fpucw-ieee-static.c: New file.
60054         * math/Makefile (tests): Add `test-fpucw-ieee' and
60055         `$(tests-static)'.
60056         (tests-static): New variable.
60057         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
60058         dependency to...
60059         [($(build-shared),yes)]
60060         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
60061         ... this.
60062         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
60063         New dependency.
60065 2013-09-09  Allan McRae  <allan@archlinux.org>
60067         [BZ #15939]
60068         * manual/string.texi (Collation Functions): Fix typo in
60069         strcoll example.
60070         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
60072         [BZ #15893]
60073         * stdlib/isomac.c (get_null_defines): Fix memory leak.
60075         [BZ #15892]
60076         * libio/memstream.c (open_memstream): Fix memory leak.
60077         * libio/wmemstream.c (open_wmemstream): Likewise.
60079         [BZ #15895]
60080         * nscd/netgroupcache.c: Fix nesting of ifdefs.
60082 2013-09-09  Will Newton  <will.newton@linaro.org>
60084         * malloc/Makefile: Add tst-realloc to tests.
60085         * malloc/tst-realloc.c: New file.
60087 2013-09-09  Allan McRae  <allan@archlinux.org>
60089         [BZ #15844]
60090         * COPYING: Update from GNU website to fix FSF address.
60091         * COPYING.LIB: Likewise.
60093 2013-09-06  David S. Miller  <davem@davemloft.net>
60095         * po/zh_TW.po: Update Chinese (traditional) translation from
60096         translation project.
60098 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
60099             Joseph Myers  <joseph@codesourcery.com>
60101         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
60102         "localeinfo.h".
60103         (obstack_chunk_alloc): New macro.
60104         (obstack_chunk_free): Likewise.
60105         (record_offset): New function.
60106         (init_locale_data): Likewise.
60107         (align_locale_data): Likewise.
60108         (add_locale_empty): Likewise.
60109         (add_locale_raw_data): Likewise.
60110         (add_locale_raw_obstack): Likewise.
60111         (add_locale_string): Likewise.
60112         (add_locale_wstring): Likewise.
60113         (add_locale_uint32): Likewise.
60114         (add_locale_uint32_array): Likewise.
60115         (add_locale_char): Likewise.
60116         (start_locale_structure): Likewise.
60117         (end_locale_structure): Likewise.
60118         (start_locale_prelude): Likewise.
60119         (end_locale_prelude): Likewise.
60120         (write_locale_data): Take locale_file structure rather than an
60121         iovec.
60122         * locale/programs/locfile.h: Include "obstack.h".
60123         (struct locale_file): Change to store locale file contents instead
60124         of header.
60125         (init_locale_data): New prototype.
60126         (align_locale_data): Likewise.
60127         (add_locale_empty): Likewise.
60128         (add_locale_raw_data): Likewise.
60129         (add_locale_raw_obstack): Likewise.
60130         (add_locale_string): Likewise.
60131         (add_locale_wstring): Likewise.
60132         (add_locale_uint32): Likewise.
60133         (add_locale_uint32_array): Likewise.
60134         (add_locale_char): Likewise.
60135         (start_locale_structure): Likewise.
60136         (end_locale_structure): Likewise.
60137         (start_locale_prelude): Likewise.
60138         (end_locale_prelude): Likewise.
60139         (write_locale_data): Update prototype.
60140         * locale/programs/3level.h (struct TABLE): Remove result field.
60141         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
60142         Use new locale_file interface.
60143         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
60144         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
60145         * locale/programs/ld-address.c (address_output): Use new
60146         locale_file interface.
60147         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
60148         NO_ADD_LOCALE.
60149         (collate_finish): Don't call collseq_table_finalize.
60150         (collate_output): Use new locale_file interface.
60151         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
60152         in file.
60153         (NO_FINALIZE): Change to NO_ADD_LOCALE.
60154         (TABLE): Move defines earlier in file.
60155         (ELEMENT): Likewise.
60156         (DEFAULT): Likewise.
60157         (wctrans_table_add): Move macro and inline function earlier in
60158         file.
60159         (struct wctype_table): Move type earlier in file.
60160         (add_locale_wctype_table): New static prototype.
60161         (struct locale_ctype_t): Use logical types instead of struct iovec
60162         pointers for members.
60163         (ctype_output): Use new locale_file interface.
60164         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
60165         new locale_file interface.
60166         (allocate_arrays): Update for use of new locale_file interface.
60167         * locale/programs/ld-identification.c (identification_output): Use
60168         new locale_file interface.
60169         * locale/programs/ld-measurement.c (measurement_output): Likewise.
60170         * locale/programs/ld-messages.c (messages_output): Likewise.
60171         * locale/programs/ld-monetary.c (monetary_output): Likewise.
60172         * locale/programs/ld-name.c (name_output): Likewise.
60173         * locale/programs/ld-numeric.c (numeric_output): Likewise.
60174         * locale/programs/ld-paper.c (paper_output): Likewise.
60175         * locale/programs/ld-telephone.c (telephone_output): Likewise.
60176         * locale/programs/ld-time.c (time_output): Likewise.
60178 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60180         * benchtests/Makefile: Add memrchr benchmark.
60181         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
60182         benchmark as memrchr.
60183         * benchtests/bench-memrchr-ifunc.c: New file.
60184         * benchtests/bench-memrchr.c: New file.
60186 2013-09-06   Will Newton  <will.newton@linaro.org>
60188         * benchtests/Makefile (string-bench): Add memcpy.
60190 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
60191             Cong Wang  <amwang@redhat.com>
60193         [BZ #15850]
60194         * sysdeps/unix/sysv/linux/bits/in.h
60195         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
60196         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
60197         before __USE_KERNEL_IPV6_DEFS uses.
60198         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
60199         IPPROTO_BEETPH.
60200         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
60201         sockaddr_in6, or ipv6_mreq.
60203 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60205         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
60206         memory access for final bytes in some large inputs.
60207         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
60209 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60211         * string/test-memrchr.c: New file.
60212         * string/test-memrchr-ifunc.c: New file.
60213         * string/Makefile: Add new memrchr testcase.
60215 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
60217         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
60218         fanotify_init returns EPERM.
60220 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
60222         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
60223         errors.
60224         (top level): Treat second token from macro or constant entries for
60225         allowed headers as allowed.
60226         * include/complex.h: Condition internal declarations on
60227         [!_ISOMAC].
60228         * include/fenv.h: Condition include of <stdbool.h> and internal
60229         declarations on [!_ISOMAC].
60231 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
60233         [BZ #15923]
60234         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
60236 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
60238         * configure.in (--enable-versioning): Remove configure option.
60239         (libc_cv_asm_symver_directive): Remove configure test.
60240         (libc_cv_ld_version_script_option): Likewise.
60241         (VERSIONING): Remove variable and AC_SUBST.
60242         (DO_VERSIONING): Remove AC_DEFINE.
60243         * configure: Regenerated.
60244         * config.h.in (DO_VERSIONING): Remove macro.
60245         * Makerules [$(versioning) = yes]: Change conditionals to
60246         [$(build-shared) = yes].
60247         * config.make.in (versioning): Remove variable.
60248         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
60249         [$(build-shared) = yes].
60250         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
60251         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
60252         * elf/Makefile [$(versioning) = yes]: Change conditionals to
60253         [$(build-shared) = yes].
60254         * extra-lib.mk [$(versioning) = yes]: Likewise.
60255         * hurd/Makefile [$(versioning) = yes]: Likewise.
60256         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
60257         [SHARED].
60258         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
60259         [SHARED].
60260         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
60261         [SHARED && !NO_HIDDEN].
60262         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
60263         [SHARED].
60264         [SHARED && DO_VERSIONING]: Likewise..
60265         * libio/Makefile [$(versioning) = yes]: Change conditionals to
60266         [$(build-shared) = yes].
60267         * manual/install.texi (--disable-versioning): Remove
60268         documentation.
60269         * INSTALL: Regenerated.
60270         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
60271         to [SHARED].
60272         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
60273         [$(build-shared) = yes].
60274         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
60275         * sysdeps/i386/i686/multiarch/strstr-c.c
60276         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
60277         [SHARED && !NO_HIDDEN].
60278         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
60279         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
60280         * sysdeps/powerpc/powerpc32/dl-machine.c
60281         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
60282         * sysdeps/powerpc/powerpc32/sysdep.h
60283         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
60284         to [SHARED && PIC && !NO_HIDDEN].
60285         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
60286         conditional to [SHARED].
60288 2013-09-04   Will Newton  <will.newton@linaro.org>
60290         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
60291         * benchtests/bench-string.h: Include bench-timing.h instead
60292         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
60293         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
60294         call to HP_TIMING_DIFF_INIT.
60295         * benchtests/bench-memccpy.c: Use bench-timing.h macros
60296         instead of hp-timing.h macros.
60297         * benchtests/bench-memchr.c: Likewise.
60298         * benchtests/bench-memcmp.c: Likewise.
60299         * benchtests/bench-memcpy.c: Likewise.
60300         * benchtests/bench-memmem.c: Likewise.
60301         * benchtests/bench-memmove.c: Likewise.
60302         * benchtests/bench-memset.c: Likewise.
60303         * benchtests/bench-rawmemchr.c: Likewise.
60304         * benchtests/bench-strcasecmp.c: Likewise.
60305         * benchtests/bench-strcasestr.c: Likewise.
60306         * benchtests/bench-strcat.c: Likewise.
60307         * benchtests/bench-strchr.c: Likewise.
60308         * benchtests/bench-strcmp.c: Likewise.
60309         * benchtests/bench-strcpy.c: Likewise.
60310         * benchtests/bench-strcpy_chk.c: Likewise.
60311         * benchtests/bench-strlen.c: Likewise.
60312         * benchtests/bench-strncasecmp.c: Likewise.
60313         * benchtests/bench-strncat.c: Likewise.
60314         * benchtests/bench-strncmp.c: Likewise.
60315         * benchtests/bench-strncpy.c: Likewise.
60316         * benchtests/bench-strnlen.c: Likewise.
60317         * benchtests/bench-strpbrk.c: Likewise.
60318         * benchtests/bench-strrchr.c: Likewise.
60319         * benchtests/bench-strspn.c: Likewise.
60320         * benchtests/bench-strstr.c: Likewise.
60322 2013-09-04  Will Newton  <will.newton@linaro.org>
60324         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
60326 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
60328         [BZ #15427]
60329         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
60330         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
60331         * math/libm-test.inc (lgamma_test_data): Add more tests.
60332         * sysdeps/i386/fpu/libm-test-ulps: Update.
60333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60335 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
60337         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
60338         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
60339         Add ifunc.
60340         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
60341         Add strcmp-sse2-unaligned
60342         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
60344 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
60346         * Versions.def (libc): Add GLIBC_2.19.
60348 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
60350         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
60351         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
60353 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
60355         [BZ #14155]
60356         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
60357         intermediate calculations in recurrence.
60358         (__ieee754_ynf): Likewise.
60359         * math/libm-test.inc (jn_test_data): Do not allow spurious
60360         underflow exception.  Add more tests.
60361         (yn_test_data): Add more tests.
60362         * sysdeps/i386/fpu/libm-test-ulps: Update.
60363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60365 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
60367         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
60369 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
60371         * csu/init-first.c: Fix then/than typos.
60372         * locale/programs/ld-collate.c: Likewise.
60373         * locale/programs/linereader.h: Likewise.
60374         * manual/charset.texi: Likewise.
60375         * manual/filesys.texi: Likewise.
60376         * manual/stdio.texi: Likewise.
60377         * manual/string.texi: Likewise.
60378         * stdlib/fmtmsg.c: Likewise.
60379         * sysdeps/i386/stpncpy.S: Likewise.
60380         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
60381         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
60382         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
60383         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
60385 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
60387         * elf/dl-open.c: Fix typos.
60388         * iconvdata/gbbig5.c: Likewise.
60389         * iconvdata/iso-2022-jp.c: Likewise.
60390         * iconv/gconv_int.h: Likewise.
60391         * iconv/loop.c: Likewise.
60392         * nis/rpcsvc/nis.h: Likewise.
60393         * resolv/ns_name.c: Likewise.
60394         * stdio-common/vfscanf.c: Likewise.
60395         * streams/stropts.h: Likewise.
60396         * sunrpc/rpc_thread.c: Likewise.
60397         * sysdeps/i386/strpbrk.S: Likewise.
60398         * sysdeps/ieee754/k_standard.c: Likewise.
60399         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
60400         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
60401         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
60402         * sysdeps/mach/hurd/profil.c: Likewise.
60403         * sysdeps/s390/dl-procinfo.h: Likewise.
60404         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
60405         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
60406         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
60407         * sysdeps/x86_64/dl-trampoline.S: Likewise.
60408         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
60410 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
60412         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
60413         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
60415 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
60417         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
60418         aix specific files.
60419         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
60420         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
60421         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
60422         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
60423         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
60424         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
60425         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
60426         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
60428 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
60429             Roland McGrath  <roland@hack.frob.com>
60431         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
60432         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
60434 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60436         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
60437         __executable_start symbol instead of _start.
60439 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
60441         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
60442         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
60443         Move macros to...
60444         * sysdeps/gnu/ldsodefs.h: ... this new file.
60446         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
60447         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
60448         instead of ELFOSABI_LINUX.
60450         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
60451         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
60452         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
60453         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
60454         Likewise.
60455         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
60456         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
60457         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
60458         Likewise.
60459         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
60460         (ibm_extended_long_double): Add ieee_nan member.
60461         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
60462         (do_test): New function.
60464         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
60465         TEST_TRUNC.
60466         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
60467         functions, renamed from truncdfsf_test, trunctfsf_test,
60468         trunctfdf_test.
60469         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
60470         functions.
60471         (do_test): Run all these.
60473 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
60475         * argp/argp-help.c: Fix typos.
60476         * argp/argp-parse.c: Likewise.
60477         * debug/backtracesyms.c: Likewise.
60478         * elf/elf.h: Likewise.
60479         * malloc/malloc.c: Likewise.
60480         * nis/nis_print.c: Likewise.
60481         * resolv/res_comp.c: Likewise.
60482         * stdlib/stdlib.h: Likewise.
60483         * sunrpc/clnt_tcp.c: Likewise.
60484         * sunrpc/clnt_udp.c: Likewise.
60485         * sunrpc/clnt_unix.c: Likewise.
60486         * sysdeps/unix/bsd/ptsname.c: Likewise.
60487         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
60488         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
60489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
60490         Likewise.
60491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
60492         Likewise.
60493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
60494         Likewise.
60495         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
60497 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60499         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
60500         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
60502 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
60504         [BZ #15897]
60505         * dlfcn/Makefile (tests): Add bug-dl-leaf.
60506         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
60507         ($(objpfx)bug-dl-leaf): New rule.
60508         ($(objpfx)bug-dl-leaf.so): Likewise.
60509         ($(objpfx)bug-dl-leaf.out): Likewise.
60510         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
60511         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
60512         * dlfcn/bug-dl-leaf.c: New test.
60513         * dlfcn/bug-dl-leaf-lib.c: Likewise.
60514         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
60515         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
60516         (dlclose): Likewise.
60517         (dlmopen): Likewise.
60519 2013-08-27  Roland McGrath  <roland@hack.frob.com>
60521         * include/netdb.h [!_ISOMAC]:
60522         Don't include <tls.h>.
60523         (h_errno, __libc_h_errno): Move declaration and macros out of
60524         [_LIBC_REENTRANT].
60526         * include/resolv.h [_RESOLV_H_]:
60527         Don't include <tls.h>.
60528         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
60529         * resolv/res_libc.c: Don't include <tls.h>.
60530         (_res): Use __attribute__ ((nocommon)) in place of
60531         __attribute__ ((section (".bss"))).
60533         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
60534         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
60536         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
60538         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
60539         only under [SIOCGIFCONF && SIOCGIFNETMASK].
60541         * resolv/res_mkquery.c: Include <sys/time.h>.
60543         * inet/ifreq.c: Moved to ...
60544         * sysdeps/unix/ifreq.c: ... here.
60545         * inet/ifreq.c: New file, true stub version.
60547         * socket/sa_len.c: New file.
60548         * socket/Makefile (aux): Add it.
60549         * sysdeps/unix/sysv/linux/Makefile
60550         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
60551         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
60552         and #include <socket/sa_len.c>.
60553         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
60554         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
60556         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
60557         * bits/socket.h: ... here.
60559         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
60560         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
60561         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
60563 2013-08-27  Andreas Schwab  <schwab@suse.de>
60565         [BZ #15736]
60566         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
60567         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
60568         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
60569         * string/test-strcasecmp.c (test_main): Run tests in several
60570         locales.
60571         * string/test-strncasecmp.c (test_main): Likewise.
60573         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
60574         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
60575         to __strcasecmp_nonascii and __strncasecmp_nonascii.
60576         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
60577         (__strncasecmp_ssse3) [PIC]: Likewise.
60579 2013-08-26  Roland McGrath  <roland@hack.frob.com>
60581         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
60583         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
60584         instead of explicitly declaring xdecrypt.
60585         * nis/nss_nis/nis-publickey.c: Likewise.
60587 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60589         [BZ #15890]
60590         * nscd/aicache.c: Include res_hconf.h.
60591         (addhstaiX): Initialize res_hconf.
60593 2013-08-26  Andreas Schwab  <schwab@suse.de>
60595         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
60596         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
60598 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60600         * nscd/aicache.c (addhstaiX): Fix indentation.
60602 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
60604         * configure.ac: Quote $build_pt_chown test.
60605         * configure: Regenerated.
60607 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
60609         [BZ #15532]
60610         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
60611         * math/s_cexpf.c (__cexpf): Likewise.
60612         * math/s_cexpl.c (__cexpl): Likewise.
60613         * math/libm-test.inc (cexp_test_data): Correct expected return
60614         value for NaN + i0.  Add another test.
60616 2013-08-22  David S. Miller  <davem@davemloft.net>
60618         * po/ca.po: Update Catalan translation from translation project.
60619         * po/uk.po: Add Ukrainian translations from translation project.
60621 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
60623         [BZ #15797]
60624         * math/s_fdim.c (__fdim): Check for infinite arguments if result
60625         is infinite, not alongside NaN test.
60626         * math/s_fdimf.c (__fdimf): Likewise.
60627         * math/s_fdiml.c (__fdiml): Likewise.
60628         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
60629         errno is unchanged.
60631 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
60633         * argp/argp-help.c: Fix typos.
60634         * crypt/speeds.c: Likewise.
60635         * csu/check_fds.c: Likewise.
60636         * elf/dl-load.c: Likewise.
60637         * elf/dl-open.c: Likewise.
60638         * elf/reldep3.c: Likewise.
60639         * elf/reldep.c: Likewise.
60640         * elf/sprof.c: Likewise.
60641         * iconv/iconv_charmap.c: Likewise.
60642         * iconv/skeleton.c: Likewise.
60643         * iconv/strtab.c: Likewise.
60644         * io/lockf64.c: Likewise.
60645         * libio/libioP.h: Likewise.
60646         * resolv/gai_notify.c: Likewise.
60647         * resolv/ns_name.c: Likewise.
60648         * resolv/ns_samedomain.c: Likewise.
60649         * resolv/res_send.c: Likewise.
60650         * stdlib/random.c: Likewise.
60651         * sunrpc/rpc/xdr.h: Likewise.
60652         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
60653         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
60654         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
60655         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
60656         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
60657         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
60658         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
60659         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
60660         * sysdeps/mach/hurd/check_fds.c: Likewise.
60661         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
60662         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
60663         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
60664         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
60665         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
60666         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
60667         * sysdeps/pthread/aio_notify.c: Likewise.
60668         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
60669         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
60670         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
60671         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
60672         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
60674 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60676         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
60677         version if bit_Slow_SSE4_2 is set.
60678         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60679         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
60681 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60683         [BZ #15867]
60684         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
60685         trampoline stack frame information.
60686         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
60687         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
60688         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
60689         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
60690         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
60691         * sysdeps/unix/sysv/linux/powerpc/init-first.c
60692         (_libc_vdso_platform_setup): Initialize the signal trampolines.
60693         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
60694         sa_flags value.
60695         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
60696         interrupting a syscall and set with option SA_SIGINFO.
60698 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
60700         [BZ #15531]
60701         * math/s_cproj.c (__cproj): Only return an infinity if one part of
60702         argument is infinite.
60703         * math/s_cprojf.c (__cprojf): Likewise.
60704         * math/s_cprojl.c (__cprojl): Likewise.
60705         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
60706         * math/libm-test.inc (cproj_test_data): Add more tests.
60708         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
60710         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
60711         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
60712         size.  Use __ffs to determine corresponding shift.
60714 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
60715             Roland McGrath  <roland@hack.frob.com>
60717         * Makefile (INSTALL): Remove trailing blank lines from output of
60718         makeinfo.
60720 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60722         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
60723         Align 32 bit compat elf_greg to 8 bytes.
60725 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
60727         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
60729 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
60731         * string/strcoll_l.c (coll_seq): New structure.
60732         (get_next_seq_cached): New function.
60733         (get_next_seq): New function.
60734         (do_compare): New function.
60735         (STRCOLL): Use GNU style definition.  Simplify implementation
60736         by using get_next_seq, get_next_seq_cached and do_compare.
60738 2013-08-16  Florian Weimer  <fweimer@redhat.com>
60740         [BZ #14699]
60741         CVE-2013-4237
60742         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
60743         member.
60744         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
60745         member.
60746         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
60747         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
60748         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
60749         conditional.
60750         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
60751         GETDENTS_64BIT_ALIGNED.
60752         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
60753         * manual/filesys.texi (Reading/Closing Directory): Document
60754         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
60755         strongly.
60756         * manual/conf.texi (Limits for Files): Add portability note to
60757         NAME_MAX, PATH_MAX.
60758         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
60760 2013-08-13  Andreas Schwab  <schwab@suse.de>
60762         [BZ #15749]
60763         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
60764         of fabs.
60765         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
60766         LDBL_MAX_EXP >= 16384]: Add tests for it.
60768 2013-08-12  David S. Miller  <davem@davemloft.net>
60770         * version.h (RELEASE): Set to "development".
60771         (VERSION): Set to "2.18.90".
60772         * NEWS: Add 2.19 section.
60774 2013-08-03  David S. Miller  <davem@davemloft.net>
60776         * po/ko.po: Update Korean translation from translation project.
60778 2013-08-01  David S. Miller  <davem@davemloft.net>
60780         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
60781         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
60782         Bilka.
60784 2013-07-30  David S. Miller  <davem@davemloft.net>
60786         * po/fr.po: Update French translation from translation project.
60788 2013-07-28  David S. Miller  <davem@davemloft.net>
60790         * po/cs.po: Update Czech translation from translation project.
60792         * po/sv.po: Update Swedish translation from translation project.
60794 2013-07-27  David S. Miller  <davem@davemloft.net>
60796         * po/eo.po: Update Esperanto translation from translation project.
60798         * po/vi.po: Update Vietnamese translation from translation project.
60800         * po/de.po: Update German translation from translation project.
60802 2013-07-26  David S. Miller  <davem@davemloft.net>
60804         * po/bg.po: Update Bulgarian translation from translation project.
60806         * po/nl.po: Update Dutch translation from translation project.
60807         * po/pl.po: Update Polish translation from translation project.
60808         * po/ru.po: Update Russian translation from translation project.
60810 2013-07-24  David S. Miller  <davem@davemloft.net>
60812         * po/libc.pot: Update.
60814 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60816         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
60817         variable page size.
60818         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
60819         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
60820         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
60822 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60824         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
60826 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60827             Andreas Schwab  <schwab@suse.de>
60828             Roland McGrath  <roland@hack.frob.com>
60829             Joseph Myers  <joseph@codesourcery.com>
60830             Carlos O'Donell  <carlos@redhat.com>
60832         [BZ #15755]
60833         * config.h.in: Define HAVE_PT_CHOWN.
60834         * config.make.in (build-pt-chown): New variable.
60835         * configure.in (--enable-pt_chown): New configure option.
60836         * configure: Regenerate.
60837         * login/Makefile: Include Makeconfig.  Build pt_chown only if
60838         build-pt-chown is enabled.
60839         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
60840         pt_chown to fix pty ownership.
60841         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
60842         CLOSE_ALL_FDS.
60843         * manual/install.texi (Configuring and compiling): Mention
60844         --enable-pt_chown. Add @findex for grantpt.
60845         * INSTALL: Regenerate.
60847 2013-07-20  David S. Miller  <davem@davemloft.net>
60849         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
60850         difference between 32-bit and 64-bit.
60852 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
60854         [BZ #15711]
60855         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
60856         Avoid system header dependency with -ffreestanding.
60857         ($(objpfx)bits/syscall%d): Likewise.
60859 2013-07-13  David S. Miller  <davem@davemloft.net>
60861         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
60862         underflows from atanl/atan2l due to bug 15319.
60863         (casinh_test_data): Likewise.
60865 2013-07-07  David S. Miller  <davem@davemloft.net>
60867         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
60869 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
60871         * sysdeps/i386/fpu/libm-test-ulps: Update.
60872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60874 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
60876         * configure.in (--enable-lock-elision): Fix message text.
60877         * INSTALL: Regenerate.
60878         * configure: Regenerate.
60880 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60882         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60884 2013-07-03  Andreas Jaeger  <aj@suse.de>
60886         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
60887         define.
60888         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
60889         (ptrace_peeksiginfo_args): Add.
60890         (__ptrace_peeksiginfo_flags): Add.
60891         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60892         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60893         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60895 2013-07-03  Allan McRae  <allan@archlinux.org>
60897         * sysdeps/i386/fpu/libm-test-ulps: Update.
60899 2013-07-02  David S. Miller  <davem@davemloft.net>
60901         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60903 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
60905         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60907 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
60909         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
60910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60912 2013-07-02  Andi Kleen <ak@linux.intel.com>
60914         * config.h.in (ENABLE_LOCK_ELISION): Add.
60915         * configure.in (--enable-lock-elision): Add option.
60916         * manual/install.texi: Document --enable lock elision.
60917         * configure: Regenerate
60918         * INSTALL: Regenerate.
60920 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
60922         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
60923         SSE4.2 strcasecmp for libc.a.
60924         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
60926 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
60928         [BZ #13304]
60929         * soft-fp/op-common.h (_FP_FMA): New macro.
60930         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
60931         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
60932         (_FP_MUL_MEAT_1_imm): ... here.
60933         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
60934         (_FP_MUL_MEAT_1_wide): ... here.
60935         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
60936         (_FP_MUL_MEAT_1_hard): ... here.
60937         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
60938         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
60939         (_FP_MUL_MEAT_2_wide): ... here.
60940         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
60941         (_FP_MUL_MEAT_2_wide_3mul): ... here.
60942         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
60943         (_FP_MUL_MEAT_2_gmp): ... here.
60944         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
60945         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
60946         (_FP_MUL_MEAT_4_wide): ... here.
60947         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
60948         (_FP_MUL_MEAT_4_gmp): ... here.
60949         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
60950         (_FP_WFRACBITS_DW_S): Likewise.
60951         (_FP_WFRACXBITS_DW_S): Likewise.
60952         (_FP_HIGHBIT_DW_S): Likewise.
60953         (FP_FMA_S): Likewise.
60954         (_FP_FRAC_HIGH_DW_S): Likewise.
60955         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
60956         (_FP_WFRACBITS_DW_D): Likewise.
60957         (_FP_WFRACXBITS_DW_D): Likewise.
60958         (_FP_HIGHBIT_DW_D): Likewise.
60959         (FP_FMA_D): Likewise.
60960         (_FP_FRAC_HIGH_DW_D): Likewise.
60961         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
60962         (_FP_WFRACBITS_DW_E): Likewise.
60963         (_FP_WFRACXBITS_DW_E): Likewise.
60964         (_FP_HIGHBIT_DW_E): Likewise.
60965         (FP_FMA_E): Likewise.
60966         (_FP_FRAC_HIGH_DW_E): Likewise.
60967         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
60968         (_FP_WFRACBITS_DW_Q): Likewise.
60969         (_FP_WFRACXBITS_DW_Q): Likewise.
60970         (_FP_HIGHBIT_DW_Q): Likewise.
60971         (FP_FMA_Q): Likewise.
60972         (_FP_FRAC_HIGH_DW_Q): Likewise.
60973         * soft-fp/fmasf4.c: New file.
60974         * soft-fp/fmadf4.c: Likewise.
60975         * soft-fp/fmatf4.c: Likewise.
60977 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60979         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
60980         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
60981         Silvermont.
60982         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
60983         macro.
60984         (index_Slow_SSE4_2): Likewise.
60985         (index_Prefer_PMINUB_for_stringop): Likewise.
60986         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
60987         bit_Slow_SSE4_2 is set.
60988         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
60989         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60991 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60993         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
60994         rtld_global._dl_hwcap2.
60995         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
60996         POWER8.
60997         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
60998         POWER8 feature descriptions defined in _dl_hwcap2.
60999         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
61000         string handling for POWER8 feature bits.
61001         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
61002         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
61003         _dl_powerpc_cap_flags.
61004         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
61005         * sysdeps/powerpc/rtld-global-offsets.sym
61006         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
61007         _dl_hwcap2 in the rtld_global_ro structure.
61009 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61011         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
61012         hardware capabilities in support of AT_HWCAP2.
61013         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
61014         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
61015         GLRO(dl_hwcap2).
61016         (_dl_show_auxv): Add support for calling _dl_procinfo to display
61017         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
61018         explicitly the unknown a_type display mechanism is used.
61019         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
61020         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
61021         struct member.
61022         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
61023         to macro prototype for AT_HWCAP2 support.
61024         * sysdeps/i386/dl-procinfo.h: Likewise.
61025         * sysdeps/s390/dl-procinfo.h: Likewise.
61026         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
61027         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
61028         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
61029         return -1 for unknown a_type display fallback.
61030         * sysdeps/sparc/dl-procinfo.h: Likewise.
61031         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
61032         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
61034 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
61036         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
61037         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
61039 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
61041         [BZ #12492]
61042         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
61043         mprotect making __stack_prot writable.
61045 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
61046             Joseph Myers  <joseph@codesourcery.com>
61048         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
61049         as being properly aligned.
61051 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
61053         * dlfcn/modstatic5.c: New file.
61054         * dlfcn/tststatic5.c: New file.
61055         * dlfcn/Makefile (tests): Add tststatic5.
61056         (tests-static): Likewise.
61057         (modules-names): Add modstatic5.
61058         (tststatic5-ENV): New variable.
61059         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
61061         [BZ #15022]
61062         * elf/dl-support.c (_dl_main_map): New variable.
61063         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
61064         (_dl_nns, _dl_load_adds): Set to 1.
61065         (_dl_initial_searchlist): Refer to _dl_main_map.
61066         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
61067         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
61068         call to _dl_get_origin.
61069         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
61070         around call_map.
61071         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
61072         * dlfcn/modstatic3.c: New file.
61073         * dlfcn/tststatic3.c: New file.
61074         * dlfcn/tststatic4.c: New file.
61075         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
61076         (tests-static): Likewise.
61077         (modules-names): Add modstatic3.
61078         (tststatic3-ENV, tststatic4-ENV): New variables.
61079         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
61080         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
61082 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
61084         * configure.in (CC): Require GCC version 4.4 or later.
61085         * configure: Regenerated.
61086         * manual/install.texi (Tools for Compilation): Update GCC version
61087         requirement.
61088         * INSTALL: Regenerated.
61090 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61092         [BZ #15674]
61093         * string/test-memcmp.c (check2): New.
61094         (main): Call check2.
61096         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
61098 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
61100         [BZ #15022]
61101         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
61102         over to...
61103         (dl_open_worker) [!SHARED]: ... here.
61105 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61107         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
61109 2013-06-25  Richard Henderson  <rth@redhat.com>
61111         * locale/programs/locarchive.c: Include <libc-internal.h>
61113 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
61115         * manual/texinfo.tex: Update to version 2013-06-21.17, with
61116         trailing whitespace removed.
61118 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
61120         [BZ #10283]
61121         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
61122         * locale/programs/locarchive.c: Include libc-mmap.h.
61123         (prepare_address_space): Take two new outputs (the mmap base and len).
61124         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
61125         values.
61126         (create_archive): Declare new mmap base and len values for
61127         prepare_address_space, and store the result in ah.
61128         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
61129         (enlarge_archive): If ah->mmap_base is not NULL, use that and
61130         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
61131         Declare new mmap base and len values for
61132         prepare_address_space, and store the result in new_ah.
61133         (open_archive): Declare new mmap base and len values for
61134         prepare_address_space, and store the result in ah.
61135         (close_archive): If ah->mmap_base is not NULL, use that and
61136         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
61137         * sysdeps/generic/libc-mmap.h: New file.
61139 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
61141         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
61142         (ALIGN_UP): Likewise.
61143         (PTR_ALIGN_DOWN): Likewise.
61144         (PTR_ALIGN_UP): Likewise.
61146 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61148         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
61149         entry mapped to PPC_PLATFORM_POWER8.
61150         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
61151         POWER8.
61152         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
61153         (_dl_string_platform): Add case for exporting platform position for
61154         POWER8.
61155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
61156         search path to sysdeps/powerpc/powerpc32/power8 directory.
61157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
61158         search path to sysdeps/powerpc/powerpc64/power8 directory.
61159         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
61160         power7 directories.
61161         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
61162         power7 directories.
61164 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
61166         * INSTALL: Regenerate.
61168         * nscd/connections.c (nscd_init): Fix comment.
61170 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
61172         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
61174         [BZ #15667]
61175         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
61176         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
61178 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
61180         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
61181         DL_DST_REQ_STATIC.
61182         (DL_DST_REQ_STATIC): Remove macro.
61184 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
61186         [BZ #7006]
61187         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
61188         with a shift of 0 bits.
61190 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
61192         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
61193         $(tststatic-ENV).
61195 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61197         [BZ #15655]
61198         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
61200 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61202         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
61203         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
61204         accepts -fno-tree-loop-distribute-patterns.
61205         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
61206         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
61207         recursive call.
61208         * string/memset.c (memset): Likewise.
61209         * string/test-memmove.c (simple_memmove): Disable loop transformation
61210         to library calls.
61211         * string/test-memset.c (simple_memset): Likewise.
61212         * benchtests/bench-memmove.c (simple_memmove): Likewise.
61213         * benchtests/bench-memset.c (simple_memset): Likewise.
61214         * configure: Regenerated.
61216 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
61218         * math/test-misc.c (main): Ignore fesetround failure when failures
61219         of subsequent rounding tests would be ignored.
61221         [BZ #15654]
61222         * math/fedisblxcpt.c (fedisableexcept): Return 0.
61223         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
61224         * math/fegetenv.c (__fegetenv): Return 0.
61225         * math/fegetexcept.c (fegetexcept): Return 0.
61226         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
61227         FE_TONEAREST.
61228         * math/feholdexcpt.c (feholdexcept): Return 0.
61229         * math/fesetenv.c (__fesetenv): Return 0.
61230         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
61231         argument FE_TONEAREST.
61232         * math/feupdateenv.c (__feupdateenv): Return 0.
61233         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
61235 2013-06-18  Roland McGrath  <roland@hack.frob.com>
61237         * elf/rtld-Rules (rtld-compile-command.S): New variable.
61238         (rtld-compile-command.s, rtld-compile-command.c): New variables.
61239         ($(objpfx)rtld-%.os rules): Use them.
61241 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61243         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
61244         fields.
61246 2013-06-17  Roland McGrath  <roland@hack.frob.com>
61248         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
61249         length of target pattern, then descending length of dependency pattern.
61250         * configure.in (AWK): Require gawk 3.1.2 or newer.
61251         * manual/install.texi (Tools for Compilation): Say that we do.
61252         * configure: Regenerated.
61254         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
61255         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
61256         * scripts/sysd-rules.awk: ... this new script.
61257         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
61258         than a glob-style pattern.
61260 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
61262         * math/test-misc.c (main): Do not treat incorrectly rounded
61263         conversions as failure unless ROUNDING_TESTS passes.
61265 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
61267         [BZ #15631]
61268         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
61269         restore exception state around main square root computation, then
61270         check for inexactness explicitly.
61272         * math/libm-test.inc (fma_test_data): Add another test.
61274 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61276         * manual/threads.texi (Non-POSIX Extensions): New document
61277         node.  Document pthread_getattr_default_np and
61278         pthread_setattr_default_np.
61280         * Versions.def (libpthread): Add GLIBC_2.18.
61281         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
61282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
61283         Likewise.
61284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
61285         Likewise.
61286         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
61287         Likewise.
61288         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
61289         Likewise.
61290         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
61291         Likewise.
61292         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
61293         Likewise.
61294         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
61295         Likewise.
61296         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
61297         Likewise.
61298         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
61299         Likewise.
61301 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61303         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61304         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
61306 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
61307             H.J. Lu  <hjl.tools@gmail.com>
61309         [BZ #15627]
61310         * sysdeps/x86_64/rtld-memset.c: Remove file.
61311         * sysdeps/x86_64/rtld-memset.S: New file.
61313 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
61315         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
61316         (test_in_one_mode): Take arguments for whether the rounding mode
61317         is supported for each floating-point type.
61318         (do_test): Pass new arguments to test_in_one_mode using
61319         ROUNDING_TESTS.
61321 2013-06-13  Roland McGrath  <roland@hack.frob.com>
61323         * posix/tst-waitid.c (do_test): Distinguish different instances of
61324         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
61325         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
61326         before entering the kernel for waitpid.
61328 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
61330         * NEWS: Fix note on clock function precision.  Text by Roland
61331         McGrath.
61333 2013-06-13  Roland McGrath  <roland@hack.frob.com>
61335         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
61336         it into place only when and if the sanity check passes.
61338 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
61340         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
61341         output for whether conversion result is exact.  Take argument
61342         indicating whether type is IBM long double.
61343         (round_for_all): Change need_exact field to ibm_ld.
61344         * stdlib/tst-strtod-round.c (struct exactness): New type.
61345         (struct test): Change bool ld_ok field to struct exactness exact.
61346         (TEST): Update all definitions for change to field.
61347         (tests): Regenerate array contents.
61348         (test_in_one_mode): Take pointer to new field instead of old ld_ok
61349         field value.  Check for IBM long double here.
61350         (do_test): Update calls to test_in_one_mode.
61352 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
61354         [BZ #12515]
61355         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
61356         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
61358 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61360         [BZ #15605]
61361         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
61362         generated by the compiler on loop optimizations.
61363         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
61364         general definitions.
61366 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
61368         * math/bug-nextafter.c: Include <math-tests.h>.
61369         (main): Only test for exceptions if EXCEPTION_TESTS is true for
61370         the relevant type.
61371         * math/bug-nexttoward.c: Include <math-tests.h>.
61372         (main): Only test for exceptions if EXCEPTION_TESTS is true for
61373         the relevant type.
61374         * math/test-misc.c: Include <math-tests.h>.
61375         (main): Only test for exceptions if EXCEPTION_TESTS is true for
61376         the relevant type.
61378 2013-06-12  Andreas Jaeger  <aj@suse.de>
61380         * po/ia.po: Update Interlingua translation from translation
61381         project.
61383 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
61385         * include/fenv.h: Include stdbool.h.
61386         (struct rm_ctx): New structure.
61387         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
61388         Define macro.
61389         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
61390         (SET_RESTORE_ROUNDF): Likewise.
61391         (SET_RESTORE_ROUNDL): Likewise.
61392         (SET_RESTORE_ROUND_NOEX): Likewise.
61393         (SET_RESTORE_ROUND_NOEXF): Likewise.
61394         (SET_RESTORE_ROUND_NOEXL): Likewise.
61395         (SET_RESTORE_ROUND_53BIT): Likewise.
61396         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
61397         (libc_feresetround_noexf_ctx): Likewise.
61398         (libc_feresetround_noexl_ctx): Likewise.
61399         (libc_feholdsetround_53bit_ctx): Likewise.
61400         (libc_feresetround_53bit_ctx): Likewise.
61401         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
61402         (libc_feholdexcept_setround_sse_ctx): New function.
61403         (libc_fesetenv_sse_ctx): Likewise.
61404         (libc_feupdateenv_sse_ctx): Likewise.
61405         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
61406         (libc_feholdexcept_setround_387_ctx): Likewise.
61407         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
61408         (libc_feholdsetround_387_prec_ctx): Likewise.
61409         (libc_feholdsetround_387_ctx): Likewise.
61410         (libc_feholdsetround_387_53bit_ctx): Likewise.
61411         (libc_feholdsetround_sse_ctx): Likewise.
61412         (libc_feresetround_sse_ctx): Likewise.
61413         (libc_feresetround_387_ctx): Likewise.
61414         (libc_feupdateenv_387_ctx): Likewise.
61415         (libc_feholdexcept_setroundf_ctx): Define macro.
61416         (libc_fesetenvf_ctx): Likewise.
61417         (libc_feupdateenvf_ctx): Likewise.
61418         (libc_feholdsetroundf_ctx): Likewise.
61419         (libc_feresetroundf_ctx): Likewise.
61420         (libc_feholdexcept_setround_ctx): Likewise.
61421         (libc_fesetenv_ctx): Likewise.
61422         (libc_feupdateenv_ctx): Likewise.
61423         (libc_feholdsetround_ctx): Likewise.
61424         (libc_feresetround_ctx): Likewise.
61425         (libc_feholdexcept_setroundl_ctx): Likewise.
61426         (libc_feupdateenvl_ctx): Likewise.
61427         (libc_feholdsetroundl_ctx): Likewise.
61428         (libc_feresetroundl_ctx): Likewise.
61429         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
61430         (libc_feresetround_53bit_ctx): Likewise.
61432 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61434         * locale/iso-639.def: Convert to UTF-8.
61436 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
61438         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
61439         (EXCEPTION_TESTS_double): Likewise.
61440         (EXCEPTION_TESTS_long_double): Likewise.
61441         (EXCEPTION_TESTS): Likewise.
61442         * math/libm-test.inc (test_exceptions): Only test exceptions if
61443         EXCEPTION_TESTS (FLOAT).
61445 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61447         * benchtests/Makefile (string-bench): Add strcpy_chk and
61448         stpcpy_chk.
61449         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
61450         * benchtests/bench-stpcpy_chk.c: New file.
61451         * benchtests/bench-strcpy_chk-ifunc.c: New file.
61452         * benchtests/bench-strcpy_chk.c: New file.
61453         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
61454         code.
61455         (do_test): Likewise.
61457 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61459         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
61460         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
61461         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
61462         with tabs where appropriate.
61463         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
61464         dl-procinfo.h.
61465         [PPC_PLATFORM_PPC440]: Likewise.
61466         [PPC_PLATFORM_PPC464]: Likewise.
61467         [PPC_PLATFORM_PPC476]: Likewise.
61468         (_dl_string_platform): Add support for detecting ppc405, ppc440,
61469         ppc464, and ppc476 platform strings merging from ports/
61470         dl-procinfo.h.
61472 2013-06-11  Andreas Schwab  <schwab@suse.de>
61474         [BZ #14991]
61475         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
61476         (from_ucs4_idx): Regenerate.
61477         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
61478         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
61479         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
61480         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
61481         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
61482         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
61483         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
61484         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
61485         from FROM_LOOP and TO_LOOP specific macros.
61486         (BODY): Handle combining characters.
61487         * iconvdata/BIG5HKSCS.irreversible: Update.
61488         * iconvdata/BIG5HKSCS.precomposed: New file.
61489         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
61490         characters.
61491         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
61493 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61495         * include/sys/time.h: Fix indentation and add copyright header.
61497         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
61498         (do_test): Likewise.
61499         * string/test-memchr.c (do_one_test): Likewise.
61500         (do_test): Likewise.
61501         * string/test-memcmp.c (do_one_test): Likewise.
61502         (do_test): Likewise.
61503         * string/test-memcpy.c (do_one_test): Likewise.
61504         (do_test): Likewise.
61505         * string/test-memmem.c (do_one_test): Likewise.
61506         (do_test): Likewise.
61507         (do_random_tests): Likewise.
61508         * string/test-memmove.c (do_one_test): Likewise.
61509         (do_test): Likewise.
61510         * string/test-memset.c (do_one_test): Likewise.
61511         (do_test): Likewise.
61512         * string/test-rawmemchr.c (do_one_test): Likewise.
61513         (do_test): Likewise.
61514         * string/test-strcasecmp.c (do_one_test): Likewise.
61515         (do_test): Likewise.
61516         * string/test-strcasestr.c (do_one_test): Likewise.
61517         (do_test): Likewise.
61518         * string/test-strcat.c (do_one_test): Likewise.
61519         (do_test): Likewise.
61520         * string/test-strchr.c (do_one_test): Likewise.
61521         (do_test): Likewise.
61522         * string/test-strcmp.c (do_one_test): Likewise.
61523         (do_test): Likewise.
61524         * string/test-strcpy.c (do_one_test): Likewise.
61525         (do_test): Likewise.
61526         * string/test-string.h: Likewise.
61527         (test_init): Likewise.
61528         * string/test-strlen.c (do_one_test): Likewise.
61529         (do_test): Likewise.
61530         * string/test-strncasecmp.c (do_one_test): Likewise.
61531         (do_test): Likewise.
61532         * string/test-strncat.c (do_one_test): Likewise.
61533         (do_test): Likewise.
61534         * string/test-strncmp.c (do_one_test): Likewise.
61535         (do_test_limit): Likewise.
61536         (do_test): Likewise.
61537         * string/test-strncpy.c (do_one_test): Likewise.
61538         (do_test): Likewise.
61539         * string/test-strnlen.c (do_one_test): Likewise.
61540         (do_test): Likewise.
61541         * string/test-strpbrk.c (do_one_test): Likewise.
61542         (do_test): Likewise.
61543         * string/test-strrchr.c (do_one_test): Likewise.
61544         (do_test): Likewise.
61545         * string/test-strspn.c (do_one_test): Likewise.
61546         (do_test): Likewise.
61547         * string/test-strstr.c (do_one_test): Likewise.
61548         (do_test): Likewise.
61550         * benchtests/Makefile (string-bench): Add string benchmarks.
61551         * benchtests/bench-bcopy-ifunc.c: New file.
61552         * benchtests/bench-bcopy.c: New file.
61553         * benchtests/bench-bzero-ifunc.c: New file.
61554         * benchtests/bench-bzero.c: New file.
61555         * benchtests/bench-memccpy-ifunc.c: New file.
61556         * benchtests/bench-memccpy.c: New file.
61557         * benchtests/bench-memchr-ifunc.c: New file.
61558         * benchtests/bench-memchr.c: New file.
61559         * benchtests/bench-memcmp-ifunc.c: New file.
61560         * benchtests/bench-memcmp.c: New file.
61561         * benchtests/bench-memmem-ifunc.c: New file.
61562         * benchtests/bench-memmem.c: New file.
61563         * benchtests/bench-memmove-ifunc.c: New file.
61564         * benchtests/bench-memmove.c: New file.
61565         * benchtests/bench-mempcpy-ifunc.c: New file.
61566         * benchtests/bench-mempcpy.c: New file.
61567         * benchtests/bench-memset-ifunc.c: New file.
61568         * benchtests/bench-memset.c: New file.
61569         * benchtests/bench-rawmemchr-ifunc.c: New file.
61570         * benchtests/bench-rawmemchr.c: New file.
61571         * benchtests/bench-stpcpy-ifunc.c: New file.
61572         * benchtests/bench-stpcpy.c: New file.
61573         * benchtests/bench-stpncpy-ifunc.c: New file.
61574         * benchtests/bench-stpncpy.c: New file.
61575         * benchtests/bench-strcasecmp-ifunc.c: New file.
61576         * benchtests/bench-strcasecmp.c: New file.
61577         * benchtests/bench-strcasestr-ifunc.c: New file.
61578         * benchtests/bench-strcasestr.c: New file.
61579         * benchtests/bench-strcat-ifunc.c: New file.
61580         * benchtests/bench-strcat.c: New file.
61581         * benchtests/bench-strchr-ifunc.c: New file.
61582         * benchtests/bench-strchr.c: New file.
61583         * benchtests/bench-strchrnul-ifunc.c: New file.
61584         * benchtests/bench-strchrnul.c: New file.
61585         * benchtests/bench-strcmp-ifunc.c: New file.
61586         * benchtests/bench-strcmp.c: New file.
61587         * benchtests/bench-strcpy-ifunc.c: New file.
61588         * benchtests/bench-strcpy.c: New file.
61589         * benchtests/bench-strcspn-ifunc.c: New file.
61590         * benchtests/bench-strcspn.c: New file.
61591         * benchtests/bench-strlen-ifunc.c: New file.
61592         * benchtests/bench-strlen.c: New file.
61593         * benchtests/bench-strncasecmp-ifunc.c: New file.
61594         * benchtests/bench-strncasecmp.c: New file.
61595         * benchtests/bench-strncat-ifunc.c: New file.
61596         * benchtests/bench-strncat.c: New file.
61597         * benchtests/bench-strncmp-ifunc.c: New file.
61598         * benchtests/bench-strncmp.c: New file.
61599         * benchtests/bench-strncpy-ifunc.c: New file.
61600         * benchtests/bench-strncpy.c: New file.
61601         * benchtests/bench-strnlen-ifunc.c: New file.
61602         * benchtests/bench-strnlen.c: New file.
61603         * benchtests/bench-strpbrk-ifunc.c: New file.
61604         * benchtests/bench-strpbrk.c: New file.
61605         * benchtests/bench-strrchr-ifunc.c: New file.
61606         * benchtests/bench-strrchr.c: New file.
61607         * benchtests/bench-strspn-ifunc.c: New file.
61608         * benchtests/bench-strspn.c: New file.
61609         * benchtests/bench-strstr-ifunc.c: New file.
61610         * benchtests/bench-strstr.c: New file.
61612         * benchtests/Makefile: Disable parallel execution of targets.
61613         (string-bench): Add memcpy.
61614         (benchset): New variable to store a list of benchmark sets.
61615         (bench-func): Renamed from bench.
61616         (bench-set): New target.
61617         (bench): Depend on bench-func and bench-set.
61618         * benchtests/README: Add section on benchmark sets.
61619         * benchtests/bench-memcpy-ifunc.c: New file.
61620         * benchtests/bench-memcpy.c: New file.
61621         * benchtests/bench-string.h: New file.
61623 2013-06-11  Andreas Schwab  <schwab@suse.de>
61625         [BZ #15577]
61626         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
61627         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
61628         values in the triple.
61629         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
61630         terminator in the group key.
61632 2013-06-11  Andreas Jaeger  <aj@suse.de>
61634         * po/zh_TW.po: Update Chinese (traditional) translation from
61635         translation project.
61637 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61639         * include/time.h (__clock_gettime): Add libc_hidden_proto.
61640         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
61641         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
61642         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61643         (clock_getcpuclockid): Likewise.
61644         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
61645         Add weak_alias and libc_hidden_def.
61646         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
61647         * rt/clock_gettime.c (clock_gettime): Rename to
61648         __clock_gettime.  Add weak_alias and libc_hidden_def.
61649         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
61650         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
61651         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
61652         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
61653         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
61654         Likewise.
61655         * rt/clock_settime.c (clock_settime): Rename to
61656         __clock_settime.  Add weak_alias and libc_hidden_def.
61657         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
61659 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
61661         * mach/err_boot.sub: Remove trailing whitespace.
61662         * mach/err_ipc.sub: Likewise.
61663         * mach/err_mach.sub: Likewise.
61665         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
61666         (ROUNDING_TESTS_double): Likewise.
61667         (ROUNDING_TESTS_long_double): Likewise.
61668         (ROUNDING_TESTS): Likewise.
61669         * math/libm-test.inc: Include <math-tests.h>.
61670         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
61671         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
61672         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
61673         (IF_ROUND_INIT_FE_UPWARD): Likewise.
61675 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61677         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
61678         of assigning.
61680 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
61682         * sysdeps/gnu/errlist.awk: Do not generate space at end of
61683         otherwise empty TRANS lines.
61684         * sysdeps/gnu/errlist.c: Regenerated.
61686         * catgets/gencat.c (error_print): Use (void) in function
61687         definition.
61688         * crypt/crypt_util.c (__init_des): Likewise.
61689         * crypt/speeds.c (Stop): Likewise.
61690         (main): Likewise.
61691         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
61692         * inet/ruserpass.c (token): Likewise.
61693         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
61694         * intl/localealias.c (extend_alias_table): Likewise.
61695         * intl/plural-exp.c (init_germanic_plural): Likewise.
61696         * libio/fcloseall.c (__fcloseall): Likewise.
61697         * libio/genops.c (_IO_flush_all): Likewise.
61698         (_IO_flush_all_linebuffered): Likewise.
61699         (_IO_cleanup): Likewise.
61700         (_IO_iter_begin): Likewise.
61701         (_IO_iter_end): Likewise.
61702         (_IO_list_lock): Likewise.
61703         (_IO_list_unlock): Likewise.
61704         (_IO_list_resetlock): Likewise.
61705         * libio/getchar.c (getchar): Likewise.
61706         * libio/getchar_u.c (getchar_unlocked): Likewise.
61707         * libio/getwchar.c (getwchar): Likewise.
61708         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
61709         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
61710         * login/getpt.c (__getpt): Likewise.
61711         * login/tst-utmp.c (main): Likewise.
61712         * malloc/hooks.c (__malloc_check_init): Likewise.
61713         * malloc/malloc.c (__malloc_stats): Likewise.
61714         * malloc/mtrace.c (tr_break): Likewise.
61715         (mtrace): Likewise.
61716         (muntrace): Likewise.
61717         * misc/fstab.c (endfsent): Likewise.
61718         * misc/getclktck.c (__getclktck): Likewise.
61719         * misc/getdtsz.c (__getdtablesize): Likewise.
61720         * misc/gethostid.c (gethostid): Likewise.
61721         * misc/getpagesize.c (__getpagesize): Likewise.
61722         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
61723         (__get_nprocs): Likewise.
61724         (__get_phys_pages): Likewise.
61725         (__get_avphys_pages): Likewise.
61726         * misc/getttyent.c (getttyent): Likewise.
61727         (setttyent): Likewise.
61728         (endttyent): Likewise.
61729         * misc/getusershell.c (getusershell): Likewise.
61730         (endusershell): Likewise.
61731         (setusershell): Likewise.
61732         (initshells): Likewise.
61733         * misc/hsearch.c (__hdestroy): Likewise.
61734         * misc/sync.c (sync): Likewise.
61735         * misc/syslog.c (closelog_internal): Likewise.
61736         (closelog): Likewise.
61737         * misc/ttyslot.c (ttyslot): Likewise.
61738         * misc/vhangup.c (vhangup): Likewise.
61739         * posix/fork.c (__fork): Likewise.
61740         * posix/getegid.c (__getegid): Likewise.
61741         * posix/geteuid.c (__geteuid): Likewise.
61742         * posix/getgid.c (__getgid): Likewise.
61743         * posix/getpid.c (__getpid): Likewise.
61744         * posix/getppid.c (__getppid): Likewise.
61745         * posix/getuid.c (__getuid): Likewise.
61746         * posix/pause.c (pause): Likewise.
61747         * posix/setpgrp.c (setpgrp): Likewise.
61748         * posix/setsid.c (__setsid): Likewise.
61749         * posix/test-vfork.c (noop): Likewise.
61750         * resolv/gethnamaddr.c (_endhtent): Likewise.
61751         (_gethtent): Likewise.
61752         (ht_endhostent): Likewise.
61753         (gethostent): Likewise.
61754         (dns_service): Likewise.
61755         * stdlib/drand48.c (drand48): Likewise.
61756         * stdlib/lrand48.c (lrand48): Likewise.
61757         * stdlib/mrand48.c (mrand48): Likewise.
61758         * stdlib/rand.c (rand): Likewise.
61759         * stdlib/random.c (__random): Likewise.
61760         * stdlib/setenv.c (clearenv): Likewise.
61761         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
61762         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
61763         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
61764         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
61765         (__get_nprocs): Likewise.
61766         (__get_phys_pages): Likewise.
61767         (__get_avphys_pages): Likewise.
61768         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
61769         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
61770         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
61771         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
61772         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
61773         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
61774         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
61775         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
61776         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
61777         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
61778         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
61779         * sysdeps/mach/hurd/sync.c (sync): Likewise.
61780         * sysdeps/posix/clock.c (clock): Likewise.
61781         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
61782         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
61783         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
61784         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
61785         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
61786         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
61787         (__get_nprocs_conf): Likewise.
61788         (__get_phys_pages): Likewise.
61789         (__get_avphys_pages): Likewise.
61790         * time/clock.c (clock): Likewise.
61791         * time/tzset.c (__tzname_max): Likewise.
61793 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
61795         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
61796         (__bswap_32): Do not use "register".
61797         * crypt/crypt.c (_ufc_doit_r): Likewise.
61798         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
61799         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
61800         * gmon/gmon.c (__monstartup): Likewise.
61801         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
61802         * hurd/hurdmalloc.c (more_memory): Likewise.
61803         (malloc): Likewise.
61804         (free): Likewise.
61805         (realloc): Likewise.
61806         (malloc_fork_prepare): Likewise.
61807         (malloc_fork_parent): Likewise.
61808         (malloc_fork_child): Likewise.
61809         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
61810         (_svcauth_des): Likewise.
61811         * inet/inet_lnaof.c (inet_lnaof): Likewise.
61812         * inet/inet_net.c (inet_network): Likewise.
61813         * inet/inet_netof.c (inet_netof): Likewise.
61814         * inet/rcmd.c (__validuser2_sa): Likewise.
61815         * io/fts.c (fts_open): Likewise.
61816         (fts_load): Likewise.
61817         (fts_close): Likewise.
61818         (fts_read): Likewise.
61819         (fts_children): Likewise.
61820         (fts_build): Likewise.
61821         (fts_stat): Likewise.
61822         (fts_sort): Likewise.
61823         (fts_alloc): Likewise.
61824         (fts_lfree): Likewise.
61825         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
61826         (_IO_file_xsgetn): Likewise.
61827         (_IO_file_xsgetn_mmap): Likewise.
61828         * libio/iofopncook.c (_IO_cookie_read): Likewise.
61829         (_IO_cookie_write): Likewise.
61830         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
61831         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
61832         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
61833         * malloc/obstack.c (_obstack_begin): Likewise.
61834         (_obstack_begin_1): Likewise.
61835         (_obstack_newchunk): Likewise.
61836         (_obstack_allocated_p): Likewise.
61837         (obstack_free): Likewise.
61838         (_obstack_memory_used): Likewise.
61839         * misc/getttyent.c (getttynam): Likewise.
61840         (getttyent): Likewise.
61841         (skip): Likewise.
61842         (value): Likewise.
61843         * misc/getusershell.c (initshells): Likewise.
61844         * misc/syslog.c (__vsyslog_chk): Likewise.
61845         * misc/ttyslot.c (ttyslot): Likewise.
61846         * nis/nis_hash.c (__nis_hash): Likewise.
61847         * posix/fnmatch_loop.c (FCT): Likewise.
61848         * posix/getconf.c (print_all): Likewise.
61849         (main): Likewise.
61850         * posix/getopt.c (exchange): Likewise.
61851         * posix/glob.c (globfree): Likewise.
61852         (prefix_array): Likewise.
61853         (__glob_pattern_type): Likewise.
61854         * resolv/arpa/nameser.h (NS_GET16): Likewise.
61855         (NS_GET32): Likewise.
61856         (NS_PUT16): Likewise.
61857         (NS_PUT32): Likewise.
61858         * resolv/gethnamaddr.c (getanswer): Likewise.
61859         (gethostbyname2): Likewise.
61860         (gethostbyaddr): Likewise.
61861         (_gethtent): Likewise.
61862         (_gethtbyname2): Likewise.
61863         (_gethtbyaddr): Likewise.
61864         * resolv/ns_print.c (dst_s_get_int16): Likewise.
61865         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
61866         * resolv/res_init.c (__res_vinit): Likewise.
61867         (net_mask): Likewise.
61868         * resolv/res_mkquery.c (outchar): Likewise.
61869         (PRINT): Likewise.
61870         * stdio-common/printf_fp.c (outchar): Likewise.
61871         (PRINT): Likewise.
61872         * stdio-common/printf_fphex.c (outchar): Likewise.
61873         (PRINT): Likewise.
61874         * stdio-common/printf_size.c (outchar): Likewise.
61875         (PRINT): Likewise.
61876         * stdio-common/test_rdwr.c (main): Likewise.
61877         * stdio-common/tfformat.c (matches): Likewise.
61878         * stdio-common/vfprintf.c (outchar): Likewise.
61879         (printf_unknown): Likewise.
61880         (buffered_vfprintf): Likewise.
61881         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
61882         * stdio-common/xbug.c (AppendToBuffer): Likewise.
61883         (ReadFile): Likewise.
61884         * stdlib/qsort.c (SWAP): Likewise.
61885         (_quicksort): Likewise.
61886         * stdlib/setenv.c (__add_to_environ): Likewise.
61887         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
61888         * stdlib/strtol_l.c (__strtol_l): Likewise.
61889         * stdlib/tst-strtod.c (main): Likewise.
61890         * stdlib/tst-strtol.c (main): Likewise.
61891         * stdlib/tst-strtoll.c (main): Likewise.
61892         * string/bits/string2.h (__strcmp_cc): Likewise.
61893         (__strcmp_cg): Likewise.
61894         (__strcspn_c1): Likewise.
61895         (__strcspn_c2): Likewise.
61896         (__strcspn_c3): Likewise.
61897         (__strspn_c1): Likewise.
61898         (__strspn_c2): Likewise.
61899         (__strspn_c3): Likewise.
61900         (__strsep_1c): Likewise.
61901         (__strsep_2c): Likewise.
61902         (__strsep_3c): Likewise.
61903         * string/memccpy.c (__memccpy): Likewise.
61904         * string/stpcpy.c (__stpcpy): Likewise.
61905         * string/strcmp.c (strcmp): Likewise.
61906         * string/strrchr.c (strrchr): Likewise.
61907         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
61908         Likewise.
61909         * sysdeps/mach/hurd/getcwd.c
61910         (_hurd_canonicalize_directory_name_internal): Likewise.
61911         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
61912         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
61913         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
61914         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
61915         Likewise, in both definitions.
61916         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
61917         definitions.
61918         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
61919         64] (__bswap_64): Likewise.
61920         * time/test_time.c (main): Likewise.
61921         * time/tzfile.c (__tzfile_read): Likewise.
61922         (__tzfile_compute): Likewise.
61923         * time/tzset.c (__tzset_parse_tz): Likewise.
61924         (tzset_internal): Likewise.
61925         (compute_change): Likewise.
61926         * wcsmbs/wcscat.c (__wcscat): Likewise.
61927         * wcsmbs/wcschr.c (wcschr): Likewise.
61928         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
61929         * wcsmbs/wcscspn.c (wcscspn): Likewise.
61930         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
61931         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
61932         * wcsmbs/wcsspn.c (wcsspn): Likewise.
61933         * wcsmbs/wcsstr.c (wcsstr): Likewise.
61934         * wcsmbs/wmemchr.c (wmemchr): Likewise.
61935         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
61936         * wcsmbs/wmemset.c (wmemset): Likewise.
61938 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
61940         * scripts/config.guess: Update to version 2013-05-16.
61941         * scripts/config.sub: Update to version 2013-04-24.
61942         * scripts/install-sh: Update to version 2011-11-20.07.
61943         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
61944         * scripts/move-if-change: Update to version 2012-01-06 07:23.
61946 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
61948         * debug/fgetws_u_chk.c: Fix leading whitespaces.
61949         * elf/sln.c: Likewise.
61950         * hurd/hurd/ioctl.h: Likewise.
61951         * hurd/hurdmalloc.c: Likewise.
61952         * hurd/xattr.c: Likewise.
61953         * include/shlib-compat.h: Likewise.
61954         * inet/ruserpass.c: Likewise.
61955         * libio/iofgets_u.c: Likewise.
61956         * libio/iofgetws_u.c: Likewise.
61957         * locale/programs/ld-identification.c: Likewise.
61958         * locale/programs/ld-time.c: Likewise.
61959         * mach/msg-destroy.c: Likewise.
61960         * nss/nss_files/files-netgrp.c: Likewise.
61961         * resolv/res_data.c: Likewise.
61962         * soft-fp/op-1.h: Likewise.
61963         * soft-fp/op-2.h: Likewise.
61964         * soft-fp/op-4.h: Likewise.
61965         * soft-fp/op-common.h: Likewise.
61966         * stdio-common/printf_fphex.c: Likewise.
61967         * stdlib/strtod_l.c: Likewise.
61968         * sunrpc/rpc/clnt.h: Likewise.
61969         * sysdeps/generic/framestate.c: Likewise.
61970         * sysdeps/i386/bsd-_setjmp.S: Likewise.
61971         * sysdeps/i386/bsd-setjmp.S: Likewise.
61972         * sysdeps/i386/__longjmp.S: Likewise.
61973         * sysdeps/i386/setjmp.S: Likewise.
61974         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61975         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
61976         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
61977         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
61978         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
61979         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
61980         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
61981         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
61982         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
61983         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
61984         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
61985         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
61986         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
61987         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
61988         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
61989         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
61990         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
61991         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
61992         * sysdeps/ieee754/support.c: Likewise.
61993         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
61994         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
61995         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
61996         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
61997         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
61998         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
61999         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
62000         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
62001         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
62002         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
62003         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
62004         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
62005         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
62006         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
62007         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
62008         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
62009         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
62010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
62012 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
62014         * posix/transbug.c: Remove executable mode.
62016 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
62018         * crypt/speeds.c: Remove trailing whitespace.
62019         * dlfcn/default.c: Likewise.
62020         * elf/ifuncdep2.c: Likewise.
62021         * elf/ifuncmain1.c: Likewise.
62022         * elf/ifuncmain1vis.c: Likewise.
62023         * elf/testobj.h: Likewise.
62024         * elf/tst-stackguard1.c: Likewise.
62025         * gmon/sys/gmon.h: Likewise.
62026         * hurd/hurdmsg.c: Likewise.
62027         * hurd/new-fd.c: Likewise.
62028         * hurd/ports-get.c: Likewise.
62029         * iconvdata/ibm1008_420.c: Likewise.
62030         * inet/tst-getni1.c: Likewise.
62031         * inet/tst-getni2.c: Likewise.
62032         * libio/ioungetc.c: Likewise.
62033         * libio/wfiledoalloc.c: Likewise.
62034         * manual/libm-err-tab.pl: Likewise.
62035         * math/w_dremf.c: Likewise.
62036         * misc/ftruncate.c: Likewise.
62037         * posix/bug-glob2.c: Likewise.
62038         * posix/tst-pcre.c: Likewise.
62039         * posix/wait4.c: Likewise.
62040         * resolv/README: Likewise.
62041         * resolv/res_debug.h: Likewise.
62042         * resolv/tst-inet_ntop.c: Likewise.
62043         * setjmp/bug269-setjmp.c: Likewise.
62044         * soft-fp/extended.h: Likewise.
62045         * soft-fp/op-1.h: Likewise.
62046         * soft-fp/op-2.h: Likewise.
62047         * soft-fp/op-4.h: Likewise.
62048         * soft-fp/op-8.h: Likewise.
62049         * soft-fp/testit.c: Likewise.
62050         * stdio-common/bug16.c: Likewise.
62051         * stdlib/random.c: Likewise.
62052         * sunrpc/rpcsvc/rquota.x: Likewise.
62053         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
62054         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
62055         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
62056         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
62057         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
62058         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
62059         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
62060         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
62061         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
62062         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
62063         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
62064         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
62065         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
62066         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
62067         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
62068         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
62069         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
62070         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
62071         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
62072         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
62073         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
62074         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
62075         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
62076         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
62077         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
62078         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
62079         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
62080         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
62081         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
62082         * sysdeps/ieee754/s_lib_version.c: Likewise.
62083         * sysdeps/mach/hurd/check_fds.c: Likewise.
62084         * sysdeps/mach/hurd/getsockname.c: Likewise.
62085         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
62086         * sysdeps/mach/hurd/recvfrom.c: Likewise.
62087         * sysdeps/powerpc/bits/link.h: Likewise.
62088         * sysdeps/powerpc/dl-procinfo.c: Likewise.
62089         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
62090         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
62091         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
62092         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
62093         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
62094         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
62095         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
62096         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
62097         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
62098         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
62099         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
62100         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
62101         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
62102         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
62103         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
62104         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
62105         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
62106         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
62107         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
62108         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
62109         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
62110         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62111         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
62112         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
62113         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
62114         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
62115         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
62116         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
62117         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
62118         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
62119         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
62120         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62121         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
62122         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
62123         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
62124         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
62125         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
62126         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
62127         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
62128         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
62129         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
62130         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
62131         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
62132         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
62133         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
62134         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
62135         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
62136         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
62137         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
62138         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
62139         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
62140         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62141         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62142         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
62143         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
62144         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
62145         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62146         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
62147         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
62148         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
62149         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
62150         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
62151         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62152         * sysdeps/powerpc/sysdep.h: Likewise.
62153         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62154         * sysdeps/s390/s390-64/sub_n.S: Likewise.
62155         * sysdeps/sh/dl-trampoline.S: Likewise.
62156         * sysdeps/sh/memset.S: Likewise.
62157         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
62158         * sysdeps/sh/strlen.S: Likewise.
62159         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
62160         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
62161         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
62162         * sysdeps/sparc/sparc32/rem.S: Likewise.
62163         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
62164         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
62165         * sysdeps/sparc/sparc32/strchr.S: Likewise.
62166         * sysdeps/sparc/sparc32/udiv.S: Likewise.
62167         * sysdeps/sparc/sparc32/urem.S: Likewise.
62168         * sysdeps/sparc/sparc64/add_n.S: Likewise.
62169         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
62170         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
62171         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
62172         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
62173         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
62174         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
62175         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
62176         * sysdeps/unix/bsd/times.c: Likewise.
62177         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
62178         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
62179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
62180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
62181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
62182         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
62183         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
62184         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
62185         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
62186         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
62187         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
62188         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
62189         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
62190         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
62191         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
62192         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
62193         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
62194         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
62195         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
62196         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
62197         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
62198         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
62199         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
62200         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
62201         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
62202         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
62203         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
62204         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
62205         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
62206         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
62207         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
62208         * sysdeps/x86_64/strcspn.S: Likewise.
62210 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62212         * locale/C-translit.h: Revert #include <stdint.h> because this is a
62213         generated file.  Regenerate properly from gen-translit.pl.
62214         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
62215         locale/C-translit.h.
62217 2013-06-05  Andreas Schwab  <schwab@suse.de>
62219         [BZ #15100]
62220         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
62221         week as 6 instead of -1.
62222         * time/tst-strptime.c (day_tests): Add test case.
62224 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
62226         * sysdeps/generic/math_private.h
62227         (libc_feholdexcept_setround_53bit): Replace with
62228         libc_feholdsetround_53bit.
62229         (libc_feupdateenv_53bit): Replace with
62230         libc_feresetround_53bit.
62231         (SET_RESTORE_ROUND_53BIT): Adjust.
62233 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
62235         * string/test-strchrnul.c: Add copyright header.
62237         * posix/tst-getaddrinfo4.c: Increase test timeout.
62239 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
62241         [BZ #15536]
62242         * math/libm-test.inc (MAX_EXP): Remove
62243         (MIN_EXP): Define.
62244         (ulp): Use MIN_EXP - MANT_DIG.
62245         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
62247 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
62249         * po/be.po: Revert last change.
62250         * po/zh_CN.po: Likewise.
62251         * po/header.pot: Likewise.
62253 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
62255         * Makefile ($(common-objpfx)linkobj/libc.so): Define
62256         link-libc-deps to empty as target-specific variable.
62257         * Makerules (link-libc-args): New variable.
62258         (libc-for-link): Likewise.
62259         (link-libc-deps): Likewise.
62260         (lib%.so): Depend on $(link-libc-deps).  Link with
62261         $(link-libc-args).
62262         (build-module): Link with $(link-libc-args).
62263         (build-module-asneeded): Likewise.
62264         (build-module-helper-objlist): Filter out $(link-libc-deps) from
62265         list of objects.
62266         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
62267         target-specific variable.
62268         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
62269         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
62270         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
62271         libc.
62272         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
62273         libc and ld.so.
62274         ($(objpfx)libpcprofile.so): Likewise.
62275         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
62276         libc_nonshared.a.
62277         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
62278         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
62279         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
62280         $(link-libc-deps).
62281         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
62282         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
62283         * login/Makefile ($(objpfx)libutil.so): Likewise.
62284         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
62285         * math/Makefile ($(objpfx)libm.so): Likewise.
62286         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
62287         $(objpfx)libnsl.so): Define libc-for-link as target-specific
62288         variable instead of depending directly on libc.
62289         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
62290         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
62291         $(link-libc-deps).
62292         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
62293         libc.
62294         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
62295         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
62296         ($(objpfx)libanl.so): Likewise.
62297         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
62298         ld.so.
62299         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
62300         $(link-libc-deps).
62301         * sysdeps/i386/fpu/Makefile: Remove file.
62302         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
62303         ($(objpfx)libm.so): Remove dependency on ld.so.
62305 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
62307         [BZ # 15553]
62308         * nis/yp_xdr.c (XDRMAXNAME): Define.
62309         (XDRMAXRECORD): Define.
62310         (xdr_domainname): Use XDRMAXNAME.
62311         (xdr_mapname): Likewise.
62312         (xdr_peername): Likewise.
62313         (xdr_keydat): Use XDRMAXRECORD.
62314         (xdr_valdat): Likewise.
62316 2013-05-30  Jeff Law  <law@redhat.com>
62318         [BZ #14256]
62319         * manual/errno.texi (ESTALE): Update to account for more than
62320         just NFS file systems.
62321         * sysdeps/gnu/errlist.c: Regenerated.
62323 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
62325         [BZ #15465]
62326         * elf/Makefile (tests): Add tst-null-argv.
62327         (modules-names):  Add tst-null-argv-lib.
62328         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
62329         (tst-null-argv-ENV): Set environment for tst-null-argv.
62330         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
62331         (RTLD_PROGNAME): New macro.
62332         * elf/tst-null-argv.c: New test case.
62333         * elf/tst-null-argv-lib.c: Library for test case.
62334         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
62335         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
62336         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
62337         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
62338         * elf/dl-init.c (call_init): Likewise.
62339         (_dl_init): Likewise.
62340         * elf/dl-load.c (print_search_path): Likewise.
62341         (_dl_map_object): Likewise.
62342         * elf/dl-lookup.c (do_lookup_x): Likewise.
62343         (add_dependency): Likewise.
62344         (_dl_lookup_symbol_x): Likewise.
62345         (_dl_debug_bindings): Likewise.
62346         * elf/dl-open.c (_dl_show_scope): Likewise.
62347         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
62348         * elf/dl-version.c (match_symbol): Likewise.
62349         (_dl_check_map_versions): Likewise.
62350         * elf/rtld.c (dl_main): Likewise.
62351         (print_unresolved): Use RTLD_PROGNAME.
62352         (print_missing_version): Likewise.
62353         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
62354         (elf_machine_rela): Likewise.
62355         * sysdeps/powerpc/powerpc32/dl-machine.c
62356         (__process_machine_rela): Likewise.
62357         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62358         Likewise.
62359         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
62360         Likewise.
62361         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
62362         Likewise.
62363         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
62364         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
62365         Likewise.
62366         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
62367         Likewise.
62368         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
62370 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
62372         * po/be.po: Add descriptive title.
62373         * po/zh_CN.po: Likewise.
62374         * po/header.pot: Likewise.
62376 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
62378         * locale/programs/locarchive.c (create_archive): Inlucde fname in
62379         error message.
62380         (enlarge_archive): Likewise.
62382 2013-05-28  Ben North  <ben@redfrontdoor.org>
62384         * manual/arith.texi (frexp): It is the magnitude of the return
62385         value which lies in [0.5, 1), not the return value itself.
62387 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62389         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62391 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
62393         * stdio-common/bug26.c (main): Correct fscanf template.
62395         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
62396         declare _dl_skip_args.
62398         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
62399         Don't declare.
62401         * manual/platform.texi: Add missing @end deftypefun.
62403 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
62405         [BZ #15529]
62406         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
62407         bit of mantissa of 2^16382.
62408         * math/libm-test.inc (hypot_test_data): Add more tests.
62410         * math/libm-test.inc: Add drem and pow10 to list of tested
62411         functions.
62412         (pow10_test): New function.
62413         (drem_test): Likewise.
62414         (drem_test_tonearest): Likewise.
62415         (drem_test_towardzero): Likewise.
62416         (drem_test_downward): Likewise.
62417         (drem_test_upward): Likewise.
62418         (main): Call the new functions.
62420         * math/libm-test.inc (finite_test_data): Remove.
62421         (finite_test): Run tests from isfinite_test_data.
62422         (gamma_test_data): Remove.
62423         (gamma_test): Run tests from lgamma_test_data.
62424         * sysdeps/i386/fpu/libm-test-ulps: Update.
62425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62427 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62429         * manual/platform.texi: Add PowerPC PPR function set documentation.
62430         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
62431         implementation.
62433 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
62435         * math/libm-test.inc (MAX_EXP): Define.
62436         (ULPDIFF): Define.
62437         (ulp): New function.
62438         (check_float_internal): Use ULPDIFF.
62439         (cpow_test): Disable failing test.
62440         (check_ulp): Test ulp() implementation.
62441         (main): Call check_ulp before starting tests.
62443 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
62445         * math/gen-libm-test.pl (generate_testfile): Do not handle
62446         START_DATA and END_DATA.
62447         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
62448         END_DATA.
62449         (acos_tonearest_test_data): Likewise.
62450         (acos_towardzero_test_data): Likewise.
62451         (acos_downward_test_data): Likewise.
62452         (acos_upward_test_data): Likewise.
62453         (acosh_test_data): Likewise.
62454         (asin_test_data): Likewise.
62455         (asin_tonearest_test_data): Likewise.
62456         (asin_towardzero_test_data): Likewise.
62457         (asin_downward_test_data): Likewise.
62458         (asin_upward_test_data): Likewise.
62459         (asinh_test_data): Likewise.
62460         (atan_test_data): Likewise.
62461         (atanh_test_data): Likewise.
62462         (atan2_test_data): Likewise.
62463         (cabs_test_data): Likewise.
62464         (cacos_test_data): Likewise.
62465         (cacosh_test_data): Likewise.
62466         (carg_test_data): Likewise.
62467         (casin_test_data): Likewise.
62468         (casinh_test_data): Likewise.
62469         (catan_test_data): Likewise.
62470         (catanh_test_data): Likewise.
62471         (cbrt_test_data): Likewise.
62472         (ccos_test_data): Likewise.
62473         (ccosh_test_data): Likewise.
62474         (ceil_test_data): Likewise.
62475         (cexp_test_data): Likewise.
62476         (cimag_test_data): Likewise.
62477         (clog_test_data): Likewise.
62478         (clog10_test_data): Likewise.
62479         (conj_test_data): Likewise.
62480         (copysign_test_data): Likewise.
62481         (cos_test_data): Likewise.
62482         (cos_tonearest_test_data): Likewise.
62483         (cos_towardzero_test_data): Likewise.
62484         (cos_downward_test_data): Likewise.
62485         (cos_upward_test_data): Likewise.
62486         (cosh_test_data): Likewise.
62487         (cosh_tonearest_test_data): Likewise.
62488         (cosh_towardzero_test_data): Likewise.
62489         (cosh_downward_test_data): Likewise.
62490         (cosh_upward_test_data): Likewise.
62491         (cpow_test_data): Likewise.
62492         (cproj_test_data): Likewise.
62493         (creal_test_data): Likewise.
62494         (csin_test_data): Likewise.
62495         (csinh_test_data): Likewise.
62496         (csqrt_test_data): Likewise.
62497         (ctan_test_data): Likewise.
62498         (ctan_tonearest_test_data): Likewise.
62499         (ctan_towardzero_test_data): Likewise.
62500         (ctan_downward_test_data): Likewise.
62501         (ctan_upward_test_data): Likewise.
62502         (ctanh_test_data): Likewise.
62503         (ctanh_tonearest_test_data): Likewise.
62504         (ctanh_towardzero_test_data): Likewise.
62505         (ctanh_downward_test_data): Likewise.
62506         (ctanh_upward_test_data): Likewise.
62507         (erf_test_data): Likewise.
62508         (erfc_test_data): Likewise.
62509         (exp_test_data): Likewise.
62510         (exp_tonearest_test_data): Likewise.
62511         (exp_towardzero_test_data): Likewise.
62512         (exp_downward_test_data): Likewise.
62513         (exp_upward_test_data): Likewise.
62514         (exp10_test_data): Likewise.
62515         (exp2_test_data): Likewise.
62516         (expm1_test_data): Likewise.
62517         (fabs_test_data): Likewise.
62518         (fdim_test_data): Likewise.
62519         (finite_test_data): Likewise.
62520         (floor_test_data): Likewise.
62521         (fma_test_data): Likewise.
62522         (fma_towardzero_test_data): Likewise.
62523         (fma_downward_test_data): Likewise.
62524         (fma_upward_test_data): Likewise.
62525         (fmax_test_data): Likewise.
62526         (fmin_test_data): Likewise.
62527         (fmod_test_data): Likewise.
62528         (fpclassify_test_data): Likewise.
62529         (frexp_test_data): Likewise.
62530         (gamma_test_data): Likewise.
62531         (hypot_test_data): Likewise.
62532         (ilogb_test_data): Likewise.
62533         (isfinite_test_data): Likewise.
62534         (isgreater_test_data): Likewise.
62535         (isgreaterequal_test_data): Likewise.
62536         (isinf_test_data): Likewise.
62537         (isless_test_data): Likewise.
62538         (islessequal_test_data): Likewise.
62539         (islessgreater_test_data): Likewise.
62540         (isnan_test_data): Likewise.
62541         (isnormal_test_data): Likewise.
62542         (issignaling_test_data): Likewise.
62543         (isunordered_test_data): Likewise.
62544         (j0_test_data): Likewise.
62545         (j1_test_data): Likewise.
62546         (jn_test_data): Likewise.
62547         (ldexp_test_data): Likewise.
62548         (lgamma_test_data): Likewise.
62549         (lrint_test_data): Likewise.
62550         (lrint_tonearest_test_data): Likewise.
62551         (lrint_towardzero_test_data): Likewise.
62552         (lrint_downward_test_data): Likewise.
62553         (lrint_upward_test_data): Likewise.
62554         (llrint_test_data): Likewise.
62555         (llrint_tonearest_test_data): Likewise.
62556         (llrint_towardzero_test_data): Likewise.
62557         (llrint_downward_test_data): Likewise.
62558         (llrint_upward_test_data): Likewise.
62559         (log_test_data): Likewise.
62560         (log10_test_data): Likewise.
62561         (log1p_test_data): Likewise.
62562         (log2_test_data): Likewise.
62563         (logb_test_data): Likewise.
62564         (logb_downward_test_data): Likewise.
62565         (lround_test_data): Likewise.
62566         (llround_test_data): Likewise.
62567         (modf_test_data): Likewise.
62568         (nearbyint_test_data): Likewise.
62569         (nextafter_test_data): Likewise.
62570         (nexttoward_test_data): Likewise.
62571         (pow_test_data): Likewise.
62572         (pow_tonearest_test_data): Likewise.
62573         (pow_towardzero_test_data): Likewise.
62574         (pow_downward_test_data): Likewise.
62575         (pow_upward_test_data): Likewise.
62576         (remainder_test_data): Likewise.
62577         (remainder_tonearest_test_data): Likewise.
62578         (remainder_towardzero_test_data): Likewise.
62579         (remainder_downward_test_data): Likewise.
62580         (remainder_upward_test_data): Likewise.
62581         (remquo_test_data): Likewise.
62582         (rint_test_data): Likewise.
62583         (rint_tonearest_test_data): Likewise.
62584         (rint_towardzero_test_data): Likewise.
62585         (rint_downward_test_data): Likewise.
62586         (rint_upward_test_data): Likewise.
62587         (round_test_data): Likewise.
62588         (scalb_test_data): Likewise.
62589         (scalbn_test_data): Likewise.
62590         (scalbln_test_data): Likewise.
62591         (signbit_test_data): Likewise.
62592         (sin_test_data): Likewise.
62593         (sin_tonearest_test_data): Likewise.
62594         (sin_towardzero_test_data): Likewise.
62595         (sin_downward_test_data): Likewise.
62596         (sin_upward_test_data): Likewise.
62597         (sincos_test_data): Likewise.
62598         (sinh_test_data): Likewise.
62599         (sinh_tonearest_test_data): Likewise.
62600         (sinh_towardzero_test_data): Likewise.
62601         (sinh_downward_test_data): Likewise.
62602         (sinh_upward_test_data): Likewise.
62603         (sqrt_test_data): Likewise.
62604         (tan_test_data): Likewise.
62605         (tan_tonearest_test_data): Likewise.
62606         (tan_towardzero_test_data): Likewise.
62607         (tan_downward_test_data): Likewise.
62608         (tan_upward_test_data): Likewise.
62609         (tanh_test_data): Likewise.
62610         (tgamma_test_data): Likewise.
62611         (trunc_test_data): Likewise.
62612         (y0_test_data): Likewise.
62613         (y1_test_data): Likewise.
62614         (yn_test_data): Likewise.
62615         (significand_test_data): Likewise.
62617         * math/gen-libm-test.pl (@functions): Remove variable.
62618         (generate_testfile): Don't handle START and END lines.
62619         * math/libm-test.inc (START): New macro.
62620         (END): Likewise.
62621         (END_COMPLEX): Likewise.
62622         (acos_test): Use END macro without arguments.
62623         (acos_test_tonearest): Likewise.
62624         (acos_test_towardzero): Likewise.
62625         (acos_test_downward): Likewise.
62626         (acos_test_upward): Likewise.
62627         (acosh_test): Likewise.
62628         (asin_test): Likewise.
62629         (asin_test_tonearest): Likewise.
62630         (asin_test_towardzero): Likewise.
62631         (asin_test_downward): Likewise.
62632         (asin_test_upward): Likewise.
62633         (asinh_test): Likewise.
62634         (atan_test): Likewise.
62635         (atanh_test): Likewise.
62636         (atan2_test): Likewise.
62637         (cabs_test): Likewise.
62638         (cacos_test): Use END_COMPLEX macro without arguments.
62639         (cacosh_test): Likewise.
62640         (carg_test): Use END macro without arguments.
62641         (casin_test): Use END_COMPLEX macro without arguments.
62642         (casinh_test): Likewise.
62643         (catan_test): Likewise.
62644         (catanh_test): Likewise.
62645         (cbrt_test): Use END macro without arguments.
62646         (ccos_test): Use END_COMPLEX macro without arguments.
62647         (ccosh_test): Likewise.
62648         (ceil_test): Use END macro without arguments.
62649         (cexp_test): Use END_COMPLEX macro without arguments.
62650         (cimag_test): Use END macro without arguments.
62651         (clog_test): Use END_COMPLEX macro without arguments.
62652         (clog10_test): Likewise.
62653         (conj_test): Likewise.
62654         (copysign_test): Use END macro without arguments.
62655         (cos_test): Likewise.
62656         (cos_test_tonearest): Likewise.
62657         (cos_test_towardzero): Likewise.
62658         (cos_test_downward): Likewise.
62659         (cos_test_upward): Likewise.
62660         (cosh_test): Likewise.
62661         (cosh_test_tonearest): Likewise.
62662         (cosh_test_towardzero): Likewise.
62663         (cosh_test_downward): Likewise.
62664         (cosh_test_upward): Likewise.
62665         (cpow_test): Use END_COMPLEX macro without arguments.
62666         (cproj_test): Likewise.
62667         (creal_test): Use END macro without arguments.
62668         (csin_test): Use END_COMPLEX macro without arguments.
62669         (csinh_test): Likewise.
62670         (csqrt_test): Likewise.
62671         (ctan_test): Likewise.
62672         (ctan_test_tonearest): Likewise.
62673         (ctan_test_towardzero): Likewise.
62674         (ctan_test_downward): Likewise.
62675         (ctan_test_upward): Likewise.
62676         (ctanh_test): Likewise.
62677         (ctanh_test_tonearest): Likewise.
62678         (ctanh_test_towardzero): Likewise.
62679         (ctanh_test_downward): Likewise.
62680         (ctanh_test_upward): Likewise.
62681         (erf_test): Use END macro without arguments.
62682         (erfc_test): Likewise.
62683         (exp_test): Likewise.
62684         (exp_test_tonearest): Likewise.
62685         (exp_test_towardzero): Likewise.
62686         (exp_test_downward): Likewise.
62687         (exp_test_upward): Likewise.
62688         (exp10_test): Likewise.
62689         (exp2_test): Likewise.
62690         (expm1_test): Likewise.
62691         (fabs_test): Likewise.
62692         (fdim_test): Likewise.
62693         (finite_test): Likewise.
62694         (floor_test): Likewise.
62695         (fma_test): Likewise.
62696         (fma_test_towardzero): Likewise.
62697         (fma_test_downward): Likewise.
62698         (fma_test_upward): Likewise.
62699         (fmax_test): Likewise.
62700         (fmin_test): Likewise.
62701         (fmod_test): Likewise.
62702         (fpclassify_test): Likewise.
62703         (frexp_test): Likewise.
62704         (gamma_test): Likewise.
62705         (hypot_test): Likewise.
62706         (ilogb_test): Likewise.
62707         (isfinite_test): Likewise.
62708         (isgreater_test): Likewise.
62709         (isgreaterequal_test): Likewise.
62710         (isinf_test): Likewise.
62711         (isless_test): Likewise.
62712         (islessequal_test): Likewise.
62713         (islessgreater_test): Likewise.
62714         (isnan_test): Likewise.
62715         (isnormal_test): Likewise.
62716         (issignaling_test): Likewise.
62717         (isunordered_test): Likewise.
62718         (j0_test): Likewise.
62719         (j1_test): Likewise.
62720         (jn_test): Likewise.
62721         (ldexp_test): Likewise.
62722         (lgamma_test): Likewise.
62723         (lrint_test): Likewise.
62724         (lrint_test_tonearest): Likewise.
62725         (lrint_test_towardzero): Likewise.
62726         (lrint_test_downward): Likewise.
62727         (lrint_test_upward): Likewise.
62728         (llrint_test): Likewise.
62729         (llrint_test_tonearest): Likewise.
62730         (llrint_test_towardzero): Likewise.
62731         (llrint_test_downward): Likewise.
62732         (llrint_test_upward): Likewise.
62733         (log_test): Likewise.
62734         (log10_test): Likewise.
62735         (log1p_test): Likewise.
62736         (log2_test): Likewise.
62737         (logb_test): Likewise.
62738         (logb_test_downward): Likewise.
62739         (lround_test): Likewise.
62740         (llround_test): Likewise.
62741         (modf_test): Likewise.
62742         (nearbyint_test): Likewise.
62743         (nextafter_test): Likewise.
62744         (nexttoward_test): Likewise.
62745         (pow_test): Likewise.
62746         (pow_test_tonearest): Likewise.
62747         (pow_test_towardzero): Likewise.
62748         (pow_test_downward): Likewise.
62749         (pow_test_upward): Likewise.
62750         (remainder_test): Likewise.
62751         (remainder_test_tonearest): Likewise.
62752         (remainder_test_towardzero): Likewise.
62753         (remainder_test_downward): Likewise.
62754         (remainder_test_upward): Likewise.
62755         (remquo_test): Likewise.
62756         (rint_test): Likewise.
62757         (rint_test_tonearest): Likewise.
62758         (rint_test_towardzero): Likewise.
62759         (rint_test_downward): Likewise.
62760         (rint_test_upward): Likewise.
62761         (round_test): Likewise.
62762         (scalb_test): Likewise.
62763         (scalbn_test): Likewise.
62764         (scalbln_test): Likewise.
62765         (signbit_test): Likewise.
62766         (sin_test): Likewise.
62767         (sin_test_tonearest): Likewise.
62768         (sin_test_towardzero): Likewise.
62769         (sin_test_downward): Likewise.
62770         (sin_test_upward): Likewise.
62771         (sincos_test): Likewise.
62772         (sinh_test): Likewise.
62773         (sinh_test_tonearest): Likewise.
62774         (sinh_test_towardzero): Likewise.
62775         (sinh_test_downward): Likewise.
62776         (sinh_test_upward): Likewise.
62777         (sqrt_test): Likewise.
62778         (tan_test): Likewise.
62779         (tan_test_tonearest): Likewise.
62780         (tan_test_towardzero): Likewise.
62781         (tan_test_downward): Likewise.
62782         (tan_test_upward): Likewise.
62783         (tanh_test): Likewise.
62784         (tgamma_test): Likewise.
62785         (trunc_test): Likewise.
62786         (y0_test): Likewise.
62787         (y1_test): Likewise.
62788         (yn_test): Likewise.
62789         (significand_test): Likewise.
62791 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
62793         [BZ #15381]
62794         * libio/genops.c (_IO_no_init): Initialize wide struct info.
62796 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
62798         [BZ #14894]
62799         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
62800         __ppc_mdoio and __ppc_mdoom.
62801         * manual/platform.texi: Document new functions __ppc_yield,
62802         __ppc_mdoio and __ppc_mdoom.
62804 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
62806         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
62807         (main): Mention "tls" pseudo-hwcap is legacy.
62808         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
62810 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
62812         * math/gen-libm-test.pl (parse_args): Output only string of
62813         arguments as text for test name, not full call or descriptions of
62814         tests for extra outputs.
62815         (generate_testfile): Do not pass function name to parse_args.
62816         Generate this_func variable from START.
62817         * math/libm-test.inc (struct test_f_f_data): Rename test_name
62818         field to arg_str.
62819         (struct test_ff_f_data): Likewise.
62820         (test_ff_f_data_nexttoward): Likewise.
62821         (struct test_fi_f_data): Likewise.
62822         (struct test_fl_f_data): Likewise.
62823         (struct test_if_f_data): Likewise.
62824         (struct test_fff_f_data): Likewise.
62825         (struct test_c_f_data): Likewise.
62826         (struct test_f_f1_data): Likewise.  Remove field extra_name.
62827         (struct test_fF_f1_data): Likewise.
62828         (struct test_ffI_f1_data): Likewise.
62829         (struct test_c_c_data): Rename test_name field to arg_str.
62830         (struct test_cc_c_data): Likewise.
62831         (struct test_f_i_data): Likewise.
62832         (struct test_ff_i_data): Likewise.
62833         (struct test_f_l_data): Likewise.
62834         (struct test_f_L_data): Likewise.
62835         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
62836         and extra2_name.
62837         (COMMON_TEST_SETUP): New macro.
62838         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
62839         (COMMON_TEST_CLEANUP): Likewise.
62840         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
62841         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
62842         macros.
62843         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
62844         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
62845         macros.
62846         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
62847         (RUN_TEST_fff_f): Take argument string.  Call new setup and
62848         cleanup macros.
62849         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
62850         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
62851         macros.
62852         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
62853         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
62854         macros.
62855         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
62856         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
62857         cleanup macros.
62858         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
62859         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
62860         cleanup macros.
62861         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
62862         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
62863         cleanup macros.
62864         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
62865         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
62866         macros.
62867         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
62868         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
62869         macros.
62870         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
62871         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
62872         macros.
62873         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
62874         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
62875         cleanup macros.
62876         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
62877         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
62878         cleanup macros.
62879         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
62880         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
62881         macros.
62882         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
62883         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
62884         cleanup macros.
62885         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
62886         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
62887         macros.
62888         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
62889         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
62890         macros.
62891         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
62892         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
62893         cleanup macros.
62894         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
62896 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
62898         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
62899         to _sifields.sigfault.
62900         (si_addr_lsb): Define new macro.
62901         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
62902         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
62903         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
62905 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
62907         [BZ #15441]
62908         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
62909         returns -1.
62910         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
62911         null return -1.
62912         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
62913         loading the domain.
62915 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
62917         * math/gen-libm-test.pl (parse_args): Do not include expected
62918         result in test name.
62919         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
62920         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62921         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
62922         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
62923         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
62924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62926 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
62928         * benchtests/Makefile: Sort function entries.
62930         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
62931         tanh, asinh, acosh, atanh.
62932         * benchtests/acos-inputs: New file.
62933         * benchtests/acosh-inputs: New file.
62934         * benchtests/asin-inputs: New file.
62935         * benchtests/asinh-inputs: New file.
62936         * benchtests/atanh-inputs: New file.
62937         * benchtests/cosh-inputs: New file.
62938         * benchtests/log-inputs: New file.
62939         * benchtests/sinh-inputs: New file.
62940         * benchtests/tanh-inputs: New file.
62942 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
62944         [BZ #15339]
62945         * posix/tst-getaddrinfo4.c: New test.
62946         * posix/Makefile (tests): Add it.
62948 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62950         [BZ #15339]
62951         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
62952         when no services were used.
62953         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
62954         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
62956 2013-05-21  Andreas Schwab  <schwab@suse.de>
62958         [BZ #15014]
62959         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
62960         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
62961         successful.
62962         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
62963         redundant variable declarations and reallocation of buffer when
62964         parsing as IPv6 address.  Always set NSS status when called from
62965         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
62966         buffer too small.  Correct computation of needed size.
62967         * nss/Makefile (tests): Add test-digits-dots.
62968         * nss/test-digits-dots.c: New test.
62970 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62972         * benchtests/Makefile: Remove instructions for adding
62973         benchmark tests.
62974         * benchtests/README: New file to explain how to execute and
62975         enhance the benchmark tests.
62977 2013-05-21  Andreas Schwab  <schwab@suse.de>
62979         [BZ #15493]
62980         * setjmp/Makefile (tests): Add tst-sigsetjmp.
62981         * setjmp/tst-sigsetjmp.c: New test.
62983 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
62985         * sysdeps/x86_64/memset.S (memset): New implementation.
62986         (__bzero): Likewise.
62987         (__memset_tail): New function.
62989 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
62991         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
62992         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
62993         __memcpy_sse2_unaligned ifunc selection.
62994         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
62995         Add memcpy-sse2-unaligned.S.
62996         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
62997         Add: __memcpy_sse2_unaligned.
62999 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
63001         [BZ #15490]
63002         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
63003         math_force_eval before restoring floating-point envrionment.
63004         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
63005         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
63006         Likewise.
63007         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
63008         <math_private.h>.
63009         (__nearbyintl): Use math_force_eval before restoring
63010         floating-point environment.
63011         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
63013         * math/gen-libm-test.pl (special_functions): Remove.
63014         (parse_args): Don't handle TEST_extra.  Handle functions with no
63015         return value.
63016         * math/libm-test.inc (struct test_sincos_data): Replace with
63017         struct test_fFF_11_data.
63018         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
63019         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
63020         (sincos_test_data): Change element type to struct
63021         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
63022         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
63023         RUN_TEST_LOOP_sincos.
63024         * math/README.libm-test: Don't mention special handling of
63025         individual functions.
63026         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
63027         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63028         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
63029         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
63030         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
63031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63033         * math/gen-libm-test.pl (get_variable): Remove function.
63034         (parse_args): Don't show pointer parameters to call in test
63035         names.  Use "extra output N" in test names for extra outputs
63036         rather than naming variables.
63038 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
63040         [BZ #15488]
63041         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
63042         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
63043         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
63044         double tests.
63045         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
63046         disable.
63047         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
63048         check_long_double.
63050         * math/gen-libm-test.pl (@tests): Remove variable.
63051         ($count): Likewise.
63052         (new_test): Remove function.
63053         (show_exceptions): New function.
63054         (special_functions): Use show_exceptions instead of new_test.
63055         (parse_args): Likewise.
63056         (generate_testfile): Pass only function name in generated call to
63057         print_max_error or print_complex_max_error.
63058         (get_ulps): Do not handle complex tests specially.
63059         (output_test): Rename to ...
63060         (get_all_ulps_for_test): ... this.  Return a string rather than
63061         printing to a file.  Require ulps to be present.
63062         (output_ulps): Generate arrays rather than #defines.
63063         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
63064         (struct ulp_data): New type.
63065         (BUILD_COMPLEX_ULP): Remove macro.
63066         (compare_ulp_data): New function.
63067         (find_ulps): Likewise.
63068         (find_test_ulps): Likewise.
63069         (find_function_ulps): Likewise.
63070         (find_complex_function_ulps): Likewise.
63071         (print_max_error): Determine allowed ulps using
63072         find_function_ulps.
63073         (print_complex_max_error): Determine allowed ulps using
63074         find_complex_function_ulps.
63075         (check_float_internal): Determine max ulps using find_test_ulps.
63076         (check_float): Do not take max_ulp parameter.  Update call to
63077         check_float_internal.
63078         (check_complex): Likewise.
63079         (check_int): Do not take max_ulp parameter.
63080         (check_long): Likewise.
63081         (check_bool): Likewise.
63082         (check_longlong): Likewise.
63083         (struct test_f_f_data): Remove max_ulp field.
63084         (struct test_ff_f_data): Likewise.
63085         (struct test_ff_f_data_nexttoward): Likewise.
63086         (struct test_fi_f_data): Likewise.
63087         (struct test_fl_f_data): Likewise.
63088         (struct test_if_f_data): Likewise.
63089         (struct test_fff_f_data): Likewise.
63090         (struct test_c_f_data): Likewise.
63091         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
63092         (struct test_fF_f1_data): Likewise.
63093         (struct test_ffI_f1_data): Likewise.
63094         (struct test_c_c_data): Remove max_ulp field.
63095         (struct test_cc_c_data): Likewise.
63096         (struct test_f_i_data): Likewise.
63097         (struct test_ff_i_data): Likewise.
63098         (struct test_f_l_data): Likewise.
63099         (struct test_f_L_data): Likewise.
63100         (struct test_sincos_data): Likewise.
63101         (RUN_TEST_f_f): Do not handle ulps.
63102         (RUN_TEST_LOOP_f_f): Likewise.
63103         (RUN_TEST_2_f): Likewise.
63104         (RUN_TEST_LOOP_2_f): Likewise.
63105         (RUN_TEST_fff_f): Likewise.
63106         (RUN_TEST_LOOP_fff_f): Likewise.
63107         (RUN_TEST_c_f): Likewise.
63108         (RUN_TEST_LOOP_c_f): Likewise.
63109         (RUN_TEST_f_f1): Likewise.
63110         (RUN_TEST_LOOP_f_f1): Likewise.
63111         (RUN_TEST_fF_f1): Likewise.
63112         (RUN_TEST_LOOP_fF_f1): Likewise.
63113         (RUN_TEST_fI_f1): Likewise.
63114         (RUN_TEST_LOOP_fI_f1): Likewise.
63115         (RUN_TEST_ffI_f1): Likewise.
63116         (RUN_TEST_LOOP_ffI_f1): Likewise.
63117         (RUN_TEST_c_c): Likewise.
63118         (RUN_TEST_LOOP_c_c): Likewise.
63119         (RUN_TEST_cc_c): Likewise.
63120         (RUN_TEST_LOOP_cc_c): Likewise.
63121         (RUN_TEST_f_i): Likewise.
63122         (RUN_TEST_LOOP_f_i): Likewise.
63123         (RUN_TEST_f_i_tg): Likewise.
63124         (RUN_TEST_LOOP_f_i_tg): Likewise.
63125         (RUN_TEST_ff_i_tg): Likewise.
63126         (RUN_TEST_LOOP_ff_i_tg): Likewise.
63127         (RUN_TEST_f_b): Likewise.
63128         (RUN_TEST_LOOP_f_b): Likewise.
63129         (RUN_TEST_f_b_tg): Likewise.
63130         (RUN_TEST_LOOP_f_b_tg): Likewise.
63131         (RUN_TEST_f_l): Likewise.
63132         (RUN_TEST_LOOP_f_l): Likewise.
63133         (RUN_TEST_f_L): Likewise.
63134         (RUN_TEST_LOOP_f_L): Likewise.
63135         (RUN_TEST_sincos): Likewise.
63136         (RUN_TEST_LOOP_sincos): Likewise.
63138 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
63140         [BZ #15480]
63141         [BZ #15485]
63142         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
63143         main case of finite arguments, set rounding mode to FE_TONEAREST
63144         and discard exceptions.
63145         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
63146         exceptions.
63147         (remainder_tonearest_test_data): New variable.
63148         (remainder_test_tonearest): New function.
63149         (remainder_towardzero_test_data): New variable.
63150         (remainder_test_towardzero): New function.
63151         (remainder_downward_test_data): New variable.
63152         (remainder_test_downward): New function.
63153         (remainder_upward_test_data): New variable.
63154         (remainder_test_upward): New function.
63155         (main): Call the new test functions.
63157         * math/libm-test.inc (struct test_f_f1_data): Remove field
63158         extra_init.
63159         (struct test_fF_f1_data): Likewise.
63160         (struct test_ffI_f1_data): Likewise.
63161         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
63162         based on value of EXTRA_EXPECTED.
63163         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
63164         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
63165         EXTRA_VAR based on value of EXTRA_EXPECTED.
63166         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
63167         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
63168         EXTRA_VAR based on value of EXTRA_EXPECTED.
63169         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
63170         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
63171         EXTRA_VAR based on value of EXTRA_EXPECTED.
63172         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
63173         * math/gen-libm-test.pl (parse_args): Don't output initializers
63174         for extra output values.
63176         * math/libm-test.inc (check_int): Expect result to be exactly
63177         equal to expected value and do not handle ulps.
63178         (check_long): Likewise.
63179         (check_longlong): Likewise.
63181         * math/libm-test.inc (ceil_test_data): Test for "inexact"
63182         exceptions.
63183         (cimag_test_data): Likewise.
63184         (conj_test_data): Likewise.
63185         (copysign_test_data): Likewise.
63186         (cproj_test_data): Likewise.
63187         (creal_test_data): Likewise.
63188         (fabs_test_data): Likewise.
63189         (fdim_test_data): Likewise.
63190         (finite_test_data): Likewise.
63191         (floor_test_data): Likewise.
63192         (fmax_test_data): Likewise.
63193         (fmin_test_data): Likewise.
63194         (fmod_test_data): Likewise.
63195         (fpclassify_test_data): Likewise.
63196         (frexp_test_data): Likewise.
63197         (ilogb_test_data): Likewise.
63198         (isfinite_test_data): Likewise.
63199         (isgreater_test_data): Likewise.
63200         (isgreaterequal_test_data): Likewise.
63201         (isinf_test_data): Likewise.
63202         (isless_test_data): Likewise.
63203         (islessequal_test_data): Likewise.
63204         (islessgreater_test_data): Likewise.
63205         (isnan_test_data): Likewise.
63206         (isnormal_test_data): Likewise.
63207         (issignaling_test_data): Likewise.
63208         (isunordered_test_data): Likewise.
63209         (ldexp_test_data): Likewise.
63210         (lrint_test_data): Likewise.
63211         (lrint_test_data) [TEST_FLOAT]: Disable one test.
63212         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
63213         (lrint_tonearest_test_data): Test for "inexact" exceptions.
63214         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
63215         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
63216         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
63217         test input.
63218         (lrint_towardzero_test_data): Test for "inexact" exceptions.
63219         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
63220         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
63221         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
63222         that test input.
63223         (lrint_downward_test_data): Test for "inexact" exceptions.
63224         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
63225         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
63226         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
63227         test input.
63228         (lrint_upward_test_data): Test for "inexact" exceptions.
63229         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
63230         test input.
63231         (llrint_test_data): Test for "inexact" exceptions.
63232         (llrint_test_data) [TEST_FLOAT]: Disable one test.
63233         (llrint_tonearest_test_data): Test for "inexact" exceptions.
63234         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
63235         (llrint_towardzero_test_data): Test for "inexact" exceptions.
63236         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
63237         (llrint_downward_test_data): Test for "inexact" exceptions.
63238         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
63239         (llrint_upward_test_data): Test for "inexact" exceptions.
63240         (logb_test_data): Likewise.
63241         (logb_downward_test_data): Likewise.
63242         (nextafter_test_data): Likewise.
63243         (nexttoward_test_data): Likewise.
63244         (remainder_test_data): Likewise.
63245         (remquo_test_data): Likewise.
63246         (scalbn_test_data): Likewise.
63247         (scalbln_test_data): Likewise.
63248         (signbit_test_data): Likewise.
63249         (sqrt_test_data): Likewise.
63250         (significand_test_data): Likewise.
63252 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
63254         [BZ #15424]
63255         * benchtests/bench-modf.c (struct args): Mark arg0 as
63256         volatile.
63257         * scripts/bench.pl: Mark members of struct args as volatile.
63259 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63261         [BZ # 15497]
63262         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
63263         negative infinity on POWER6 or lower.
63264         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
63266 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
63268         [BZ #15442]
63269         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
63270         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
63271         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
63272         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
63273         (_FP_SETQNAN): New macro.
63274         (_FP_SETQNAN_SEMIRAW): Likewise.
63275         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
63276         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
63277         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
63278         (FP_EXTEND): Use _FP_FRAC_SNANP.
63279         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
63280         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
63281         into account.
63282         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
63283         New macro.
63284         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
63285         Likewise.
63287 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
63289         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
63290         with DIVIDE_BY_ZERO_EXCEPTION.
63291         (gamma_test_data): Likewise.
63292         (lgamma_test_data): Likewise.
63293         (log_test_data): Likewise.
63294         (log10_test_data): Likewise.
63295         (log2_test_data): Likewise.
63296         (tgamma_test_data): Likewise.
63298         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
63299         (acos_test_tonearest): Likewise.
63300         (acos_test_towardzero): Likewise.
63301         (acos_test_downward): Likewise.
63302         (acos_test_upward): Likewise.
63303         (acosh_test): Likewise.
63304         (asin_test): Likewise.
63305         (asin_test_tonearest): Likewise.
63306         (asin_test_towardzero): Likewise.
63307         (asin_test_downward): Likewise.
63308         (asin_test_upward): Likewise.
63309         (asinh_test): Likewise.
63310         (atan_test): Likewise.
63311         (atanh_test): Likewise.
63312         (atan2_test): Likewise.
63313         (cabs_test): Likewise.
63314         (cacos_test): Likewise.
63315         (cacosh_test): Likewise.
63316         (casin_test): Likewise.
63317         (casinh_test): Likewise.
63318         (catan_test): Likewise.
63319         (catanh_test): Likewise.
63320         (cbrt_test): Likewise.
63321         (ccos_test): Likewise.
63322         (ccosh_test): Likewise.
63323         (cexp_test): Likewise.
63324         (clog_test): Likewise.
63325         (clog10_test): Likewise.
63326         (cos_test): Likewise.
63327         (cos_test_tonearest): Likewise.
63328         (cos_test_towardzero): Likewise.
63329         (cos_test_downward): Likewise.
63330         (cos_test_upward): Likewise.
63331         (cosh_test): Likewise.
63332         (cosh_test_tonearest): Likewise.
63333         (cosh_test_towardzero): Likewise.
63334         (cosh_test_downward): Likewise.
63335         (cosh_test_upward): Likewise.
63336         (cpow_test): Likewise.
63337         (csin_test): Likewise.
63338         (csinh_test): Likewise.
63339         (csqrt_test): Likewise.
63340         (ctan_test): Likewise.
63341         (ctan_test_tonearest): Likewise.
63342         (ctan_test_towardzero): Likewise.
63343         (ctan_test_downward): Likewise.
63344         (ctan_test_upward): Likewise.
63345         (ctanh_test): Likewise.
63346         (ctanh_test_tonearest): Likewise.
63347         (ctanh_test_towardzero): Likewise.
63348         (ctanh_test_downward): Likewise.
63349         (ctanh_test_upward): Likewise.
63350         (erf_test): Likewise.
63351         (erfc_test): Likewise.
63352         (exp_test): Likewise.
63353         (exp_test_tonearest): Likewise.
63354         (exp_test_towardzero): Likewise.
63355         (exp_test_downward): Likewise.
63356         (exp_test_upward): Likewise.
63357         (exp10_test): Likewise.
63358         (exp2_test): Likewise.
63359         (expm1_test): Likewise.
63360         (fmod_test): Likewise.
63361         (gamma_test): Likewise.
63362         (hypot_test): Likewise.
63363         (j0_test): Likewise.
63364         (j1_test): Likewise.
63365         (jn_test): Likewise.
63366         (lgamma_test): Likewise.
63367         (log_test): Likewise.
63368         (log10_test): Likewise.
63369         (log1p_test): Likewise.
63370         (log2_test): Likewise.
63371         (logb_test_downward): Likewise.
63372         (pow_test): Likewise.
63373         (pow_test_tonearest): Likewise.
63374         (pow_test_towardzero): Likewise.
63375         (pow_test_downward): Likewise.
63376         (pow_test_upward): Likewise.
63377         (remainder_test): Likewise.
63378         (remquo_test): Likewise.
63379         (sin_test): Likewise.
63380         (sin_test_tonearest): Likewise.
63381         (sin_test_towardzero): Likewise.
63382         (sin_test_downward): Likewise.
63383         (sin_test_upward): Likewise.
63384         (sincos_test): Likewise.
63385         (sinh_test): Likewise.
63386         (sinh_test_tonearest): Likewise.
63387         (sinh_test_towardzero): Likewise.
63388         (sinh_test_downward): Likewise.
63389         (sinh_test_upward): Likewise.
63390         (sqrt_test): Likewise.
63391         (tan_test): Likewise.
63392         (tan_test_tonearest): Likewise.
63393         (tan_test_towardzero): Likewise.
63394         (tan_test_downward): Likewise.
63395         (tan_test_upward): Likewise.
63396         (tanh_test): Likewise.
63397         (tgamma_test): Likewise.
63398         (y0_test): Likewise.
63399         (y1_test): Likewise.
63400         (yn_test): Likewise.
63402         * math/gen-libm-test.pl (adjust_arg): Remove function.
63403         (special_function): Remove argument $in_func.  Only handle
63404         generating output for tables of tests, not inside functions.
63405         (parse_args): Likewise.
63406         (generate_testfile): Remove variable $in_func.  Update call to
63407         parse_args.
63408         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
63409         (MINUS_ZERO_INIT): Rename macro to minus_zero.
63410         (PLUS_INFTY_INIT): Rename macro to plus_infty.
63411         (MINUS_INFTY_INIT): Rename macro to minus_infty.
63412         (QNAN_VALUE_INIT): Rename macro to qnan_value.
63413         (MAX_VALUE_INIT): Rename macro to max_value.
63414         (MIN_VALUE_INIT): Rename macro to min_value.
63415         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
63416         (plus_zero): Remove variable.
63417         (minus_zero): Likewise.
63418         (plus_infty): Likewise.
63419         (minus_infty): Likewise.
63420         (qnan_value): Likewise.
63421         (max_value): Likewise.
63422         (min_value): Likewise.
63423         (min_subnorm_value): Likewise.
63425 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63427         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
63428         uint64_t or uint32_t usage.
63429         * crypt/sha256-block.c: Likewise.
63430         * crypt/sha256-crypt.c: Likewise.
63431         * crypt/sha256.c: Likewise.
63432         * crypt/sha512-block.c: Likewise.
63433         * crypt/sha512-crypt.c: Likewise.
63434         * crypt/sha512.c: Likewise.
63435         * debug/backtrace-tst.c: Likewise.
63436         * debug/pcprofiledump.c: Likewise.
63437         * elf/cache.c: Likewise.
63438         * elf/dl-cache.c: Likewise.
63439         * elf/dl-misc.c: Likewise.
63440         * elf/dl-profile.c: Likewise.
63441         * elf/dl-support.c: Likewise.
63442         * elf/ldconfig.c: Likewise.
63443         * elf/sprof.c: Likewise.
63444         * iconv/dummy-repertoire.c: Likewise.
63445         * iconv/iconv_charmap.c: Likewise.
63446         * iconv/skeleton.c: Likewise.
63447         * iconvdata/8bit-generic.c: Likewise.
63448         * iconvdata/cp737.h: Likewise.
63449         * iconvdata/cp775.h: Likewise.
63450         * iconvdata/ibm1008.h: Likewise.
63451         * iconvdata/ibm1025.h: Likewise.
63452         * iconvdata/ibm1046.h: Likewise.
63453         * iconvdata/ibm1097.h: Likewise.
63454         * iconvdata/ibm1112.h: Likewise.
63455         * iconvdata/ibm1122.h: Likewise.
63456         * iconvdata/ibm1123.h: Likewise.
63457         * iconvdata/ibm1124.h: Likewise.
63458         * iconvdata/ibm1129.h: Likewise.
63459         * iconvdata/ibm1130.h: Likewise.
63460         * iconvdata/ibm1132.h: Likewise.
63461         * iconvdata/ibm1133.h: Likewise.
63462         * iconvdata/ibm1137.h: Likewise.
63463         * iconvdata/ibm1140.h: Likewise.
63464         * iconvdata/ibm1141.h: Likewise.
63465         * iconvdata/ibm1142.h: Likewise.
63466         * iconvdata/ibm1143.h: Likewise.
63467         * iconvdata/ibm1144.h: Likewise.
63468         * iconvdata/ibm1145.h: Likewise.
63469         * iconvdata/ibm1146.h: Likewise.
63470         * iconvdata/ibm1147.h: Likewise.
63471         * iconvdata/ibm1148.h: Likewise.
63472         * iconvdata/ibm1149.h: Likewise.
63473         * iconvdata/ibm1153.h: Likewise.
63474         * iconvdata/ibm1154.h: Likewise.
63475         * iconvdata/ibm1155.h: Likewise.
63476         * iconvdata/ibm1156.h: Likewise.
63477         * iconvdata/ibm1157.h: Likewise.
63478         * iconvdata/ibm1158.h: Likewise.
63479         * iconvdata/ibm1160.h: Likewise.
63480         * iconvdata/ibm1161.h: Likewise.
63481         * iconvdata/ibm1162.h: Likewise.
63482         * iconvdata/ibm1163.h: Likewise.
63483         * iconvdata/ibm1164.h: Likewise.
63484         * iconvdata/ibm1166.h: Likewise.
63485         * iconvdata/ibm1167.h: Likewise.
63486         * iconvdata/ibm12712.h: Likewise.
63487         * iconvdata/ibm1390.h: Likewise.
63488         * iconvdata/ibm1399.h: Likewise.
63489         * iconvdata/ibm16804.h: Likewise.
63490         * iconvdata/ibm4517.h: Likewise.
63491         * iconvdata/ibm4899.h: Likewise.
63492         * iconvdata/ibm4909.h: Likewise.
63493         * iconvdata/ibm4971.h: Likewise.
63494         * iconvdata/ibm5347.h: Likewise.
63495         * iconvdata/ibm803.h: Likewise.
63496         * iconvdata/ibm856.h: Likewise.
63497         * iconvdata/ibm901.h: Likewise.
63498         * iconvdata/ibm902.h: Likewise.
63499         * iconvdata/ibm9030.h: Likewise.
63500         * iconvdata/ibm9066.h: Likewise.
63501         * iconvdata/ibm921.h: Likewise.
63502         * iconvdata/ibm922.h: Likewise.
63503         * iconvdata/ibm9448.h: Likewise.
63504         * iconvdata/isiri-3342.h: Likewise.
63505         * iconvdata/jis0201.h: Likewise.
63506         * include/link.h: Likewise.
63507         * include/netdb.h: Likewise.
63508         * inet/check_native.c: Likewise.
63509         * inet/check_pf.c: Likewise.
63510         * inet/getipv4sourcefilter.c: Likewise.
63511         * inet/getnameinfo.c: Likewise.
63512         * inet/getsourcefilter.c: Likewise.
63513         * inet/htonl.c: Likewise.
63514         * inet/setipv4sourcefilter.c: Likewise.
63515         * inet/setsourcefilter.c: Likewise.
63516         * inet/test-inet6_opt.c: Likewise.
63517         * inet/tst-network.c: Likewise.
63518         * locale/C-collate.c: Likewise.
63519         * locale/C-ctype.c: Likewise.
63520         * locale/C-time.c: Likewise.
63521         * locale/C-translit.h: Likewise.
63522         * locale/loadarchive.c: Likewise.
63523         * locale/programs/3level.h: Likewise.
63524         * locale/programs/charmap.c: Likewise.
63525         * locale/programs/charmap.h: Likewise.
63526         * locale/programs/ld-address.c: Likewise.
63527         * locale/programs/ld-collate.c: Likewise.
63528         * locale/programs/ld-ctype.c: Likewise.
63529         * locale/programs/ld-identification.c: Likewise.
63530         * locale/programs/ld-measurement.c: Likewise.
63531         * locale/programs/ld-messages.c: Likewise.
63532         * locale/programs/ld-monetary.c: Likewise.
63533         * locale/programs/ld-name.c: Likewise.
63534         * locale/programs/ld-numeric.c: Likewise.
63535         * locale/programs/ld-paper.c: Likewise.
63536         * locale/programs/ld-telephone.c: Likewise.
63537         * locale/programs/ld-time.c: Likewise.
63538         * locale/programs/linereader.c: Likewise.
63539         * locale/programs/locale.c: Likewise.
63540         * locale/programs/locarchive.c: Likewise.
63541         * locale/programs/locfile.h: Likewise.
63542         * locale/programs/repertoire.c: Likewise.
63543         * locale/programs/simple-hash.c: Likewise.
63544         * locale/programs/simple-hash.h: Likewise.
63545         * malloc/memusage.c: Likewise.
63546         * malloc/memusagestat.c: Likewise.
63547         * nis/nis_defaults.c: Likewise.
63548         * nis/nis_hash.c: Likewise.
63549         * nis/nis_print.c: Likewise.
63550         * nis/nis_xdr.c: Likewise.
63551         * nscd/connections.c: Likewise.
63552         * nscd/hstcache.c: Likewise.
63553         * nscd/nscd_gethst_r.c: Likewise.
63554         * nscd/nscd_getserv_r.c: Likewise.
63555         * nscd/nscd_helper.c: Likewise.
63556         * nscd/servicescache.c: Likewise.
63557         * nss/makedb.c: Likewise.
63558         * nss/nss_db/db-XXX.c: Likewise.
63559         * nss/nss_db/db-initgroups.c: Likewise.
63560         * nss/nss_db/db-netgrp.c: Likewise.
63561         * nss/nss_files/files-network.c: Likewise.
63562         * nss/nss_files/files-parse.c: Likewise.
63563         * posix/bug-regex5.c: Likewise.
63564         * posix/fnmatch_loop.c: Likewise.
63565         * posix/regcomp.c: Likewise.
63566         * posix/regexec.c: Likewise.
63567         * posix/tst-rfc3484-2.c: Likewise.
63568         * posix/tst-rfc3484-3.c: Likewise.
63569         * posix/tst-rfc3484.c: Likewise.
63570         * resolv/nss_dns/dns-canon.c: Likewise.
63571         * resolv/nss_dns/dns-network.c: Likewise.
63572         * resolv/res_init.c: Likewise.
63573         * resolv/res_mkquery.c: Likewise.
63574         * resolv/tst-aton.c: Likewise.
63575         * stdlib/cxa_atexit.c: Likewise.
63576         * stdlib/cxa_finalize.c: Likewise.
63577         * stdlib/gen-fpioconst.c: Likewise.
63578         * stdlib/strtol_l.c: Likewise.
63579         * string/tst-endian.c: Likewise.
63580         * sunrpc/auth_des.c: Likewise.
63581         * sunrpc/clnt_udp.c: Likewise.
63582         * sunrpc/rtime.c: Likewise.
63583         * sunrpc/svcauth_des.c: Likewise.
63584         * sunrpc/xdr.c: Likewise.
63585         * sunrpc/xdr_intXX_t.c: Likewise.
63586         * sunrpc/xdr_rec.c: Likewise.
63587         * sysdeps/generic/ldconfig.h: Likewise.
63588         * sysdeps/generic/ldsodefs.h: Likewise.
63589         * sysdeps/generic/memusage.h: Likewise.
63590         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
63591         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
63592         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
63593         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
63594         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
63595         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
63596         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
63597         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
63598         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
63599         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
63600         * sysdeps/posix/getaddrinfo.c: Likewise.
63601         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
63602         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
63603         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
63604         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
63605         * sysdeps/powerpc/test-gettimebase.c: Likewise.
63606         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
63607         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
63608         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
63609         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
63610         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
63611         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
63612         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
63613         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
63614         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
63615         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
63616         * sysdeps/x86_64/dl-tls.h: Likewise.
63617         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
63618         * time/alt_digit.c: Likewise.
63619         * time/era.c: Likewise.
63620         * wcsmbs/tst-c16c32-1.c: Likewise.
63622 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
63624         * math/libm-test.inc (struct test_sincos_data): New type.
63625         (RUN_TEST_LOOP_sincos): New macro.
63626         (sincos_test_data): New variable.
63627         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
63629 2013-05-16  Richard Henderson  <rth@redhat.com>
63631         * math/atest-exp2.c (LIMB64): New macro.
63632         (CONSTSZ): New macro.
63633         (mp_exp1, mp_exp_m1, mp_log2): New variables.
63634         (hexdig): Move ...
63635         (print_mpn_fp): ... to function scope.
63636         (read_mpn_hex): Remove.
63637         (get_log2): Remove.
63638         (exp2_mpn): Use mp_log2.
63639         (main): Use mp_exp1.
63641 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
63643         * math/libm-test.inc: Remove comment about not testing "inexact"
63644         exceptions.
63645         (INEXACT_EXCEPTION): New macro.
63646         (NO_INEXACT_EXCEPTION): Likewise.
63647         (INVALID_EXCEPTION_OK): Update value.
63648         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
63649         (OVERFLOW_EXCEPTION_OK): Likewise.
63650         (UNDERFLOW_EXCEPTION_OK): Likewise.
63651         (IGNORE_ZERO_INF_SIGN): Likewise.
63652         (ERRNO_UNCHANGED): Likewise.
63653         (ERRNO_EDOM): Likewise.
63654         (ERRNO_ERANGE): Likewise.
63655         (test_exceptions): Handle testing "inexact" exceptions.
63656         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
63657         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
63658         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
63659         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
63660         INEXACT_EXCEPTION.
63661         (rint_towardzero_test_data): Likewise.
63662         (rint_downward_test_data): Likewise.
63663         (rint_upward_test_data): Likewise.
63665         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
63666         with OVERFLOW_EXCEPTION.
63667         (exp10_test_data): Likewise.
63668         (exp2_test_data): Likewise.
63669         (expm1_test_data): Likewise.
63670         (lgamma_test_data): Likewise.
63671         (pow_test_data): Likewise.
63672         (tgamma_test_data): Likewise.
63673         (yn_test_data): Remove duplicate test of overflow.
63675         * math/libm-test.inc (struct test_cc_c_data): New type.
63676         (RUN_TEST_LOOP_cc_c): New macro.
63677         (cpow_test_data): New variable.
63678         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
63680         * math/libm-test.inc (struct test_f_L_data): New type.
63681         (RUN_TEST_LOOP_f_L): New macro.
63682         (llrint_test_data): New variable.
63683         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
63684         (llrint_tonearest_test_data): New variable.
63685         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
63686         (llrint_towardzero_test_data): New variable.
63687         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
63688         (llrint_downward_test_data): New variable.
63689         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
63690         (llrint_upward_test_data): New variable.
63691         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
63692         (llround_test_data): New variable.
63693         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
63695 2013-05-13  Peter Collingbourne  <pcc@google.com>
63697         * math/atest-exp2.c (get_log2): Remove const attribute.
63699 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
63701         * math/libm-test.inc (struct test_f_l_data): New type.
63702         (RUN_TEST_LOOP_f_l): New macro.
63703         (lrint_test_data): New variable.
63704         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
63705         (lrint_tonearest_test_data): New variable.
63706         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
63707         (lrint_towardzero_test_data): New variable.
63708         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
63709         (lrint_downward_test_data): New variable.
63710         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
63711         (lrint_upward_test_data): New variable.
63712         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
63713         (lround_test_data): New variable.
63714         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
63716 2013-05-15  Peter Collingbourne  <pcc@google.com>
63718         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
63719         (EXTRACT_WORDS64) Use where appropriate.
63720         (INSERT_WORDS64) Likewise.
63722         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
63723         constraints with x constraints.
63724         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
63726         * malloc/obstack.c (_obstack_compat): Add initializer.
63728 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
63730         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
63731         si_trapno and add si_addr_lsb to _sifields.sigfault.
63732         (si_trapno): Remove macro.
63733         (si_addr_lsb): Define new macro.
63734         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
63736 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
63738         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
63739         instead of TEST_f_l.
63740         (llrint_test_tonearest): Likewise.
63741         (llrint_test_towardzero): Likewise.
63742         (llrint_test_downward): Likewise.
63743         (llrint_test_upward): Likewise.
63744         (llround_test): Likewise.
63746         * math/libm-test.inc (struct test_f_i_data): Add comment.
63747         (RUN_TEST_LOOP_f_b): New macro.
63748         (RUN_TEST_LOOP_f_b_tg): Likewise.
63749         (finite_test_data): New variable.
63750         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
63751         (isfinite_test_data): New variable.
63752         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63753         (isinf_test_data): New variable.
63754         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63755         (isnan_test_data): New variable.
63756         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63757         (isnormal_test_data): New variable.
63758         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63759         (issignaling_test_data): New variable.
63760         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63761         (signbit_test_data): New variable.
63762         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63764         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
63765         with INVALID_EXCEPTION.
63766         (acosh_test_data): Likewise.
63767         (asin_test_data): Likewise.
63768         (atanh_test_data): Likewise.
63769         (fmod_test_data): Likewise.
63770         (log_test_data): Likewise.
63771         (log10_test_data): Likewise.
63772         (log2_test_data): Likewise.
63773         (pow_test_data): Likewise.
63774         (sqrt_test_data): Likewise.
63775         (y0_test_data): Likewise.
63776         (y1_test_data): Likewise.
63777         (yn_test_data): Likewise.
63779         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
63780         function contents.
63782         * math/libm-test.inc (struct test_ff_i_data): New type.
63783         (RUN_TEST_LOOP_ff_i_tg): New macro.
63784         (isgreater_test_data): New variable.
63785         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63786         (isgreaterequal_test_data): New variable.
63787         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63788         (isless_test_data): New variable.
63789         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63790         (islessequal_test_data): New variable.
63791         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63792         (islessgreater_test_data): New variable.
63793         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63794         (isunordered_test_data): New variable.
63795         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63797 2013-05-14  David S. Miller  <davem@davemloft.net>
63799         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63801 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
63803         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
63805         * math/libm-test.inc (struct test_fF_f1_data): Change type of
63806         extra_test to int.
63807         (struct test_f_i_data): Change type of max_ulp to int.
63809         * math/libm-test.inc (test_ffI_f1_data): New type.
63810         (RUN_TEST_LOOP_ffI_f1): New macro.
63811         (remquo_test_data): New variable.
63812         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
63814         * setjmp/tst-setjmp-fp.c: New file.
63815         * setjmp/Makefile (tests): Add tst-setjmp-fp.
63816         (link-libm): New variable.
63817         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
63819         * math/libm-test.inc (struct test_f_i_data): New type.
63820         (RUN_TEST_LOOP_f_i): New macro.
63821         (RUN_TEST_LOOP_f_i_tg): Likewise.
63822         (fpclassify_test_data): New variable.
63823         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
63824         (ilogb_test_data): New variable.
63825         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
63827         * math/libm-test.inc (scalbln_test): Correct function name in END
63828         call.
63830         * math/libm-test.inc (struct test_f_f1_data): Add comment.
63831         (RUN_TEST_LOOP_fI_f1): New macro.
63832         (frexp_test_data): New variable.
63833         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
63835         * math/libm-test.inc (struct test_fF_f1_data): New type.
63836         (RUN_TEST_LOOP_fF_f1): New macro.
63837         (modf_test_data): New variable.
63838         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
63840         * math/libm-test.inc (struct test_f_f1_data): New type.
63841         (RUN_TEST_LOOP_f_f1): New macro.
63842         (gamma_test_data): New variable.
63843         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
63844         (lgamma_test_data): New variable.
63845         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
63847 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
63849         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
63850         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
63851         (main): Comment "tls" pseudo-hwcap.
63853 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
63855         * math/libm-test.inc (struct test_fl_f_data): New type.
63856         (RUN_TEST_LOOP_fl_f): New variable.
63857         (scalbln_test_data): New variable.
63858         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
63860         * math/libm-test.inc (struct test_fi_f_data): New type.
63861         (RUN_TEST_LOOP_fi_f): New macro.
63862         (ldexp_test_data): New variable.
63863         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
63864         (scalbn_test_data): New variable.
63865         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
63867         * math/libm-test.inc (struct test_c_f_data): New type.
63868         (RUN_TEST_LOOP_c_f): New macro.
63869         (cabs_test_data): New variable.
63870         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
63871         (carg_test_data): New variable.
63872         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
63873         (cimag_test_data): New variable.
63874         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
63875         (creal_test_data): New variable.
63876         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
63878         * math/libm-test.inc (struct test_if_f_data): New type.
63879         (RUN_TEST_LOOP_if_f): New macro.
63880         (jn_test_data): New variable.
63881         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
63882         (yn_test_data): New variable.
63883         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
63885         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
63887 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63889         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
63890         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
63892 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
63894         * benchtests/Makefile (CPPFLAGS-nonlib): Add
63895         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
63896         (bench-deps): Add bench-timing.h.
63897         * benchtests-bench-skeleton.c: Include bench-timing.h.
63898         (main): Use TIMING_* macros instead of clock_gettime.
63899         * benchtests/bench-timing.h: New file.
63901         [BZ #14582]
63902         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
63903         Renamed from _LIB_VERSION.
63904         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
63906 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
63908         * math/libm-test.inc (struct test_fff_f_data): New type.
63909         (RUN_TEST_LOOP_fff_f): New macro.
63910         (fma_test_data): New variable.
63911         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
63912         (fma_towardzero_test_data): New variable.
63913         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
63914         (fma_downward_test_data): New variable.
63915         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
63916         (fma_upward_test_data): New variable.
63917         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
63919         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
63920         (struct test_c_c_data): New type.
63921         (RUN_TEST_LOOP_c_c): New macro.
63922         (cacos_test_data): New variable.
63923         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
63924         (cacosh_test_data): New variable.
63925         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
63926         (casin_test_data): New variable.
63927         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
63928         (casinh_test_data): New variable.
63929         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
63930         (catan_test_data): New variable.
63931         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
63932         (catanh_test_data): New variable.
63933         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
63934         (ccos_test_data): New variable.
63935         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
63936         (ccosh_test_data): New variable.
63937         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
63938         (cexp_test_data): New variable.
63939         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
63940         (clog_test_data): New variable.
63941         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
63942         (clog10_test_data): New variable.
63943         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
63944         (conj_test_data): New variable.
63945         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
63946         (cproj_test_data): New variable.
63947         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
63948         (csin_test_data): New variable.
63949         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
63950         (csinh_test_data): New variable.
63951         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
63952         (csqrt_test_data): New variable.
63953         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
63954         (ctan_test_data): New variable.
63955         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
63956         (ctan_tonearest_test_data): New variable.
63957         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
63958         (ctan_towardzero_test_data): New variable.
63959         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
63960         (ctan_downward_test_data): New variable.
63961         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
63962         (ctan_upward_test_data): New variable.
63963         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
63964         (ctanh_test_data): New variable.
63965         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
63966         (ctanh_tonearest_test_data): New variable.
63967         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
63968         (ctanh_towardzero_test_data): New variable.
63969         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
63970         (ctanh_downward_test_data): New variable.
63971         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
63972         (ctanh_upward_test_data): New variable.
63973         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
63974         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
63975         of BUILD_COMPLEX.
63977         * math/libm-test.inc (struct test_ff_f_data): New type.
63978         (struct test_ff_f_data_nexttoward): Likewise.
63979         (RUN_TEST_LOOP_2_f): New macro.
63980         (RUN_TEST_LOOP_ff_f): Likewise.
63981         (atan2_test_data): New variable.
63982         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
63983         (copysign_test_data): New variable.
63984         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
63985         (fdim_test_data): New variable.
63986         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
63987         (fmax_test_data): New variable.
63988         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
63989         (fmin_test_data): New variable.
63990         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
63991         (fmod_test_data): New variable.
63992         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
63993         (hypot_test_data): New variable.
63994         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
63995         (nextafter_test_data): New variable.
63996         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
63997         (nexttoward_test_data): New variable.
63998         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
63999         (pow_test_data): New variable.
64000         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
64001         (pow_tonearest_test_data): New variable.
64002         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
64003         (pow_towardzero_test_data): New variable.
64004         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
64005         (pow_downward_test_data): New variable.
64006         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
64007         (pow_upward_test_data): New variable.
64008         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
64009         (remainder_test_data): New variable.
64010         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
64011         (scalb_test_data): New variable.
64012         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
64013         * sysdeps/i386/fpu/libm-test-ulps: Update.
64015 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
64017         * math/libm-test.inc (fma_test): Use max_value instead of local
64018         variable fltmax.
64019         (nextafter_test): Likewise.
64021         * math/libm-test.inc (acos_towardzero_test_data): New variable.
64022         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64023         (acos_downward_test_data): New variable.
64024         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64025         (acos_upward_test_data): New variable.
64026         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64027         (acosh_test_data): New variable.
64028         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
64029         (asin_test_data): New variable.
64030         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
64031         (asin_tonearest_test_data): New variable.
64032         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64033         (asin_towardzero_test_data): New variable.
64034         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64035         (asin_downward_test_data): New variable.
64036         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64037         (asin_upward_test_data): New variable.
64038         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64039         (asinh_test_data): New variable.
64040         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
64041         (atan_test_data): New variable.
64042         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
64043         (atanh_test_data): New variable.
64044         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
64045         (cbrt_test_data): New variable.
64046         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
64047         (ceil_test_data): New variable.
64048         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
64049         (cos_test_data): New variable.
64050         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
64051         (cos_tonearest_test_data): New variable.
64052         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64053         (cos_towardzero_test_data): New variable.
64054         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64055         (cos_downward_test_data): New variable.
64056         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64057         (cos_upward_test_data): New variable.
64058         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64059         (cosh_test_data): New variable.
64060         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
64061         (cosh_tonearest_test_data): New variable.
64062         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64063         (cosh_towardzero_test_data): New variable.
64064         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64065         (cosh_downward_test_data): New variable.
64066         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64067         (cosh_upward_test_data): New variable.
64068         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64069         (erf_test_data): New variable.
64070         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
64071         (erfc_test_data): New variable.
64072         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
64073         (exp_test_data): New variable.
64074         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
64075         (exp_tonearest_test_data): New variable.
64076         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64077         (exp_towardzero_test_data): New variable.
64078         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64079         (exp_downward_test_data): New variable.
64080         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64081         (exp_upward_test_data): New variable.
64082         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64083         (exp10_test_data): New variable.
64084         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
64085         (exp2_test_data): New variable.
64086         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
64087         (expm1_test_data): New variable.
64088         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
64089         (fabs_test_data): New variable.
64090         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
64091         (floor_test_data): New variable.
64092         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
64093         (j0_test_data): New variable.
64094         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
64095         (j1_test_data): New variable.
64096         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
64097         (log_test_data): New variable.
64098         (log_test): Run tests with RUN_TEST_LOOP_f_f.
64099         (log10_test_data): New variable.
64100         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
64101         (log1p_test_data): New variable.
64102         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
64103         (log2_test_data): New variable.
64104         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
64105         (logb_test_data): New variable.
64106         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
64107         (logb_downward_test_data): New variable.
64108         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64109         (nearbyint_test_data): New variable.
64110         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
64111         (rint_test_data): New variable.
64112         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
64113         (rint_tonearest_test_data): New variable.
64114         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64115         (rint_towardzero_test_data): New variable.
64116         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64117         (rint_downward_test_data): New variable.
64118         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64119         (rint_upward_test_data): New variable.
64120         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64121         (round_test_data): New variable.
64122         (round_test): Run tests with RUN_TEST_LOOP_f_f.
64123         (sin_test_data): New variable.
64124         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
64125         (sin_tonearest_test_data): New variable.
64126         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64127         (sin_towardzero_test_data): New variable.
64128         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64129         (sin_downward_test_data): New variable.
64130         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64131         (sin_upward_test_data): New variable.
64132         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64133         (sinh_test_data): New variable.
64134         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
64135         (sinh_tonearest_test_data): New variable.
64136         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64137         (sinh_towardzero_test_data): New variable.
64138         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64139         (sinh_downward_test_data): New variable.
64140         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64141         (sinh_upward_test_data): New variable.
64142         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64143         (sqrt_test_data): New variable.
64144         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
64145         (tan_test_data): New variable.
64146         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
64147         (tan_tonearest_test_data): New variable.
64148         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64149         (tan_towardzero_test_data): New variable.
64150         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64151         (tan_downward_test_data): New variable.
64152         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64153         (tan_upward_test_data): New variable.
64154         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64155         (tanh_test_data): New variable.
64156         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
64157         (tgamma_test_data): New variable.
64158         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
64159         (trunc_test_data): New variable.
64160         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
64161         (y0_test_data): New variable.
64162         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
64163         (y1_test_data): New variable.
64164         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
64165         (significand_test_data): New variable.
64166         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
64168 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
64170         [BZ #12387]
64171         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
64173 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64175         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
64177 2013-05-10  Andreas Jaeger  <aj@suse.de>
64179         [BZ #15448]
64180         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
64181         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
64183 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
64185         * math/gen-libm-test.pl (adjust_arg): New function.
64186         (special_functions): Handle generating output in both functions
64187         and arrays.
64188         (parse_args): Likewise.
64189         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
64190         $in_func argument to parse_args.
64191         * math/libm-test.inc (struct test_f_f_data): New type.
64192         (IF_ROUND_INIT_): New macro.
64193         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
64194         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
64195         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
64196         (IF_ROUND_INIT_FE_UPWARD): Likewise.
64197         (ROUND_RESTORE_): Likewise.
64198         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
64199         (ROUND_RESTORE_FE_TONEAREST): Likewise.
64200         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
64201         (ROUND_RESTORE_FE_UPWARD): Likewise.
64202         (RUN_TEST_LOOP_f_f): New macro.
64203         (acos_test_data): New variable.
64204         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
64205         (acos_tonearest_test_data): New variable.
64206         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64208 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
64210         * benchtests/bench-skeleton.c (startup): Fix coding style.
64212 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
64214         [BZ #6809]
64215         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
64216         negative infinity argument.
64217         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
64218         negative infinity argument.
64219         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
64220         negative infinity argument.
64221         * math/libm-test.inc (tgamma_test): Expect errno to be set for
64222         domain errors.
64224 2013-05-10  Florian Weimer  <fweimer@redhat.com>
64226         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
64227         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
64228         * iconv/iconv_prog.c (main): Likewise.
64229         * locale/programs/charmap-dir.c (charmap_readdir)
64230         (fopen_uncompressed): Likewise.
64231         * locale/programs/locfile.c (siblings_uncached)
64232         (write_locale_data): Use lstat64 instead of lstat.
64233         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
64234         stat.
64236 2013-05-10  Andreas Jaeger  <aj@suse.de>
64238         [BZ #15395]
64239         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
64240         localization.
64241         Include <locale.h>.
64243 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
64245         * elf/dl-close.c (_dl_close_worker): Add comments.
64247 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
64249         [BZ #15359]
64250         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
64251         high part of pi/2.
64252         (__ieee754_rem_pio2l): Update comments.
64254         [BZ #15429]
64255         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
64256         high part of pi/2.
64257         (__ieee754_rem_pio2l): Update comments.
64259         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
64260         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
64262         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
64263         M_PI_4l.
64265         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
64266         (M_PI_34_LOG10El): Likewise.
64267         (M_PI2_LOG10El): Likewise.
64268         (M_PI4_LOG10El): Likewise.
64269         (M_PI_LOG10El): Likewise.
64271 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64273         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64275 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
64277         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
64278         (MINUS_ZERO_INIT): Likewise.
64279         (PLUS_INFTY_INIT): Likewise.
64280         (MINUS_INFTY_INIT): Likewise.
64281         (QNAN_VALUE_INIT): Likewise.
64282         (MAX_VALUE_INIT): Likewise.
64283         (MIN_VALUE_INIT): Likewise.
64284         (MIN_SUBNORM_VALUE_INIT): Likewise.
64285         (plus_zero): Initialize with PLUS_ZERO_INIT.
64286         (minus_zero): Initialize with MINUS_ZERO_INIT.
64287         (plus_infty): Initialize with PLUS_INFTY_INIT.
64288         (minus_infty): Initialize with MINUS_INFTY_INIT.
64289         (qnan_value): Initialize with QNAN_VALUE_INIT.
64290         (max_value): Initialize with MAX_VALUE_INIT.
64291         (min_value): Initialize with MIN_VALUE_INIT.
64292         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
64294         * math/libm-test.inc (RUN_TEST_if_f): New macro.
64295         (jn_test): Use TEST_if_f instead of TEST_ff_f.
64296         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
64297         (yn_test): Use TEST_if_f instead of TEST_ff_f.
64299         * math/libm-test.inc (RUN_TEST_f_f): New macro.
64300         (RUN_TEST_2_f): Likewise.
64301         (RUN_TEST_ff_f): Likewise.
64302         (RUN_TEST_fi_f): Likewise.
64303         (RUN_TEST_fl_f): Likewise.
64304         (RUN_TEST_fff_f): Likewise.
64305         (RUN_TEST_c_f): Likewise.
64306         (RUN_TEST_f_f1): Likewise.
64307         (RUN_TEST_fF_f1): Likewise.
64308         (RUN_TEST_fI_f1): Likewise.
64309         (RUN_TEST_ffI_f1): Likewise.
64310         (RUN_TEST_c_c): Likewise.
64311         (RUN_TEST_cc_c): Likewise.
64312         (RUN_TEST_f_i): Likewise.
64313         (RUN_TEST_f_i_tg): Likewise.
64314         (RUN_TEST_ff_i_tg): Likewise.
64315         (RUN_TEST_f_b): Likewise.
64316         (RUN_TEST_f_b_tg): Likewise.
64317         (RUN_TEST_f_l): Likewise.
64318         (RUN_TEST_f_L): Likewise.
64319         (RUN_TEST_sincos): Likewise.
64320         * math/gen-libm-test.pl (new_test): Take new argument to indicate
64321         whether to show exceptions.  Do not include ");\n" in return
64322         value.
64323         (special_functions): Output call to RUN_TEST_sincos instead of
64324         check_float calls.  Update calls to new_test.
64325         (parse_args): Output call to single RUN_TEST_* macro instead of
64326         check_* calls and other assignments.  Update calls to new_test.
64328         [BZ #2546]
64329         [BZ #2560]
64330         [BZ #5159]
64331         [BZ #15426]
64332         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
64333         input to result for tgamma overflow.
64334         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
64335         (gamma_coeff): New variable.
64336         (NCOEFF): New macro.
64337         (gamma_positive): New function.
64338         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
64339         underflow here.  Use gamma_positive instead of exp (lgamma) for
64340         other arguments.
64341         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
64342         (gamma_coeff): New variable.
64343         (NCOEFF): New macro.
64344         (gammaf_positive): New function.
64345         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
64346         underflow here.  Use gamma_positive instead of exp (lgamma) for
64347         other arguments.
64348         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
64349         (gamma_coeff): New variable.
64350         (NCOEFF): New macro.
64351         (gammal_positive): New function.
64352         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
64353         underflow here.  Use gamma_positive instead of exp (lgamma) for
64354         other arguments.
64355         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
64356         (gamma_coeff): New variable.
64357         (NCOEFF): New macro.
64358         (gammal_positive): New function.
64359         (__ieee754_gammal_r): Handle positive infinity, overflow and
64360         underflow here.  Handle NaN the same as positive infinity.  Remove
64361         check x < 0xffffffff for negative integers.  Use gamma_positive
64362         instead of exp (lgamma) for other arguments.
64363         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
64364         (gamma_coeff): New variable.
64365         (NCOEFF): New macro.
64366         (gammal_positive): New function.
64367         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
64368         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
64369         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
64370         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
64371         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
64372         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
64373         * sysdeps/generic/math_private.h (__gamma_productf): New
64374         prototype.
64375         (__gamma_product): Likewise.
64376         (__gamma_productl): Likewise.
64377         * math/Makefile (libm-calls): Add gamma_product.
64378         * math/libm-test.inc (tgamma_test): Add more tests.
64379         * sysdeps/i386/fpu/libm-test-ulps: Update.
64380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64382 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
64384         * benchtests/bench-skeleton.c (main): Preheat CPU.
64386 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
64388         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
64390 2013-05-07  Roland McGrath  <roland@hack.frob.com>
64392         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
64393         and _dl_skip_args_internal.
64395 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
64397         * manual/message.texi (Message Translation): Talk about users.
64398         Message to key mapping impacts design.
64400 2013-05-06  Roland McGrath  <roland@hack.frob.com>
64402         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
64404         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
64406         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
64407         * sysdeps/wordsize-64/glob64.c: ... here.
64409         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
64410         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
64411         New macros.
64413         * debug/getlogin_r_chk.c: Moved to ...
64414         * login/getlogin_r_chk.c: ... here.
64415         * debug/Makefile (routines): Move getlogin_r_chk to ...
64416         * login/Makefile (routines): ... here.
64417         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
64418         * login/Versions (libc: GLIBC_2.4): ... here.
64420         * io/poll.c (__poll): Renamed from poll.
64421         Add libc_hidden_def.
64422         (poll): Define as weak alias.
64424         * debug/ptsname_r_chk.c: Moved to ...
64425         * login/ptsname_r_chk.c: ... here.
64426         * debug/Makefile (routines): Move ptsname_r_chk to ...
64427         * login/Makefile (routines): ... here.
64428         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
64429         * login/Versions (libc: GLIBC_2.4): ... here.
64431         * posix/getlogin.c: Moved to ...
64432         * login/getlogin.c: ... here.
64433         * posix/getlogin_r.c: Moved to ...
64434         * login/getlogin_r.c: ... here.
64435         * posix/getlogin_r.c: Moved to ...
64436         * login/getlogin_r.c: ... here.
64437         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
64438         * login/Makefile (routines): ... here.
64439         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
64440         * login/Versions (libc: GLIBC_2.0): ... here.
64442         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
64443         (setrlimit): Define as weak alias.
64445         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
64446         Call __ names for open, ftruncate, and close.
64447         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
64448         (truncate): Define as weak alias.
64450 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
64452         * math/gen-libm-test.pl (parse_args): Initialize x before each
64453         test of frexp, modf and remquo.
64455         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
64456         test signgam value.
64458 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64460         [BZ #15418]
64461         [BZ #15419]
64462         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
64463         internal tests.
64464         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
64466 2013-05-06  Roland McGrath  <roland@hack.frob.com>
64468         * elf/dl-writev.h: New file.
64469         * elf/dl-misc.c: Include it.
64470         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
64471         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
64473 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
64475         * math/libm-test.inc (noXFails): Remove variable.
64476         (noXPasses): Likewise.
64477         (BUILD_COMPLEX_INT): Remove macro.
64478         (print_screen): Remove xfail argument.
64479         (print_screen_max_error): Likewise.
64480         (update_stats): Likewise.
64481         (print_max_error): Likewise.  Update calls to other affected
64482         functions.
64483         (print_complex_max_error): Likewise.
64484         (test_single_exception): Update calls to print_screen.
64485         (test_single_errno): Likewise.
64486         (check_float_internal): Remove xfail argument.  Update calls to
64487         other affected functions.
64488         (check_float): Likewise.
64489         (check_complex): Likewise.
64490         (check_int): Likewise.
64491         (check_long): Likewise.
64492         (check_bool): Likewise.
64493         (check_longlong): Likewise.
64494         (main): Don't print noXFails and noXPasses.
64495         * math/gen-libm-test.pl (top level): Don't mention expected
64496         failure handling in comment.
64497         (new_test): Don't handle expected failures.
64498         (parse_args): Don't mention expected failure handling in comment.
64499         (generate_testfile): Don't handle expected failures.
64500         (parse_ulps): Likewise.
64501         (print_ulps_file): Likewise.
64502         (get_failure): Remove function.
64503         (output_test): Don't handle expected failures.
64504         * make/README.libm-test: Don't mention expected failure handling.
64506         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
64507         (minus_zero): Likewise.
64508         (plus_infty): Likewise.
64509         (minus_infty): Likewise.
64510         (qnan_value): Likewise.
64511         (max_value): Likewise.
64512         (min_value): Likewise.
64513         (min_subnorm_value): Likewise.
64514         (initialize): Do not initialize those variables dynamically.
64516 2013-05-03  Roland McGrath  <roland@hack.frob.com>
64518         * io/open.c (__open_2): Moved to ...
64519         * io/open_2.c: ... this new file.
64520         * io/open64.c (__open64_2): Moved to ...
64521         * io/open64_2.c: ... this new file.
64522         * io/openat.c (__openat_2): Moved to ...
64523         * io/openat_2.c: ... this new file.
64524         * io/openat64.c (__openat64_2): Moved to ...
64525         * io/openat64_2.c: ... this new file.
64526         * io/Makefile (routines): Add them.
64527         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
64528         * sysdeps/unix/sysv/linux/open_2.c: File removed.
64529         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
64530         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
64531         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
64532         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
64533         (__openat64): Add hidden_ver.
64534         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
64535         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
64537         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
64538         Separately conditionalize setting of GLRO(dl_sysinfo) so
64539         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
64540         as well, but the actual setting is only under [NEED_DL_SYSINFO].
64542 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64544         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
64545         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
64546         definition.
64547         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
64548         * sysdeps/unix/sysv/linux/powerpc/init-first.c
64549         (_libc_vdso_platform_setup): Add __vdso_time initialization.
64550         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
64551         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
64553 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
64555         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
64556         test signgam value.
64558         * math/libm-test.inc (hypot_test): Do not use
64559         IGNORE_ZERO_INF_SIGN.
64561 2013-05-03  Andreas Jaeger  <aj@suse.de>
64563         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
64564         Linux 3.9.
64565         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
64566         (PF_MAX): Adjust for VSOCK change.
64568 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64570         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64572 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
64574         [BZ #15264]
64575         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
64576         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
64577         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
64579 2013-05-02  David S. Miller  <davem@davemloft.net>
64581         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64583 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
64585         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
64587 2013-05-01  Roland McGrath  <roland@hack.frob.com>
64589         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
64591 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
64593         [BZ #14952]
64594         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
64595         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
64596         Use __attribute__ ((__gnu_inline__)).
64597         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
64598         Don't use __attribute__ ((__gnu_inline__)).
64600 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
64602         [BZ #15423]
64603         * math/s_catan.c (__catan): Handle small real or imaginary part of
64604         input specially to avoid spurious underflow.
64605         * math/s_catanf.c (__catanf): Likewise.
64606         * math/s_catanh.c (__catanh): Likewise.
64607         * math/s_catanhf.c (__catanhf): Likewise.
64608         * math/s_catanhl.c (__catanhl): Likewise.
64609         * math/s_catanl.c (__catanl): Likewise.
64610         * math/libm-test.inc (catan_test): Add more tests.
64611         (catanh_test): Likewise.
64612         * sysdeps/i386/fpu/libm-test-ulps: Update.
64613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64615 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64617         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64619 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
64621         [BZ #15416]
64622         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
64623         accurately for denominator in atan2.
64624         * math/s_catanf.c (__catanf): Likewise.
64625         * math/s_catanh.c (__catanh): Likewise.
64626         * math/s_catanhf.c (__catanhf): Likewise.
64627         * math/s_catanhl.c (__catanhl): Likewise.
64628         * math/s_catanl.c (__catanl): Likewise.
64629         * math/libm-test.inc (catan_test): Add more tests.
64630         (catanh_test): Likewise.
64631         * sysdeps/i386/fpu/libm-test-ulps: Update.
64632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64634 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
64636         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
64638         * benchtests/Makefile (bench): Remove slow benchmarks.
64639         * benchtests/atan-inputs: Add slow benchmark inputs.
64640         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
64641         (BENCH_FUNC): Accept variant offset.
64642         (VARIANT): Define.
64643         * benchtests/bench-skeleton.c (main): Run benchmark for each
64644         variant.
64645         * benchtests/cos-inputs: Add slow benchmark inputs.
64646         * benchtests/exp-inputs: Likewise.
64647         * benchtests/pow-inputs: Likewise.
64648         * benchtests/sin-inputs: Likewise.
64649         * benchtests/slowatan-inputs: Remove.
64650         * benchtests/slowatan.c: Remove.
64651         * benchtests/slowcos-inputs: Remove.
64652         * benchtests/slowcos.c: Remove.
64653         * benchtests/slowexp-inputs: Remove.
64654         * benchtests/slowexp.c: Remove.
64655         * benchtests/slowpow-inputs: Remove.
64656         * benchtests/slowpow.c: Remove.
64657         * benchtests/slowsin-inputs: Remove.
64658         * benchtests/slowsin.c: Remove.
64659         * benchtests/slowtan-inputs: Remove.
64660         * benchtests/slowtan.c: Remove.
64661         * benchtests/tan-inputs: Add slow benchmark inputs.
64662         * scripts/bench.pl: Parse comments and directives.
64664         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
64665         in CPPFLAGS.
64666         ($(objpfx)bench-%.c): Remove *-ITER.
64667         * benchtests/bench-modf.c: Remove definition of ITER.
64668         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
64669         (main): Loop for DURATION seconds instead of fixed number of
64670         iterations.
64671         * scripts/bench.pl: Don't expect iterations in parameters.
64673 2013-04-29  Roland McGrath  <roland@hack.frob.com>
64675         * io/fchdir.c (__fchdir): Renamed from fchdir.
64676         (fchdir): Define as weak alias.
64678 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
64680         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
64681         (ERRNO_EDOM): Likewise.
64682         (ERRNO_ERANGE): Likewise.
64683         (noErrnoTests): New variable.
64684         (init_max_error): Set errno to 0.
64685         (test_single_errno): New function.
64686         (test_errno): Likewise.
64687         (check_float_internal): Call test_errno.  Set errno to 0.
64688         (check_complex): Refer to errno tests in comment.
64689         (check_int): Call test_errno.  Set errno to 0.
64690         (check_long): Likewise.
64691         (check_bool): Likewise.
64692         (check_longlong): Likewise.
64693         (cos_test): Use ERRNO_* flags for errno tests instead of
64694         check_int.
64695         (expm1_test): Likewise.
64696         (fmod_test): Likewise.
64697         (ilogb_test): Likewise.
64698         (lgamma_test): Likewise.
64699         (pow_test): Likewise.
64700         (remainder_test): Likewise.
64701         (sin_test): Likewise.
64702         (tan_test): Likewise.
64703         (yn_test): Likewise.
64704         (initialize): Set errno to 0.
64705         (main): Print number of errno tests.
64706         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
64708 2013-04-29  Andreas Jaeger  <aj@suse.de>
64710         [BZ #15084]
64711         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
64712         and RES_USEVC.
64714         [BZ #15085]
64715         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
64716         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
64717         unimplemented.
64719         [BZ #15380]
64720         * stdlib/random.c (__initstate): Return NULL if
64721         __initstate fails.
64723         [BZ #15086]
64724         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
64725         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
64726         RES_SNGLKUPREOP.
64728 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64730         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64732 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
64734         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
64735         of individual tests.
64736         (casin_test): Likewise.
64737         (casinh_test): Likewise.
64739 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
64741         [BZ #15409]
64742         * math/s_catan.c (__catan): Handle arguments with large real or
64743         imaginary part separately without squaring.
64744         * math/s_catanf.c (__catanf): Likewise.
64745         * math/s_catanh.c (__catanh): Likewise.
64746         * math/s_catanhf.c (__catanhf): Likewise.
64747         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
64748         and redefine.
64749         (__catanhl): Handle arguments with large real or imaginary part
64750         separately without squaring.
64751         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
64752         and redefine.
64753         (__catanl): Handle arguments with large real or imaginary part
64754         separately without squaring.
64755         * math/libm-test.inc (catan_test): Add more tests.
64756         (catanh_test): Likewise.
64757         * sysdeps/i386/fpu/libm-test-ulps: Update.
64758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64760 2013-04-27  Andreas Jaeger  <aj@suse.de>
64762         [BZ #15007]
64763         * stdlib/stdlib.h: Update guards for qecvt.
64764         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
64765         <stdlib.h>.
64767 2013-04-27  Allan McRae  <allan@archlinux.org>
64769         * sysdeps/i386/fpu/libm-test-ulps: Update.
64771 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
64773         [BZ #15406]
64774         * math/s_catan.c: Include <float.h>.
64775         (__catan): Ensure underflow exception occurs for underflowed
64776         result.
64777         * math/s_catanf.c: Include <float.h>.
64778         (__catanf): Ensure underflow exception occurs for underflowed
64779         result.
64780         * math/s_catanh.c: Include <float.h>.
64781         (__catanh): Ensure underflow exception occurs for underflowed
64782         result.
64783         * math/s_catanhf.c: Include <float.h>.
64784         (__catanhf): Ensure underflow exception occurs for underflowed
64785         result.
64786         * math/s_catanhl.c: Include <float.h>.
64787         (__catanhl): Ensure underflow exception occurs for underflowed
64788         result.
64789         * math/s_catanl.c: Include <float.h>.
64790         (__catanl): Ensure underflow exception occurs for underflowed
64791         result.
64792         * math/libm-test.inc (catan_test): Add more tests.
64793         (catanh_test): Likewise.
64795         [BZ #15405]
64796         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
64797         underflowed result.
64798         * math/s_ccoshf.c (__ccoshf): Likewise.
64799         * math/s_ccoshl.c (__ccoshl): Likewise.
64800         * math/s_csin.c (__csin): Likewise.
64801         * math/s_csinf.c (__csinf): Likewise.
64802         * math/s_csinh.c (__csinh): Likewise.
64803         * math/s_csinhf.c (__csinhf): Likewise.
64804         * math/s_csinhl.c (__csinhl): Likewise.
64805         * math/s_csinl.c (__csinl): Likewise.
64806         * math/libm-test.inc (ccos_test): Add more tests.
64807         (ccosh_test): Likewise.
64808         (csin_test): Likewise.
64809         (csinh_test): Likewise.
64811 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64813         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
64814         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
64815         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
64816         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
64817         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
64818         powerpc/power5+/fpu folders.
64819         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
64822 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
64824         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64826 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
64828         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
64829         additions to variable.
64830         [$(config-machine) = x86_64] (modules-names): Likewise.
64831         ($(objpfx)tst-audit3): Remove dependency.
64832         ($(objpfx)tst-audit3.out): Likewise.
64833         ($(objpfx)tst-audit4): Likewise.
64834         ($(objpfx)tst-audit4.out): Likewise.
64835         ($(objpfx)tst-audit5): Likewise.
64836         ($(objpfx)tst-audit5.out): Likewise.
64837         ($(objpfx)tst-audit6): Likewise.
64838         ($(objpfx)tst-audit6.out): Likewise.
64839         ($(objpfx)tst-audit7): Likewise.
64840         ($(objpfx)tst-audit7.out): Likewise.
64841         (tst-audit3-ENV): Remove variable.
64842         (tst-audit4-ENV): Likewise.
64843         (tst-audit5-ENV): Likewise.
64844         (tst-audit6-ENV): Likewise.
64845         (tst-audit7-ENV): Likewise.
64846         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
64847         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
64848         addition to variable.
64849         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
64850         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
64851         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
64852         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
64853         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
64854         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
64855         tst-audit3, tst-audit4 and tst-audit5.
64856         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
64857         tst-audit6 and tst-audit7.
64858         [$(subdir) = elf] (modules-names): Add audit modules for those
64859         tests.
64860         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
64861         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
64862         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
64863         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
64864         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
64865         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
64866         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
64867         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
64868         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
64869         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
64870         [$(subdir) = elf] (tst-audit3-ENV): New variable.
64871         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
64872         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
64873         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
64874         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
64875         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
64876         Likewise.
64877         [$(subdir) = elf && $(config-cflags-avx) = yes]
64878         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
64879         [$(subdir) = elf && $(config-cflags-avx) = yes]
64880         (CFLAGS-tst-auditmod4a.c): Likewise.
64881         [$(subdir) = elf && $(config-cflags-avx) = yes]
64882         (CFLAGS-tst-auditmod4b.c): Likewise.
64883         [$(subdir) = elf && $(config-cflags-avx) = yes]
64884         (CFLAGS-tst-auditmod6b.c): Likewise.
64885         [$(subdir) = elf && $(config-cflags-avx) = yes]
64886         (CFLAGS-tst-auditmod6c.c): Likewise.
64887         [$(subdir) = elf && $(config-cflags-avx) = yes]
64888         (CFLAGS-tst-auditmod7b.c): Likewise.
64889         * elf/tst-audit3.c: Move to ...
64890         * sysdeps/x86_64/tst-audit3.c: ... here.
64891         * elf/tst-audit4.c: Move to ...
64892         * sysdeps/x86_64/tst-audit4.c: ... here.
64893         * elf/tst-audit5.c: Move to ...
64894         * sysdeps/x86_64/tst-audit5.c: ... here.
64895         * elf/tst-audit6.c: Move to ...
64896         * sysdeps/x86_64/tst-audit6.c: ... here.
64897         * elf/tst-audit7.c: Move to ...
64898         * sysdeps/x86_64/tst-audit7.c: ... here.
64899         * elf/tst-auditmod3a.c: Move to ...
64900         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
64901         * elf/tst-auditmod3b.c: Move to ...
64902         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
64903         * elf/tst-auditmod4a.c: Move to ...
64904         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
64905         * elf/tst-auditmod4b.c: Move to ...
64906         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
64907         * elf/tst-auditmod5a.c: Move to ...
64908         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
64909         * elf/tst-auditmod5b.c: Move to ...
64910         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
64911         * elf/tst-auditmod6a.c: Move to ...
64912         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
64913         * elf/tst-auditmod6b.c: Move to ...
64914         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
64915         * elf/tst-auditmod6c.c: Move to ...
64916         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
64917         * elf/tst-auditmod7a.c: Move to ...
64918         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
64919         * elf/tst-auditmod7b.c: Move to ...
64920         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
64922 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
64924         [BZ #15366]
64925         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
64926         define unconditionally.
64927         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
64928         define unconditionally.
64929         (INT8_C, INT16_C, etc.): Likewise.
64931 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
64933         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
64934         __ehdr_start with hidden visibility.
64936         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
64938 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
64940         * math/libm-test.inc (cos_test): Use accurate hex constants.
64941         (sincost_test): Likewise.
64943 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
64945         * math/libm-test.inc (catan_test): Add more tests.
64946         (catanh_test): Likewise.
64948         * math/s_catanf.c (__catanf): Use suffixed floating-point
64949         constants.
64950         * math/s_catanhf.c (__catanhf): Likewise.
64951         * math/s_catanhl.c (__catanhl): Likewise.
64952         * math/s_catanl.c (__catanl): Likewise.
64954         [BZ #15394]
64955         * math/s_catan.c (__catan): Calculate imaginary part of result
64956         with log1p not log unless computing log of number close to 0.
64957         * math/s_catanf.c (__catanf): Likewise.
64958         * math/s_catanl.c (__catanl): Likewise.
64959         * math/s_catanh.c (__catanh): Calculate real part of result with
64960         log1p not log unless computing log of number close to 0.
64961         * math/s_catanhf.c (__catanhf): Likewise.
64962         * math/s_catanhl.c (__catanhl): Likewise.
64963         * math/libm-test.inc (catan_test): Add more tests.
64964         (catanh_test): Likewise.
64965         * sysdeps/i386/fpu/libm-test-ulps: Update.
64966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64968 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
64970         * benchtests/Makefile: Mention files in which fast and slow
64971         paths of math functions are implemented.
64973 2013-04-23  Roland McGrath  <roland@hack.frob.com>
64975         * sysdeps/posix/timespec_get.c: New file.
64977 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64979         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
64980         POWER.
64981         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
64982         for POWER.
64983         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
64984         powerpc/power5/fpu folders.
64985         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
64986         * benchtests/Makefile: Add modf testcase.
64987         * benchtests/bench-modf.c: New file: Benchmark test for mo
64989 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
64991         [BZ #14888]
64992         * time/Makefile (tests): Add tst-strptime-whitespace.
64993         * time/strptime_l.c (get_number): Use ISSPACE.
64994         (__strptime_internal): Likewise.
64995         * time/tst-strptime-whitespace.c: New test case.
64997 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
64999         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
65000         member.
65001         (_nss_files_init): Set it here.
65003 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
65005         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
65006         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
65007         unsigned.
65009 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
65011         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
65013 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
65015         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
65016         size just once.
65018 2013-04-21  David S. Miller  <davem@davemloft.net>
65020         * po/ru.po: Update Russion translation from translation project.
65022 2013-04-17  Adam Conrad  <adconrad@0c3.net>
65024         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
65025         and setfsgid.
65027 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
65029         * configure.in: Remove i386 configure warning. Remove i386 case.
65030         * configure: Regenerate.
65031         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
65032         Add example to error message.
65033         * sysdeps/i386/configure: Regenerate.
65035 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
65037         * benchtests/Makefile (bench): Add cos, tan, slowcos and
65038         slowtan.
65039         * benchtests/cos-inputs: New file.
65040         * benchtests/slowcos-inputs: New file.
65041         * benchtests/slowcos.c: New file.
65042         * benchtests/slowtan-inputs: New file.
65043         * benchtests/slowtan.c: New file.
65044         * benchtests/tan-inputs: New file.
65046 2013-04-16  Roland McGrath  <roland@hack.frob.com>
65048         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
65049         considered kosher.
65051 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
65053         * benchtests/Makefile: Include cppflags-iterator.mk to add
65054         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
65056         * Makefile.in (bench-clean): New target.
65057         * benchtests/Makefile (bench-clean): Likewise.
65059 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
65061         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
65063 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
65065         * stdio-common/tstdiomisc.c: Fix coding-style violation.
65067 2013-04-15  Andreas Schwab  <schwab@suse.de>
65069         * nscd/grpcache.c (cache_addgr): Properly check for short write.
65070         * nscd/initgrcache.c (addinitgroupsX): Likewise.
65071         * nscd/pwdcache.c (cache_addpw): Likewise.
65072         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
65073         more than recsize.
65075 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65077         * benchtests/Makefile (bench): Write all output to
65078         bench-out.tmp together.
65080 2013-04-15  Andreas Schwab  <schwab@suse.de>
65082         * nscd/nscd.c (main): Don't fork again after closing files.
65084 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65086         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
65088         * benchtests/Rules (bench-deps): Collect dependencies into a
65089         single variable.  Add Makefile to dependencies.
65090         ($(objpfx)bench-%.c): Depend on bench-deps.
65092 2013-04-12  Roland McGrath  <roland@hack.frob.com>
65093             Xavier Roche  <roche+kml2@exalead.com>
65095         [BZ #15361]
65096         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
65097         just that it's a file descriptor.
65098         * manual/llio.texi (Synchronizing AIO Operations): Update description
65099         for EBADF error from aio_fsync.
65101 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
65103         * Rules (bench): Move target definition...
65104         * benchtests/Makefile: ... here.
65106 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
65108         * math/libm-test.inc (cos_test): Fix PI/2 test.
65109         (sincos_test): Likewise.
65110         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
65111         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
65113 2013-04-11  Andreas Schwab  <schwab@suse.de>
65115         [BZ #13988]
65116         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
65117         accept exponent character only when digits were seen.
65118         * stdio-common/Makefile (tests): Add bug26.
65119         * stdio-common/bug26.c: New file.
65121         [BZ #14293]
65122         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
65123         non-freeable.
65125 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65127         * Makeconfig (rtld-prefix): Define built linker prefix.
65128         * Rules (run-bench): Use it.
65129         * math/Makefile (run-regen-ulps): Likewise.
65131         * Rules (bench): Remove eval.
65133 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65134             Roland McGrath  <roland@hack.frob.com>
65135             Ondrej Bilka  <neleai@seznam.cz>
65137         [BZ #15346]
65138         * time/getdate.c: Include ctype.h and alloca.h.
65139         (__getdate_r): Trim leading and trailing spaces of input.
65140         * time/tst-getdate.c (tests): Add tests with leading and
65141         trailing spaces.
65143 2013-04-08  Roland McGrath  <roland@hack.frob.com>
65145         [BZ #14280]
65146         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
65147         when computing value.
65149 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
65151         * math/README.libm-test (How can I generate "libm-test-ulps"?):
65152         Use testrun.sh to run libm tests.
65154         [BZ #15309]
65155         * elf/dl-open.c (dl_open_worker): memset all of seen array.
65157 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
65159         [BZ #15264]
65160         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
65162 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
65164         * Makefile.in (regen-ulps): New target.
65165         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
65166         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
65167         [ifneq (no,$(PERL)] (regen-ulps): New target.
65168         [ifeq (no,$(PERL)] (regen-ulps): New target.
65169         * math/libm-test.inc (ulps_file_name): Define.
65170         (output_dir): New variable.
65171         (options): Add "output-dir" option.
65172         (parse_opt): Handle 'o' case.
65173         (main): If output_dir is non-NULL use it as a prefix
65174         otherwise use "".
65175         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
65177 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
65179         [BZ #10060, #10062]
65180         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
65181         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
65182         fail configure if __sync_val_compare_and_swap is not inlined.
65183         * sysdeps/i386/configure: Regenerate.
65184         * configure.in: Build for i686 when configured for i386.
65185         * configure: Regenerate.
65186         * README: Remove i386 reference.
65188 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
65190         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
65191         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65193 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
65195         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
65196         (lmsnanval): New variables.
65197         (F): Add conversion tests.
65198         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
65199         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
65201         * stdio-common/tstdiomisc.c (F): Properly collect individual
65202         tests' results.
65204         [BZ #14686, #15336]
65205         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
65206         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
65207         Instead, use input NaN values or generate a qNaN by arithmetic
65208         operation.  Also fix bugs to comply with the standard.
65209         * math/libm-test.inc (remainder_test): Add more tests.
65211         [BZ #15335, #15342]
65212         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
65213         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
65214         input NaN values or generate a qNaN by arithmetic operation.
65216         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
65217         unreachable code.
65219         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
65220         definitions.
65222 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
65224         [BZ #14478]
65225         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
65226         underflowed result.
65227         * math/s_cexpf.c (__cexpf): Likewise.
65228         * math/s_cexpl.c (__cexpl): Likewise.
65229         * math/libm-test.inc (cexp_test): Add more tests.
65231 2013-04-03  Andreas Schwab  <schwab@suse.de>
65233         [BZ #15330]
65234         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
65235         order arrays from heap if bigger than alloca cutoff.
65237 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
65239         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
65240         (SNAN_TESTS_double): Refer to GCC PR56831.
65241         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
65242         GCC PR56828.
65244 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
65246         * Rules (bench): Move bench.out after the run is complete.
65248         * Rules (bench): Echo currently running benchmark.
65250         * benchtests/Makefile (bench): Add atan and slowatan.
65251         * benchtests/atan-inputs: New file.
65252         * benchtests/slowatan-inputs: New file.
65253         * benchtests/slowatan.c: New file.
65255         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
65256         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
65257         its value.
65259         [BZ #15305]
65260         * sysdeps/unix/sysv/linux/kernel-features.h
65261         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
65262         __ASSUME_XFS_RESTRICTED_CHOWN.
65263         * sysdeps/unix/sysv/linux/pathconf.c
65264         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
65265         Save and restore errno.
65267 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
65269         [BZ #15327]
65270         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
65271         arguments using __kernel_casinh.
65272         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
65273         arguments using __kernel_casinhf.
65274         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
65275         arguments using __kernel_casinhl.
65276         * math/libm-test.inc (cacosh_test): Add more tests.
65277         * sysdeps/i386/fpu/libm-test-ulps: Update.
65278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65280 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
65282         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
65283         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
65285         * bench/Makefile (bench): Add sin and slowsin.
65286         * benchtests/sin-inputs: New file.
65287         * benchtests/slowsin-inputs: New file.
65288         * benchtests/slowsin.c: New file.
65290         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
65291         (bench): Add slowexp and slowpow.
65292         (exp-ITER): Increase iterations.
65293         (pow-ITER): Likewise.
65294         * benchtests/exp-inputs: Change input.
65295         * benchtests/pow-inputs: Likewise.
65296         * benchtests/slowexp-inputs: New file.
65297         * benchtests/slowexp.c: New file.
65298         * benchtests/slowpow-inputs: New file.
65299         * benchtests/slowpow.c: New file.
65301 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65303         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
65304         instructions.
65305         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
65306         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
65307         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
65308         * benchtests/Makefile: Add rint benchtest.
65309         * benchtests/rint-inputs: Input for rint benchtest.
65311 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
65313         * Versions.def (libm): Add GLIBC_2.18.
65314         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
65315         hidden libm prototypes.
65316         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
65317         * math/Makefile (libm-calls): Add s_issignaling.
65318         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
65319         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
65320         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
65321         declaration.
65322         * math/math.h [__USE_GNU] (issignaling): New macro.
65323         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
65324         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
65325         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
65326         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
65327         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
65328         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
65329         * manual/arith.texi (issignaling): New section.
65330         * manual/libm-err-tab.pl (@all_functions): Update comment.
65331         * math/gen-libm-test.pl (parse_args): Apply special handling for
65332         issignaling.
65333         * math/libm-test.inc (print_float, issignaling_test): New
65334         functions.
65335         (check_float_internal): Add issignaling checks.
65336         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
65337         default definition.
65338         * sysdeps/powerpc/math-tests.h: New file.
65339         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
65340         tests.
65341         * math/test-snan.c (TEST_FUNC): Likewise.
65343 2013-03-30  David S. Miller  <davem@davemloft.net>
65345         * po/de.po: Update from translation team.
65347 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
65349         [BZ #10357]
65350         * math/k_casinh.c (__kernel_casinh): Handle arguments with
65351         imaginary part less than 1.0 and real part less than 0.5
65352         specially.
65353         * math/k_casinhf.c (__kernel_casinhf): Likewise.
65354         * math/k_casinhl.c (__kernel_casinhl): Likewise.
65355         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
65356         (cacos_test): Add more tests.
65357         (casin_test): Likewise.
65358         (casinh_test): Likewise.
65359         * sysdeps/i386/fpu/libm-test-ulps: Update.
65360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65362 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
65364         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
65365         ONE with its value.
65367         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
65368         (__pow_mp): Replace ONE and MONE with their values.
65369         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
65370         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
65371         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
65372         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
65373         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
65374         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
65376         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
65378         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
65379         (__pow_mp): Replace ZERO and MZERO with their values.
65380         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
65381         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
65382         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
65383         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
65384         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
65385         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
65386         (__sqr): Likewise.
65388         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
65390         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
65392 2013-03-28  Roland McGrath  <roland@hack.frob.com>
65394         * include/stdlib.h [!SHARED] (__call_tls_dtors):
65395         Declare with __attribute__ ((weak)).
65396         * stdlib/exit.c (__libc_atexit) [!SHARED]:
65397         Call __call_tls_dtors only if it's not NULL.
65399 2013-03-28  Roland McGrath  <roland@hack.frob.com>
65401         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
65402         didn't do it already, then set _dl_phdr and _dl_phnum based on the
65403         magic __ehdr_start linker symbol if it's defined.
65404         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
65405         them up here if it was already done.
65407         * elf/dl-support.c (_dl_phdr): Make pointer to const.
65408         (_dl_aux_init): Use const in cast when setting it.
65409         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
65410         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
65411         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
65413         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
65414         Declare them here.
65415         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
65416         * csu/libc-tls.c: Nor here.
65417         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
65419         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
65420         (__libc_message): Never call vsyslog.
65422 2013-03-28  Alan Modra  <amodra@gmail.com>
65424         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
65425         Define as empty.
65426         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
65427         Likewise.
65429 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65431         [BZ #15214]
65432         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
65433         underflow.
65434         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65436 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65438         [BZ #15304]
65439         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
65440         Don't add gid passed as argument.
65442         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
65444 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
65446         [BZ #15307]
65447         * math/k_casinh.c (__kernel_casinh): Handle arguments with
65448         imaginary part between 1.0 and 1.5 and real part less than 0.5
65449         specially.
65450         * math/k_casinhf.c (__kernel_casinhf): Likewise.
65451         * math/k_casinhl.c (__kernel_casinhl): Likewise.
65452         * math/libm-test.inc (cacos_test): Add more tests.
65453         (casin_test): Likewise.
65454         (casinh_test): Likewise.
65455         * sysdeps/i386/fpu/libm-test-ulps: Update.
65456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65458 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65460         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
65461         constants.
65462         (norm): Likewise.
65463         (denorm): Likewise.
65464         (__dbl_mp): Likewise.
65465         (add_magnitudes): Likewise.
65466         (sub_magnitudes): Likewise.
65467         (__add): Likewise.
65468         (__sub): Likewise.
65469         (__mul): Likewise.
65470         (__sqr): Likewise.
65471         (__inv): Likewise.
65472         (__dvd): Likewise.
65474         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
65475         commented code.
65476         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
65477         (__dubcos): Likewise.
65478         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
65479         (__ieee754_acos): Likewise.
65480         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
65481         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
65482         (__exp1): Likewise.
65483         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
65484         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
65485         (log1): Likewise.
65486         (my_log2): Likewise.
65487         (checkint): Likewise.
65488         * sysdeps/ieee754/dbl-64/e_remainder.c
65489         (__ieee754_remainder): Likewise.
65490         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
65491         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
65492         (bsloww): Likewise.
65493         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
65495         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
65496         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
65497         MANTISSA_STORE_T to store computations on mantissa.  Use
65498         macros for rounding and division.
65499         (denorm): Likewise.
65500         (__dbl_mp): Likewise.
65501         (add_magnitudes): Likewise.
65502         (sub_magnitudes): Likewise.
65503         (__mul): Likewise.
65504         (__sqr): Likewise.
65505         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
65506         powers of two in terms of TWOPOW macro.
65507         (mp_no): Make type of mantissa as MANTISSA_T.
65508         [!RADIXI]: Define RADIXI.
65509         [!TWO52]: Define TWO52.
65510         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
65512 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65514         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
65515         llroundl symbol when building for PPC32.
65517 2013-03-24  Mark H Weaver  <mhw@netris.org>
65519         * manual/arith.texi (Normalization Functions): Fix prototypes for
65520         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
65522 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65524         [BZ #13889]
65525         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
65526         high value to check if expl overflow.
65527         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
65528         to check for underflow and overflow.
65529         * math/libm-test.inc: Add exp test.
65531 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
65533         [BZ #11120]
65534         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
65535         with NOT_IN_libc.
65537 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65539         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
65540         symbol.
65542 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
65544         * math/gen-libm-test.pl (parse_args, special_functions): Properly
65545         wrap blocks consisting of several statements.
65547         * sysdeps/generic/math-tests.h: New file.
65548         * sysdeps/i386/fpu/math-tests.h: Likewise.
65549         * math/test-snan.c: Include it.
65550         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
65552 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
65554         [BZ #15285]
65555         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
65556         (__ieee754_j0l): Do not improve calculations using cos of twice
65557         input for inputs above LDBL_MAX / 2.0L.
65558         (__ieee754_y0l): Likewise.
65559         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
65560         (__ieee754_j1l): Do not improve calculations using cos of twice
65561         input for inputs above LDBL_MAX / 2.0L.
65562         (__ieee754_y1l): Likewise.
65563         * math/libm-test.inc (j0_test): Add another test.
65564         (j1_test): Likewise.
65565         (y0_test): Likewise.
65566         (y1_test): Likewise.
65567         * sysdeps/i386/fpu/libm-test-ulps: Update.
65569 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65571         * Rules ($(objpfx)bench-%.c): Include code from a C source
65572         file.
65574 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
65576         [BZ #15287]
65577         * math/k_casinh.c (__kernel_casinh): Handle arguments with
65578         imaginary part 1.0 and real part less than 0.5 specially.
65579         * math/k_casinhf.c (__kernel_casinhf): Likewise.
65580         * math/k_casinhl.c (__kernel_casinhl): Likewise.
65581         * math/libm-test.inc (cacos_test): Add more tests.
65582         (casin_test): Likewise.
65583         (casinh_test): Likewise.
65584         * sysdeps/i386/fpu/libm-test-ulps: Update.
65585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65587 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65589         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
65590         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
65592 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
65594         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
65595         * config.make.in (config-cflags-sse4): Remove variable.
65596         (config-cflags-avx): Likewise.
65597         (config-cflags-sse2avx): Likewise.
65598         (config-cflags-novzeroupper): Likewise.
65599         (config-asflags-i686): Likewise.
65600         (have-mfma4): Likewise.
65601         (have-as-vis3): Likewise.
65602         (MIG): Likewise.
65603         * configure.in (MIG): Do not AC_SUBST.
65604         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
65605         (libc_cv_cc_sse4): Do not AC_SUBST.
65606         (libc_cv_cc_avx): Likewise.
65607         (libc_cv_cc_sse2avx): Likewise.
65608         (libc_cv_cc_novzeroupper): Likewise.
65609         (libc_cv_cc_fma4): Likewise.
65610         (libc_cv_as_i686): Likewise.
65611         (libc_cv_sparc_as_vis3): Likewise.
65612         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
65613         LIBC_CONFIG_VAR.
65614         (config-asflags-i686): Likewise.
65615         (config-cflags-avx): Likewise.
65616         (config-cflags-sse2avx): Likewise.
65617         (have-mfma4): Likewise.
65618         (config-cflags-novzeroupper): Likewise.
65619         * sysdeps/mach/configure.in (MIG): Likewise.
65620         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
65621         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
65622         LIBC_CONFIG_VAR.
65623         (config-cflags-avx): Likewise.
65624         (config-cflags-sse2avx): Likewise.
65625         (have-mfma4): Likewise.
65626         (config-cflags-novzeroupper): Likewise.
65627         * configure: Regenerated.
65628         * sysdeps/i386/configure: Likewise.
65629         * sysdeps/mach/configure: Likewise.
65630         * sysdeps/sparc/configure: Likewise.
65631         * sysdeps/x86_64/configure: Likewise.
65633 2013-03-20  Roland McGrath  <roland@hack.frob.com>
65635         [BZ #14812]
65636         * locale/programs/localedef.c (options): Put N_ translation marker
65637         on argument names, not just descriptions.
65639 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65641         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
65643 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
65645         [BZ #14176]
65646         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
65648 2013-03-19  Roland McGrath  <roland@hack.frob.com>
65650         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
65651         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
65652         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
65653         [!BEFORE_ABORT] (before_abort): New function.
65654         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
65655         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
65656         (writev_for_fatal): New function.
65657         (WRITEV_FOR_FATAL): New macro; call that.
65658         (backtrace_and_maps): New function.
65659         (BEFORE_ABORT): New macro; call that.
65660         (struct str_list): Type removed.
65661         (__libc_message, __libc_fatal): Functions removed.
65662         Include <sysdeps/posix/libc_fatal.c> instead.
65664 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
65666         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
65667         constants.
65668         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
65669         double constants.
65671 2013-03-19  Andreas Schwab  <schwab@suse.de>
65673         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
65674         * sysdeps/gnu/configure: Regenerate.
65676         * configure.in: Substitute libc_cv_rtlddir.
65677         * configure: Regenerate.
65678         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
65679         * Makeconfig (rtlddir, inst_rtlddir): New variables.
65680         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
65681         * elf/Makefile (install-others, CFLAGS-interp.c)
65682         (ldso_install, common-ldd-rewrite): Likewise.
65683         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
65684         $(inst_slibdir)/$(rtld-installed-name).
65685         * scripts/rellns-sh: Add -p option.
65686         * Makerules (make-shlib-link): Use rellns-sh to get relative name
65687         for source.
65689 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
65691         * manual/nptl.texi: Renamed to ...
65692         * manual/threads.texi: ... this.
65693         * manual/Makefile (chapters): Update.
65695 2013-03-18  Roland McGrath  <roland@hack.frob.com>
65697         [BZ #14812]
65698         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
65699         on argument names, not just descriptions.
65700         * malloc/memusagestat.c (options): Likewise.
65701         * nss/getent.c (options): Likewise.
65703 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
65705         [BZ #14812]
65706         * iconv/iconv_prog.c (options): Put N_ translation marker
65707         on argument names, not just descriptions.
65708         * iconv/iconvconfig.c (options): Likewise.
65710 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
65712         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
65713         implementation which is faster on all x86_64 architectures.
65714         Tested on AMD, Intel Nehalem, SNB, IVB.
65715         * sysdeps/x86_64/strnlen.S: Likewise.
65717         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
65718         Remove all multiarch strlen and strnlen versions.
65719         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
65720         Remove strlen and strnlen related parts.
65722         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
65723         Inline strlen part.
65724         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
65726         * sysdeps/x86_64/multiarch/strlen.S: Remove.
65727         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
65728         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
65729         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
65730         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
65731         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
65733 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
65735         * manual/memory.texi (Malloc Tunable Parameters):
65736         Sort parameters alphabetically. Add comments for missing entries.
65738 2013-03-17  David S. Miller  <davem@davemloft.net>
65740         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65742 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
65744         [BZ #15283]
65745         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
65746         for arguments at most half maximum finite value.
65747         * math/libm-test.inc (j0_test): Add more tests.
65748         (j1_test): Likewise.
65749         (y0_test): Likewise.
65750         (y1_test): Likewise.
65751         * sysdeps/i386/fpu/libm-test-ulps: Update.
65752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65754         [BZ #14155]
65755         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
65756         1 / x and functions P and Q for arguments above 0x1p256L.
65757         (__ieee754_y0l): Likewise.
65758         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
65759         (__ieee754_y1l): Likewise.
65760         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
65761         (j1_test): Likewise.
65762         (y0_test): Likewise.
65763         (y1_test): Likewise.
65765 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
65767         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
65768         variable.
65770 2013-03-15  Roland McGrath  <roland@hack.frob.com>
65772         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
65773         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
65774         zero since it's initialized to EXEC_PAGESIZE.
65776         * sysdeps/unix/sysv/linux/ldsodefs.h
65777         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
65778         * sysdeps/generic/ldsodefs.h: ... here.
65780 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
65782         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
65784         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
65785         math/test-snan.c.
65786         * math/test-snan.c: Renamed from
65787         sysdeps/powerpc/fpu/test-powerpc-snan.c.
65788         * math/Makefile (tests): Add test-snan.
65789         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
65790         test-powerpc-snan.
65792         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
65793         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
65794         functions.
65795         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
65796         __builtin_nan family of functions.
65797         * math/libm-test.inc (initialize): Initialize qnan_value with
65798         __builtin_nan family of functions.
65799         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
65800         Remove variables.
65801         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
65802         Remove functions.
65803         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
65804         storage class.  Initialize qNaN_var and sNaN_var with
65805         __builtin_nan and __builtin_nans families of functions,
65806         respectively.
65808         * math/libm-test.inc (acosh_test): Also test with qNaN input.
65809         (sqrt_test): Remove duplicate test with qNaN input.
65810         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
65811         (round_test, signbit_test, significand_test): Note missing +/-Inf
65812         as well as qNaN tests.
65814         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
65815         qNaN_var.  Fix a few strings, too.
65816         * math/libm-test.inc (nan_value): Rename to qnan_value.
65817         * math/gen-libm-test.pl (%beautify): Adjust to that.
65818         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
65819         * math/test-misc.c (main): Likewise.
65820         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
65821         to __qnan_bytes, and __qnan_union, respectively.
65822         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
65823         Likewise.
65824         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
65825         and lqnanval, respectively.
65826         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
65827         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
65828         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
65829         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
65831         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
65832         * math/test-misc.c (main) [__x86_64__]: Enable test for long
65833         doubles.
65835         * math/test-misc.c (main): Fix copy'n'pastos.
65836         * misc/tst-efgcvt.c (special): Likewise.
65838         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
65839         Remove declarations.
65841 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65843         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
65844         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
65845         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
65846         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
65848 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65850         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
65851         macro to return vdso values correctly in IFUNC implementations.
65852         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
65853         Optimization by using IFUNC.
65855 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65856             Richard Henderson  <rth@redhat.com>
65857             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65859         * Makefile.in (bench): New target.
65860         * NEWS: Mention the benchmark framework.
65861         * Rules (bench): Likewise.
65862         (binaries-bench): Generate binaries for functions to
65863         benchmark.
65864         * benchtests/Makefile: New makefile for benchmark tests.
65865         * benchtests/bench-skeleton.c: New skeleton file for benchmark
65866         programs.
65867         * benchtests/exp-inputs: New input file for EXP function.
65868         * benchtests/pow-inputs: New input file for POW function.
65869         * scripts/bench.pl: New script to generate source files for
65870         benchmark programs.
65872 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65874         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
65875         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
65876         computations on mantissa.  Use macros for rounding and
65877         division.
65878         (denorm): Likewise.
65879         (__dbl_mp): Likewise.
65880         (add_magnitudes): Likewise.
65881         (sub_magnitudes): Likewise.
65882         (__mul): Likewise.
65883         (__sqr): Likewise.
65884         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
65885         powers of two in terms of TWOPOW macro.
65886         (mp_no): Make type of mantissa as MANTISSA_T.
65887         [!RADIXI]: Define RADIXI.
65888         [!TWO52]: Define TWO52.
65889         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
65891         * manual/nptl.texi (cindex): Modify threads to pthreads.
65893 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
65895         * sysdeps/x86_64/preconfigure: Regenerated.
65897 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
65899         [BZ #14155]
65900         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
65901         0x1p28 and above.
65902         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
65903         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
65904         0x1p28 and above.
65905         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
65906         * math/libm-test.inc (j0_test): Do not allow one spurious
65907         underflow exception.
65908         (y1_test): Likewise.
65910 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
65912         * manual/Makefile (chapters): Add nptl.
65913         * manual/debug.texi (Debugging Support): Add link to Threads
65914         chapter.
65915         * manual/nptl.texi: New file.
65917         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
65919 2013-03-14  Petr Baudis  <pasky@ucw.cz>
65921         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
65922         for non-NULL pointer before the memory validity test. Pointed
65923         out by Holger Brunck <holger.brunck@keymile.com>.
65925 2013-03-13  Andreas Schwab  <schwab@suse.de>
65927         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
65928         instead of .os.
65930 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
65932         * timezone/zic.c: Update from tzcode 2013b.
65934 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
65936         * manual/install.texi (Configuring and compiling):
65937         Mention i686 and i586.
65938         * INSTALL: Regenerate.
65940 2013-03-12  Roland McGrath  <roland@hack.frob.com>
65942         * sysdeps/init_array/elf-init.c: New file.
65943         * csu/elf-init.c
65944         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
65945         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
65947         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
65948         __gmon_start__ as global, but as static with a .preinit_array pointer.
65949         * sysdeps/init_array/gmon-start.c: New file.  Use that.
65950         * sysdeps/init_array/crti.S: New file, empty except for comments.
65951         * sysdeps/init_array/crtn.S: Likewise.
65953 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
65955         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
65956         definining bcopy.
65957         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65958         Remove Prefer_SSE_for_memop.
65959         * sysdeps/x86_64/multiarch/init-arch.h: Remove
65960         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
65961         HAS_PREFER_SSE_FOR_MEMOP.
65962         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
65963         memset-x86-64.
65964         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
65965         Remove bzero, memset ifunc support.
65966         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
65967         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
65968         * sysdeps/x86_64/multiarch/memset.S: Likewise.
65969         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
65971 2013-03-11  Andreas Schwab  <schwab@suse.de>
65973         [BZ #15234]
65974         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
65975         by SHLIB_COMPAT.
65976         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
65977         (GLIBC_2.16): Remove pthread_atfork.
65979 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
65981         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
65982         (ptestcases.h): Likewise.
65984 2013-03-08  Roland McGrath  <roland@hack.frob.com>
65986         * Makeconfig ($(common-objpfx)config.status): Depend on
65987         sysdeps/*/preconfigure{,.in} too.
65989 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
65991         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
65992         (__free_hook): Use void * instead of __malloc_ptr_t.
65993         (__malloc_hook): Likewise.
65994         (__realloc_hook): Likewise.
65995         (__memalign_hook): Likewise.
65996         (__after_morecore_hook): Likewise.
65997         * malloc/arena.c (save_malloc_hook): Likewise.
65998         (save_free_hook): Likewise.
65999         * malloc/hooks.c (malloc_hook_ini): Likewise.
66000         (realloc_hook_ini): Likewise.
66001         (memalign_hook_ini): Likewise.
66002         * malloc/malloc.c (malloc_hook_ini): Likewise.
66003         (realloc_hook_ini): Likewise.
66004         (memalign_hook_ini): Likewise.
66005         (__free_hook): Likewise.
66006         (__malloc_hook): Likewise.
66007         (__realloc_hook): Likewise.
66008         (__memalign_hook): Likewise.
66009         (__libc_malloc): Likewise.
66010         (__libc_free): Likewise.
66011         (__libc_realloc): Likewise.
66012         (__libc_memalign): Likewise.
66013         (__libc_valloc): Likewise.
66014         (__libc_pvalloc): Likewise.
66015         (__libc_calloc): Likewise.
66016         (__posix_memalign): Likewise.
66017         * malloc/morecore.c (__sbrk): Likewise.
66018         (__default_morecore): Likewise.
66020         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
66022         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
66023         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
66024         __malloc_ptrdiff_t.
66026         * malloc/malloc.h (__malloc_size_t): Remove macro.
66027         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
66028         __malloc_size_t.
66029         (old_memalign_hook): Likewise.
66030         (old_realloc_hook): Likewise.
66031         (struct hdr): Likewise.
66032         (flood): Likewise.
66033         (mallochook): Likewise.
66034         (memalignhook): Likewise.
66035         (reallochook): Likewise.
66036         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
66037         (tr_old_realloc_hook): Likewise.
66038         (tr_old_memalign_hook): Likewise.
66039         (tr_mallochook): Likewise.
66040         (tr_reallochook): Likewise.
66041         (tr_memalignhook): Likewise.
66043 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66045         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
66046         default_ldbl_pack and using as default implementation.
66047         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
66048         implementation.
66049         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
66050         redundant definition.
66051         (ldbl_insert_mantissa): Likewise.
66052         (ldbl_canonicalize): Likewise.
66053         (ldbl_nearbyint): Likewise.
66054         (ldbl_pack): Rename to ldbl_pack_ppc.
66055         (ldbl_unpack): Rename to ldbl_unpack_ppc.
66056         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
66057         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
66059 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
66061         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
66062         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
66063         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
66064         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
66065         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
66066         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
66067         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
66068         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
66070 2013-03-07  Andreas Jaeger  <aj@suse.de>
66072         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66073         bits/mman-linux.h.
66075 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
66077         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
66078         Include mpa.h and declare __MPEXP.
66079         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
66080         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
66081         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
66082         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
66083         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
66084         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
66085         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
66087         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
66088         (__slowpow): Use long double EXPL and LOGL functions to
66089         compute POW.
66090         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
66091         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
66092         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
66093         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
66094         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
66095         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
66097         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
66098         intermediate variable to calculate exponent.
66099         (__sqr): Likewise.
66100         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
66101         Likewise.
66102         (__sqr): Likewise.
66104         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
66105         [!NO__SQR]: Define __sqr.
66106         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
66107         and NO__SQR.  Remove all code except __mul and __sqr.  Include
66108         sysdeps/ieee754/dbl-64/mpa.c.
66109         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66111         [BZ #12723]
66112         * posix/Makefile (tests): Add tst-pathconf.
66113         * posix/tst-pathconf.c: New test case.
66114         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
66115         _PC_PIPE_BUF.
66116         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
66118 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
66120         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
66122 2013-03-06  Andreas Jaeger  <aj@suse.de>
66124         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
66125         definition via __MAP_ANONYMOUS.
66127         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
66128         it's not part of Linux headers.
66130         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
66131         (MAP_HUGE_MASK): Define.
66133         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
66134         Define.
66135         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66136         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
66137         Define.
66138         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66139         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
66140         Define.
66141         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66142         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
66143         Define.
66144         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66146         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
66147         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
66148         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
66149         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
66150         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
66151         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
66153         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
66154         Handle f2fs.
66156         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
66157         Handle f2fs and efivarfs.
66159         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
66160         f2fs.
66162         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
66163         (EFIVARFS_MAGIC): Add.
66164         (F2FS_LINK_MAX): Add.
66166 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
66168         * stdio-common/vfprintf.c: Replace __builtin_expect with
66169         __glibc_unlikely.
66171 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
66173         [BZ #13550]
66174         * sysdeps/generic/bp-sym.h: Remove file.
66175         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
66176         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
66177         <bp-sym.h> and <bp-asm.h>.
66178         (__longjmp): Don't use BP_SYM.
66179         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
66180         and <bp-asm.h>.
66181         (memcpy): Don't use BP_SYM.
66182         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
66183         <bp-sym.h> and <bp-asm.h>.
66184         (memcpy): Don't use BP_SYM.
66185         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
66186         <bp-asm.h>.
66187         (memcpy): Don't use BP_SYM.
66188         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
66189         <bp-asm.h>.
66190         (memset): Don't use BP_SYM.
66191         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
66192         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
66193         (__bzero): Don't use BP_SYM.
66194         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
66195         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
66196         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
66197         <bp-sym.h> and <bp-asm.h>.
66198         (memcmp): Don't use BP_SYM.  Remove comment about bounded
66199         pointers.
66200         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
66201         <bp-sym.h> and <bp-asm.h>.
66202         (memcpy): Don't use BP_SYM.
66203         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
66204         <bp-sym.h> and <bp-asm.h>.
66205         (memset): Don't use BP_SYM.
66206         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
66207         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
66208         (__bzero): Don't use BP_SYM.
66209         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
66210         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
66211         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
66212         <bp-sym.h> and <bp-asm.h>.
66213         (strncmp): Don't use BP_SYM.  Remove comment about bounded
66214         pointers.
66215         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
66216         <bp-sym.h> and <bp-asm.h>.
66217         (memcpy): Don't use BP_SYM.
66218         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
66219         <bp-sym.h> and <bp-asm.h>.
66220         (memset): Don't use BP_SYM.
66221         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
66222         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
66223         (__bzero): Don't use BP_SYM.
66224         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
66225         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
66226         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
66227         <bp-sym.h> and <bp-asm.h>.
66228         (__memchr): Don't use BP_SYM.
66229         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
66230         <bp-sym.h> and <bp-asm.h>.
66231         (memcmp): Don't use BP_SYM.  Remove comment about bounded
66232         pointers.
66233         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
66234         <bp-sym.h> and <bp-asm.h>.
66235         (memcpy): Don't use BP_SYM.
66236         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
66237         <bp-sym.h> and <bp-asm.h>.
66238         (__mempcpy): Don't use BP_SYM.
66239         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
66240         <bp-sym.h> and <bp-asm.h>.
66241         (__memrchr): Don't use BP_SYM.
66242         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
66243         <bp-sym.h> and <bp-asm.h>.
66244         (memset): Don't use BP_SYM.
66245         (__bzero): Likewise.
66246         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
66247         <bp-sym.h> and <bp-asm.h>.
66248         (__rawmemchr): Don't use BP_SYM.
66249         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
66250         <bp-sym.h> and <bp-asm.h>.
66251         (__STRCMP): Don't use BP_SYM.
66252         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
66253         <bp-sym.h> and <bp-asm.h>.
66254         (strchr): Don't use BP_SYM.
66255         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
66256         <bp-sym.h> and <bp-asm.h>.
66257         (__strchrnul): Don't use BP_SYM.
66258         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
66259         <bp-sym.h> and <bp-asm.h>.
66260         (strlen): Don't use BP_SYM.
66261         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
66262         <bp-sym.h> and <bp-asm.h>.
66263         (strncmp): Don't use BP_SYM.  Remove comment about bounded
66264         pointers.
66265         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
66266         <bp-sym.h> and <bp-asm.h>.
66267         (__strnlen): Don't use BP_SYM.
66268         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
66269         <bp-sym.h> and <bp-asm.h>.
66270         (__GI__setjmp): Don't use BP_SYM.
66271         (_setjmp): Likewise.
66272         (__sigsetjmp): Likewise.
66273         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
66274         (L(start_addresses)): Don't use BP_SYM.
66275         (_start): Likewise.
66276         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
66277         <bp-asm.h>.
66278         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
66279         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
66280         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
66281         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
66282         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
66283         <bp-asm.h>.
66284         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
66285         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
66286         about bounded pointers.
66287         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
66288         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
66289         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
66290         <bp-asm.h>.
66291         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
66292         about bounded pointers.  Remove GKM FIXME comments.
66293         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
66294         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
66295         <bp-asm.h>.
66296         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
66297         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
66298         Remove GKM FIXME comments.
66299         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
66300         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
66301         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
66302         <bp-asm.h>.
66303         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
66304         about bounded pointers.  Remove GKM FIXME comment.
66305         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
66306         and <bp-asm.h>.
66307         (strncmp): Don't use BP_SYM.  Remove comment about bounded
66308         pointers.
66309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
66310         <bp-sym.h> and <bp-asm.h>.
66311         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
66312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
66313         <bp-sym.h> and <bp-asm.h>.
66314         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
66315         comment.
66317 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
66319         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
66320         call free(NULL).
66322 2013-03-05  David S. Miller  <davem@davemloft.net>
66324         * po/es.po: Update from translation team.
66326 2013-03-05  Andreas Jaeger  <aj@suse.de>
66328         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
66329         <bits/mman-linux.h>.
66330         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
66331         is fine.
66332         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
66333         <bits/mman-linux.h> to end of file.
66334         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
66335         is fine.
66336         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
66337         <bits/mman-linux.h> to end of file.
66338         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
66339         is fine.
66340         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
66341         <bits/mman-linux.h> to end of file.
66343         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
66344         (MCL_CURRENT, MCL_FUTURE): Define here.
66346 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66348         [BZ #15232]
66349         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
66350         attribute_hidden.
66351         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
66353 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66355         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
66356         fourth parameter needed for rt_sigprocmask syscall.
66357         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
66358         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
66359         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
66360         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
66361         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
66362         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
66364 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
66366         [BZ #13550]
66367         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
66368         comment about bounded pointers.
66369         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
66370         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
66372 2013-03-04  Andreas Jaeger  <aj@suse.de>
66374         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
66375         common definitions.
66377         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
66378         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
66379         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
66380         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
66381         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
66382         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
66384 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66386         [BZ #15055]
66387         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
66388         __ieee754_sqrl instead of __sqrl.
66390 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
66392         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
66393         * sysdeps/powerpc/fpu_control.h: ... here.
66394         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
66395         * sysdeps/powerpc/bits/fenvinline.h: ... here.
66396         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
66397         * sysdeps/powerpc/bits/mathinline.h: ... here.
66399 2013-03-01  Roland McGrath  <roland@hack.frob.com>
66401         * elf/dl-hwcaps.c (_dl_important_hwcaps):
66402         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
66403         to just [NEED_DL_SYSINFO_DSO].
66404         * elf/dl-support.c: Likewise.
66405         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
66406         * elf/rtld.c (dl_main): Likewise.
66407         * elf/setup-vdso.h (setup_vdso): Likewise.
66408         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
66409         * sysdeps/unix/sysv/linux/dl-sysdep.c
66410         (_dl_discover_osversion): Likewise.
66412 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
66414         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
66415         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
66417 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
66419         * NEWS: Mention libm performance improvements and non-x86 PI
66420         futex support.
66422         * csu/libc-start.c (__pthread_initialize_minimal): Change
66423         function arguments.
66424         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
66426 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
66428         [BZ #13550]
66429         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
66430         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
66431         <bp-sym.h> and <bp-asm.h>.
66432         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
66433         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
66434         and <bp-asm.h>.
66435         (memcpy): Don't use BP_SYM.
66436         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
66437         <bp-asm.h>.
66438         (__mpn_add_n): Don't use BP_SYM.
66439         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
66440         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
66441         and <bp-asm.h>.
66442         (__mpn_addmul_1): Don't use BP_SYM.
66443         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66444         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
66445         <bp-sym.h>.
66446         (_setjmp): Don't use BP_SYM.
66447         (__novmx_setjmp): Likewise.
66448         (__GI__setjmp): Likewise.
66449         (__vmx_setjmp): Likewise.
66450         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
66451         <bp-sym.h>.
66452         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
66453         (__bzero): Don't use BP_SYM.
66454         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
66455         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
66456         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
66457         <bp-sym.h> and <bp-asm.h>.
66458         (memcpy): Don't use BP_SYM.
66459         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
66460         <bp-sym.h> and <bp-asm.h>.
66461         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
66462         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
66463         <bp-sym.h> and <bp-asm.h>.
66464         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
66465         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
66466         <bp-asm.h>.
66467         (__mpn_lshift): Don't use BP_SYM.
66468         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
66469         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
66470         <bp-asm.h>.
66471         (memset): Don't use BP_SYM.
66472         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
66473         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
66474         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
66475         <bp-asm.h>.
66476         (__mpn_mul_1): Don't use BP_SYM.
66477         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66478         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
66479         <bp-sym.h> and <bp-asm.h>.
66480         (memcmp): Don't use BP_SYM.
66481         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
66482         <bp-sym.h> and <bp-asm.h>.
66483         (memcpy): Don't use BP_SYM.
66484         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
66485         <bp-sym.h> and <bp-asm.h>.
66486         (memset): Don't use BP_SYM.
66487         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
66488         <bp-sym.h> and <bp-asm.h>.
66489         (strncmp): Don't use BP_SYM.
66490         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
66491         <bp-sym.h> and <bp-asm.h>.
66492         (memcpy): Don't use BP_SYM.
66493         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
66494         <bp-sym.h> and <bp-asm.h>.
66495         (memset): Don't use BP_SYM.
66496         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
66497         <bp-sym.h> and <bp-asm.h>.
66498         (__memchr): Don't use BP_SYM.
66499         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
66500         <bp-sym.h> and <bp-asm.h>.
66501         (memcmp): Don't use BP_SYM.
66502         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
66503         <bp-sym.h> and <bp-asm.h>.
66504         (memcpy): Don't use BP_SYM.
66505         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
66506         <bp-sym.h> and <bp-asm.h>.
66507         (__mempcpy): Don't use BP_SYM.
66508         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
66509         <bp-sym.h> and <bp-asm.h>.
66510         (__memrchr): Don't use BP_SYM.
66511         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
66512         <bp-sym.h> and <bp-asm.h>.
66513         (memset): Don't use BP_SYM.
66514         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
66515         <bp-sym.h> and <bp-asm.h>.
66516         (__rawmemchr): Don't use BP_SYM.
66517         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
66518         <bp-sym.h> and <bp-asm.h>.
66519         (__STRCMP): Don't use BP_SYM.
66520         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
66521         <bp-sym.h> and <bp-asm.h>.
66522         (strchr): Don't use BP_SYM.
66523         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
66524         <bp-sym.h> and <bp-asm.h>.
66525         (__strchrnul): Don't use BP_SYM.
66526         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
66527         <bp-sym.h> and <bp-asm.h>.
66528         (strlen): Don't use BP_SYM.
66529         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
66530         <bp-sym.h> and <bp-asm.h>.
66531         (strncmp): Don't use BP_SYM.
66532         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
66533         <bp-sym.h> and <bp-asm.h>.
66534         (__strnlen): Don't use BP_SYM.
66535         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
66536         <bp-asm.h>.
66537         (__mpn_rshift): Don't use BP_SYM.
66538         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
66539         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
66540         <bp-sym.h> and <bp-asm.h>.
66541         (__sigsetjmp): Don't use BP_SYM.
66542         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
66543         (L(start_addresses)): Don't use BP_SYM.
66544         (_start): Likewise.
66545         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
66546         <bp-asm.h>.
66547         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
66548         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
66549         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
66550         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
66551         <bp-asm.h>.
66552         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
66553         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
66554         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
66555         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
66556         <bp-asm.h>.
66557         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
66558         comments.
66559         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
66560         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
66561         <bp-asm.h>.
66562         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
66563         FIXME comments.
66564         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
66565         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
66566         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
66567         <bp-asm.h>.
66568         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
66569         comment.
66570         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
66571         and <bp-asm.h>.
66572         (strncmp): Don't use BP_SYM,
66573         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
66574         <bp-asm.h>.
66575         (__mpn_sub_n): Don't use BP_SYM.
66576         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66577         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
66578         and <bp-asm.h>.
66579         (__mpn_submul_1): Don't use BP_SYM.
66580         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
66582         <bp-sym.h> and <bp-asm.h>.
66583         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
66584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
66585         <bp-sym.h> and <bp-asm.h>.
66586         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
66587         comment.
66589 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66591         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
66592         Use ZK to minimize writes to Z.
66593         (sub_magnitudes): Simplify code a bit.
66594         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
66595         Use ZK to minimize writes to Z.
66596         (sub_magnitudes): Simplify code a bit.
66598 2013-02-27  Roland McGrath  <roland@hack.frob.com>
66600         * csu/gmon-start.c: Add special exception to license text.
66602 2013-02-27  Richard Henderson  <rth@redhat.com>
66604         * scripts/config.guess: Update from config.git.
66605         * scripts/config.sub: Likewise.
66607 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
66609         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
66611         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
66613         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
66615         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
66617         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
66619 2013-02-26  Roland McGrath  <roland@hack.frob.com>
66621         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
66622         [$(build-shared = yes].
66624 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
66626         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
66627         (__mul): Reduce iterations for calculating mantissa.
66629         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
66630         MPTWO.
66631         (__mpranred): Likewise.
66633         [BZ #15160]
66634         * malloc/memusagestat.c (main): Draw graphs for heap and stack
66635         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
66637 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
66639         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
66640         Define __attribute__.
66642 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
66644         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
66645         unused.
66646         * posix/regex_internal.h (__attribute): Remove.
66647         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
66648         (re_string_context_at): Likewise.
66649         (bitset_not): Use __attribute__ and mark function as possibly
66650         unused.
66651         (bitset_merge): Likewise.
66652         (bitset_mask): Likewise.
66653         (re_string_char_size_at): Likewise.
66654         (re_string_wchar_at): Likewise.
66655         (re_string_elem_size_at): Likewise.
66657 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
66659         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
66660         code.
66661         (cc32): Likewise.
66663         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
66664         (__acr): Likewise.
66665         (__cpy): Likewise.
66666         (norm): Likewise.
66667         (denorm): Likewise.
66668         (__dbl_mp): Likewise.
66669         (add_magnitudes): Likewise.
66670         (sub_magnitudes): Likewise.
66671         (__mul): Likewise.
66672         (__inv): Likewise.
66674         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
66675         style.
66677         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
66678         style.
66680         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
66681         code.
66683         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
66684         up changes with default code.
66685         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
66686         Likewise.
66688 2013-02-24  Allan McRae  <allan@archlinux.org>
66690         * manual/socket.texi (The Internet Namespace): Order menu items
66691         to match that in the file.
66693         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
66694         node listing of the info page menu.
66696 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
66698         [BZ #13550]
66699         * sysdeps/i386/bp-asm.h: Remove file.
66700         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
66701         (PARMS): Do not use macros from bp-asm.h.
66702         (S1): Likewise.
66703         (S2): Likewise.
66704         (SIZE): Likewise.
66705         (__mpn_add_n): Do not use BP_SYM
66706         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
66707         "bp-asm.h".
66708         (PARMS): Do not use macros from bp-asm.h.
66709         (S1): Likewise.
66710         (SIZE): Likewise.
66711         (__mpn_addmul_1): Do not use BP_SYM
66712         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
66713         "bp-asm.h".
66714         (PARMS): Do not use macros from bp-asm.h.
66715         (SIGMSK): Likewise.
66716         (_setjmp): Likewise.  Do not use BP_SYM.
66717         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
66718         "bp-asm.h".
66719         (PARMS): Do not use macros from bp-asm.h.
66720         (SIGMSK): Likewise.
66721         (setjmp): Likewise.  Do not use BP_SYM.
66722         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
66723         "bp-asm.h".
66724         (PARMS): Do not use macros from bp-asm.h.
66725         (__frexp): Do not use BP_SYM.
66726         (frexp): Likewise.
66727         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
66728         "bp-asm.h".
66729         (PARMS): Do not use macros from bp-asm.h.
66730         (__frexpf): Do not use BP_SYM.
66731         (frexpf): Likewise.
66732         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
66733         "bp-asm.h".
66734         (PARMS): Do not use macros from bp-asm.h.
66735         (__frexpl): Do not use BP_SYM.
66736         (frexpl): Likewise.
66737         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
66738         "bp-asm.h".
66739         (PARMS): Do not use macros from bp-asm.h.
66740         (__remquo): Do not use BP_SYM.
66741         (remquo): Likewise.
66742         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
66743         "bp-asm.h".
66744         (PARMS): Do not use macros from bp-asm.h.
66745         (__remquof): Do not use BP_SYM.
66746         (remquof): Likewise.
66747         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
66748         "bp-asm.h".
66749         (PARMS): Do not use macros from bp-asm.h.
66750         (__remquol): Do not use BP_SYM.
66751         (remquol): Likewise.
66752         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
66753         "bp-asm.h".
66754         (PARMS): Do not use macros from bp-asm.h.
66755         (DEST): Likewise.
66756         (SRC): Likewise.
66757         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
66758         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
66759         "bp-asm.h".
66760         (PARMS): Do not use macros from bp-asm.h.
66761         (strlen): Do not use BP_SYM.
66762         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
66763         "bp-asm.h".
66764         (PARMS): Do not use macros from bp-asm.h.
66765         (S1): Likewise.
66766         (S2): Likewise.
66767         (SIZE): Likewise.
66768         (__mpn_add_n): Do not use BP_SYM.
66769         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
66770         "bp-asm.h".
66771         (PARMS): Do not use macros from bp-asm.h.
66772         (S1): Likewise.
66773         (SIZE): Likewise.
66774         (__mpn_addmul_1): Do not use BP_SYM.
66775         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
66776         weak_alias.
66777         (bzero): Likewise.
66778         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
66779         "bp-asm.h".
66780         (PARMS): Do not use macros from bp-asm.h.
66781         (S): Likewise.
66782         (SIZE): Likewise.
66783         (__mpn_lshift): Do not use BP_SYM.
66784         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
66785         "bp-asm.h".
66786         (PARMS): Do not use macros from bp-asm.h.
66787         (DEST): Likewise.
66788         (SRC): Likewise.
66789         (LEN): Likewise.
66790         (memcpy): Likewise.  Do not use BP_SYM.
66791         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
66792         libc_hidden_def and weak_alias.
66793         (mempcpy): Do not use BP_SYM in weak_alias.
66794         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
66795         "bp-asm.h".
66796         (PARMS): Do not use macros from bp-asm.h.
66797         (DEST): Likewise.
66798         (LEN): Likewise.
66799         [!BZERO_P] (CHR): Likewise.
66800         (memset): Likewise.  Do not use BP_SYM.
66801         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
66802         "bp-asm.h".
66803         (PARMS): Do not use macros from bp-asm.h.
66804         (S1): Likewise.
66805         (SIZE): Likewise.
66806         (__mpn_mul_1): Do not use BP_SYM.
66807         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
66808         "bp-asm.h".
66809         (PARMS): Do not use macros from bp-asm.h.
66810         (S): Likewise.
66811         (SIZE): Likewise.
66812         (__mpn_rshift): Do not use BP_SYM.
66813         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
66814         "bp-asm.h".
66815         (PARMS): Do not use macros from bp-asm.h.
66816         (STR): Likewise.
66817         (CHR): Likewise.
66818         (strchr): Likewise.  Do not use BP_SYM.
66819         (index): Do not use BP_SYM in weak_alias.
66820         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
66821         "bp-asm.h".
66822         (PARMS): Do not use macros from bp-asm.h.
66823         (DEST): Likewise.
66824         (SRC): Likewise.
66825         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
66826         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
66827         "bp-asm.h".
66828         (PARMS): Do not use macros from bp-asm.h.
66829         (strlen): Do not use BP_SYM.
66830         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
66831         "bp-asm.h".
66832         (PARMS): Do not use macros from bp-asm.h.
66833         (S1): Likewise.
66834         (S2): Likewise.
66835         (SIZE): Likewise.
66836         (__mpn_sub_n): Do not use BP_SYM.
66837         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
66838         "bp-asm.h".
66839         (PARMS): Do not use macros from bp-asm.h.
66840         (S1): Likewise.
66841         (SIZE): Likewise.
66842         (__mpn_submul_1): Do not use BP_SYM.
66843         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
66844         "bp-asm.h".
66845         (PARMS): Do not use macros from bp-asm.h.
66846         (S1): Likewise.
66847         (S2): Likewise.
66848         (SIZE): Likewise.
66849         (__mpn_add_n): Do not use BP_SYM.
66850         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
66851         weak_alias.
66852         (bzero): Likewise.
66853         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
66854         "bp-asm.h".
66855         (PARMS): Do not use macros from bp-asm.h.
66856         (BLK2): Likewise.
66857         (LEN): Likewise.
66858         (memcmp): Do not use BP_SYM.
66859         (bcmp): Do not use BP_SYM in weak_alias.
66860         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
66861         "bp-asm.h".
66862         (PARMS): Do not use macros from bp-asm.h.
66863         (DEST): Likewise.
66864         (SRC): Likewise.
66865         (LEN): Likewise.
66866         (memcpy): Likewise.  Do not use BP_SYM.
66867         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
66868         "bp-asm.h".
66869         (PARMS): Do not use macros from bp-asm.h.
66870         (DEST): Likewise.
66871         (SRC): Likewise.
66872         (LEN): Likewise.
66873         (memmove): Likewise.  Do not use BP_SYM.
66874         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
66875         "bp-asm.h".
66876         (PARMS): Do not use macros from bp-asm.h.
66877         (DEST): Likewise.
66878         (SRC): Likewise.
66879         (LEN): Likewise.
66880         (__mempcpy): Likewise.  Do not use BP_SYM.
66881         (mempcpy): Do not use BP_SYM in weak_alias.
66882         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
66883         "bp-asm.h".
66884         (PARMS): Do not use macros from bp-asm.h.
66885         (DEST): Likewise.
66886         (LEN): Likewise.
66887         [!BZERO_P] (CHR): Likewise.
66888         (memset): Likewise.  Do not use BP_SYM.
66889         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
66890         "bp-asm.h".
66891         (PARMS): Do not use macros from bp-asm.h.
66892         (STR2): Likewise.
66893         (strcmp): Do not use BP_SYM.
66894         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
66895         "bp-asm.h".
66896         (PARMS): Do not use macros from bp-asm.h.
66897         (STR): Likewise.
66898         (DELIM): Likewise.
66899         [USE_AS_STRTOK_R] (SAVE): Likewise.
66900         (FUNCTION): Likewise.  Do not use BP_SYM.
66901         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
66902         aliases.
66903         (strtok_r): Likewise.
66904         (__GI___strtok_r): Likewise.
66905         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
66906         (PARMS): Do not use macros from bp-asm.h.
66907         (S): Likewise.
66908         (SIZE): Likewise.
66909         (__mpn_lshift): Do not use BP_SYM.
66910         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
66911         (PARMS): Do not use macros from bp-asm.h.
66912         (STR): Likewise.
66913         (CHR): Likewise.
66914         (__memchr): Do not use BP_SYM.
66915         (memchr): Do not use BP_SYM in weak_alias.
66916         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
66917         (PARMS): Do not use macros from bp-asm.h.
66918         (BLK2): Likewise.
66919         (LEN): Likewise.
66920         (memcmp): Do not use BP_SYM.
66921         (bcmp): Do not use BP_SYM in weak_alias.
66922         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
66923         (PARMS): Do not use macros from bp-asm.h.
66924         (S1): Likewise.
66925         (SIZE): Likewise.
66926         (__mpn_mul_1): Do not use BP_SYM.
66927         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
66928         "bp-asm.h".
66929         (PARMS): Do not use macros from bp-asm.h.
66930         (STR): Likewise.
66931         (CHR): Likewise.
66932         (__rawmemchr): Do not use BP_SYM.
66933         (rawmemchr): Do not use BP_SYM in weak_alias.
66934         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
66935         (PARMS): Do not use macros from bp-asm.h.
66936         (S): Likewise.
66937         (SIZE): Likewise.
66938         (__mpn_rshift): Do not use BP_SYM.
66939         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
66940         (PARMS): Do not use macros from bp-asm.h.
66941         (SIGMSK): Likewise.
66942         (__sigsetjmp): Likewise.  Do not use BP_SYM.
66943         * sysdeps/i386/start.S: Do not include "bp-sym.h".
66944         (_start): Do not use BP_SYM.
66945         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
66946         (PARMS): Do not use macros from bp-asm.h.
66947         (DEST): Likewise.
66948         (SRC): Likewise.
66949         (__stpcpy): Likewise.  Do not use BP_SYM.
66950         (stpcpy): Do not use BP_SYM in weak_alias.
66951         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
66952         "bp-asm.h".
66953         (PARMS): Do not use macros from bp-asm.h.
66954         (DEST): Likewise.
66955         (SRC): Likewise.
66956         (LEN): Likewise.
66957         (__stpncpy): Likewise.  Do not use BP_SYM.
66958         (stpncpy): Do not use BP_SYM in weak_alias.
66959         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
66960         (PARMS): Do not use macros from bp-asm.h.
66961         (STR): Likewise.
66962         (CHR): Likewise.
66963         (strchr): Likewise.  Do not use BP_SYM.
66964         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
66965         "bp-asm.h".
66966         (PARMS): Do not use macros from bp-asm.h.
66967         (STR): Likewise.
66968         (CHR): Likewise.
66969         (__strchrnul): Likewise.  Do not use BP_SYM.
66970         (strchrnul): Do not use BP_SYM in weak_alias.
66971         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
66972         "bp-asm.h".
66973         (PARMS): Do not use macros from bp-asm.h.
66974         (STOP): Likewise.
66975         (strcspn): Do not use BP_SYM.
66976         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
66977         "bp-asm.h".
66978         (PARMS): Do not use macros from bp-asm.h.
66979         (STR): Likewise.
66980         (STOP): Likewise.
66981         (strpbrk): Likewise.  Do not use BP_SYM.
66982         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
66983         "bp-asm.h".
66984         (PARMS): Do not use macros from bp-asm.h.
66985         (STR): Likewise.
66986         (CHR): Likewise.
66987         (strrchr): Likewise.  Do not use BP_SYM.
66988         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
66989         (PARMS): Do not use macros from bp-asm.h.
66990         (SKIP): Likewise.
66991         (strspn): Do not use BP_SYM.
66992         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
66993         (PARMS): Do not use macros from bp-asm.h.
66994         (STR): Likewise.
66995         (DELIM): Likewise.
66996         (SAVE): Likewise.
66997         (FUNCTION): Likewise.  Do not use BP_SYM.
66998         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
66999         aliases.
67000         (strtok_r): Likewise.
67001         (__GI___strtok_r): Likewise.
67002         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
67003         (PARMS): Do not use macros from bp-asm.h.
67004         (S1): Likewise.
67005         (S2): Likewise.
67006         (SIZE): Likewise.
67007         (__mpn_sub_n): Do not use BP_SYM.
67008         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
67009         "bp-asm.h".
67010         (PARMS): Do not use macros from bp-asm.h.
67011         (S1): Likewise.
67012         (SIZE): Likewise.
67013         (__mpn_submul_1): Do not use BP_SYM.
67014         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
67015         <bp-sym.h>.
67016         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
67017         and <bp-asm.h>.
67018         (PARMS): Do not use macros from bp-asm.h.
67019         (FLAGS): Likewise.
67020         (PTID): Likewise.
67021         (TLS): Likewise.
67022         (CTID): Likewise.
67023         (__clone): Do not use BP_SYM.
67024         (clone): Do not use BP_SYM in weak_alias.
67025         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
67026         and <bp-asm.h>.
67027         (PARMS): Do not use macros from bp-asm.h.
67028         (LEN): Likewise.
67029         (__mmap64): Do not use BP_SYM.
67030         (mmap64): Do not use BP_SYM in weak_alias.
67031         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
67032         <bp-sym.h> and <bp-asm.h>.
67033         (PARMS): Do not use macros from bp-asm.h.
67034         (__posix_fadvise64_l64): Do not use BP_SYM.
67035         * sysdeps/unix/sysv/linux/i386/semtimedop.S
67036         (PARMS): Do not use macros from bp-asm.h.
67037         (NSOPS): Likewise.
67038         (semtimedop): Do not use BP_SYM.
67039         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
67040         and <bp-asm.h>.
67042 2013-02-21  Allan McRae  <allan@archlinux.org>
67044         * manual/message.texi (Charset conversion in gettext):
67045         Move @end statement to beginning of line.
67047 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
67049         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
67050         static.
67051         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
67052         Likewise.
67054         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
67055         (denorm): Likewise.
67056         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
67057         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
67059 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67061         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
67062         tail-call to the resolved function if pltexit isn't needed.
67064 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
67066         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
67067         or Y being zero as being unlikely.
67068         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
67069         Likewise.
67071 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
67073         * manual/nss.texi (System Databases and Name Service Switch):
67074         Remove frobnicate @pxref.
67076 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
67078         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
67079         __attribute__ ((unused)) to __attribute__ ((__unused__)).
67081 2013-02-20  Petr Machata  <pmachata@redhat.com>
67083         * elf/elf.h (R_ARM_TARGET1): New macro.
67084         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
67085         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
67086         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
67087         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
67088         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
67089         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
67090         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
67091         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
67092         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
67093         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
67094         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
67095         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
67096         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
67097         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
67098         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
67099         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
67100         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
67101         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
67102         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
67103         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
67104         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
67105         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
67106         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
67107         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
67108         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
67109         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
67110         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
67111         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
67112         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
67113         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
67114         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
67115         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
67116         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
67117         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
67118         (R_ARM_THM_GOT_BREL12): Likewise.
67119         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
67120         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
67121         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
67122         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
67123         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
67124         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
67125         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
67126         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
67127         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
67129 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
67131         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
67132         __attribute_used__ to __attribute__ ((unused)).
67134 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
67136         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
67137         powerpc mpa.c.
67138         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
67139         comment formatting.
67140         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
67142 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
67144         [BZ #13550]
67145         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
67146         Remove macro.
67147         (ENTER): Remove both macro definitions.
67148         (LEAVE): Likewise.
67149         (CHECK_BOUNDS_LOW): Likewise.
67150         (CHECK_BOUNDS_HIGH): Likewise.
67151         (CHECK_BOUNDS_BOTH): Likewise.
67152         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
67153         (RETURN_BOUNDED_POINTER): Likewise.
67154         (RETURN_NULL_BOUNDED_POINTER): Likewise.
67155         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
67156         (POP_ERRNO_LOCATION_RETURN): Likewise.
67157         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
67158         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67159         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
67160         macros.
67161         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67162         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
67163         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
67164         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
67165         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
67166         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
67167         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
67168         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
67169         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
67170         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
67171         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
67172         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
67173         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67174         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
67175         removed macros.
67176         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67177         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
67178         macros.
67179         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67180         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
67181         * sysdeps/i386/i586/memset.S (memset): Likewise.
67182         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
67183         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67184         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
67185         macros.
67186         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67187         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
67188         Change uses of L(2) to L(out).
67189         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
67190         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
67191         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
67192         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67193         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
67194         removed macros.
67195         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67196         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
67197         macros.
67198         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67199         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
67200         (RETURN): Do not use macro LEAVE.
67201         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
67202         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
67203         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
67204         * sysdeps/i386/i686/memset.S (memset): Likewise.
67205         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
67206         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
67207         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
67208         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
67209         Likewise.
67210         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
67211         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
67212         L(1_2) and L(1_3) into L(1).
67213         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
67214         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
67215         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67216         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
67217         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
67218         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
67219         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
67220         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67221         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
67222         macros.
67223         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
67224         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67225         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
67226         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
67227         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
67228         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
67229         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
67230         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
67231         * sysdeps/i386/strcspn.S (strcspn): Likewise.
67232         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
67233         * sysdeps/i386/strrchr.S (strrchr): Likewise.
67234         * sysdeps/i386/strspn.S (strspn): Likewise.
67235         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
67236         conditional code.
67237         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
67238         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
67239         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
67240         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
67241         L(1_3) into L(1_1).
67242         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
67243         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67244         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
67245         macros.
67246         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67248 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
67250         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
67251         macro.
67253 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
67255         * math/atest-exp.c (exp_mpn): Remove ROUND.
67256         * math/atest-exp2.c (exp_mpn): Likewise.
67257         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
67259         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
67260         * stdlib/tst-tls-atexit-lib.c: Likewise.
67261         * stdlib/tst-tls-atexit.c: Likewise.
67263 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
67265         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
67266         and __attribute_alloc_size__.
67268 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
67270         * include/programs/xmalloc.h: Change __attribute_alloc_size to
67271         __attribute_alloc_size__.
67272         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
67273         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
67275 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
67277         * include/programs/xmalloc.h: New file.
67278         * catgets/gencat.c: Include it.
67279         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
67280         * elf/pldd.c: Likewise.
67281         * iconv/iconv_charmap.c: Likewise.
67282         * iconv/iconvconfig.c: Likewise.
67283         * iconv/strtab.c: Likewise.
67284         * locale/programs/locale.c: Likewise.
67285         * locale/programs/localedef.h: Likewise.
67286         * locale/programs/simple-hash.c: Likewise.
67287         * nscd/nscd.h: Likewise.
67288         * nss/makedb.c: Likewise.
67289         * sysdeps/generic/ldconfig.h: Likewise.
67291 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
67293         * Versions.def: Add GLIBC_2.18.
67294         * include/link.h (struct link_map): New member l_tls_dtor_count.
67295         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
67296         (__call_tls_dtors): Likewise.
67297         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
67298         __cxa_thread_atexit_impl.
67299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67300         Likewise.
67301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67302         Likewise.
67303         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
67304         Likewise.
67305         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
67306         Likewise.
67307         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
67308         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
67309         Likewise.
67310         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
67311         Likewise.
67312         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
67313         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
67314         Likewise.
67315         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
67316         (tests): Add test case tst-tls-atexit.
67317         (modules-names): Add shared library for tst-tls-atexit.
67318         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
67319         (GLIBC_PRIVATE): Add __call_tls_dtors.
67320         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
67321         for libstdc++.
67322         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
67323         * stdlib/tst-tls-atexit.c: New test case.
67324         * stdlib/tst-tls-atexit-lib.c: New test case.
67326         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
67328         * elf/Versions (ld): Add _dl_find_dso_for_object.
67329         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
67330         * elf/dl-open.c (_dl_find_dso_for_object): New function.
67331         (dl_open_worker): Use _dl_find_dso_for_object.
67332         * elf/dl-sym.c (do_sym): Likewise.
67333         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
67335 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67337         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
67338         Syntactic changes only.
67339         (_dl_runtime_profile): Do a tail-call to the resolved function.
67341 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
67343         [BZ #13550]
67344         * sysdeps/x86_64/bp-asm.h: Remove file.
67345         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
67346         <bp-sym.h> and <bp-asm.h>.
67347         (__clone): Do not use BP_SYM.
67348         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
67349         <bp-sym.h> and <bp-asm.h>.
67350         * sysdeps/unix/x86_64/sysdep.S: Likewise.
67351         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
67352         "bp-asm.h".
67353         (_setjmp): Do not use BP_SYM.
67354         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
67355         "bp-asm.h".
67356         (setjmp): Do not use BP_SYM.
67357         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
67358         libc_hidden_def.
67359         (mempcpy): Do not use BP_SYM in weak_alias.
67360         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
67361         "bp-asm.h".
67362         (strchr): Do not use BP_SYM.
67363         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
67364         "bp-asm.h".
67365         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
67366         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
67367         (_start): Do not use BP_SYM.
67368         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
67369         "bp-asm.h".
67370         (strcat): Do not use BP_SYM.
67371         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
67372         "bp-asm.h".
67373         (STRCMP): Do not use BP_SYM.
67374         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
67375         "bp-asm.h".
67376         (STRCPY): Do not use BP_SYM.
67377         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
67378         "bp-asm.h".
67379         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
67380         "bp-asm.h".
67381         (FUNCTION): Do not use BP_SYM.
67382         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
67383         weak_alias.
67384         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
67386 2013-02-17  Andreas Jaeger  <aj@suse.de>
67388         * time/Versions: Sort entries.
67389         * string/Versions: Likewise.
67390         * resolv/Versions: Likewise.
67391         * posix/Versions: Likewise.
67392         * iconv/Versions: Likewise.
67393         * elf/Versions: Likewise.
67394         * wcsmbs/Versions: Likewise.
67396 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67398         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
67399         loop termination condition.
67401         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
67402         variable to calculate EZ.
67403         (__sqr): Likewise.
67405         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
67406         the lower precision input.
67408 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
67410         [BZ #13550]
67411         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
67412         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
67413         (run-via-rtld-prefix): Do not handle %-bp tests.
67414         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
67415         (all-object-suffixes): Remove .ob.
67416         (bppfx): Remove variable.
67417         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
67418         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
67419         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
67420         [$(build-bounded) = yes] (libtype.ob): Likewise.
67421         * Makerules (elide-routines.ob): Remove variable.
67422         (do-tests-clean): Do not handle *-bp.out.
67423         (common-mostlyclean): Do not handle *-bp and *-bp.out.
67424         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
67425         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
67426         (tests): Do not include $(tests-bp.out).
67427         (xtests): Do not include $(xtests-bp.out).
67428         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
67429         [$(build-bounded) = yes] ($(addprefix
67430         $(objpfx),$(binaries-bounded))): Remove rule.
67431         ($(objpfx)%-bp.out): Remove rule.
67432         * config.make.in (build-bounded): Remove variable.
67433         * crypt/Makefile [$(build-bounded) = yes]
67434         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
67435         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
67436         append to variable.
67437         [$(build-bounded) = yes] (install-lib): Likewise.
67438         [$(build-bounded) = yes] (generated): Likewise.
67439         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
67440         Remove rule.
67441         * intl/Makefile [$(build-bounded) = yes]
67442         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
67443         * math/Makefile [$(build-bounded) = yes]
67444         ($(tests:%=$(objpfx)%-bp): Likewise.
67445         * misc/Makefile [$(build-bounded) = yes]
67446         ($(objpfx)tst-tsearch-bp): Likewise.
67447         * nptl/Makeconfig (bounded-thread-library): Remove variable.
67448         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
67449         Remove dependency.
67450         * string/Makefile (o-objects.ob): Remove variable.
67451         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
67452         (CFLAGS-.ob): Remove variable.
67453         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
67454         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
67455         both definitions of variable.
67456         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
67457         (ASFLAGS-.ob): Remove variable.
67459 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
67461         [BZ #13550]
67462         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
67463         Remove __BOUNDED_POINTERS__ from condition.
67464         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
67465         * string/bits/string2.h [!__NO_STRING_INLINES &&
67466         !__BOUNDED_POINTERS__]: Likewise.
67467         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
67468         Likewise.
67469         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
67470         Remove conditional code.
67471         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
67472         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
67473         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
67474         condition.
67476         [BZ #13550]
67477         * csu/libc-start.c: Do not include <bp-sym.h>.
67478         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
67479         * elf/dl-open.c: Do not include <bp-sym.h>.
67480         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
67481         * math/fegetenv.c: Do not include <bp-sym.h>.
67482         (fegetenv): Do not use BP_SYM in versioned symbols.
67483         * nptl/sysdeps/pthread/bits/libc-lockP.h
67484         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
67485         <bp-sym.h>.
67486         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67487         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
67488         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67489         (__pthread_mutex_destroy): Likewise.
67490         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67491         (__pthread_mutex_lock): Likewise.
67492         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67493         (__pthread_mutex_trylock): Likewise.
67494         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67495         (__pthread_mutex_unlock): Likewise.
67496         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67497         (__pthread_mutexattr_init): Likewise.
67498         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67499         (__pthread_mutexattr_destroy): Likewise.
67500         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67501         (__pthread_mutexattr_settype): Likewise.
67502         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67503         (__pthread_rwlock_init): Likewise.
67504         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67505         (__pthread_rwlock_destroy): Likewise.
67506         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67507         (__pthread_rwlock_rdlock): Likewise.
67508         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67509         (__pthread_rwlock_tryrdlock): Likewise.
67510         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67511         (__pthread_rwlock_wrlock): Likewise.
67512         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67513         (__pthread_rwlock_trywrlock): Likewise.
67514         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67515         (__pthread_rwlock_unlock): Likewise.
67516         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67517         (__pthread_key_create): Likewise.
67518         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67519         (__pthread_setspecific): Likewise.
67520         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67521         (__pthread_getspecific): Likewise.
67522         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
67523         Likewise.
67524         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67525         (_pthread_cleanup_push_defer): Likewise.
67526         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67527         (_pthread_cleanup_pop_restore): Likewise.
67528         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67529         (pthread_setcancelstate): Likewise.
67530         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
67531         <bp-sym.h>.
67532         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
67533         (memchr): Do not use BP_SYM in weak_alias.
67534         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
67535         (fegetenv): Do not use BP_SYM in versioned symbols.
67536         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
67537         (fesetenv): Do not use BP_SYM in versioned symbols.
67538         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
67539         (feupdateenv): Do not use BP_SYM in versioned symbols.
67540         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
67541         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
67542         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
67543         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
67544         (open64): Do not use BP_SYM in weak_alias.
67545         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
67546         (fegetenv): Do not use BP_SYM in versioned symbols.
67547         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
67548         (fesetenv): Do not use BP_SYM in versioned symbols.
67549         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
67550         (feupdateenv): Do not use BP_SYM in versioned symbols.
67551         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
67552         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
67553         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
67554         (feraiseexcept): Do not use BP_SYM in versioned symbols.
67555         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
67556         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
67557         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
67558         <bp-sym.h>.
67559         (__libc_start_main): Do not use BP_SYM.
67561 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
67563         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
67564         redundant return line.
67565         (norm): Likewise.
67566         (denorm): Likewise.
67567         (dbl_mp): Likewise.
67568         (sub_magnitudes): Likewise.
67569         (__add): Likewise.
67570         (__sub): Likewise.
67571         (__mul): Likewise.
67572         (__inv): Likewise.
67573         (__dvd): Likewise.
67574         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
67575         (norm): Likewise.
67576         (denorm): Likewise.
67577         (dbl_mp): Likewise.
67578         (sub_magnitudes): Likewise.
67579         (__add): Likewise.
67580         (__sub): Likewise.
67581         (__mul): Likewise.
67582         (__inv): Likewise.
67583         (__dvd): Likewise.
67585         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
67586         instead of __mul.
67587         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
67588         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
67589         (cc32): Likewise.
67591         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
67592         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
67593         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
67594         of __mul for squares.
67595         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
67596         function
67597         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
67598         Likewise.
67599         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
67600         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
67602 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
67604         [BZ #13550]
67605         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
67606         code.
67607         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
67608         prototype or function definition.  Rename ubp_* variables and
67609         parameters.  Remove argv definitions conditional on
67610         [__BOUNDED_POINTERS__].
67611         * debug/backtrace.c (__backtrace): Do not use __unbounded.
67612         * elf/dl-runtime.c (_dl_fixup): Likewise.
67613         * include/set-hooks.h (RUN_HOOK): Likewise.
67614         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
67615         definition.
67616         * string/strcpy.c (strcpy): Do not use __unbounded.
67617         * sysdeps/generic/frame.h (struct layout): Likewise.
67618         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
67619         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
67620         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
67621         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
67622         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
67623         (__backtrace): Likewise.
67624         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
67625         use __ptrvalue.
67626         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
67627         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
67628         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
67629         Likewise.
67630         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
67631         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
67632         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
67633         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
67634         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
67635         Do not use __unbounded.
67636         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
67637         Rename __unboundedrlimits parameter to rlimits in prototype.
67638         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
67639         Do not use __unbounded.
67640         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
67641         not use __ptrvalue.
67642         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
67643         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
67644         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
67645         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
67646         __ptrvalue or __unbounded.
67647         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
67648         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
67649         use __unbounded.
67650         (__new_msgctl): Do not use __ptrvalue.
67651         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
67652         __unbounded.
67653         (__libc_msgrcv): Do not use __ptrvalue.
67654         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
67655         startup_info): Do not use __unbounded.
67656         (__libc_start_main): Likewise.  Rename ubp_* variables and
67657         parameters.  Remove argv definitions conditional on
67658         [__BOUNDED_POINTERS__].
67659         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
67660         __ptrvalue.
67661         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
67662         use __unbounded.
67663         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
67664         or __ptrvalue.
67665         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
67666         use __unbounded.
67667         (__new_shmctl): Do not use __ptrvalue.
67668         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
67669         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
67670         Likewise.
67671         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
67672         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
67673         (__libc_sigaction): Likewise.
67674         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
67675         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
67676         Likewise.
67677         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
67679 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
67681         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
67683         * string/mempcpy.c: Implement by calling memcpy.
67685 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
67687         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
67689         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
67690         evaluation.
67692         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
67693         values in the mantissa.
67695         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
67696         minimize writes to Z.
67697         (sub_magnitudes): Simplify code a bit.
67699 2013-02-12  Roland McGrath  <roland@hack.frob.com>
67701         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
67702         from the message.  The linker prefixes all warnings with that already.
67704 2013-02-12  Andreas Schwab  <schwab@suse.de>
67706         [BZ #15078]
67707         * posix/regexec.c (extend_buffers): Add parameter min_len.
67708         (check_matching): Pass minimum needed length.
67709         (clean_state_log_if_needed): Likewise.
67710         (get_subexp): Likewise.
67711         * posix/Makefile (tests): Add bug-regex34.
67712         (bug-regex34-ENV): Define.
67713         * posix/bug-regex34.c: New file.
67715         [BZ #11561]
67716         * posix/regcomp.c (parse_bracket_exp): When looking up collating
67717         elements compare against the byte sequence of it, not its name.
67718         * posix/Makefile (tests): Add bug-regex35.
67719         (bug-regex35-ENV): Define.
67720         * posix/bug-regex35.c: New file.
67722 2013-02-11  Tom de Vries  <tom@codesourcery.com>
67724         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
67725         comment.
67726         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
67727         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
67728         (CHECK_EOL): Add undef.
67730 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
67732         * bits/stdlib-bsearch.h: New file.
67733         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
67734         * stdlib/stdlib.h: Likewise.
67736 2013-02-11  Roland McGrath  <roland@hack.frob.com>
67738         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
67739         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
67740         declaration.
67741         * manual/search.texi (Array Search Function): Add missing const in
67742         lfind prototype.
67743         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
67744         declaration to use rlim_t.
67745         (Basic Scheduling Functions): Remove erroneous const from
67746         sched_getparam prototype.  Remove erroneous * from
67747         sched_get_priority_max and sched_get_priority_min prototypes.
67748         (Resource Usage): Fix summary @comment on vtimes to refer to
67749         sys/vtimes.h rather than vtimes.h.
67750         Add missing *s in vtimes prototype.
67751         (Limits on Resources): Fix ulimit prototype to return long int.
67752         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
67753         prototypes to use long int rather than double.
67754         (BSD Random): Fix initstate and setstate to use char *, not void *.
67755         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
67756         prototype to make second argument 'struct aiocb64 *const[]'.
67757         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
67758         (Status of AIO Operations): Remove erroneous const in aio_return and
67759         aio_return64 prototypes.
67760         (Synchronizing I/O): Fix sync prototype to return void.
67761         * manual/startup.texi (Suboptions): Remove an erroneous const in
67762         getsubopt prototype.
67763         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
67764         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
67765         use size_t rather than int.
67766         (Scanning All Users): Likewise for getpwent_r.
67767         (Setting Groups): Add missing const to setgroups prototype.
67768         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
67769         * manual/socket.texi (Host Names): Fix gethostbyaddr and
67770         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
67771         'const void *' rather than 'const char *'.
67772         (Host Address Functions): Likewise for inet_ntop.
67773         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
67774         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
67775         ssize_t for return value.
67776         (Sending Data): Likewise for send, sendto, sendmsg.
67777         (Socket Option Functions): Add a missing const in setsockopt prototype.
67778         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
67779         use wchar_t for the argument.
67780         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
67781         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
67782         take no arguments.
67783         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
67784         double/float/long double for second argument.
67785         Fix return types of significand, significandf, significandl.
67786         * manual/filesys.texi (Setting Permissions): Use mode_t for second
67787         argument in fchmod prototype.
67788         (File Owner): Use uid_t and gid_t in fchown prototype.
67789         (File Times): Add const to utimes, futimes, and lutimes prototypes.
67790         (Making Special Files): Use mode_t and dev_t in mknod prototype.
67791         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
67792         use 'const struct dirent **' as argument types to CMP function pointer
67793         argument.
67794         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
67795         (File Times): Fix summary magic @comment for struct utimbuf and utime
67796         to refer to utime.h, not time.h.
67797         * manual/string.texi (Argz Functions): Add missing const in
67798         argz_extract and argz_next prototypes.
67799         (Finding Tokens in a String): Likewise for basename.
67800         (String/Array Comparison): Fix typo in wcscasecmp prototype.
67801         (Copying and Concatenation): Fix typo in wmemmove prototype.
67802         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
67803         (Signal Stack): Remove erroneous const in sigstack prototype.
67804         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
67805         prototype.
67806         (Simple Calendar Time): Likewise for stime.
67807         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
67808         prototype.
67809         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
67810         say sys/sysctl.h instead.
67811         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
67812         and vsyslog prototypes.
67814 2013-02-11  Tom de Vries  <tom@codesourcery.com>
67816         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
67817         Remove.
67819 2013-02-11  Roland McGrath  <roland@hack.frob.com>
67821         * misc/sys/mman.h: Fix typo in mremap comment.
67823 2013-02-08  Roland McGrath  <roland@hack.frob.com>
67825         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
67826         the '\0' terminator.
67828 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
67830         [BZ #13550]
67831         * debug/segfault.c: Don't include <bp-checks.h>.
67832         * sysdeps/generic/bp-checks.h: Remove file.
67833         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
67834         (__GETDENTS): Don't use CHECK_N.
67835         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
67836         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
67837         (__getgroups): Don't use CHECK_N.
67838         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
67839         (setgroups): Don't use CHECK_N.
67840         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
67841         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
67842         (__libc_msgrcv): Don't use CHECK_N.
67843         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
67844         (__libc_msgsnd): Don't use CHECK_N.
67845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
67846         <bp-checks.h>.
67847         (__libc_pread): Don't use CHECK_N.
67848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
67849         include <bp-checks.h>.
67850         (__libc_pread64): Don't use CHECK_N.
67851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
67852         include <bp-checks.h>.
67853         (__libc_pwrite): Don't use CHECK_N.
67854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
67855         include <bp-checks.h>.
67856         (__libc_pwrite64): Don't use CHECK_N.
67857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
67858         <bp-checks.h>.
67859         (__libc_pread): Don't use CHECK_N.
67860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
67861         include <bp-checks.h>.
67862         (__libc_pread64): Don't use CHECK_N.
67863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
67864         include <bp-checks.h>.
67865         (__libc_pwrite): Don't use CHECK_N.
67866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
67867         include <bp-checks.h>.
67868         (__libc_pwrite64): Don't use CHECK_N.
67869         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
67870         (do_pread): Don't use CHECK_N.
67871         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
67872         (do_pread64): Don't use CHECK_N.
67873         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
67874         (do_pwrite): Don't use CHECK_N.
67875         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
67876         (do_pwrite64): Don't use CHECK_N.
67877         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
67878         (__libc_readv): Don't use CHECK_N.
67879         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
67880         (semop): Don't use CHECK_N.
67881         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
67882         <bp-checks.h>.
67883         (semtimedop): Don't use CHECK_N.
67884         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
67885         (__libc_pread): Don't use CHECK_N.
67886         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
67887         <bp-checks.h>.
67888         (__libc_pread64): Don't use CHECK_N.
67889         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
67890         <bp-checks.h>.
67891         (__libc_pwrite): Don't use CHECK_N.
67892         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
67893         <bp-checks.h>.
67894         (__libc_pwrite64): Don't use CHECK_N.
67895         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
67896         <bp-checks.h>.
67897         (__libc_msgrcv): Don't use CHECK_N.
67898         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
67899         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
67900         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
67901         (__libc_writev): Don't use CHECK_N.
67903 2013-02-08  Roland McGrath  <roland@hack.frob.com>
67905         * string/strcpy.c: Removed unused variable.
67907         * Makeconfig (+sysdep-includes): Define with := rather than =.
67908         Use an existing include/ subdir of each sysdeps dir before it.
67910 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
67912         * nscd/connection.c (register_traced_file): Comment function.
67913         [HAVE_INOTIFY] (union __inev): Define.
67914         [HAVE_INOTIFY] (inotify_check_files): New function.
67915         [HAVE_INOTIFY] (clear_db_cache): Likewise.
67916         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
67917         clear_db_cache.
67918         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
67920 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
67922         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
67923         loaded if not already and that a failure is permanent.
67925 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
67927         [BZ #15006]
67928         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
67929         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
67931 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
67933         [BZ #13550]
67934         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
67935         (CHECK_1_NULL_OK): Likewise.
67936         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
67937         (__fxstat): Do not use CHECK_1.
67938         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
67939         <bp-checks.h>.
67940         (___fxstat64): Do not use CHECK_1.
67941         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
67942         <bp-checks.h>.
67943         (__fxstatat): Do not use CHECK_1.
67944         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
67945         <bp-checks.h>.
67946         (__fxstatat64): Do not use CHECK_1.
67947         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
67948         <bp-checks.h>.
67949         (__fxstat): Do not use CHECK_1.
67950         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
67951         <bp-checks.h>.
67952         (__fxstatat): Do not use CHECK_1.
67953         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
67954         <bp-checks.h>.
67955         (__getresgid): Do not use CHECK_1.
67956         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
67957         <bp-checks.h>.
67958         (__getresuid): Do not use CHECK_1.
67959         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
67960         <bp-checks.h>.
67961         (__lxstat): Do not use CHECK_1.
67962         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
67963         <bp-checks.h>.
67964         (__old_msgctl): Do not use CHECK_1.
67965         (__new_msgctl): Likewise.
67966         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
67967         <bp-checks.h>.
67968         (__new_setrlimit): Do not use CHECK_1.
67969         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
67970         <bp-checks.h>.
67971         (__old_shmctl): Do not use CHECK_1.
67972         (__new_shmctl): Likewise.
67973         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
67974         <bp-checks.h>.
67975         (__xstat): Do not use CHECK_1.
67976         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
67977         (__lxstat): Do not use CHECK_1.
67978         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
67979         <bp-checks.h>.
67980         (___lxstat64): Do not use CHECK_1.
67981         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
67982         (__old_msgctl): Do not use CHECK_1.
67983         (__new_msgctl): Likewise.
67984         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
67985         <bp-checks.h>.
67986         (__gettimeofday): Do not use CHECK_1.
67987         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
67988         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
67989         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
67990         <bp-checks.h>.
67991         (__gettimeofday): Do not use CHECK_1.
67992         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
67993         (__old_shmctl): Do not use CHECK_1_NULL_OK.
67994         (__new_shmctl): Do not use CHECK_1.
67995         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
67996         <bp-checks.h>.
67997         (do_sigtimedwait): Do not use CHECK_1.
67998         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
67999         <bp-checks.h>.
68000         (do_sigwaitinfo): Do not use CHECK_1.
68001         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
68002         <bp-checks.h>.
68003         (msgctl): Do not use CHECK_1.
68004         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
68005         <bp-checks.h>.
68006         (shmctl): Do not use CHECK_1.
68007         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
68008         (ustat): Do not use CHECK_1.
68009         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
68010         <bp-checks.h>.
68011         (__fxstat): Do not use CHECK_1.
68012         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
68013         <bp-checks.h>.
68014         (__fxstatat): Do not use CHECK_1.
68015         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
68016         <bp-checks.h>.
68017         (__lxstat): Do not use CHECK_1.
68018         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
68019         <bp-checks.h>.
68020         (__xstat): Do not use CHECK_1.
68021         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
68022         (__xstat): Do not use CHECK_1.
68023         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
68024         (___xstat64): Do not use CHECK_1.
68026         [BZ #13550]
68027         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
68028         definitions.
68029         (CHECK_BOUNDS_HIGH): Likewise.
68030         * string/strcpy.c: Do not include <bp-checks.h>.
68031         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
68033 2013-02-07  Roland McGrath  <roland@hack.frob.com>
68035         * nscd/nscd-client.h (__nscd_drop_map_ref):
68036         Add __attribute__ ((unused)).
68037         * nis/nss-nisplus.h (niserr2nss): Likewise.
68039         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
68040         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
68042         * csu/libc-tls.c (init_static_tls, init_slotinfo):
68043         Remove inline keyword.
68044         * include/rounding-mode.h (round_away): Likewise.
68045         * libio/wfileops.c (adjust_wide_data): Likewise.
68046         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
68047         (__m128i_strloadu_tolower): Likewise.
68048         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
68049         (__m128i_strloadu_tolower): Likewise.
68050         * time/mktime.c (ydhms_diff): Likewise.
68051         * locale/elem-hash.h (elem_hash): Likewise.
68052         * locale/setlocale.c (setdata): Likewise.
68053         * posix/regex_internal.h (re_string_char_size_at): Likewise.
68054         (re_string_wchar_at): Likewise.
68055         (bitset_not, bitset_merge, bitset_mask): Likewise.
68056         [!(__GNUC__ > 3)] (inline): Remove macro.
68057         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
68058         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
68059         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
68060         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
68061         * string/memcmp.c (memcmp_bytes): Likewise.
68062         * locale/programs/locarchive.c (compute_hashval): Likewise.
68063         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
68064         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
68065         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
68066         * nss/getent.c (print_rpc, print_protocols): Likewise.
68067         (print_passwd, print_group, print_aliases): Likewise.
68068         * nis/nss-nisplus.h (niserr2nss): Likewise.
68069         * nscd/connections.c (restart_p): Likewise.
68070         Change return type to bool.
68072 2013-02-05  Roland McGrath  <roland@hack.frob.com>
68074         * Makeconfig (all-Depend-files): Add existing
68075         $(sorted-subdirs:=/Depend) files.
68076         (all-subdirs): Remove nss.
68077         * sysdeps/unix/inet/Subdirs: Add it here instead.
68078         * hesiod/Depend: New file.
68080         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
68081         instead of calling alloca.
68083         * io/lseek.c (__lseek): Rename to __libc_lseek.
68084         Define __lseek as an alias.
68086         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
68088 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
68090         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
68091         else clause and remove check for non-standard endianness.
68093 2013-02-04  David S. Miller  <davem@davemloft.net>
68095         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68097 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
68099         [BZ #13550]
68100         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
68101         (__ubp_memchr): Remove prototype.
68102         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
68103         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
68104         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
68105         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
68106         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
68107         Remove alias.
68108         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
68109         (__ubp_memchr): Likewise.
68110         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
68111         (__ubp_memchr): Likewise.
68112         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
68113         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
68114         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
68115         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
68116         CHECK_STRING.
68117         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
68118         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
68119         (__getcwd): Do not use CHECK_STRING.
68120         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
68121         <bp-checks.h>.
68122         (__real_chown): Do not use CHECK_STRING.
68123         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
68124         <bp-checks.h>.
68125         (fchownat): Do not use CHECK_STRING.
68126         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
68127         CHECK_STRING.
68128         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
68129         <bp-checks.h>.
68130         (__lchown): Do not use CHECK_STRING.
68131         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
68132         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
68133         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
68134         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
68135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
68136         include <bp-checks.h>.
68137         (truncate64): Do not use CHECK_STRING.
68138         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
68139         <bp-checks.h>.
68140         (__real_chown): Do not use CHECK_STRING.
68141         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
68142         <bp-checks.h>.
68143         (__lchown): Do not use CHECK_STRING.
68144         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
68145         <bp-checks.h>.
68146         (__chown): Do not use CHECK_STRING.
68147         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
68148         <bp-checks.h>.
68149         (truncate64): Do not use CHECK_STRING.
68150         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
68151         Likewise.
68152         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
68153         (__xmknod): Do not use CHECK_STRING.
68154         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
68155         <bp-checks.h>.
68156         (__xmknodat): Do not use CHECK_STRING.
68157         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
68158         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
68160 2013-02-04  Andreas Schwab  <schwab@suse.de>
68162         [BZ #14142]
68163         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
68164         * include/netdb.h: Likewise for h_errno.
68165         * elf/tst-stackguard1.c: Include <tls.h>.
68167 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
68169         * elf/link.h (struct link_map): Extend the l_addr comment.
68170         * include/link.h (struct link_map): Likewise.
68172 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
68174         [BZ #13550]
68175         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
68176         (BOUNDED_1): Remove macro.
68177         * debug/backtrace.c: Don't include <bp-checks.h>.
68178         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
68179         (__backtrace): Likewise.
68180         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
68181         <bp-checks.h>.
68182         (__backtrace): Don't use BOUNDED_1.
68183         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
68184         <bp-checks.h>.
68185         (__backtrace): Don't use BOUNDED_1.
68186         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
68187         (__backtrace): Don't use BOUNDED_1.
68188         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
68189         (shmat): Don't use BOUNDED_N.
68191 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
68193         [BZ #13550]
68194         * sysdeps/generic/bp-start.h: Remove file.
68195         * csu/libc-start.c: Don't include <bp-start.h>.
68196         (LIBC_START_MAIN): Set up __environ directly instead of using
68197         INIT_ARGV_and_ENVIRON.
68198         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
68199         <bp-start.h>.
68201         [BZ #13550]
68202         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
68203         definitions.
68204         (CHECK_FCNTL): Likewise.
68205         (CHECK_N_PAGES): Likewise.
68207         [BZ #13550]
68208         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
68209         definitions.
68210         (CHECK_SIGSET_NULL_OK): Likewise.
68211         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
68212         <bp-checks.h>.
68213         (sigpending): Don't use CHECK_SIGSET.
68214         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
68215         <bp-checks.h>.
68216         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
68217         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
68218         <bp-checks.h>.
68219         (do_sigsuspend): Don't use CHECK_SIGSET.
68220         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
68221         use CHECK_SIGSET.
68222         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
68223         (do_sigwait): Don't use CHECK_SIGSET.
68224         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
68225         use CHECK_SIGSET.
68226         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
68227         include <bp-checks.h>.
68228         (sigpending): Don't use CHECK_SIGSET.
68229         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
68230         include <bp-checks.h>.
68231         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
68232         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
68233         <bp-checks.h>.
68234         (sigpending): Don't use CHECK_SIGSET.
68235         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
68236         <bp-checks.h>.
68237         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
68239         [BZ #13550]
68240         * sysdeps/generic/bp-semctl.h: Remove file.
68241         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
68242         <bp-checks.h> and <bp-semctl.h>.
68243         (__old_semctl): Don't use CHECK_SEMCTL.
68244         (__new_semctl): Likewise.
68245         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
68246         and <bp-semctl.h>.
68247         (__old_semctl): Don't use CHECK_SEMCTL.
68248         (__new_semctl): Likewise.
68249         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
68250         <bp-checks.h> and <bp-semctl.h>.
68251         (__old_semctl): Don't use CHECK_SEMCTL.
68252         (__new_semctl): Likewise.
68253         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
68254         <bp-checks.h> and <bp-semctl.h>.
68255         (semctl): Don't use CHECK_SEMCTL.
68257         [BZ #13550]
68258         * Makerules (elide-bp-thunks): Remove variable.
68259         (elide-routines.oS): Don't use $(elide-bp-thunks).
68260         (elide-routines.os): Likewise.
68261         (elide-routines.o): Likewise.
68262         (elide-routines.op): Likewise.
68263         (elide-routines.og): Likewise.
68264         (objects): Don't use $(bp-thunks).
68265         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
68266         include.
68267         (common-generated): Do not add s-proto-bp.d.
68268         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
68269         (int): Likewise.
68270         (typ): Likewise.
68271         Do not generate makefile rules for bounded-pointer thunks.
68272         * sysdeps/generic/bp-thunks.h: Remove file.
68273         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
68274         * sysdeps/unix/s-proto-bp.S: Likewise.
68276         [BZ #15062]
68277         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
68278         parts of result separately when argument is not close to line from
68279         -i to i and one part of argument is small.
68280         * math/k_casinhf.c (__kernel_casinhf): Likewise.
68281         * math/k_casinhl.c (__kernel_casinhl): Likewise.
68282         * math/libm-test.inc (cacos_test): Add more tests.
68283         (casin_test): Likewise.
68284         (casinh_test): Likewise.
68285         * sysdeps/i386/fpu/libm-test-ulps: Update.
68286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68288 2013-01-31  David S. Miller  <davem@davemloft.net>
68290         * po/de.po: Update from translation team.
68292 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
68294         * time/tzfile.c: Include stdint.h for SIZE_MAX.
68296 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
68298         * configure.in (_AC_PROG_CC_C89): New definition.
68299         * configure: Regenerate.
68301         * configure.in (AC_PROG_CPP): New definition.
68302         * configure: Regenerate.
68304 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
68306         * debug/tst-backtrace.h: New file.
68307         * debug/tst-backtrace2.c: Include tst-backtrace.h.
68308         (ret): Remove variable.
68309         (x): Likewise.
68310         (FAIL): Remove macro.
68311         (NO_INLINE): Likewise.
68312         (fn1): Use match function instead of strstr.
68313         * debug/tst-backtrace3.c: Include tst-backtrace.h.
68314         (ret): Remove variable.
68315         (x): Likewise.
68316         (FAIL): Remove macro.
68317         (NO_INLINE): Likewise.
68318         (fn): Use match function instead of strstr.
68319         * debug/tst-backtrace4.c: Include tst-backtrace.h.
68320         (ret): Remove variable.
68321         (x): Likewise.
68322         (FAIL): Remove macro.
68323         (NO_INLINE): Likewise.
68324         (handle_signal): Use match function instead of strstr.
68325         * debug/tst-backtrace5.c: Include tst-backtrace.h.
68326         (ret): Remove variable.
68327         (x): Likewise.
68328         (FAIL): Remove macro.
68329         (NO_INLINE): Likewise.
68330         (handle_signal): Use match function instead of strstr.
68332 2013-01-23  Roland McGrath  <roland@hack.frob.com>
68334         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
68336 2013-01-23  David S. Miller  <davem@davemloft.net>
68338         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
68339         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
68340         argument of CAS if possible.
68341         * sysdeps/sparc/sparc64/bits/atomic.h
68342         (__arch_compare_and_exchange_val_32_acq): Likewise.
68343         (__arch_compare_and_exchange_val_64_acq): Likewise.
68345 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
68347         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
68348         * sysdeps/posix/ulimit.c: ... this.
68349         Include <limits.h>.
68350         * sysdeps/unix/bsd/ulimit.c: Remove file.
68352 2013-01-23  Adam Conrad  <adconrad@0c3.net>
68354         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
68355         (LDFLAGS-tst-array5): Likewise.
68357 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
68359         [BZ #15036]
68360         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
68361         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
68362         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
68363         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
68365 2013-01-21  David S. Miller  <davem@davemloft.net>
68367         * sysdeps/sparc/backtrace.c: New file.
68368         * sysdeps/sparc/sparc32/backtrace.h: New file.
68369         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
68370         * sysdeps/sparc/sparc64/backtrace.h: New file.
68371         * sysdeps/sparc/sparc64/backtrace.c: Delete.
68372         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
68373         -funwind-tables.
68375 2013-01-21  Andreas Schwab  <schwab@suse.de>
68377         [BZ #15020]
68378         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
68379         closed its stdout.
68381 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
68383         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
68384         "mpa2.h".
68385         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
68387 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
68388             Mark Mitchell  <mark@codesourcery.com>
68389             Tom de Vries  <tom@codesourcery.com>
68390             Paul Pluzhnikov  <ppluzhnikov@google.com>
68392         * debug/tst-backtrace2.c: New file.
68393         * debug/tst-backtrace3.c: Likewise.
68394         * debug/tst-backtrace4.c: Likewise.
68395         * debug/tst-backtrace5.c: Likewise.
68396         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
68397         (CFLAGS-tst-backtrace3.c): Likewise.
68398         (CFLAGS-tst-backtrace4.c): Likewise.
68399         (CFLAGS-tst-backtrace5.c): Likewise.
68400         (LDFLAGS-tst-backtrace2): Likewise.
68401         (LDFLAGS-tst-backtrace3): Likewise.
68402         (LDFLAGS-tst-backtrace4): Likewise.
68403         (LDFLAGS-tst-backtrace5): Likewise.
68404         (tests): Add new tests tst-backtrace2, tst-backtrace3,
68405         tst-backtrace4 and tst-backtrace5.
68407 2013-01-18  Anton Blanchard  <anton@samba.org>
68408             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
68410         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
68411         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
68412         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
68413         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
68414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
68415         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
68416         "+r" and remove output regs list as redundant.  Add explicit inline
68417         asm to specify register of return val to work around compiler codegen
68418         bug.  Remove (int) cast on return value.  Add return type parameter to
68419         use in macro so that this macro does not truncate return value for
68420         64-bit values.
68421         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
68422         pass to INTERNAL_VSYSCALL_NCS.
68423         (INLINE_VSYSCALL): Add 'long int' as return type to
68424         INTERNAL_VSYSCALL_NCS macro invocation.
68425         (INTERNAL_VSYSCALL): Add 'long int' as return type to
68426         INTERNAL_VSYSCALL_NCS macro invocation.
68427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
68429 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
68431         [BZ #14496]
68432         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
68433         Fix application of SIMD FP exception mask.
68435         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
68436         mp_no from a power of two.
68437         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
68438         __mpexp_twomm1.  Use __pow_mp.
68440         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
68441         multiplication.
68443 2013-01-17  David S. Miller  <davem@davemloft.net>
68445         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68447 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
68449         [BZ #15023]
68450         * include/complex.h: Condition contents on [!_COMPLEX_H].
68451         (__kernel_casinhf): New prototype.
68452         (__kernel_casinh): Likewise.
68453         (__kernel_casinhl): Likewise.
68454         * math/Makefile (libm_calls): Add k_casinh.
68455         * math/k_casinh.c: New file.
68456         * math/k_casinhf.c: Likewise.
68457         * math/k_casinhl.c: Likewise.
68458         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
68459         finite nonzero arguments.
68460         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
68461         finite nonzero arguments.
68462         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
68463         finite nonzero arguments.
68464         * math/s_casinh.c: Do not include <float.h>.
68465         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
68466         * math/s_casinhf.c: Do not include <float.h>.
68467         (__casinhf): Move code for finite nonzero arguments to
68468         k_casinhf.c.
68469         * math/s_casinhl.c: Do not include <float.h>.
68470         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
68471         redefine.
68472         (__casinhl): Move code for finite nonzero arguments to
68473         k_casinhl.c.
68474         * math/libm-test.inc (cacos_test): Add more tests.
68475         * sysdeps/i386/fpu/libm-test-ulps: Update.
68476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68478 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
68480         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
68481         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
68482         [!HAVE_MREMAP]: Remove [defined linux] case.
68483         * malloc/arena.c: Do not include <malloc-sysdep.h>.
68485 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
68487         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
68489 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
68491         * elf/elf.h (R_386_SIZE32): New relocation.
68492         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
68493         R_386_SIZE32.
68494         (elf_machine_rela): Likewise.
68495         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
68496         R_X86_64_SIZE64 and R_X86_64_SIZE32.
68498 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
68500         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
68501         (FP_FAST_FMA): Do not define.
68502         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
68503         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
68504         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
68505         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
68506         !_SOFT_FLOAT]: Likewise.
68507         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
68508         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
68509         value.
68510         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
68511         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
68512         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
68513         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
68514         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
68515         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
68516         file.
68518 2013-01-16  Andreas Schwab  <schwab@suse.de>
68520         [BZ #14327]
68521         * include/stdlib.h (__mktemp): Add declaration.
68522         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
68523         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
68525 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
68527         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
68528         definitions.
68529         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
68530         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
68531         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
68532         definitions here.
68533         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
68534         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
68535         definitions.
68536         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
68537         and ONE.
68538         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
68539         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
68540         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
68541         definitions.
68542         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
68543         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
68544         definitions.
68545         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
68547         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
68549 2013-01-15  David S. Miller  <davem@davemloft.net>
68551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
68552         trunc{,f} to libm-sysdep_routes.
68553         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
68554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
68555         file.
68556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
68557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
68558         file.
68559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
68560         file.
68561         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
68562         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
68563         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
68564         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
68565         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
68566         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
68567         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
68568         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
68570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
68571         nearbyint{,f} to libm-sysdep_routes.
68572         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
68573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
68574         New file.
68575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
68576         file.
68577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
68578         New file.
68579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
68580         file.
68581         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
68582         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
68583         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
68584         file.
68585         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
68586         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
68587         file.
68588         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
68589         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
68590         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
68592         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
68593         libc_feholdexcept and libc_fesetenv.
68595 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
68597         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
68599 2013-01-14  David S. Miller  <davem@davemloft.net>
68601         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
68602         (SPARC_ASM_VIS2_IFUNC): Likewise.
68603         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
68604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
68605         use of 'siam' instruction.
68606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
68607         Likewise.
68608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
68609         Likewise.
68610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
68611         Likewise.
68612         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
68613         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
68614         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
68615         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
68616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
68617         file.
68618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
68619         file.
68620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
68621         file.
68622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
68623         file.
68624         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
68625         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
68626         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
68627         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
68628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
68629         new VIS2 routines.
68630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
68631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
68632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
68633         Likewise.
68634         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
68635         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
68636         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
68637         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
68638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
68639         routines to libm-sysdep_routines.
68640         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
68642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
68643         fdim/fdimf to libm-sysdep_routines.
68644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
68645         file.
68646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
68647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
68648         file.
68649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
68650         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
68651         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
68652         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
68653         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
68654         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
68655         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
68657 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
68659         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
68660         to optimize copies.
68662         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
68663         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
68664         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
68666         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
68667         local variable MPTWO.
68668         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
68669         Likewise.
68671 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
68673         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
68674         GLOB_NOESCAPE.
68676 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
68678         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
68680 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
68682         * manual/pattern.texi (glob_t): Document gl_flags.
68683         (glob64_t): Likewise.
68685 2013-01-11  David S. Miller  <davem@davemloft.net>
68687         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
68688         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
68689         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
68690         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
68691         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
68692         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
68693         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
68694         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
68695         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
68696         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
68697         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
68698         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
68699         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
68701         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
68702         sparc V9 rather than using V8 code.
68703         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
68704         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
68706         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
68707         Move to...
68708         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
68709         Here.
68711 2013-01-11  Roland McGrath  <roland@hack.frob.com>
68713         [BZ #14941]
68714         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
68715         not in the main loop.
68716         * configure: Regenerated.
68718 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
68720         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
68721         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
68722         to just #else.
68723         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
68724         [!__GLIBC_HAVE_LONG_LONG] case.
68725         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
68726         condition to just #else.
68727         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
68728         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
68729         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
68730         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
68731         unconditional.
68732         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
68733         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
68734         #elif condition to just #else.
68735         * sysdeps/unix/sysv/linux/sys/sysmacros.h
68736         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
68737         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
68738         #elif condition to just #else.
68740 2013-01-11  Steve Ellcey  <sellcey@mips.com>
68742         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
68743         (EF_MIPS_ARCH_64): Fix value.
68744         (EF_MIPS_ARCH_32R2): New.
68745         (EF_MIPS_ARCH_64R2): New.
68747 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
68749         * Makeconfig (+link-pie-before-libc): New.
68750         (+link-pie-after-libc): Likewise.
68751         (+link-pie-tests): Likewise.
68752         (+link-pie): Rewritten.
68753         (link-before-libc): Remove $(config-LDFLAGS).
68754         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
68755         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
68756         (config-LDFLAGS): Renamed to ...
68757         (rtld-LDFLAGS): This.
68758         (rtld-tests-LDFLAGS): New macro.
68759         (link-libc-rpath-link): Likewise.
68760         (link-libc-tests-rpath-link): Likewise.
68761         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
68762         (link-libc): Prepand $(link-libc-rpath-link).
68763         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
68764         (test-program-prefix): New macro.
68765         (test-via-rtld-prefix): Likewise.
68766         (test-program-cmd): Likewise.
68767         (host-test-program-cmd): Likewise.
68768         * Makefile ($(common-objpfx)testrun.sh): Replace
68769         $(run-program-prefix) with $(test-program-prefix).
68770         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
68771         $(rtld-LDFLAGS).
68772         ($(common-objpfx)shlib.lds): Likewise.
68773         (build-module-helper): Likewise.
68774         ($(common-objpfx)format.lds): Likewise.
68775         * Rules (binaries-pie-tests): New.
68776         (binaries-pie-notests): Likewise.
68777         (binaries-pie): Rewritten.
68778         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
68779         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
68780         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
68781         (make-test-out): Replace $(host-built-program-cmd) with
68782         $(host-test-program-cmd).
68783         * config.make.in (build-hardcoded-path-in-tests): New variable.
68784         * configure.in (--enable-hardcoded-path-in-tests): New configure
68785         option.
68786         (hardcoded_path_in_tests): New AC_SUBST.
68787         * configure: Regenerated.
68788         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
68789         $(built-program-cmd) with $(test-program-cmd).
68790         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
68791         (test_program_cmd): This.
68792         * elf/Makefile ($(objpfx)order.out): Run test with
68793         $(test-program-prefix).
68794         ($(objpfx)order2.out): Likewise.
68795         ($(objpfx)tst-initorder.out): Likewise.
68796         ($(objpfx)tst-initorder2.out): Likewise.
68797         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
68798         $(test-program-cmd).
68799         ($(objpfx)tst-array1-static.out): Likewise.
68800         ($(objpfx)tst-array2.out): Likewise.
68801         ($(objpfx)tst-array3.out): Likewise.
68802         ($(objpfx)tst-array4.out): Likewise.
68803         ($(objpfx)tst-array5.out): Likewise.
68804         ($(objpfx)tst-array5-static.out): Likewise.
68805         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
68806         $(test-program-cmd).
68807         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
68808         $(run-program-prefix) with $(test-program-prefix).
68809         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
68810         (test_program_prefix): This.
68811         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
68812         $(run-program-prefix) with $(test-program-prefix).
68813         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
68814         (test_program_prefix): This.
68815         * iconvdata/tst-tables.sh: Likewise.
68816         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
68817         $(run-program-prefix) with $(test-program-prefix).
68818         ($(objpfx)tst-translit.out): Likewise.
68819         ($(objpfx)tst-gettext2.out): Likewise.
68820         ($(objpfx)tst-gettext4.out): Likewise.
68821         ($(objpfx)tst-gettext6.out): Likewise.
68822         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
68823         (test_program_prefix): This.
68824         * intl/tst-gettext2.sh: Likewise.
68825         * intl/tst-gettext4.sh  Likewise.
68826         * intl/tst-gettext6.sh: Likewise.
68827         * intl/tst-translit.sh: Likewise.
68828         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
68829         with $(test-program-cmd).
68830         * libio/Makefile ($(objpfx)test-freopen.out): Replace
68831         $(run-program-prefix) with $(test-program-prefix).
68832         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
68833         (test_program_prefix): This.
68834         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
68835         $(run-program-prefix) with $(test-program-prefix).
68836         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
68837         (test_program_prefix): This.
68838         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
68839         * posix/Makefile ($(objpfx)globtest.out): Replace
68840         $(run-via-rtld-prefix) and $(test-wrapper) with
68841         $(test-program-prefix) and $(test-via-rtld-prefix).
68842         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
68843         $(test-program-prefix).
68844         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
68845         $(host-test-program-cmd).
68846         (tst-spawn-ARGS): Likewise.
68847         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
68848         $(test-program-prefix).
68849         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
68850         (test_via_rtld_prefix): This.
68851         (test_wrapper): Renamed to ...
68852         (test_program_prefix): This.
68853         (run_program_prefix): Replaced by test_program_prefix.
68854         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
68855         (test_program_prefix): This.
68856         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
68857         with $(host-test-program-cmd).
68858         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
68859         $(run-program-prefix) with $(test-program-prefix).
68860         ($(objpfx)tst-printf.out): Likewise.
68861         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
68862         $(test-program-cmd).
68863         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
68864         (test_program_prefix): This.
68865         * stdio-common/tst-unbputc.sh: Likewise.
68866         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
68867         $(run-program-prefix) with $(test-program-prefix).
68868         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
68869         (test_program_prefix): This.
68870         * string/Makefile ($(objpfx)tst-svc.out):  Replace
68871         $(built-program-cmd) with $(test-program-cmd).
68873 2013-01-11  Andreas Jaeger  <aj@suse.de>
68875         [BZ #15003]
68876         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
68877         value. Sync with Linux 3.7.
68879 2013-01-10  David S. Miller  <davem@davemloft.net>
68881         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
68882         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
68883         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
68885 2013-01-10  Roland McGrath  <roland@hack.frob.com>
68887         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
68888         never set.
68889         * configure: Regenerated.
68891 2013-01-10  David S. Miller  <davem@davemloft.net>
68893         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
68894         sparc V9 rather than using V8 code.
68895         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
68896         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
68898 2013-01-10  Roland McGrath  <roland@hack.frob.com>
68900         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
68901         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
68902         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
68903         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
68904         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
68905         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
68906         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
68907         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
68908         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
68909         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
68910         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
68911         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
68912         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
68913         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
68914         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
68915         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
68916         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
68917         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
68918         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
68919         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
68920         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
68921         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
68922         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
68923         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
68924         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
68925         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
68926         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
68928 2013-01-10  David S. Miller  <davem@davemloft.net>
68930         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68932 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
68934         * posix/Makefile (tests-static): New variable.
68935         (tests): Add $(tests-static).
68936         (tst-exec-static-ARGS): New variable.
68937         (tst-spawn-static-ARGS): Likewise.
68938         * posix/tst-exec-static.c: New file.
68939         * posix/tst-spawn-static.c: Likewise.
68940         * posix/tst-exec.c: Support run directly.
68941         * posix/tst-spawn.c: Likewise.
68943 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
68945         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
68946         long.
68947         * math/bits/mathcalls.h (llrint): Likewise.
68948         (llround): Likewise.
68949         * stdlib/stdlib.h (struct drand48_data): Likewise.
68950         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
68951         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
68952         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
68953         Likewise.
68954         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
68955         Likewise.
68956         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
68957         (elf_greg_t): Likewise.
68958         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
68959         (__jmp_buf): Likewise.
68960         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
68961         definitions.
68962         (llrint): Likewise, for all definitions.
68963         (llrintl): Likewise.
68965         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
68966         Remove [__GNUC__] condition.
68967         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
68968         condition to just [__USE_ISOC99].
68969         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
68971 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
68973         [BZ #14200]
68974         * sysdeps/unix/sysv/linux/x86/bits/environments.h
68975         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
68976         defined.
68977         (_POSIX_V6_ILP32_OFF32): Likewise.
68978         (_XBS5_ILP32_OFF32): Likewise.
68979         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
68980         (__ILP32_OFFBIG_LDFLAGS): Likewise.
68982 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
68984         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
68986         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
68987         doubles __mpexp_twomm1.  Adjust usage.
68988         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
68989         Remove.
68991 2013-01-10  Andreas Schwab  <schwab@suse.de>
68993         [BZ #14964]
68994         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
68995         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
68997 2013-01-09  David S. Miller  <davem@davemloft.net>
68999         [BZ #15003]
69000         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
69001         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
69002         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
69003         (TCP_FASTOPEN): Define.
69004         (tcp_repair_opt): New structure.
69005         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
69006         enum values.
69007         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
69008         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
69009         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
69010         (tcp_cookie_transactions): New structure.
69012 2013-01-09  Anton Blanchard  <anton@samba.org>
69014         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
69015         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
69016         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
69017         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
69019 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
69021         * include/features.h (__USE_ANSI): Remove.
69023 2013-01-09  Roland McGrath  <roland@hack.frob.com>
69025         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
69027         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
69029 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
69031         * sysdeps/s390/fpu/libm-test-ulps: Update.
69033         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69035         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
69036         (__acr): Likewise.
69037         (__cpy): Likewise.
69038         (norm): Likewise.
69039         (denorm): Likewise.
69040         (__mp_dbl): Likewise.
69041         (__dbl_mp): Likewise.
69042         (add_magnitudes): Likewise.
69043         (sub_magnitudes): Likewise.
69044         (__add): Likewise.
69045         (__sub): Likewise.
69046         (__mul): Likewise.
69047         (__inv): Likewise.
69048         (__dvd): Likewise.
69049         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
69050         (__acr): Likewise.
69051         (__cpy): Likewise.
69052         (norm): Likewise.
69053         (denorm): Likewise.
69054         (__mp_dbl): Likewise.
69055         (__dbl_mp): Likewise.
69056         (add_magnitudes): Likewise.
69057         (sub_magnitudes): Likewise.
69058         (__add): Likewise.
69059         (__sub): Likewise.
69060         (__mul): Likewise.
69061         (__inv): Likewise.
69062         (__dvd): Likewise.
69063         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
69064         (__acr): Likewise.
69065         (__cpy): Likewise.
69066         (norm): Likewise.
69067         (denorm): Likewise.
69068         (__mp_dbl): Likewise.
69069         (__dbl_mp): Likewise.
69070         (add_magnitudes): Likewise.
69071         (sub_magnitudes): Likewise.
69072         (__add): Likewise.
69073         (__sub): Likewise.
69074         (__mul): Likewise.
69075         (__inv): Likewise.
69076         (__dvd): Likewise.
69078 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
69080         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
69081         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
69082         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
69083         2 && __USE_EXTERN_INLINES]: Likewise.
69085 2013-01-08  Andreas Jaeger  <aj@suse.de>
69087         [BZ #14985]
69088         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
69089         Remove.
69090         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
69091         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
69093 2013-01-07  Anton Blanchard  <anton@samba.org>
69095         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
69096         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
69097         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
69098         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
69099         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
69100         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
69101         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
69102         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
69103         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
69104         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
69105         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
69106         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
69107         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
69108         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
69109         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
69110         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
69111         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
69112         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
69113         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
69114         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
69115         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
69116         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
69117         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
69118         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
69119         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
69120         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
69121         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
69122         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
69123         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
69124         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
69125         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
69126         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69127         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
69128         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
69129         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
69130         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
69131         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
69132         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
69133         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
69134         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
69135         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
69136         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
69137         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
69139 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
69141         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
69142         (__MALLOC_PMT): Likewise.
69143         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
69144         [__GNUC__], only on [_LIBC].
69145         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
69146         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
69147         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
69148         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
69149         forward declaration.
69150         (realloc_hook_ini): Likewise.
69151         (memalign_hook_ini): Likewise.
69152         (__libc_memalign): Do not use __MALLOC_PMT in variable
69153         declaration.
69154         (__libc_valloc): Likewise.
69155         (__libc_pvalloc): Likewise.
69156         (__libc_calloc): Likewise.
69157         (__posix_memalign): Likewise.
69159         [BZ #14996]
69160         * math/s_casinh.c: Include <float.h>.
69161         (__casinh): Do not do computation with squaring and square root
69162         for large arguments.
69163         * math/s_casinhf.c: Include <float.h>.
69164         (__casinhf): Do not do computation with squaring and square root
69165         for large arguments.
69166         * math/s_casinhl.c: Include <float.h>.
69167         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
69168         (__casinhl): Do not do computation with squaring and square root
69169         for large arguments.
69170         * math/libm-test.inc (casin_test): Add more tests.
69171         (casinh_test): Likewise.
69172         * sysdeps/i386/fpu/libm-test-ulps: Update.
69173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69175 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
69177         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
69178         (__x86_64_raw_data_cache_size): Likewise.
69179         (__x86_64_data_cache_size_half): Likewise.
69180         (__x86_64_raw_data_cache_size_half): Likewise.
69181         (__x86_64_shared_cache_size): Likewise.
69182         (__x86_64_raw_shared_cache_size): Likewise.
69183         (__x86_64_shared_cache_size_half): Likewise.
69184         (__x86_64_raw_shared_cache_size_half): Likewise.
69185         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
69186         to ...
69187         (__x86_data_cache_size): This.
69188         (__x86_64_raw_data_cache_size): Renamed to ...
69189         (__x86_raw_data_cache_size): This.
69190         (__x86_64_data_cache_size_half): Renamed to ...
69191         (__x86_data_cache_size_half): This.
69192         (__x86_64_raw_data_cache_size_half): Renamed to ...
69193         (__x86_raw_data_cache_size_half): This.
69194         (__x86_64_shared_cache_size): Renamed to ...
69195         (__x86_shared_cache_size): This.
69196         (__x86_64_raw_shared_cache_size): Renamed to ...
69197         (__x86_raw_shared_cache_size): This.
69198         (__x86_64_shared_cache_size_half): Renamed to ...
69199         (__x86_shared_cache_size_half): This.
69200         (__x86_64_raw_shared_cache_size_half): Renamed to ...
69201         (__x86_raw_shared_cache_size_half): This.
69202         * sysdeps/x86_64/memcpy.S: Updated.
69203         * sysdeps/x86_64/memset.S: Likewise.
69204         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
69205         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
69206         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
69208 2013-01-04  David S. Miller  <davem@davemloft.net>
69210         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69212 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
69214         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
69215         1 to avoid redefinition warning.
69216         (__USE_GNU): Don't define.
69217         (init_signaling_nan): Protoize.
69219         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69221 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
69223         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
69224         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
69225         (__cpymn): Likewise.
69226         (norm): Remove commented code.
69227         (denorm): Likewise.
69228         (__mp_dbl): Likewise.
69229         (__inv): Likewise.
69230         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
69231         (__cpymn): Likewise.
69232         (norm): Remove commented code.
69233         (denorm): Likewise.
69234         (__mp_dbl): Likewise.
69235         (__inv): Likewise.
69237         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
69238         mp_no value for 1.0 and 2.0.
69239         (norm): Use RADIXI instead of radixi.d.
69240         (denorm): Likewise.
69241         (__mul): Use 0.0 instead of zero.d.
69242         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
69243         mp_no value for 1.0 and 2.0.
69244         (norm): Use RADIXI instead of radixi.d.
69245         (denorm): Likewise.
69246         (__mul): Use 0.0 instead of zero.d.
69248 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
69250         [BZ #14994]
69251         * math/s_casinh.c (__casinh): Reduce finite argument to first
69252         quadrant then set signs of results at the end.
69253         * math/s_casinhf.c (__casinhf): Likewise.
69254         * math/s_casinhl.c (__casinhl): Likewise.
69255         * math/libm-test.inc (casin_test): Add more tests.
69256         (casinh_test): Likewise.
69257         * sysdeps/i386/fpu/libm-test-ulps: Update.
69258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69260 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
69262         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
69264         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
69266         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
69267         declarations.
69268         (denorm): Likewise.
69269         (__mp_dbl): Likewise.
69270         (__inv): Likewise.
69272         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
69273         and adjust the header comment.
69275         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
69276         variable name from declaration.
69278 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
69280         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69281         Initialize COMMON_CPUID_INDEX_7 element.
69282         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
69283         (CPUID_RTM): Likewise.
69284         (HAS_RTM): Likewise.
69285         (COMMON_CPUID_INDEX_7): New enum.
69287 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
69289         [BZ #14981]
69290         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
69291         size is zero, record memory as freed.
69293 2013-01-03  Andreas Jaeger  <aj@suse.de>
69295         * po/ia.po: Add new Interlingua translation.
69297 2012-01-03  Allan McRae  <allan@archlinux.org>
69299         * locale/programs/localedef.c: Fix description of '--posix' flag.
69301 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
69303         * NEWS: Update dates in second copyright notice.
69304         * README: Update copyright dates in example.
69305         * manual/libc.texinfo: Update copyright dates.
69306         * scripts/test-installation.pl: Update copyright date in --version
69307         output.
69309         * hurd/ctty-input.c: Fix copyright notice formatting.
69310         * hurd/ctty-output.c: Likewise.
69311         * hurd/dtable.c: Likewise.
69312         * hurd/hurd-raise.c: Likewise.
69313         * hurd/hurdprio.c: Likewise.
69314         * hurd/msgportdemux.c: Likewise.
69315         * misc/sys/file.h: Likewise.
69316         * misc/sys/ioctl.h: Likewise.
69317         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
69318         * sysdeps/mach/hurd/chdir.c: Likewise.
69319         * sysdeps/mach/hurd/fchdir.c: Likewise.
69320         * sysdeps/mach/hurd/rename.c: Likewise.
69321         * sysdeps/mach/hurd/rmdir.c: Likewise.
69322         * sysdeps/mach/hurd/seekdir.c: Likewise.
69323         * sysdeps/mach/hurd/setsid.c: Likewise.
69324         * sysdeps/posix/wait3.c: Likewise.
69326         * All files with FSF copyright notices: Update copyright dates
69327         using scripts/update-copyrights.
69328         * intl/plural.c: Regenerated.
69329         * locale/programs/charmap-kw.h: Likewise.
69330         * locale/programs/locfile-kw.h: Likewise.
69332 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
69334         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
69335         four values.
69337         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
69338         calculation loop and add branch prediction.
69340         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
69341         check access beyond bounds of m1np.
69343         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
69344         MPTWO.
69345         (__inv): Remove local variable MPTWO to use the global
69346         constant.
69347         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
69348         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
69349         variable MPTWO.
69350         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
69351         MP3HALFS static const.
69353 2013-01-01  David S. Miller  <davem@davemloft.net>
69355         * po/ca.po: Update from translation team.
69357 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
69359         * scripts/update-copyrights: New file.
69360         * Makeconfig: Reformat copyright notice.
69361         * ctype/ctype.h: Likewise.
69362         * debug/swprintf_chk.c: Likewise.
69363         * elf/dl-cache.c: Likewise.
69364         * elf/dl-debug.c: Likewise.
69365         * elf/dl-object.c: Likewise.
69366         * grp/initgroups.c: Likewise.
69367         * hurd/Makefile: Likewise.
69368         * hurd/hurd/signal.h: Likewise.
69369         * hurd/hurdfault.c: Likewise.
69370         * hurd/hurdioctl.c: Likewise.
69371         * hurd/hurdlookup.c: Likewise.
69372         * hurd/intr-msg.c: Likewise.
69373         * iconv/gconv_open.c: Likewise.
69374         * libio/swprintf.c: Likewise.
69375         * locale/lc-ctype.c: Likewise.
69376         * locale/nl_langinfo.c: Likewise.
69377         * mach/Machrules: Likewise.
69378         * mach/Makefile: Likewise.
69379         * malloc/obstack.h: Likewise.
69380         * manual/Makefile: Likewise.
69381         * manual/tsort.awk: Likewise.
69382         * misc/bits/stab.def: Likewise.
69383         * nis/nis_print_group_entry.c: Likewise.
69384         * nis/nis_table.c: Likewise.
69385         * nis/nss_compat/compat-pwd.c: Likewise.
69386         * nis/nss_compat/compat-spwd.c: Likewise.
69387         * po/Makefile: Likewise.
69388         * posix/fnmatch.c: Likewise.
69389         * posix/regex.h: Likewise.
69390         * resolv/Makefile: Likewise.
69391         * resolv/nss_dns/dns-network.c: Likewise.
69392         * resolv/res_hconf.c: Likewise.
69393         * scripts/gen-sorted.awk: Likewise.
69394         * soft-fp/soft-fp.h: Likewise.
69395         * stdio-common/printf.h: Likewise.
69396         * stdlib/monetary.h: Likewise.
69397         * stdlib/random.c: Likewise.
69398         * stdlib/random_r.c: Likewise.
69399         * sysdeps/generic/Makefile: Likewise.
69400         * sysdeps/gnu/Makefile: Likewise.
69401         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
69402         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69403         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69404         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69405         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69406         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69407         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69408         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
69409         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
69410         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69411         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
69412         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
69413         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
69414         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
69415         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
69416         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
69417         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
69418         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69419         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
69420         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69421         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
69422         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
69423         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
69424         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
69425         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
69426         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
69427         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
69428         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
69429         * sysdeps/mach/hurd/errnos.awk: Likewise.
69430         * sysdeps/mach/hurd/fork.c: Likewise.
69431         * sysdeps/mach/hurd/getcwd.c: Likewise.
69432         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
69433         * sysdeps/mach/hurd/mmap.c: Likewise.
69434         * sysdeps/mach/hurd/utimes.c: Likewise.
69435         * sysdeps/mach/hurd/xmknod.c: Likewise.
69436         * sysdeps/posix/profil.c: Likewise.
69437         * sysdeps/posix/readdir_r.c: Likewise.
69438         * sysdeps/powerpc/bits/mathdef.h: Likewise.
69439         * sysdeps/powerpc/bits/setjmp.h: Likewise.
69440         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
69441         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
69442         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
69443         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
69444         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
69445         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
69446         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69447         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
69448         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
69449         * sysdeps/pthread/lio_listio.c: Likewise.
69450         * sysdeps/sparc/dl-procinfo.h: Likewise.
69451         * sysdeps/unix/i386/sysdep.S: Likewise.
69452         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
69453         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
69454         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
69455         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
69456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
69457         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
69458         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
69459         * sysdeps/unix/sysv/linux/speed.c: Likewise.
69460         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
69461         * sysdeps/wordsize-32/divdi3.c: Likewise.
69462         * time/sys/time.h: Likewise.
69463         * wcsmbs/Makefile: Likewise.
69465 2013-01-01  David S. Miller  <davem@davemloft.net>
69467         * po/fr.po: Update from translation team.
69469         * catgets/gencat.c: Update copyright year.
69470         * csu/version.c: Likewise.
69471         * debug/catchsegv.sh: Likewise.
69472         * debug/pcprofiledump.c: Likewise.
69473         * debug/xtrace.sh: Likewise.
69474         * elf/ldconfig.c: Likewise.
69475         * elf/ldd.bash.in: Likewise.
69476         * elf/pldd.c: Likewise.
69477         * elf/sotruss.ksh: Likewise.
69478         * elf/sprof.c: Likewise.
69479         * iconv/iconv_prog.c: Likewise.
69480         * iconv/iconvconfig.c: Likewise.
69481         * locale/programs/locale.c: Likewise.
69482         * locale/programs/localedef.c: Likewise.
69483         * login/programs/pt_chown.c: Likewise.
69484         * malloc/memusage.sh: Likewise.
69485         * malloc/memusagestat.c: Likewise.
69486         * malloc/mtrace.pl: Likewise.
69487         * nscd/nscd.c: Likewise.
69488         * nss/getent.c: Likewise.
69489         * nss/makedb.c: Likewise.
69490         * posix/getconf.c: Likewise.
69492 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
69494         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
69495         numbers.
69497 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
69499         * math/bits/mathcalls.h (modf): Use __nonnull.
69501 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
69503         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
69504         (split): Use macro CN instead of the bare value.
69505         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
69506         could be used.
69507         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
69508         instead of the bare value.
69509         (power1): Likewise.
69511 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69513         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
69514         __ATAN_TWOM.
69515         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
69517         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
69518         their values.
69519         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
69520         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
69521         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
69522         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
69524 2012-12-28  Andreas Jaeger  <aj@suse.de>
69526         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
69527         values are from Linux 3.7.
69529         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
69530         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
69532 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69534         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
69535         TRUE case.
69537         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
69538         (norm): Likewise.
69539         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
69540         variables with preprocessor constants.
69541         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
69542         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
69543         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
69545 2012-12-27  Bruno Haible  <bruno@clisp.org>
69547         [BZ #14317]
69548         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
69549         only if needed.
69551 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
69553         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
69554         and use variable directly.
69555         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
69557         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
69558         MPONE.
69559         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
69560         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
69561         variable MPONE.
69562         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
69563         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
69564         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
69565         include directive.  Remove local variable MPONE.
69566         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
69567         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
69568         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
69570 2012-12-25  David S. Miller  <davem@davemloft.net>
69572         * version.h (RELEASE): Set to "development".
69573         (VERSION): Set to "2.17.90".
69574         * NEWS: Add 2.18 section.
69576 2012-12-21  David S. Miller  <davem@davemloft.net>
69578         * po/hr.po: Update from translation team.
69580 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69582         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
69584 2012-12-19  Steve Ellcey  <sellcey@mips.com>
69586         * NEWS:  Mention new memcpy for MIPS.
69588 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69590         * manual/contrib.texi (Contributors): Spelling correction.
69592 2012-12-15  David S. Miller  <davem@davemloft.net>
69594         * po/ru.po: Update from translation team.
69596 2012-12-13  David S. Miller  <davem@davemloft.net>
69598         * NEWS: Mention IFUNC testsuite enhancements.
69600         * po/pl.po: Update from translation team.
69601         * po/bg.po: Likewise.
69603         * manual/contrib.texi (Contributors): Update entries for Hongjiu
69604         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
69606 2012-12-11  David S. Miller  <davem@davemloft.net>
69608         * po/sv.po: Update from translation team.
69610         * po/vi.po: Update from translation team.
69612         * po/cs.po: Update from translation team.
69614         * po/de.po: Update from translation team.
69615         * po/eo.po: Likewise.
69616         * po/nl.po: Likewise.
69618 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
69620         [BZ #14246]
69621         * manual/argp.texi (Argp Helper Functions): Move node to follow
69622         Argp Parsing State.
69624         [BZ #14872]
69625         * manual/conf.texi (Limits on File System Capacity): Mention if
69626         terminating null is included in the max size.
69628 2012-12-10  Andreas Jaeger  <aj@suse.de>
69630         * po/cs.po: Update from translation team.
69632 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
69634         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
69635         void pointer and cast to uintptr_t.
69636         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
69637         path.
69638         * sysdeps/s390/s390-64/memcpy.S: Likewise.
69639         * sysdeps/s390/s390-64/memset.S: Likewise.
69641 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
69643         [BZ #14833]
69644         * menual/message.texi (Message Translation): Fix typos.
69645         (Helper programs for gettext): Likewise.
69647 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
69649         [BZ #14898]
69650         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
69651         Change to -1.
69653 2012-12-07  David S. Miller  <davem@davemloft.net>
69655         * po/libc.pot: Update.
69657 2012-12-07  Richard Henderson  <rth@redhat.com>
69659         [BZ #10114]
69660         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
69661         normal/normal case to before the switch.
69662         (_FP_DIV): Likewise.
69664 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
69665             Mike Frysinger  <vapier@gentoo.org>
69667         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
69668         check for __NR_fadvise64_64.
69670 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
69672         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
69673         0, not just to plain "0" as a statement.
69674         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
69675         with cw.
69677 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
69679         * NEWS: Use sourceware.org in Bugzilla URL.
69681 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
69683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
69684         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
69686         * stdio-common/tst-put-error.c (do_test): Add newline to the
69687         padded test to ensure flush.
69689 2012-12-05  Jeff Law  <law@redhat.com>
69691         * sunrpc/etc.rpc (fedfs_admin): Add entry.
69693 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
69695         * README: Don't refer to ports add-on as distributed separately.
69696         Mention AArch64 in list of systems supported in the ports add-on.
69698         * LICENSES: Add more non-FSF copyright and license notices.
69700         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
69701         ((unused)).
69703         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
69705         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
69706         10000 as width of padded output.
69708 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
69710         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
69712         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
69713         variable LX with __attribute__ ((unused)).
69714         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
69715         Likewise.
69716         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
69717         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
69718         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
69719         with __attribute__ ((unused)).
69721 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
69723         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
69725 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
69727         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
69728         (CFLAGS-nldbl-acos.c): New variable.
69729         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
69730         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
69731         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
69732         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
69733         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
69734         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
69735         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
69736         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
69737         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
69738         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
69739         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
69740         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
69741         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
69742         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
69743         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
69744         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
69745         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
69746         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
69747         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
69748         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
69749         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
69750         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
69751         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
69752         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
69753         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
69754         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
69755         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
69756         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
69757         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
69758         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
69759         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
69760         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
69761         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
69762         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
69763         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
69764         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
69765         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
69766         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
69767         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
69768         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
69769         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
69770         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
69771         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
69772         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
69773         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
69774         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
69775         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
69776         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
69777         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
69778         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
69779         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
69780         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
69781         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
69782         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
69783         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
69784         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
69785         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
69786         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
69787         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
69788         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
69789         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
69790         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
69791         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
69792         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
69793         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
69794         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
69795         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
69796         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
69797         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
69798         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
69799         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
69800         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
69801         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
69802         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
69803         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
69804         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
69805         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
69806         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
69807         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
69808         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
69809         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
69810         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
69811         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
69812         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
69813         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
69814         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
69815         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
69816         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
69817         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
69818         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
69819         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
69820         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
69821         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
69822         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
69823         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
69824         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
69825         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
69827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
69828         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
69830         [BZ #14914]
69831         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
69832         whole low double instead of just low 47 bits when splitting values
69833         into two parts.
69835 2012-12-03  Allan McRae  <allan@archlinux.org>
69837         * manual/stdio.texi (Predefined Printf Handlers): Remove
69838         @hsep and @vsep usage.
69840 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
69842         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
69843         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
69845 2012-12-03  Jeff Law  <law@redhat.com>
69847         * time/sys/time.h (settimeofday): Do not mark TV argument
69848         as __nonnull.
69850 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
69852         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
69853         when currently writing and seek to current position when not.
69854         * libio/Makefile (tests): Remove bug-fclose1.
69855         * libio/bug-fclose1.c: Delete.
69857 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
69859         * manual/arith.texi (feenableexcept): Fix typo.
69860         (fedisableexcept): Likewise.
69862 2012-11-30  Roland McGrath  <roland@hack.frob.com>
69864         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
69865         second, differently-typed declaration, rather than a cast.
69867 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
69869         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
69870         * include/rpc/svc.h: ... here.
69872 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
69874         [BZ #13013]
69875         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
69876         depending n and resplen2 to catch cases where answer
69877         equals answerp2.
69879 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
69881         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
69882         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
69884 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
69886         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
69888 2012-11-29  Roland McGrath  <roland@hack.frob.com>
69890         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
69892 2012-11-28  Jeff Law  <law@redhat.com>
69894         [BZ #13761]
69895         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
69896         dataset_temporary.  Track alloca usage into alloca_used.
69897         If dataset is large allocate and release it via malloc/free.
69899 2012-06-04  Florian Weimer  <fweimer@redhat.com>
69901         [BZ #14197]
69902         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
69904 2012-11-28  David S. Miller  <davem@davemloft.net>
69906         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69908 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
69910         [BZ #14803]
69911         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
69912         of pi/2 rounded to nearest to 64 bits.
69913         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
69914         nearest to 64 bits.
69915         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
69916         bits.
69918 2012-11-28  Jeff Law <law@redhat.com>
69919             Martin Osvald <mosvald@redhat.com>
69921         [BZ #14889]
69922         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
69923         * sunrpc/svc.c: Include time.h.
69924         (__svc_accept_failed): New function.
69925         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
69926         any reason other than EINTR, call __svc_accept_failed.
69927         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
69928         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
69930 2012-11-28  Andreas Schwab  <schwab@suse.de>
69932         * scripts/abilist.awk: Also handle indirect functions in .opd
69933         section.
69935 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
69937         [BZ #13881]
69938         * sysdeps/x86/fpu/powl_helper.c: New file.
69939         * sysdeps/x86/fpu/Makefile: Likewise.
69940         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
69941         (p3): New object.
69942         (__ieee754_powl): Use __powl_helper for finite arguments except
69943         integer exponents below 8.
69944         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
69945         (p3): New object.
69946         (__ieee754_powl): Use __powl_helper for finite arguments except
69947         integer exponents below 8.
69948         * math/libm-test.inc (pow_test): Add more tests and enable some
69949         previously disabled tests.
69950         * sysdeps/i386/fpu/libm-test-ulps: Update.
69951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69953 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69954             Carlos O'Donell  <carlos_odonell@mentor.com>
69956         * nss/makedb.c (is_prime): Assert that input is odd and greater
69957         than 4.  Note that fact in a comment too.
69958         (next_prime): Add 4 to input.
69960 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
69962         [BZ #11741]
69963         * libio/Makefile (tests): Add test case tst-fwrite-error.
69964         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
69965         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
69966         * libio/tst-fwrite-error.c: New test case.
69968 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
69970         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
69971         before casting to void *.
69972         * include/libc-internal.h (__pointer_type): New macro.
69973         (__integer_if_pointer_type_sub): Likewise.
69974         (__integer_if_pointer_type): Likewise.
69975         (cast_to_integer): Likewise.
69976         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
69977         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
69978         before casting to atomic64_t.
69979         (atomic_exchange_acq): Likewise.
69980         (__arch_exchange_and_add_body): Likewise.
69981         (__arch_add_body): Likewise.
69982         (atomic_add_negative): Likewise.
69983         (atomic_add_zero): Likewise.
69985 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
69987         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
69988         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
69989         (add_fdes): Likewise.
69990         (linear_search_fdes): Likewise.
69991         (binary_search_unencoded_fdes): Likewise.
69993 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
69995         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
69997 2012-11-24  Adam Conrad  <adconrad@0c3.net>
69999         * configure.in: Autodetect C++ header directories.
70000         * configure: Regenerated.
70002 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
70004         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
70006 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
70008         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70010 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
70012         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
70013         LDBL_MANT_DIG == 106]: Disable some tests.
70014         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
70015         Likewise.
70016         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
70017         Likewise.
70019         [BZ #14871]
70020         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
70021         input for small inputs.  Return +/- pi/2 for large inputs.
70022         * math/libm-test.inc (atan_test): Add more tests.
70024         * sysdeps/generic/unwind-dw2-fde-glibc.c
70025         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
70026         __attribute__ ((unused)).
70028         [BZ #14645]
70029         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
70030         x * y if x and y are nonzero and z is zero.
70032         [BZ #14811]
70033         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
70034         nonzero exponents with absolute value below 0x1p-117 to +/-
70035         0x1p-117.
70037         [BZ #14869]
70038         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
70039         up arguments below 2**-450, not just those below 2**-500.
70040         * math/libm-test.inc (hypot_test): Add another test.
70042         [BZ #14868]
70043         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
70044         Return a+b for ratio over 2**120, not 2**60.
70045         * math/libm-test.inc (hypot_test): Add another test.
70047         * math/libm-test.inc (clog_test): Use
70048         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
70049         (clog10_test): Likewise.
70051         [BZ #6778]
70052         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
70054 2012-11-22  Andreas Schwab  <schwab@suse.de>
70056         * sysdeps/i386/fpu/libm-test-ulps: Update.
70058 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
70060         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
70061         printf output with newline.
70063 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
70065         [BZ #14865]
70066         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
70067         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
70068         -z nodlopen, -z initfirst and -z execstack support.
70069         * configure: Regenerated.
70071         * elf/elf.h (DF_1_NODIRECT): New macro.
70072         (DF_1_IGNMULDEF): Likewise.
70073         (DF_1_NOKSYMS): Likewise.
70074         (DF_1_NOHDR): Likewise.
70075         (DF_1_EDITED): Likewise.
70076         (DF_1_NORELOC): Likewise.
70077         (DF_1_SYMINTPOSE): Likewise.
70078         (DF_1_GLOBAUDIT): Likewise.
70079         (DF_1_SINGLETON): Likewise.
70080         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
70081         DT_1_SUPPORTED_MASK bits.
70082         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
70084 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
70086         * sysdeps/unix/make-syscalls.sh: Document prefixes.
70088 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
70090         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
70091         macro.
70093         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
70094         (sendmmsg): Move declarations...
70095         * socket/sys/socket.h: ... here.
70096         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
70097         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
70098         include it from...
70099         * socket/recvmmsg.c: ... this new file.
70100         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
70101         (sendmmsg): Rename to __sendmmsg, create weak alias and make
70102         definition of __sendmmsg hidden.
70103         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
70104         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
70105         Move ENOSYS stub into and include it from...
70106         * socket/sendmmsg.c: ... this new file.
70107         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
70108         (sysdep_routines): Move recvmmsg and sendmmsg...
70109         * socket/Makefile (routines): ... here.
70110         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
70111         (GLIBC_PRIVATE): Add __sendmmsg.
70112         * include/sys/socket.h (__sendmmsg): Add declarations.
70113         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
70114         sendmmsg.
70116 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
70118         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
70119         variable I1 with __attribute__ ((unused)).
70120         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
70122 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
70124         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
70125         DUMMY variables with __attribute__ ((unused)).
70127         * bits/byteswap.h: Include <bits/types.h>.
70128         (__bswap_64): Use __uint64_t instead of unsigned long long int.
70130 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
70132         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
70133         string_t.  Do not manually set errno.
70134         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
70135         length with __strnlen.  Make sure to both set errno and return it on
70136         failure.
70138 2012-11-19  David S. Miller  <davem@davemloft.net>
70140         With help from Joseph Myers.
70141         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
70142         very large arguments properly.
70143         * math/libm-test.inc (atan_test): New tests.
70144         (atan2_test): New tests.
70145         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70146         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70148 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
70150         [BZ #14856]
70151         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
70152         Define to 3.
70154         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
70155         [POSIX] (EADDRNOTAVAIL): Likewise.
70156         [POSIX] (EAFNOSUPPORT): Likewise.
70157         [POSIX] (EALREADY): Likewise.
70158         [POSIX] (ECONNABORTED): Likewise.
70159         [POSIX] (ECONNREFUSED): Likewise.
70160         [POSIX] (ECONNRESET): Likewise.
70161         [POSIX] (EDESTADDRREQ): Likewise.
70162         [POSIX] (EDQUOT): Likewise.
70163         [POSIX] (EHOSTUNREACH): Likewise.
70164         [POSIX] (EIDRM): Likewise.
70165         [POSIX] (EISCONN): Likewise.
70166         [POSIX] (ELOOP): Likewise.
70167         [POSIX] (EMULTIHOP): Likewise.
70168         [POSIX] (ENETDOWN): Likewise.
70169         [POSIX] (ENETUNREACH): Likewise.
70170         [POSIX] (ENOBUFS): Likewise.
70171         [POSIX] (ENODATA): Likewise.
70172         [POSIX] (ENOLINK): Likewise.
70173         [POSIX] (ENOMSG): Likewise.
70174         [POSIX] (ENOPROTOOPT): Likewise.
70175         [POSIX] (ENOSR): Likewise.
70176         [POSIX] (ENOSTR): Likewise.
70177         [POSIX] (ENOTCONN): Likewise.
70178         [POSIX] (ENOTSOCK): Likewise.
70179         [POSIX] (EOPNOTSUPP): Likewise.
70180         [POSIX] (EOVERFLOW): Likewise.
70181         [POSIX] (EPROTO): Likewise.
70182         [POSIX] (EPROTONOSUPPORT): Likewise.
70183         [POSIX] (EPROTOTYPE): Likewise.
70184         [POSIX] (ESTALE): Likewise.
70185         [POSIX] (ETIME): Likewise.
70186         [POSIX] (ETXTBSY): Likewise.
70187         [POSIX] (EWOULDBLOCK): Likewise.
70188         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
70189         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
70190         [POSIX] (SEEK_CUR): Likewise.
70191         [POSIX] (SEEK_END): Likewise.
70192         [POSIX || UNIX98] (mode_t): Do not require.
70193         [POSIX] (off_t): Likewise.
70194         [POSIX] (pid_t): Likewise.
70195         [POSIX] (sys/stat.h): Do not allow header.
70196         [POSIX] (unistd.h): Likewise.
70197         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
70198         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
70199         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
70200         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
70201         require.
70202         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
70203         sigevent): Specify elements.
70204         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
70205         entry.
70206         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
70207         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
70209         * conform/data/cpio.h-data [POSIX]: Disable whole file.
70210         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
70211         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
70212         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
70213         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
70214         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
70215         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
70216         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
70217         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
70218         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
70219         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
70220         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
70221         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
70222         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
70223         Likewise.
70224         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
70225         Likewise.
70226         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
70227         Likewise.
70228         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
70229         Likewise.
70230         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
70231         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
70232         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
70233         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
70234         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
70235         Specify lower bound on value.
70236         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
70237         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
70238         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
70239         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
70240         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
70241         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
70242         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
70243         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
70244         value.
70245         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
70246         as optional.
70247         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
70248         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
70249         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
70250         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
70251         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
70252         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
70253         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
70254         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
70255         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
70256         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
70257         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
70258         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
70259         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
70260         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
70261         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
70262         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
70263         entry.
70264         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
70265         optional.
70266         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
70267         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
70268         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
70269         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
70270         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
70271         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
70272         Likewise.
70273         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
70274         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
70275         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
70276         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
70277         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
70278         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
70279         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
70280         as optional.
70281         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
70282         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
70283         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
70284         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
70285         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
70286         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
70287         specify as optional.
70288         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
70289         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
70290         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
70291         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
70292         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
70293         [XPG3] (NL_LANGMAX): Likewise.
70294         [POSIX || XPG3] (NL_MSGMAX): Likewise.
70295         [POSIX || XPG3] (NL_NMAX): Likewise.
70296         [POSIX || XPG3] (NL_SETMAX): Likewise.
70297         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
70298         [XPG3] (NZERO): Likewise.
70299         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
70300         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
70301         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
70302         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
70303         (REG_ERANGE): Expect.
70304         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
70305         optional-constant.
70306         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
70307         Use (void) in prototype.
70308         [POSIX] (*_t): Allow.
70309         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
70310         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
70311         (WRDE_BADVAL): Expect.
70313         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
70314         expect.
70315         [XPG3 || XPG4] (O_RSYNC): Likewise.
70316         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
70317         Likewise.
70318         [XPG3 || XPG4] (pthread_sigmask): Likewise.
70319         [XPG3 || XPG4] (sigqueue): Likewise.
70320         [XPG3 || XPG4] (sigtimedwait): Likewise.
70321         [XPG3 || XPG4] (sigwaitinfo): Likewise.
70322         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
70323         [XPG3 || XPG4] (vsnprintf): Likewise.
70324         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
70325         Likewise.
70326         [XPG3 || XPG4] (blksize_t): Likewise.
70327         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
70328         Likewise.
70329         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
70330         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
70331         [XPG3 || XPG4] (struct itimerspec): Likewise.
70332         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
70333         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
70334         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
70335         [XPG3 || XPG4] (clockid_t): Likewise.
70336         [XPG3 || XPG4] (timer_t): Likewise.
70337         [XPG3 || XPG4] (clock_getres): Likewise.
70338         [XPG3 || XPG4] (clock_gettime): Likewise.
70339         [XPG3 || XPG4] (clock_settime): Likewise.
70340         [XPG3 || XPG4] (nanosleep): Likewise.
70341         [XPG3 || XPG4] (timer_create): Likewise.
70342         [XPG3 || XPG4] (timer_delete): Likewise.
70343         [XPG3 || XPG4] (timer_gettime): Likewise.
70344         [XPG3 || XPG4] (timer_getoverrun): Likewise.
70345         [XPG3 || XPG4] (timer_settime): Likewise.
70346         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
70347         [XPG3 || XPG4] (getlogin_r): Likewise.
70348         [XPG3 || XPG4] (pread): Likewise.
70349         [XPG3 || XPG4] (pthread_atfork): Likewise.
70350         [XPG3 || XPG4] (pwrite): Likewise.
70352         [BZ #14835]
70353         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
70354         <bits/siginfo.h>.
70356 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
70358         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
70359         finalizing MALLSTREAM.
70361         * sysdeps/mach/hurd/syncfs.c: New file.
70363 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
70365         [BZ #14719]
70366         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
70367         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
70368         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
70369         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
70370         (_nss_dns_gethostbyname4_r): Likewise.
70371         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
70372         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
70374 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
70376         [BZ #13763]
70377         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
70379 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
70381         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
70382         * elf/cache.c (print_entry): Print ",AArch64" for
70383         FLAG_AARCH64_LIB64
70385         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
70386         * elf/cache.c (print_entry): Print ",hard-float" for
70387         FLAG_ARM_LIBHF.
70389 2012-11-18  David S. Miller  <davem@davemloft.net>
70391         With help from Joseph Myers.
70392         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
70393         cutoff to 2**-13.
70394         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
70395         cutoff to 2**-25.
70396         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
70397         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
70398         small.
70399         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
70400         * math/libm-test.inc (y0_test): New tests.
70401         (y1_test): New tests.
70402         * sysdeps/i386/fpu/libm-test-ulps: Update.
70403         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70404         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70406 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
70408         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
70409         64-bit targets.
70410         * configure: Regenerated.
70412 2012-11-17  David S. Miller  <davem@davemloft.net>
70414         [BZ #14811]
70415         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
70416         nonzero exponents with absolute value below 0x1p-128 to +/-
70417         0x1p-128.
70419 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
70421         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
70423         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
70425         * posix/getconf-speclist.c: New file.
70426         * posix/posix-envs.def: Likewise.
70427         * posix/confstr.c (START_ENV_GROUP): New macro.
70428         (END_ENV_GROUP): Likewise.
70429         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
70430         (KNOWN_PRESENT_ENV_STRING): Likewise.
70431         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
70432         (UNKNOWN_ENVIRONMENT): Likewise.
70433         (confstr): Include posix-envs.def instead of handling
70434         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
70435         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
70436         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
70437         (END_ENV_GROUP): Likewise.
70438         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
70439         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
70440         (UNKNOWN_ENVIRONMENT): Likewise.
70441         (__sysconf): Include posix-envs.def instead of handling associated
70442         cases directly here.
70443         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
70444         preprocessing getconf-speclist.c rather than running getconf or
70445         generating empty file.
70447 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
70449         * scripts/check-local-headers.sh: Ignore 'mach' headers.
70451 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
70453         [BZ #14672]
70454         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
70456 2012-11-16  David S. Miller  <davem@davemloft.net>
70458         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
70459         smaller than LDBL_EPSILON/2.0L, just return xm1.
70461 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
70463         * elf/tst-array1.c (init): Set constructor priority to 1000.
70464         (fini): Set destructor priority to 1000.
70465         * elf/tst-array2dep.c: Likewise.
70467 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
70469         [BZ #11741]
70470         * libio/fileops.c (_IO_new_file_write): Correctly return error.
70471         (_IO_new_file_xsputn): Also return EOF if none of the input
70472         data was written when overflow failed.
70473         * libio/iopadn.c (_IO_padn): Likewise.
70474         * libio/iowpadn.c (_IO_wpadn): Likewise.
70475         * stdio-common/tst-put-error.c: Add copyright notice.
70476         (do_test): Add case for printing padded string.
70477         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
70478         _IO_padn returned error.
70479         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
70480         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
70481         return EOF.
70483 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
70485         * libio/libioP.h: Add comment note that the references to C++
70486         bits are now obsolete.
70488 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
70490         * math/libm-test.inc (check_complex): Use asprintf.
70492 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
70494         * debug/pcprofiledump.c (print_version): Update copyright year.
70495         * malloc/memusagestat.c (print_version): Likewise.
70497 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
70499         [BZ #14831]
70500         * elf/Makefile (tests): Add tst-audit8.
70501         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
70502         ($(objpfx)tst-audit8.out): New target.
70503         (tst-audit8-ENV): New variable.
70504         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
70505         audit if l_reloc_result is NULL.
70506         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
70507         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
70508         * elf/tst-audit8.c: New file.
70510 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
70512         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
70513         * misc/Makefile (CFLAGS-select.c): Define.
70514         * posix/Makefile (CFLAGS-pause.c): Define.
70516 2012-11-13  David S. Miller  <davem@davemloft.net>
70518         * crypt/Makefile: Move test targets after toplevel Rules
70519         inclusion.  Grab any necessary sysdep routines when linking.
70520         * crypt/md5.c (md5_process_block): Remove define, we will always
70521         name it __md5_process_block.
70522         (md5_finish_ctx): Update md5_process_block call.
70523         (md5_stream): Likewise.
70524         (md5_process_bytes): Likewise.
70525         (md5_process_block): Rename to __md5_process_block and move to ...
70526         * crypt/md5-block.c: ... here.
70527         * crypt/sha256.c (sha256_process_block): Move to ...
70528         * crypt/sha256-block.c: ... here.
70529         * crypt/sha512.c (sha512_process_block): Move to ...
70530         * crypt/sha512-block.c: ... here.
70531         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
70532         path.
70533         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
70534         * sysdeps/sparc/sparc64/multiarch/Makefile
70535         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
70536         crypt subdir.
70537         (localedef-aux): Add md5 crypto assembler when in locale subdir.
70538         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
70539         multiarch changes.
70540         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
70541         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
70542         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
70543         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
70544         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
70545         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
70546         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
70547         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
70548         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
70549         file.
70550         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
70551         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
70552         file.
70553         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
70555 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
70557         * timezone/tzselect.ksh: Update from tzcode git revision
70558         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
70559         * timezone/zdump.c: Likewise.
70560         * timezone/zic.c: Likewise.
70561         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
70562         in TZVERSION setting, not $(PKGVERSION).
70563         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
70564         REPORT_BUGS_TO settings.
70566         [BZ #14838]
70567         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
70568         macro.
70570 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
70572         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
70573         detection to immediately after _FP_ROUND().
70574         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
70575         bits are 0.
70577 2012-11-11  David S. Miller  <davem@davemloft.net>
70579         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
70580         inttypes.h
70581         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
70582         __close rather than their public counterparts.
70584 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
70586         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
70587         file.
70588         [UNIX98] (sem_timedwait): Do not expect.
70589         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
70590         [XPG4 || UNIX98] (sockatmark): Do not expect.
70591         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
70592         (clock_getcpuclockid): Do not expect.
70593         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
70594         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
70595         Do not expect.
70596         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
70597         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
70598         [UNIX98] (vwscanf): Likewise.
70599         [UNIX98] (vswscanf): Likewise.
70601 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
70603         * timezone/version.h: Remove file.
70604         * timezone/README: Do not refer to version.h.
70605         * timezone/Makefile ($(objpfx)zic.o): New dependency on
70606         $(objpfx)version.h.
70607         ($(objpfx)zdump.o): Likewise.
70608         ($(objpfx)version.h): New target.
70610         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
70611         2012i.
70612         * timezone/README: Don't mention modification to tzselect.ksh.
70613         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
70614         work on unmodified tzselect.ksh.  Substitute version numbers in
70615         tzselect.ksh.
70617         * Makefile (format-me): Remove.
70618         (INSTALL): Adjust indentation.  Use commands directly instead of
70619         using $(format-me).
70621         * aclocal.m4 (ACX_PKGVERSION): New macro.
70622         (ACX_BUGURL): Likewise.
70623         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
70624         (PKGVERSION): New AC_DEFINE_UNQUOTED.
70625         (REPORT_BUGS_TO): Likewise.
70626         * configure: Regenerated.
70627         * config.h.in (PKGVERSION): New macro.
70628         (REPORT_BUGS_TO): Likewise.
70629         * config.make.in (PKGVERSION): New variable.
70630         (PKGVERSION_TEXI): Likewise.
70631         (REPORT_BUGS_TO): Likewise.
70632         (REPORT_BUGS_TEXI): Likewise.
70633         * Makefile (format-me): Use -I$(common-objpfx)manual.
70634         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
70635         ($(common-objpfx)manual/%): New target.
70636         (manual/%): Remove target.
70637         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
70638         (print_version): Use PKGVERSION.
70639         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
70640         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
70641         and REPORT_BUGS_TO.
70642         ($(objpfx)xtrace): Likewise.
70643         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
70644         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
70645         (print_version): Use PKGVERSION.
70646         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
70647         (do_version): Use PKGVERSION.
70648         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
70649         REPORT_BUGS_TO.
70650         (common-ldd-rewrite): Likewise.
70651         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
70652         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
70653         (print_version): Use PKGVERSION.
70654         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
70655         * elf/pldd.c (argp_program_bug_address): Remove variable.
70656         (more_help): New function.
70657         (argp): Use more_help.
70658         (print_version): Use PKGVERSION.
70659         * elf/sln.c (main): Use PKGVERSION.
70660         (usage): Use REPORT_BUGS_TO.
70661         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
70662         (top level): Use PKGVERSION.
70663         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
70664         (print_version): Use PKGVERSION.
70665         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
70666         (print_version): Use PKGVERSION.
70667         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
70668         (print_version): Use PKGVERSION.
70669         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
70670         (print_version): Use PKGVERSION.
70671         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
70672         (print_version): Use PKGVERSION.
70673         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
70674         (print_version): Use PKGVERSION.
70675         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
70676         and BUGURL.
70677         ($(objpfx)memusage): Likewise.
70678         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
70679         (do_version): Use PKGVERSION.
70680         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
70681         (print_version): Use PKGVERSION.
70682         * malloc/mtrace.pl ($PACKAGE): Remove variable.
70683         ($PKGVERSION): New variable.
70684         ($REPORT_BUGS_TO): Likewise.
70685         (usage): Use $REPORT_BUGS_TO.
70686         (top level): Use $PKGVERSION.
70687         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
70688         ($(objpfx)pkgvers.texi): New rule.
70689         ($(objpfx)stamp-pkgvers): Likewise.
70690         * manual/install.texi: Include pkgvers.texi.
70691         (--with-pkgversion): Document new configure option.
70692         (--with-bugurl): Likewise.
70693         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
70694         than necessarily for this particular distribution.  Use
70695         REPORT_BUGS_TO for where to report bugs.
70696         * INSTALL: Regenerated.
70697         * manual/libc.texinfo: Include pkgvers.texi.
70698         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
70699         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
70700         (print_version): Use PKGVERSION.
70701         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
70702         (print_version): Use PKGVERSION.
70703         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
70704         (print_version): Use PKGVERSION.
70705         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
70706         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
70707         macro.
70708         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
70709         (print_version): Use PKGVERSION.
70710         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
70711         (print_version): Use PKGVERSION.
70712         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
70713         and PKGVERSION.
70715         * timezone/checktab.awk: Update from tzcode 2012i.
70716         * timezone/ialloc.c: Likewise.
70717         * timezone/private.h: Likewise.
70718         * timezone/scheck.c: Likewise.
70719         * timezone/tzfile.h: Likewise.
70720         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
70721         (TZVERSION): Hardcode tzcode version number.
70722         * timezone/zdump.c: Update from tzcode 2012i.
70723         * timezone/zic.c: Likewise.
70724         * timezone/version.h: New file.
70725         * timezone/README: Describe version.h.  Update upstream location.
70727         [BZ #14824]
70728         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
70729         (mktemp): Enable declaration.
70730         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
70731         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
70732         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
70733         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
70734         Likewise.
70735         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
70736         Likewise.
70737         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
70738         Likewise.
70739         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
70740         Likewise.
70741         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
70742         Likewise.
70743         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
70744         Likewise.
70746         [BZ #14821]
70747         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
70748         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
70749         for copies of such integer values.
70750         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
70751         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
70753 2012-11-09  Andreas Jaeger  <aj@suse.de>
70755         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
70756         definitions and declarations that are provided by
70757         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
70759 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70761         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
70762         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
70763         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
70764         definition.
70766 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
70768         * elf/elf.h: Update comment before AArch64 relocations.
70770 2012-11-07  David S. Miller  <davem@davemloft.net>
70772         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
70773         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
70774         (__start_context): Declare.
70775         (__makecontext_ret): Delete.
70776         (__makecontext): Hook up __start_context instead of
70777         __makecontext_ret.
70778         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
70779         (sysdep_routines): Add __start_context when in stdlib.
70781 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
70783         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
70784         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
70785         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
70786         hardcoded "nm".
70787         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
70788         (READELF): New variable.  Use it instead of hardcoded "readelf".
70790 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
70792         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
70793         * sysdeps/x86/Makefile: Here.
70794         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
70795         * sysdeps/x86/tst-xmmymm.sh: This.
70797 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
70799         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
70800         expectations.
70801         [UNIX98] (pthread_barrier_t): Do not expect.
70802         [UNIX98] (pthread_barrierattr_t): Likewise.
70803         [UNIX98] (pthread_spinlock_t): Likewise.
70804         [UNIX98] (pthread_barrier_destroy): Likewise.
70805         [UNIX98] (pthread_barrier_init): Likewise.
70806         [UNIX98] (pthread_barrier_wait): Likewise.
70807         [UNIX98] (pthread_barrierattr_destroy): Likewise.
70808         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
70809         [UNIX98] (pthread_barrierattr_init): Likewise.
70810         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
70811         [UNIX98] (pthread_getcpuclockid): Likewise.
70812         [UNIX98] (pthread_mutex_timedlock): Likewise.
70813         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
70814         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
70815         [UNIX98] (pthread_sigmask): Likewise.
70816         [UNIX98] (pthread_spin_destroy): Likewise.
70817         [UNIX98] (pthread_spin_init): Likewise.
70818         [UNIX98] (pthread_spin_lock): Likewise.
70819         [UNIX98] (pthread_spin_trylock): Likewise.
70820         [UNIX98] (pthread_spin_unlock): Likewise.
70821         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
70822         Do not expect.
70823         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
70824         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
70825         [XPG3 || XPG4] (pthread_cond_t): Likewise.
70826         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
70827         [XPG3 || XPG4] (pthread_key_t): Likewise.
70828         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
70829         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
70830         [XPG3 || XPG4] (pthread_once_t): Likewise.
70831         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
70832         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
70833         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
70834         [XPG3 || XPG4] (pthread_t): Likewise.
70836         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
70837         not expect.
70838         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
70840         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
70841         Change function return type to int.
70843         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
70844         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
70845         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
70846         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
70847         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
70848         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
70849         [!POSIX] (posix_madvise): Likewise.
70850         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
70851         && !UNIX98].
70852         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
70853         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
70854         (mode_t): Likewise.
70855         (posix_mem_offset): Likewise.
70856         (posix_typed_mem_get_info): Likewise.
70857         (posix_typed_mem_open): Likewise.
70859         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
70860         Change condition to [XOPEN2K8].
70862         * conform/conformtest.pl: Preprocess allow-header data with -x c
70863         instead of from stdin.
70864         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
70865         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
70866         [C99-based standards] (cerfc): Likewise.
70867         [C99-based standards] (cexp2): Likewise.
70868         [C99-based standards] (cexpm1): Likewise.
70869         [C99-based standards] (clog10): Likewise.
70870         [C99-based standards] (clog1p): Likewise.
70871         [C99-based standards] (clog2): Likewise.
70872         [C99-based standards] (clgamma): Likewise.
70873         [C99-based standards] (ctgamma): Likewise.
70874         [C99-based standards] (cerff): Likewise.
70875         [C99-based standards] (cerfcf): Likewise.
70876         [C99-based standards] (cexp2f): Likewise.
70877         [C99-based standards] (cexpm1f): Likewise.
70878         [C99-based standards] (clog10f): Likewise.
70879         [C99-based standards] (clog1pf): Likewise.
70880         [C99-based standards] (clog2f): Likewise.
70881         [C99-based standards] (clgammaf): Likewise.
70882         [C99-based standards] (ctgammaf): Likewise.
70883         [C99-based standards] (cerfl): Likewise.
70884         [C99-based standards] (cerfcl): Likewise.
70885         [C99-based standards] (cexp2l): Likewise.
70886         [C99-based standards] (cexpm1l): Likewise.
70887         [C99-based standards] (clog10l): Likewise.
70888         [C99-based standards] (clog1pl): Likewise.
70889         [C99-based standards] (clog2l): Likewise.
70890         [C99-based standards] (clgammal): Likewise.
70891         [C99-based standards] (ctgammal): Likewise.
70892         * conform/data/inttypes.h-data [C99-based standards]: Include
70893         stdint.h-data.  Remove all expectations for stdint.h contents.
70894         [C99-based standards] (PRI*): Do not allow.
70895         [C99-based standards] (SCN*): Likewise.
70896         [C99-based standards] (*_t): Likewise.
70897         [C99-based-standards] (PRId8): Expect macro.
70898         [C99-based-standards] (PRIi8): Likewise.
70899         [C99-based-standards] (PRIo8): Likewise.
70900         [C99-based-standards] (PRIu8): Likewise.
70901         [C99-based-standards] (PRIx8): Likewise.
70902         [C99-based-standards] (PRIX8): Likewise.
70903         [C99-based-standards] (SCNd8): Likewise.
70904         [C99-based-standards] (SCNi8): Likewise.
70905         [C99-based-standards] (SCNo8): Likewise.
70906         [C99-based-standards] (SCNu8): Likewise.
70907         [C99-based-standards] (SCNx8): Likewise.
70908         [C99-based-standards] (PRIdLEAST8): Likewise.
70909         [C99-based-standards] (PRIiLEAST8): Likewise.
70910         [C99-based-standards] (PRIoLEAST8): Likewise.
70911         [C99-based-standards] (PRIuLEAST8): Likewise.
70912         [C99-based-standards] (PRIxLEAST8): Likewise.
70913         [C99-based-standards] (PRIXLEAST8): Likewise.
70914         [C99-based-standards] (SCNdLEAST8): Likewise.
70915         [C99-based-standards] (SCNiLEAST8): Likewise.
70916         [C99-based-standards] (SCNoLEAST8): Likewise.
70917         [C99-based-standards] (SCNuLEAST8): Likewise.
70918         [C99-based-standards] (SCNxLEAST8): Likewise.
70919         [C99-based-standards] (PRIdFAST8): Likewise.
70920         [C99-based-standards] (PRIiFAST8): Likewise.
70921         [C99-based-standards] (PRIoFAST8): Likewise.
70922         [C99-based-standards] (PRIuFAST8): Likewise.
70923         [C99-based-standards] (PRIxFAST8): Likewise.
70924         [C99-based-standards] (PRIXFAST8): Likewise.
70925         [C99-based-standards] (SCNdFAST8): Likewise.
70926         [C99-based-standards] (SCNiFAST8): Likewise.
70927         [C99-based-standards] (SCNoFAST8): Likewise.
70928         [C99-based-standards] (SCNuFAST8): Likewise.
70929         [C99-based-standards] (SCNxFAST8): Likewise.
70930         [C99-based-standards] (PRId16): Likewise.
70931         [C99-based-standards] (PRIi16): Likewise.
70932         [C99-based-standards] (PRIo16): Likewise.
70933         [C99-based-standards] (PRIu16): Likewise.
70934         [C99-based-standards] (PRIx16): Likewise.
70935         [C99-based-standards] (PRIX16): Likewise.
70936         [C99-based-standards] (SCNd16): Likewise.
70937         [C99-based-standards] (SCNi16): Likewise.
70938         [C99-based-standards] (SCNo16): Likewise.
70939         [C99-based-standards] (SCNu16): Likewise.
70940         [C99-based-standards] (SCNx16): Likewise.
70941         [C99-based-standards] (PRIdLEAST16): Likewise.
70942         [C99-based-standards] (PRIiLEAST16): Likewise.
70943         [C99-based-standards] (PRIoLEAST16): Likewise.
70944         [C99-based-standards] (PRIuLEAST16): Likewise.
70945         [C99-based-standards] (PRIxLEAST16): Likewise.
70946         [C99-based-standards] (PRIXLEAST16): Likewise.
70947         [C99-based-standards] (SCNdLEAST16): Likewise.
70948         [C99-based-standards] (SCNiLEAST16): Likewise.
70949         [C99-based-standards] (SCNoLEAST16): Likewise.
70950         [C99-based-standards] (SCNuLEAST16): Likewise.
70951         [C99-based-standards] (SCNxLEAST16): Likewise.
70952         [C99-based-standards] (PRIdFAST16): Likewise.
70953         [C99-based-standards] (PRIiFAST16): Likewise.
70954         [C99-based-standards] (PRIoFAST16): Likewise.
70955         [C99-based-standards] (PRIuFAST16): Likewise.
70956         [C99-based-standards] (PRIxFAST16): Likewise.
70957         [C99-based-standards] (PRIXFAST16): Likewise.
70958         [C99-based-standards] (SCNdFAST16): Likewise.
70959         [C99-based-standards] (SCNiFAST16): Likewise.
70960         [C99-based-standards] (SCNoFAST16): Likewise.
70961         [C99-based-standards] (SCNuFAST16): Likewise.
70962         [C99-based-standards] (SCNxFAST16): Likewise.
70963         [C99-based-standards] (PRId32): Likewise.
70964         [C99-based-standards] (PRIi32): Likewise.
70965         [C99-based-standards] (PRIo32): Likewise.
70966         [C99-based-standards] (PRIu32): Likewise.
70967         [C99-based-standards] (PRIx32): Likewise.
70968         [C99-based-standards] (PRIX32): Likewise.
70969         [C99-based-standards] (SCNd32): Likewise.
70970         [C99-based-standards] (SCNi32): Likewise.
70971         [C99-based-standards] (SCNo32): Likewise.
70972         [C99-based-standards] (SCNu32): Likewise.
70973         [C99-based-standards] (SCNx32): Likewise.
70974         [C99-based-standards] (PRIdLEAST32): Likewise.
70975         [C99-based-standards] (PRIiLEAST32): Likewise.
70976         [C99-based-standards] (PRIoLEAST32): Likewise.
70977         [C99-based-standards] (PRIuLEAST32): Likewise.
70978         [C99-based-standards] (PRIxLEAST32): Likewise.
70979         [C99-based-standards] (PRIXLEAST32): Likewise.
70980         [C99-based-standards] (SCNdLEAST32): Likewise.
70981         [C99-based-standards] (SCNiLEAST32): Likewise.
70982         [C99-based-standards] (SCNoLEAST32): Likewise.
70983         [C99-based-standards] (SCNuLEAST32): Likewise.
70984         [C99-based-standards] (SCNxLEAST32): Likewise.
70985         [C99-based-standards] (PRIdFAST32): Likewise.
70986         [C99-based-standards] (PRIiFAST32): Likewise.
70987         [C99-based-standards] (PRIoFAST32): Likewise.
70988         [C99-based-standards] (PRIuFAST32): Likewise.
70989         [C99-based-standards] (PRIxFAST32): Likewise.
70990         [C99-based-standards] (PRIXFAST32): Likewise.
70991         [C99-based-standards] (SCNdFAST32): Likewise.
70992         [C99-based-standards] (SCNiFAST32): Likewise.
70993         [C99-based-standards] (SCNoFAST32): Likewise.
70994         [C99-based-standards] (SCNuFAST32): Likewise.
70995         [C99-based-standards] (SCNxFAST32): Likewise.
70996         [C99-based-standards] (PRId64): Likewise.
70997         [C99-based-standards] (PRIi64): Likewise.
70998         [C99-based-standards] (PRIo64): Likewise.
70999         [C99-based-standards] (PRIu64): Likewise.
71000         [C99-based-standards] (PRIx64): Likewise.
71001         [C99-based-standards] (PRIX64): Likewise.
71002         [C99-based-standards] (SCNd64): Likewise.
71003         [C99-based-standards] (SCNi64): Likewise.
71004         [C99-based-standards] (SCNo64): Likewise.
71005         [C99-based-standards] (SCNu64): Likewise.
71006         [C99-based-standards] (SCNx64): Likewise.
71007         [C99-based-standards] (PRIdLEAST64): Likewise.
71008         [C99-based-standards] (PRIiLEAST64): Likewise.
71009         [C99-based-standards] (PRIoLEAST64): Likewise.
71010         [C99-based-standards] (PRIuLEAST64): Likewise.
71011         [C99-based-standards] (PRIxLEAST64): Likewise.
71012         [C99-based-standards] (PRIXLEAST64): Likewise.
71013         [C99-based-standards] (SCNdLEAST64): Likewise.
71014         [C99-based-standards] (SCNiLEAST64): Likewise.
71015         [C99-based-standards] (SCNoLEAST64): Likewise.
71016         [C99-based-standards] (SCNuLEAST64): Likewise.
71017         [C99-based-standards] (SCNxLEAST64): Likewise.
71018         [C99-based-standards] (PRIdFAST64): Likewise.
71019         [C99-based-standards] (PRIiFAST64): Likewise.
71020         [C99-based-standards] (PRIoFAST64): Likewise.
71021         [C99-based-standards] (PRIuFAST64): Likewise.
71022         [C99-based-standards] (PRIxFAST64): Likewise.
71023         [C99-based-standards] (PRIXFAST64): Likewise.
71024         [C99-based-standards] (SCNdFAST64): Likewise.
71025         [C99-based-standards] (SCNiFAST64): Likewise.
71026         [C99-based-standards] (SCNoFAST64): Likewise.
71027         [C99-based-standards] (SCNuFAST64): Likewise.
71028         [C99-based-standards] (SCNxFAST64): Likewise.
71029         [C99-based-standards] (PRIdMAX): Likewise.
71030         [C99-based-standards] (PRIiMAX): Likewise.
71031         [C99-based-standards] (PRIoMAX): Likewise.
71032         [C99-based-standards] (PRIuMAX): Likewise.
71033         [C99-based-standards] (PRIxMAX): Likewise.
71034         [C99-based-standards] (PRIXMAX): Likewise.
71035         [C99-based-standards] (SCNdMAX): Likewise.
71036         [C99-based-standards] (SCNiMAX): Likewise.
71037         [C99-based-standards] (SCNoMAX): Likewise.
71038         [C99-based-standards] (SCNuMAX): Likewise.
71039         [C99-based-standards] (SCNxMAX): Likewise.
71040         [C99-based-standards] (PRIdPTR): Likewise.
71041         [C99-based-standards] (PRIiPTR): Likewise.
71042         [C99-based-standards] (PRIoPTR): Likewise.
71043         [C99-based-standards] (PRIuPTR): Likewise.
71044         [C99-based-standards] (PRIxPTR): Likewise.
71045         [C99-based-standards] (PRIXPTR): Likewise.
71046         [C99-based-standards] (SCNdPTR): Likewise.
71047         [C99-based-standards] (SCNiPTR): Likewise.
71048         [C99-based-standards] (SCNoPTR): Likewise.
71049         [C99-based-standards] (SCNuPTR): Likewise.
71050         [C99-based-standards] (SCNxPTR): Likewise.
71051         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
71052         allow.
71053         * conform/data/stdint.h-data: Update comments to clarify
71054         requirements.
71055         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
71056         type.
71057         [C99-based standards] (INT8_MAX): Likewise.
71058         [C99-based standards] (INT16_MIN): Likewise.
71059         [C99-based standards] (INT16_MAX): Likewise.
71060         [C99-based standards] (INT32_MIN): Likewise.
71061         [C99-based standards] (INT32_MAX): Likewise.
71062         [C99-based standards] (INT64_MIN): Likewise.
71063         [C99-based standards] (INT64_MAX): Likewise.
71064         [C99-based standards] (UINT8_MAX): Likewise.
71065         [C99-based standards] (UINT16_MAX): Likewise.
71066         [C99-based standards] (UINT32_MAX): Likewise.
71067         [C99-based standards] (UINT64_MAX): Likewise.
71068         [C99-based standards] (INT_LEAST8_MIN): Likewise.
71069         [C99-based standards] (INT_LEAST8_MAX): Likewise.
71070         [C99-based standards] (INT_LEAST16_MIN): Likewise.
71071         [C99-based standards] (INT_LEAST16_MAX): Likewise.
71072         [C99-based standards] (INT_LEAST32_MIN): Likewise.
71073         [C99-based standards] (INT_LEAST32_MAX): Likewise.
71074         [C99-based standards] (INT_LEAST64_MIN): Likewise.
71075         [C99-based standards] (INT_LEAST64_MAX): Likewise.
71076         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
71077         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
71078         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
71079         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
71080         [C99-based standards] (INT_FAST8_MIN): Likewise.
71081         [C99-based standards] (INT_FAST8_MAX): Likewise.
71082         [C99-based standards] (INT_FAST16_MIN): Likewise.
71083         [C99-based standards] (INT_FAST16_MAX): Likewise.
71084         [C99-based standards] (INT_FAST32_MIN): Likewise.
71085         [C99-based standards] (INT_FAST32_MAX): Likewise.
71086         [C99-based standards] (INT_FAST64_MIN): Likewise.
71087         [C99-based standards] (INT_FAST64_MAX): Likewise.
71088         [C99-based standards] (UINT_FAST8_MAX): Likewise.
71089         [C99-based standards] (UINT_FAST16_MAX): Likewise.
71090         [C99-based standards] (UINT_FAST32_MAX): Likewise.
71091         [C99-based standards] (UINT_FAST64_MAX): Likewise.
71092         [C99-based standards] (INTPTR_MIN): Likewise.
71093         [C99-based standards] (INTPTR_MAX): Likewise.
71094         [C99-based standards] (UINTPTR_MAX): Likewise.
71095         [C99-based standards] (INTMAX_MIN): Likewise.
71096         [C99-based standards] (INTMAX_MAX): Likewise.
71097         [C99-based standards] (UINTMAX_MAX): Likewise.
71098         [C99-based standards] (PTRDIFF_MIN): Likewise.
71099         [C99-based standards] (PTRDIFF_MAX): Likewise.
71100         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
71101         [C99-based standards] (SIZE_MAX): Likewise.
71102         [C99-based standards] (WCHAR_MAX): Likewise.
71103         [C99-based standards] (WINT_MAX): Likewise.
71104         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
71105         constraint on value.
71106         [C99-based standards] (WCHAR_MIN): Likewise.
71107         [C99-based standards] (WINT_MIN): Likewise.
71108         [C99-based standards] (*_t): Allow.
71109         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
71110         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
71111         Include math.h-data and complex.h-data.  Remove all expectations
71112         of math.h and complex.h contents.
71113         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
71114         at end of line.
71115         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
71116         (struct tm): Expect tag.
71117         [C99-based-standards] (wcstof): Expect function.
71118         [C99-based-standards] (wcstold): Likewise.
71119         [C99-based-standards] (wcstoll): Likewise.
71120         [C99-based-standards] (wcstoull): Likewise.
71121         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
71122         macro-int-constant.  Specify type.
71123         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
71124         constraint on value.
71125         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
71126         Specify type.
71127         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
71128         Specify value.
71129         [ISO C standards]: Do not allow headers.
71130         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
71131         wcs[abcdefghijklmnopqrstuvwxyz]*.
71132         [ISO C standards] (*_t): Do not allow.
71133         * conform/data/wctype.h-data [C99-based standards] (iswblank):
71134         Expect function.
71135         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
71136         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
71137         Specify type.
71138         [ISO C standards]: Do not allow headers.
71139         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
71140         is[abcdefghijklmnopqrstuvwxyz]*.
71141         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
71142         to[abcdefghijklmnopqrstuvwxyz]*.
71143         [ISO C standards] (*_t): Do not allow.
71144         * conform/data/stdalign.h-data: New file.
71145         * conform/data/stdbool.h-data: Likewise.
71146         * conform/data/stdnoreturn.h-data: Likewise.
71148 2012-11-07  Roland McGrath  <roland@hack.frob.com>
71150         [BZ #14815]
71151         * manual/filesys.texi (Directory Entries): Typo fix.
71152         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
71154 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71156         * elf/elf.h (EM_AARCH64): New macro.
71157         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
71158         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
71159         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
71160         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
71161         (R_AARCH64_TLSDESC): Likewise.
71162         (NT_ARM_TLS): Likewise.
71163         (NT_ARM_HW_BREAK): Likewise.
71164         (NT_ARM_HW_WATCH): Likewise.
71166 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
71168         [BZ #14811]
71169         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
71170         (__ieee754_powl): Saturate nonzero exponents with absolute value
71171         below 0x1p-79 to +/- 0x1p-79.
71172         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
71173         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
71174         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
71175         nonzero exponents with absolute value below 0x1p-32 to +/-
71176         0x1p-32.
71177         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
71178         (__ieee754_powl): Saturate nonzero exponents with absolute value
71179         below 0x1p-79 to +/- 0x1p-79.
71180         * math/libm-test.inc (pow_test): Add more tests.
71182 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71184         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
71185         _dl_s390_cap_flags with kernel. Increase string length.
71186         (_dl_s390_platforms): Add z196 and zEC12.
71188 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
71190         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
71191         Change XOPEN21K to XOPEN2K.
71193 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
71195         * string/memmove.c: Use memcpy when possible.
71197 2012-11-06  Andreas Jaeger  <aj@suse.de>
71199         * po/eo.po: Update from translation team.
71201 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
71203         [BZ #14793]
71204         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
71205         exponent and small x and y exponents, scale x or y up.  Increase
71206         by 2 the exponent used in scaling up.
71207         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71208         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71209         * math/libm-test.inc (fma_test): Add more tests.
71210         (fma_test_towardzero): Likewise.
71211         (fma_test_downward): Likewise.
71212         (fma_test_upward): Likewise.
71214 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
71216         [BZ #14805]
71217         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
71218         fenv_t *.
71220         [BZ #14801]
71221         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
71222         namespace for names of struct fields.
71223         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
71224         fenv_t fields.
71225         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
71226         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
71228 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71230         [BZ #3665]
71231         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
71233 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
71235         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
71236         PTR_DEMANGLE.
71238         [BZ #5246]
71239         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
71240         PTR_DEMANGLE.
71242 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
71244         [BZ #14797]
71245         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
71246         definitely overflow as x * y not x * y + z.
71247         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71248         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71249         * math/libm-test.inc (fma_test): Add more tests.
71250         (fma_test_towardzero): Likewise.
71251         (fma_test_downward): Likewise.
71252         (fma_test_upward): Likewise.
71254 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
71256         [BZ #157]
71258         * include/stub-tag.h: Remove file.
71259         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
71260         '#include' of it.
71261         * manual/maint.texi (Porting): Don't reference it.
71262         * Makerules ($(objpfx)stubs): Likewise.
71263         * dirent/closedir.c: Don't include <stub-tag.h>.
71264         * dirent/dirfd.c: Likewise.
71265         * dirent/fdopendir.c: Likewise.
71266         * dirent/getdents.c: Likewise.
71267         * dirent/getdents64.c: Likewise.
71268         * dirent/opendir.c: Likewise.
71269         * dirent/readdir.c: Likewise.
71270         * dirent/readdir64.c: Likewise.
71271         * dirent/readdir64_r.c: Likewise.
71272         * dirent/readdir_r.c: Likewise.
71273         * dirent/rewinddir.c: Likewise.
71274         * dirent/seekdir.c: Likewise.
71275         * dirent/telldir.c: Likewise.
71276         * gmon/profil.c: Likewise.
71277         * grp/setgroups.c: Likewise.
71278         * inet/if_index.c: Likewise.
71279         * io/access.c: Likewise.
71280         * io/chdir.c: Likewise.
71281         * io/chmod.c: Likewise.
71282         * io/chown.c: Likewise.
71283         * io/close.c: Likewise.
71284         * io/dup.c: Likewise.
71285         * io/dup2.c: Likewise.
71286         * io/dup3.c: Likewise.
71287         * io/euidaccess.c: Likewise.
71288         * io/faccessat.c: Likewise.
71289         * io/fchdir.c: Likewise.
71290         * io/fchmod.c: Likewise.
71291         * io/fchmodat.c: Likewise.
71292         * io/fchown.c: Likewise.
71293         * io/fchownat.c: Likewise.
71294         * io/fcntl.c: Likewise.
71295         * io/flock.c: Likewise.
71296         * io/fstatfs.c: Likewise.
71297         * io/fstatfs64.c: Likewise.
71298         * io/fstatvfs.c: Likewise.
71299         * io/fstatvfs64.c: Likewise.
71300         * io/futimens.c: Likewise.
71301         * io/fxstat.c: Likewise.
71302         * io/fxstat64.c: Likewise.
71303         * io/fxstatat.c: Likewise.
71304         * io/fxstatat64.c: Likewise.
71305         * io/getcwd.c: Likewise.
71306         * io/isatty.c: Likewise.
71307         * io/lchmod.c: Likewise.
71308         * io/lchown.c: Likewise.
71309         * io/link.c: Likewise.
71310         * io/linkat.c: Likewise.
71311         * io/lseek.c: Likewise.
71312         * io/lseek64.c: Likewise.
71313         * io/lxstat64.c: Likewise.
71314         * io/mkdir.c: Likewise.
71315         * io/mkdirat.c: Likewise.
71316         * io/mkfifo.c: Likewise.
71317         * io/mkfifoat.c: Likewise.
71318         * io/open.c: Likewise.
71319         * io/open64.c: Likewise.
71320         * io/openat.c: Likewise.
71321         * io/openat64.c: Likewise.
71322         * io/pipe.c: Likewise.
71323         * io/pipe2.c: Likewise.
71324         * io/poll.c: Likewise.
71325         * io/posix_fadvise.c: Likewise.
71326         * io/posix_fadvise64.c: Likewise.
71327         * io/posix_fallocate.c: Likewise.
71328         * io/posix_fallocate64.c: Likewise.
71329         * io/read.c: Likewise.
71330         * io/readlink.c: Likewise.
71331         * io/readlinkat.c: Likewise.
71332         * io/rmdir.c: Likewise.
71333         * io/sendfile.c: Likewise.
71334         * io/sendfile64.c: Likewise.
71335         * io/statfs.c: Likewise.
71336         * io/statfs64.c: Likewise.
71337         * io/statvfs.c: Likewise.
71338         * io/statvfs64.c: Likewise.
71339         * io/symlink.c: Likewise.
71340         * io/symlinkat.c: Likewise.
71341         * io/ttyname.c: Likewise.
71342         * io/ttyname_r.c: Likewise.
71343         * io/umask.c: Likewise.
71344         * io/unlink.c: Likewise.
71345         * io/unlinkat.c: Likewise.
71346         * io/utime.c: Likewise.
71347         * io/utimensat.c: Likewise.
71348         * io/write.c: Likewise.
71349         * io/xmknod.c: Likewise.
71350         * io/xmknodat.c: Likewise.
71351         * io/xstat.c: Likewise.
71352         * io/xstat64.c: Likewise.
71353         * login/getpt.c: Likewise.
71354         * login/grantpt.c: Likewise.
71355         * login/unlockpt.c: Likewise.
71356         * math/e_acoshl.c: Likewise.
71357         * math/e_acosl.c: Likewise.
71358         * math/e_asinl.c: Likewise.
71359         * math/e_atan2l.c: Likewise.
71360         * math/e_atanhl.c: Likewise.
71361         * math/e_coshl.c: Likewise.
71362         * math/e_expl.c: Likewise.
71363         * math/e_fmodl.c: Likewise.
71364         * math/e_gammal_r.c: Likewise.
71365         * math/e_hypotl.c: Likewise.
71366         * math/e_j0l.c: Likewise.
71367         * math/e_j1l.c: Likewise.
71368         * math/e_jnl.c: Likewise.
71369         * math/e_lgammal_r.c: Likewise.
71370         * math/e_log10l.c: Likewise.
71371         * math/e_log2l.c: Likewise.
71372         * math/e_logl.c: Likewise.
71373         * math/e_powl.c: Likewise.
71374         * math/e_rem_pio2l.c: Likewise.
71375         * math/e_sinhl.c: Likewise.
71376         * math/e_sqrtl.c: Likewise.
71377         * math/fclrexcpt.c: Likewise.
71378         * math/fedisblxcpt.c: Likewise.
71379         * math/feenablxcpt.c: Likewise.
71380         * math/fegetenv.c: Likewise.
71381         * math/fegetexcept.c: Likewise.
71382         * math/fegetround.c: Likewise.
71383         * math/feholdexcpt.c: Likewise.
71384         * math/fesetenv.c: Likewise.
71385         * math/fesetround.c: Likewise.
71386         * math/feupdateenv.c: Likewise.
71387         * math/fgetexcptflg.c: Likewise.
71388         * math/fraiseexcpt.c: Likewise.
71389         * math/fsetexcptflg.c: Likewise.
71390         * math/ftestexcept.c: Likewise.
71391         * math/k_cosl.c: Likewise.
71392         * math/k_rem_pio2l.c: Likewise.
71393         * math/k_sinl.c: Likewise.
71394         * math/k_tanl.c: Likewise.
71395         * math/s_asinhl.c: Likewise.
71396         * math/s_atanl.c: Likewise.
71397         * math/s_cbrtl.c: Likewise.
71398         * math/s_erfl.c: Likewise.
71399         * math/s_expm1l.c: Likewise.
71400         * math/s_log1pl.c: Likewise.
71401         * math/s_tanhl.c: Likewise.
71402         * misc/acct.c: Likewise.
71403         * misc/brk.c: Likewise.
71404         * misc/chflags.c: Likewise.
71405         * misc/chroot.c: Likewise.
71406         * misc/fchflags.c: Likewise.
71407         * misc/fgetxattr.c: Likewise.
71408         * misc/flistxattr.c: Likewise.
71409         * misc/fremovexattr.c: Likewise.
71410         * misc/fsetxattr.c: Likewise.
71411         * misc/fsync.c: Likewise.
71412         * misc/ftruncate.c: Likewise.
71413         * misc/futimes.c: Likewise.
71414         * misc/futimesat.c: Likewise.
71415         * misc/getdomain.c: Likewise.
71416         * misc/getdtsz.c: Likewise.
71417         * misc/gethostid.c: Likewise.
71418         * misc/gethostname.c: Likewise.
71419         * misc/getloadavg.c: Likewise.
71420         * misc/getpagesize.c: Likewise.
71421         * misc/getsysstats.c: Likewise.
71422         * misc/getxattr.c: Likewise.
71423         * misc/gtty.c: Likewise.
71424         * misc/ioctl.c: Likewise.
71425         * misc/lgetxattr.c: Likewise.
71426         * misc/listxattr.c: Likewise.
71427         * misc/llistxattr.c: Likewise.
71428         * misc/lremovexattr.c: Likewise.
71429         * misc/lsetxattr.c: Likewise.
71430         * misc/lutimes.c: Likewise.
71431         * misc/madvise.c: Likewise.
71432         * misc/mincore.c: Likewise.
71433         * misc/mlock.c: Likewise.
71434         * misc/mlockall.c: Likewise.
71435         * misc/mmap.c: Likewise.
71436         * misc/mprotect.c: Likewise.
71437         * misc/msync.c: Likewise.
71438         * misc/munlock.c: Likewise.
71439         * misc/munlockall.c: Likewise.
71440         * misc/munmap.c: Likewise.
71441         * misc/preadv.c: Likewise.
71442         * misc/preadv64.c: Likewise.
71443         * misc/ptrace.c: Likewise.
71444         * misc/pwritev.c: Likewise.
71445         * misc/pwritev64.c: Likewise.
71446         * misc/readv.c: Likewise.
71447         * misc/reboot.c: Likewise.
71448         * misc/remap_file_pages.c: Likewise.
71449         * misc/removexattr.c: Likewise.
71450         * misc/revoke.c: Likewise.
71451         * misc/select.c: Likewise.
71452         * misc/setdomain.c: Likewise.
71453         * misc/setegid.c: Likewise.
71454         * misc/seteuid.c: Likewise.
71455         * misc/sethostid.c: Likewise.
71456         * misc/sethostname.c: Likewise.
71457         * misc/setregid.c: Likewise.
71458         * misc/setreuid.c: Likewise.
71459         * misc/setxattr.c: Likewise.
71460         * misc/sstk.c: Likewise.
71461         * misc/stty.c: Likewise.
71462         * misc/swapoff.c: Likewise.
71463         * misc/swapon.c: Likewise.
71464         * misc/sync.c: Likewise.
71465         * misc/syncfs.c: Likewise.
71466         * misc/syscall.c: Likewise.
71467         * misc/truncate.c: Likewise.
71468         * misc/ualarm.c: Likewise.
71469         * misc/usleep.c: Likewise.
71470         * misc/ustat.c: Likewise.
71471         * misc/utimes.c: Likewise.
71472         * misc/vhangup.c: Likewise.
71473         * misc/writev.c: Likewise.
71474         * posix/_exit.c: Likewise.
71475         * posix/alarm.c: Likewise.
71476         * posix/execve.c: Likewise.
71477         * posix/fexecve.c: Likewise.
71478         * posix/fork.c: Likewise.
71479         * posix/fpathconf.c: Likewise.
71480         * posix/getaddrinfo.c: Likewise.
71481         * posix/getegid.c: Likewise.
71482         * posix/geteuid.c: Likewise.
71483         * posix/getgid.c: Likewise.
71484         * posix/getgroups.c: Likewise.
71485         * posix/getlogin.c: Likewise.
71486         * posix/getlogin_r.c: Likewise.
71487         * posix/getpgid.c: Likewise.
71488         * posix/getpid.c: Likewise.
71489         * posix/getppid.c: Likewise.
71490         * posix/getresgid.c: Likewise.
71491         * posix/getresuid.c: Likewise.
71492         * posix/getsid.c: Likewise.
71493         * posix/getuid.c: Likewise.
71494         * posix/glob64.c: Likewise.
71495         * posix/nanosleep.c: Likewise.
71496         * posix/pathconf.c: Likewise.
71497         * posix/pause.c: Likewise.
71498         * posix/posix_madvise.c: Likewise.
71499         * posix/pread.c: Likewise.
71500         * posix/pread64.c: Likewise.
71501         * posix/pwrite.c: Likewise.
71502         * posix/pwrite64.c: Likewise.
71503         * posix/sched_getaffinity.c: Likewise.
71504         * posix/sched_getp.c: Likewise.
71505         * posix/sched_gets.c: Likewise.
71506         * posix/sched_primax.c: Likewise.
71507         * posix/sched_primin.c: Likewise.
71508         * posix/sched_rr_gi.c: Likewise.
71509         * posix/sched_setaffinity.c: Likewise.
71510         * posix/sched_setp.c: Likewise.
71511         * posix/sched_sets.c: Likewise.
71512         * posix/sched_yield.c: Likewise.
71513         * posix/setgid.c: Likewise.
71514         * posix/setlogin.c: Likewise.
71515         * posix/setpgid.c: Likewise.
71516         * posix/setresgid.c: Likewise.
71517         * posix/setresuid.c: Likewise.
71518         * posix/setsid.c: Likewise.
71519         * posix/setuid.c: Likewise.
71520         * posix/sleep.c: Likewise.
71521         * posix/spawni.c: Likewise.
71522         * posix/sysconf.c: Likewise.
71523         * posix/times.c: Likewise.
71524         * posix/wait.c: Likewise.
71525         * posix/wait3.c: Likewise.
71526         * posix/wait4.c: Likewise.
71527         * posix/waitpid.c: Likewise.
71528         * resolv/gai_sigqueue.c: Likewise.
71529         * resource/getpriority.c: Likewise.
71530         * resource/getrlimit.c: Likewise.
71531         * resource/getrusage.c: Likewise.
71532         * resource/nice.c: Likewise.
71533         * resource/setpriority.c: Likewise.
71534         * resource/setrlimit.c: Likewise.
71535         * resource/ulimit.c: Likewise.
71536         * rt/aio_cancel.c: Likewise.
71537         * rt/aio_fsync.c: Likewise.
71538         * rt/aio_read.c: Likewise.
71539         * rt/aio_sigqueue.c: Likewise.
71540         * rt/aio_suspend.c: Likewise.
71541         * rt/aio_write.c: Likewise.
71542         * rt/clock_getres.c: Likewise.
71543         * rt/clock_gettime.c: Likewise.
71544         * rt/clock_nanosleep.c: Likewise.
71545         * rt/clock_settime.c: Likewise.
71546         * rt/lio_listio.c: Likewise.
71547         * rt/mq_close.c: Likewise.
71548         * rt/mq_getattr.c: Likewise.
71549         * rt/mq_notify.c: Likewise.
71550         * rt/mq_open.c: Likewise.
71551         * rt/mq_receive.c: Likewise.
71552         * rt/mq_send.c: Likewise.
71553         * rt/mq_setattr.c: Likewise.
71554         * rt/mq_timedreceive.c: Likewise.
71555         * rt/mq_timedsend.c: Likewise.
71556         * rt/mq_unlink.c: Likewise.
71557         * rt/shm_open.c: Likewise.
71558         * rt/shm_unlink.c: Likewise.
71559         * rt/timer_create.c: Likewise.
71560         * rt/timer_delete.c: Likewise.
71561         * rt/timer_getoverr.c: Likewise.
71562         * rt/timer_gettime.c: Likewise.
71563         * rt/timer_settime.c: Likewise.
71564         * setjmp/__longjmp.c: Likewise.
71565         * setjmp/setjmp.c: Likewise.
71566         * signal/kill.c: Likewise.
71567         * signal/killpg.c: Likewise.
71568         * signal/raise.c: Likewise.
71569         * signal/sigaction.c: Likewise.
71570         * signal/sigaltstack.c: Likewise.
71571         * signal/sigblock.c: Likewise.
71572         * signal/sigignore.c: Likewise.
71573         * signal/sigintr.c: Likewise.
71574         * signal/signal.c: Likewise.
71575         * signal/sigpause.c: Likewise.
71576         * signal/sigpending.c: Likewise.
71577         * signal/sigqueue.c: Likewise.
71578         * signal/sigreturn.c: Likewise.
71579         * signal/sigset.c: Likewise.
71580         * signal/sigsetmask.c: Likewise.
71581         * signal/sigstack.c: Likewise.
71582         * signal/sigsuspend.c: Likewise.
71583         * signal/sigtimedwait.c: Likewise.
71584         * signal/sigvec.c: Likewise.
71585         * signal/sigwait.c: Likewise.
71586         * signal/sigwaitinfo.c: Likewise.
71587         * signal/sysv_signal.c: Likewise.
71588         * socket/accept.c: Likewise.
71589         * socket/accept4.c: Likewise.
71590         * socket/bind.c: Likewise.
71591         * socket/connect.c: Likewise.
71592         * socket/getpeername.c: Likewise.
71593         * socket/getsockname.c: Likewise.
71594         * socket/getsockopt.c: Likewise.
71595         * socket/isfdtype.c: Likewise.
71596         * socket/listen.c: Likewise.
71597         * socket/recv.c: Likewise.
71598         * socket/recvfrom.c: Likewise.
71599         * socket/recvmsg.c: Likewise.
71600         * socket/send.c: Likewise.
71601         * socket/sendmsg.c: Likewise.
71602         * socket/sendto.c: Likewise.
71603         * socket/setsockopt.c: Likewise.
71604         * socket/shutdown.c: Likewise.
71605         * socket/sockatmark.c: Likewise.
71606         * socket/socket.c: Likewise.
71607         * socket/socketpair.c: Likewise.
71608         * stdio-common/ctermid.c: Likewise.
71609         * stdio-common/cuserid.c: Likewise.
71610         * stdio-common/remove.c: Likewise.
71611         * stdio-common/rename.c: Likewise.
71612         * stdio-common/renameat.c: Likewise.
71613         * stdio-common/tempname.c: Likewise.
71614         * stdlib/getcontext.c: Likewise.
71615         * stdlib/makecontext.c: Likewise.
71616         * stdlib/setcontext.c: Likewise.
71617         * stdlib/swapcontext.c: Likewise.
71618         * stdlib/system.c: Likewise.
71619         * streams/fattach.c: Likewise.
71620         * streams/fdetach.c: Likewise.
71621         * streams/getmsg.c: Likewise.
71622         * streams/getpmsg.c: Likewise.
71623         * streams/putmsg.c: Likewise.
71624         * streams/putpmsg.c: Likewise.
71625         * sysdeps/unix/bsd/getpt.c: Likewise.
71626         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
71627         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
71628         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
71629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
71630         Likewise.
71631         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
71632         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
71633         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
71634         * sysvipc/msgctl.c: Likewise.
71635         * sysvipc/msgget.c: Likewise.
71636         * sysvipc/msgrcv.c: Likewise.
71637         * sysvipc/msgsnd.c: Likewise.
71638         * sysvipc/semctl.c: Likewise.
71639         * sysvipc/semget.c: Likewise.
71640         * sysvipc/semop.c: Likewise.
71641         * sysvipc/semtimedop.c: Likewise.
71642         * sysvipc/shmat.c: Likewise.
71643         * sysvipc/shmctl.c: Likewise.
71644         * sysvipc/shmdt.c: Likewise.
71645         * sysvipc/shmget.c: Likewise.
71646         * termios/tcdrain.c: Likewise.
71647         * termios/tcflow.c: Likewise.
71648         * termios/tcflush.c: Likewise.
71649         * termios/tcgetattr.c: Likewise.
71650         * termios/tcgetpgrp.c: Likewise.
71651         * termios/tcsendbrk.c: Likewise.
71652         * termios/tcsetattr.c: Likewise.
71653         * termios/tcsetpgrp.c: Likewise.
71654         * time/adjtime.c: Likewise.
71655         * time/clock.c: Likewise.
71656         * time/getitimer.c: Likewise.
71657         * time/gettimeofday.c: Likewise.
71658         * time/setitimer.c: Likewise.
71659         * time/settimeofday.c: Likewise.
71660         * time/stime.c: Likewise.
71661         * time/time.c: Likewise.
71663 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
71665         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
71666         /usr/old/bin.
71668         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
71669         instead of spaces.
71670         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
71672 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
71674         [BZ #14796]
71675         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
71676         FE_TONEAREST before applying Dekker multiplication and Knuth
71677         addition.  Clear inexact exceptions and check for exact zero
71678         results afterwards.
71679         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71680         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
71681         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71682         * math/libm-test.inc (fma_test): Add more tests.
71683         (fma_test_towardzero): Likewise.
71684         (fma_test_downward): Likewise.
71685         (fma_test_upward): Likewise.
71686         * sysdeps/generic/math_private.h (default_libc_fesetround): New
71687         function.
71688         (libc_fesetround): New macro.
71689         (libc_fesetroundf): Likewise.
71690         (libc_fesetroundl): Likewise.
71691         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
71692         function.
71693         (libc_fesetround_387): Likewise.
71694         (libc_fesetroundf): New macro.
71695         (libc_fesetround): Likewise.
71696         (libc_fesetroundl): Likewise.
71697         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
71698         function.
71699         (libc_fesetroundf): New macro.
71700         (libc_fesetround): Likewise.
71701         (libc_fesetroundl): Likewise.
71702         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
71703         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
71704         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
71705         libm_hidden_ver.
71706         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
71707         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
71708         libm_hidden_def.
71709         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
71710         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
71711         libm_hidden_ver.
71712         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
71713         libm_hidden_def.
71715         [BZ #3439]
71716         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
71717         integer constant usable in #if and use that to give value to enum
71718         constant.
71719         (FE_DIVBYZERO): Likewise.
71720         (FE_UNDERFLOW): Likewise.
71721         (FE_OVERFLOW): Likewise.
71722         (FE_INVALID): Likewise.
71723         (FE_INVALID_SNAN): Likewise.
71724         (FE_INVALID_ISI): Likewise.
71725         (FE_INVALID_IDI): Likewise.
71726         (FE_INVALID_ZDZ): Likewise.
71727         (FE_INVALID_IMZ): Likewise.
71728         (FE_INVALID_COMPARE): Likewise.
71729         (FE_INVALID_SOFTWARE): Likewise.
71730         (FE_INVALID_SQRT): Likewise.
71731         (FE_INVALID_INTEGER_CONVERSION): Likewise.
71732         (FE_TONEAREST): Likewise.
71733         (FE_TOWARDZERO): Likewise.
71734         (FE_UPWARD): Likewise.
71735         (FE_DOWNWARD): Likewise.
71736         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
71737         (FE_DIVBYZERO): Likewise.
71738         (FE_OVERFLOW): Likewise.
71739         (FE_UNDERFLOW): Likewise.
71740         (FE_INEXACT): Likewise.
71741         (FE_TONEAREST): Likewise.
71742         (FE_DOWNWARD): Likewise.
71743         (FE_UPWARD): Likewise.
71744         (FE_TOWARDZERO): Likewise.
71745         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
71746         (FE_UNDERFLOW): Likewise.
71747         (FE_OVERFLOW): Likewise.
71748         (FE_DIVBYZERO): Likewise.
71749         (FE_INVALID): Likewise.
71750         (FE_TONEAREST): Likewise.
71751         (FE_TOWARDZERO): Likewise.
71752         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
71753         (FE_OVERFLOW): Likewise.
71754         (FE_UNDERFLOW): Likewise.
71755         (FE_DIVBYZERO): Likewise.
71756         (FE_INEXACT): Likewise.
71757         (FE_TONEAREST): Likewise.
71758         (FE_TOWARDZERO): Likewise.
71759         (FE_UPWARD): Likewise.
71760         (FE_DOWNWARD): Likewise.
71761         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
71762         (FE_DIVBYZERO): Likewise.
71763         (FE_OVERFLOW): Likewise.
71764         (FE_UNDERFLOW): Likewise.
71765         (FE_INEXACT): Likewise.
71766         (FE_TONEAREST): Likewise.
71767         (FE_DOWNWARD): Likewise.
71768         (FE_UPWARD): Likewise.
71769         (FE_TOWARDZERO): Likewise.
71771 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
71773         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
71775 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
71777         * scripts/cross-test-ssh.sh (command): Use newlines to separate
71778         commands.  Quote $PWD.
71779         (blacklist_exports): Don't use remove_newlines.  Replace "declare
71780         -x" by "export".
71781         (remove_newlines): Remove.
71783 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
71785         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
71786         * stdlib/stdlib.h (atof): Moved to ...
71787         * include/bits/stdlib-float.h: Here.  New file.
71788         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
71789         * stdlib/bits/stdlib-float.h: New file.
71790         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
71791         -mno-sse -mno-mmx.
71792         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
71793         <xmmintrin.h>.
71795 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
71797         * conform/conformtest.pl (@headers): Add fenv.h.
71798         * conform/data/fenv.h-data: New file.
71799         * include/fenv.h [_ISOMAC]: Disable all contents of file except
71800         include of <math/fenv.h>.
71802         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
71803         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
71804         && !UNIX98].  Enables tests for XOPEN2K8.
71805         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
71806         POSIX2008]: Likewise.
71808         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
71809         (struct rusage): Do not expect type or its members.
71811         [BZ #3439]
71812         * math/math.h (FP_NAN): Define macro to integer constant usable in
71813         #if and use that to give value to enum constant.
71814         (FP_INFINITE): Likewise.
71815         (FP_ZERO): Likewise.
71816         (FP_SUBNORMAL): Likewise.
71817         (FP_NORMAL): Likewise.
71819 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
71821         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
71822         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
71823         arguments.
71825 2012-11-02  Roland McGrath  <roland@hack.frob.com>
71827         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
71828         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
71829         autoconf-time if not.
71830         * configure.in: Remove AC_PREREQ.
71832 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71834         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
71835         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
71836         of the internal implementation.
71838 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
71840         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
71841         except include of <misc/sys/syslog.h>.
71843 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
71845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
71846         function returns with a NULL context exit with zero.
71848 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71850         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
71852 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
71854         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
71855         (run_program_cmd): This.
71856         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
71857         (tst_langinfo): New variable.  Use it.
71859 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
71861         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
71862         floating point opcodes.
71864 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
71866         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
71867         variable.
71869         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
71871         * sysdeps/mach/hurd/powerpc: Remove directory.
71872         * sysdeps/mach/powerpc: Likewise.
71874 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
71876         * scripts/check-local-headers.sh: Ignore c++ headers.
71878 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
71880         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
71881         __libc_cleanup_region_start argument.
71883 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
71885         [BZ #14784]
71886         [BZ #14785]
71887         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
71888         x * y using scaling, not as x * y + z.
71889         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71890         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71891         * math/libm-test.inc (fma_test): Add more tests.
71892         (fma_test_towardzero): Likewise.
71893         (fma_test_downward): Likewise.
71894         (fma_test_upward): Likewise.
71896 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
71898         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
71900 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
71902         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
71903         New variable.
71905 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
71907         * rt/tst-shm.c (worker): Correct checking for mmap failure.
71909 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
71911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71912         Fix sort order.
71913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71914         Likewise.
71916 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71919         Fix the order of the list for glibc 2.17.
71920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71921         Likewise.
71923 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
71925         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71927 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
71929         [BZ #14610]
71930         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
71931         for low part of x being zero before using __atanl (y).
71932         * math/libm-test.inc (atan2_test): Add another test.
71934         * manual/install.texi (Configuring and compiling): Document
71935         general use of test-wrapper and test-wrapper-env.
71936         * INSTALL: Regenerated.
71938         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
71939         (__fma): Do not extract and scale down low bits on after-rounding
71940         systems when result rounded to normal precision would have normal
71941         exponent.
71942         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
71943         (__fmal): Do not extract and scale down low bits on after-rounding
71944         systems when result rounded to normal precision would have normal
71945         exponent.
71946         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
71947         (__fmal): Do not extract and scale down low bits on after-rounding
71948         systems when result rounded to normal precision would have normal
71949         exponent.
71950         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
71951         macro.
71952         (fma_test): Add more tests.
71953         (fma_test_towardzero): Likewise.
71954         (fma_test_downward): Likewise.
71955         (fma_test_upward): Likewise.
71957 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
71959         * sysdeps/i386/tininess.h: Renamed to ...
71960         * sysdeps/x86/tininess.h: This.
71961         * sysdeps/x86_64/tininess.h: Removed.
71963 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
71965         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
71966         input.  Use $(build-program-cmd).
71967         ($(objpfx)tst-array1-static.out): Likewise.
71968         ($(objpfx)tst-array2.out): Likewise.
71969         ($(objpfx)tst-array3.out): Likewise.
71970         ($(objpfx)tst-array4.out): Likewise.
71971         ($(objpfx)tst-array5.out): Likewise.
71972         ($(objpfx)tst-array5-static.out): Likewise.
71974 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
71976         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
71977         if defined.
71979         * nss/nsswitch.h (nss_interface_function): Provide new
71980         macro for use with NSS functions.
71981         * grp/initgroups.c: Use new macro.
71982         * nss/getXXbyYY.c: Likewise.
71983         * nss/getXXbyYY_r.c: Likewise.
71984         * nss/getXXent.c: Likewise.
71985         * nss/getXXent_r.c: Likewise.
71986         * sysdeps/posix/getaddrinfo.c: Likewise.
71988 2012-10-30  Andreas Jaeger  <aj@suse.de>
71990         * po/ru.po: Update Russion translation from translation project.
71992 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
71994         [BZ #14152]
71995         [BZ #14783]
71996         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
71997         result and shift together with sticky bit instead of replicating
71998         round-to-nearest rounding.
71999         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72000         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72001         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
72002         missing underflow exceptions.
72003         (fma_test_towardzero): Add more tests.
72004         (fma_test_downward): Likewise.
72005         (fma_test_upward): Likewise.
72007         [BZ #14047]
72008         * sysdeps/generic/tininess.h: New file.
72009         * sysdeps/i386/tininess.h: Likewise.
72010         * sysdeps/sh/tininess.h: Likewise.
72011         * sysdeps/x86_64/tininess.h: Likewise.
72012         * stdlib/tst-strtod-underflow.c: Likewise.
72013         * stdlib/tst-tininess.c: Likewise.
72014         * stdlib/strtod_l.c: Include <tininess.h>.
72015         (round_and_return): Do not set errno for exact underflow cases.
72016         Force an underflow exception when setting errno for underflow.
72017         Determine underflow based on rounding to normal precision if
72018         TININESS_AFTER_ROUNDING.
72019         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
72020         ERANGE for exact underflow cases.
72021         * stdlib/Makefile (tests): Add tst-tininess and
72022         tst-strtod-underflow.
72023         ($(objpfx)tst-tininess): Use $(link-libm).
72024         ($(objpfx)tst-strtod-underflow): Likewise.
72026 2012-10-30  Andreas Jaeger  <aj@suse.de>
72028         [BZ #14767]
72029         * elf/Makefile (tests): Remove conditional for have-initfini-array
72030         since this is now always required and the variable does not exist
72031         anymore.
72032         (tests-static): Likewise.
72033         (modules-names): Likewise.
72035         * po/eo.po: Add Esperanto translation from translation project.
72037         * elf/tst-array1.c (fini_array): Make writeable so that it can be
72038         merged with constructor/destructor.
72039         (init_array): Likewise.
72040         * elf/tst-array2dep.c (fini_array): Likewise.
72041         (init_array): Likewise.
72043 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
72045         * manual/message.texi: Delete @cartouche tags.
72047 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
72049         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
72050         EOPNOTSUPP.
72051         * sysdeps/mach/hurd/fsync.c: Likewise.
72053         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
72054         [_POSIX_REALTIME_SIGNALS]: Change condition to
72055         [_POSIX_REALTIME_SIGNALS > 0].
72057 2012-10-27  Andreas Jaeger  <aj@suse.de>
72059         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
72060         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
72061         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
72062         [__WORDSIZE != 64]: Likewise.
72064 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
72066         *  iconvdata/tst-table.sh: Remove ${SHELL}.
72067         *  iconvdata/tst-tables.sh: Likewise.
72069 2012-10-25  David S. Miller  <davem@davemloft.net>
72071         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72072         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
72073         of strtoull.
72075         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
72076         ifunc-impl-list.c
72077         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72078         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
72079         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
72080         file.
72082 2012-10-25  Roland McGrath  <roland@hack.frob.com>
72084         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72085         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
72086         __getdirentries.
72088 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
72089             Jim Blandy  <jimb@codesourcery.com>
72091         * scripts/cross-test-ssh.sh: New file.
72092         * manual/install.texi (Configuring and compiling): Document use of
72093         cross-test-ssh.sh.
72094         * INSTALL: Regenerated.
72096 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
72098         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
72099         EOPNOTSUPP.
72101 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
72103         * Makeconfig (run-program-prefix): Fix comment.
72105 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
72106             Jim Blandy  <jimb@codesourcery.com>
72108         * Makeconfig (test-wrapper): New variable,
72109         (test-wrapper-env): Likewise.
72110         [$(cross-compiling) = yes && $(test-wrapper) != ""]
72111         (run-built-tests): Define to yes.
72112         (run-program-prefix): Use $(test-wrapper).
72113         (built-program-cmd): Likewise.
72114         * Rules (make-test-out): Use $(test-wrapper-env) and
72115         $(host-built-program-cmd).
72116         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
72117         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
72118         tst-pathopt.sh.
72119         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
72120         $(test-wrapper-env) to tst-rtld-load-self.sh.
72121         ($(objpfx)order2.out): Use $(test-wrapper).
72122         ($(objpfx)tst-initorder.out): Likewise.
72123         ($(objpfx)tst-initorder2.out): Likewise.
72124         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
72125         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
72126         (test_wrapper_env): New variable.  Use it to run ld.so.
72127         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
72128         Use it to run ld.so.
72129         (test_wrapper_env): Likewise.
72130         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
72131         $(test-wrapper) to run-iconv-test.sh.
72132         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
72133         (ICONV): Use $test_wrapper.
72134         * posix/Makefile ($(objpfx)globtest.out): Pass
72135         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
72136         globtest.sh, not $(run-program-prefix).
72137         * posix/globtest.sh (run_via_rtld_prefix): New variable.
72138         (test_wrapper): Likewise.
72139         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
72140         set together with run_via_rtld_prefix.
72141         (run_program_prefix): Define in terms of test_wrapper and
72142         run_via_rtld_prefix.
72144 2012-10-24  Roland McGrath  <roland@hack.frob.com>
72146         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
72147         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
72148         Targets removed.
72150         [BZ #14743]
72151         * include/time.h: Remove librt_hidden_proto (clock_gettime).
72152         Declare __clock_getres, __clock_gettime, __clock_settime,
72153         __clock_nanosleep, and __clock_getcpuclockid.
72154         * rt/clock_gettime.c: Define __clock_gettime as an alias.
72155         Remove librt_hidden_def (clock_gettime).
72156         * sysdeps/unix/clock_gettime.c: Likewise.
72157         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
72158         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
72159         * rt/clock_getres.c: Define __clock_getres as an alias.
72160         * sysdeps/posix/clock_getres.c: Likewise.
72161         * rt/clock_settime.c: Define __clock_settime as an alias.
72162         * sysdeps/unix/clock_settime.c: Likewise.
72163         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
72164         * sysdeps/unix/clock_nanosleep.c: Likewise.
72165         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
72166         * rt/clock-compat.c: New file.
72167         * rt/Makefile (librt-routines): Add clock-compat and move
72168         $(clock-routines) to ...
72169         (routines): ... here, new variable.
72170         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
72171         Don't add get_clockfreq here.
72172         * rt/Versions (libc: GLIBC_2.17): New version set.
72173         Add clock_* symbols here.
72174         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
72175         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
72176         (GLIBC_2.17): Add clock_* symbols.
72177         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
72178         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
72179         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
72180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72181         Likewise.
72182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72183         Likewise.
72184         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
72185         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
72186         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
72187         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
72188         * NEWS: Mention the move.
72190         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
72191         Use __open, __read, __close rather than their public counterparts.
72192         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72193         (__get_clockfreq_via_cpuinfo): Likewise.
72194         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
72195         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
72197         * config.h.in (HAVE_IFUNC): New #undef.
72198         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
72199         was successful.
72200         * configure: Regenerated.
72202 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
72204         * configure.in: Move READELF check to start of file.
72205         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
72206         libc_cv_asm_gnu_indirect_function in the process.
72207         * configure: Regenerated.
72209 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
72211         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
72212         send the output to /dev/null.
72213         (libc_cv_cc_with_libunwind): Likewise.
72214         (libc_cv_as_noexecstack): Likewise.
72215         * configure: Regenerate.
72217 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
72219         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
72221         * posix/globtest.sh (TMPDIR): Do not set.
72222         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
72223         (testout): Likewise.
72225 2012-10-24  Andreas Jaeger  <aj@suse.de>
72227         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
72228         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
72229         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
72230         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
72231         posix_fadvise64, posix_fallocate64.
72233         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
72234         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
72235         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
72236         Likewise.
72237         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
72238         Likewise.
72239         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
72241         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
72242         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
72243         <bits/fcntl-linux.h>.
72244         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
72246         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
72247         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
72248         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
72249         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
72250         [__WORDSIZE != 64]: Likewise.
72252 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
72254         * Makeconfig (run-built-tests): New variable.
72255         * Rules [$(cross-compiling) = yes]: Change condition to
72256         [$(run-built-tests) = no].
72257         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
72258         to [$(run-built-tests) = yes].
72259         * elf/Makefile [$(cross-compiling) = no]: Likewise.
72260         * grp/Makefile [$(cross-compiling) = no]: Likewise.
72261         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
72262         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
72263         * intl/Makefile [$(cross-compiling) = no]: Likewise.
72264         * io/Makefile [$(cross-compiling) = no]: Likewise.
72265         * libio/Makefile [$(cross-compiling) = no]: Likewise.
72266         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
72267         * misc/Makefile [$(cross-compiling) = no]: Likewise.
72268         * posix/Makefile [$(cross-compiling) = no]: Likewise.
72269         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
72270         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
72271         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
72272         * string/Makefile [$(cross-compiling) = no]: Likewise.
72274         * posix/Makefile ($(objpfx)globtest.out): Pass
72275         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
72276         $(rtld-installed-name).
72277         * posix/globtest.sh (elf_objpfx): Remove variable.
72278         (rtld_installed_name): Likewise.
72279         (library_path): Likewise.
72280         (run_program_prefix): New variable.  Use for running globtest
72281         binary.
72283 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
72284             Joseph Myers  <joseph@codesourcery.com>
72286         * Makeconfig (host-built-program-cmd): New variable.
72287         * elf/Makefile (tst-stackguard1-ARGS): Use
72288         $(host-built-program-cmd).
72289         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
72290         (tst-spawn-ARGS): Likewise.
72291         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
72293 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
72294             Jim Blandy  <jimb@codesourcery.com>
72296         * Makeconfig (run-via-rtld-prefix): New variable.
72297         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
72298         (built-program-cmd): Likewise.
72300 2012-10-22  Andreas Jaeger  <aj@suse.de>
72302         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
72303         __O_RSYNC if it exists, otherwise to O_SYNC.
72305 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
72306             Joseph Myers  <joseph@codesourcery.com>
72308         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
72309         /dev/null.
72310         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
72311         from /dev/null
72312         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
72313         /dev/null.
72315 2012-10-22  Andreas Jaeger  <aj@suse.de>
72317         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
72318         Define always.
72319         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
72321         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72322         bits/fcntl-linux.h.
72324         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
72325         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
72327         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
72328         to __O_LARGEFILE.
72329         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
72330         to __O_LARGEFILE.
72332 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
72333             Joseph Myers  <joseph@codesourcery.com>
72335         * config.make.in (NM): New variable.
72337 2012-10-21  Andreas Jaeger  <aj@suse.de>
72339         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
72340         definitions and declarations that are provided by
72341         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
72343 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
72345         [BZ #14683]
72346         * elf/Makefile (tests-static): Add tst-leaks1-static.
72347         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
72348         ($(objpfx)tst-leaks1-static): New rule.
72349         ($(objpfx)tst-leaks1-static-mem): Likewise.
72350         (tst-leaks1-static-ENV): New macro.
72351         * elf/dl-open.c (dl_open_worker): Check the main application
72352         only if SHARED is defined.
72353         * elf/tst-leaks1-static.c: New file.
72355 2012-10-20  Andreas Jaeger  <aj@suse.de>
72357         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
72358         generic values for Linux.
72359         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
72360         and declarations that are provided by <bits/fcntl-linux.h> and
72361         include <bits/fcntl-linux.h>.
72362         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
72363         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
72365 2012-10-20  Roland McGrath  <roland@hack.frob.com>
72367         * io/fcntl.h: Move include of <bits/types.h> to the top and
72368         include it unconditionally.
72370 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
72372         * wcsmbs/Makefile (tests-ifunc): New variable.
72373         (tests): Add $(tests-ifunc).
72374         * wcsmbs/test-wcschr-ifunc.c: New file.
72375         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
72376         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
72377         * wcsmbs/test-wcslen-ifunc.c: Likewise.
72378         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
72379         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
72381         * string/Makefile (tests-ifunc): New variable.
72382         (tests): Add $(tests-ifunc).
72383         * string/test-memccpy.c (TEST_NAME): New macro.
72384         * string/test-memchr.c (TEST_NAME): Likewise.
72385         * string/test-memcmp.c (TEST_NAME): Likewise.
72386         * string/test-memcpy.c (TEST_NAME): Likewise.
72387         * string/test-memmem.c (TEST_NAME): Likewise.
72388         * string/test-memmove.c (TEST_NAME): Likewise.
72389         * string/test-memset.c (TEST_NAME): Likewise.
72390         * string/test-rawmemchr.c (TEST_NAME): Likewise.
72391         * string/test-stpcpy.c (TEST_NAME): Likewise.
72392         * string/test-stpncpy.c (TEST_NAME): Likewise.
72393         * string/test-strcasecmp.c (TEST_NAME): Likewise.
72394         * string/test-strcasestr.c (TEST_NAME): Likewise.
72395         * string/test-strcat.c (TEST_NAME): Likewise.
72396         * string/test-strchr.c (TEST_NAME): Likewise.
72397         * string/test-strcmp.c(TEST_NAME): Likewise.
72398         * string/test-strcpy.c (TEST_NAME): Likewise.
72399         * string/test-strcspn.c (TEST_NAME): Likewise.
72400         * string/test-strlen.c (TEST_NAME): Likewise.
72401         * string/test-strncasecmp.c (TEST_NAME): Likewise.
72402         * string/test-strncmp.c (TEST_NAME): Likewise.
72403         * string/test-strncpy.c (TEST_NAME): Likewise.
72404         * string/test-strnlen.c (TEST_NAME): Likewise.
72405         * string/test-strpbrk.c (TEST_NAME): Likewise.
72406         * string/test-strrchr.c (TEST_NAME): Likewise.
72407         * string/test-strspn.c (TEST_NAME): Likewise.
72408         * string/test-strstr.c (TEST_NAME): Likewise.
72409         * string/test-bcopy-ifunc.c: New file.
72410         * string/test-bzero-ifunc.c: Likewise.
72411         * string/test-memccpy-ifunc.c: Likewise.
72412         * string/test-memchr-ifunc.c: Likewise.
72413         * string/test-memcmp-ifunc.c: Likewise.
72414         * string/test-memcpy-ifunc.c: Likewise.
72415         * string/test-memmem-ifunc.c: Likewise.
72416         * string/test-memmove-ifunc.c: Likewise.
72417         * string/test-mempcpy-ifunc.c: Likewise.
72418         * string/test-memset-ifunc.c: Likewise.
72419         * string/test-rawmemchr-ifunc.c: Likewise.
72420         * string/test-stpcpy-ifunc.c: Likewise.
72421         * string/test-stpncpy-ifunc.c: Likewise.
72422         * string/test-strcasecmp-ifunc.c: Likewise.
72423         * string/test-strcasestr-ifunc.c: Likewise.
72424         * string/test-strcat-ifunc.c: Likewise.
72425         * string/test-strchr-ifunc.c: Likewise.
72426         * string/test-strchrnul-ifunc.c: Likewise.
72427         * string/test-strcmp-ifunc.c: Likewise.
72428         * string/test-strcpy-ifunc.c: Likewise.
72429         * string/test-strcspn-ifunc.c: Likewise.
72430         * string/test-strlen-ifunc.c: Likewise.
72431         * string/test-strncasecmp-ifunc.c: Likewise.
72432         * string/test-strncat-ifunc.c: Likewise.
72433         * string/test-strncmp-ifunc.c: Likewise.
72434         * string/test-strncpy-ifunc.c: Likewise.
72435         * string/test-strnlen-ifunc.c: Likewise.
72436         * string/test-strpbrk-ifunc.c: Likewise.
72437         * string/test-strrchr-ifunc.c: Likewise.
72438         * string/test-strspn-ifunc.c: Likewise.
72439         * string/test-strstr-ifunc.c: Likewise.
72441         * debug/Makefile (tests-ifunc): New variable.
72442         (tests): Add $(tests-ifunc).
72443         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
72444         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
72445         * debug/test-stpcpy_chk-ifunc.c: New file.
72446         * debug/test-strcpy_chk-ifunc.c: Likewise.
72448 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
72450         [BZ #13601]
72451         * elf/dl-load.c (open_verify): Retry read if the entire ELF
72452         header is not read in.
72454 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
72456         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
72457         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
72458         directly.  Pass built executable to script as
72459         $(built-program-cmd).
72460         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
72461         $testprogram without using LD_LIBRARY_PATH and $ldso.
72463         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
72464         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
72465         $(rtld-installed-name).
72466         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
72467         (rtld_installed_name): Likewise.
72468         (library_path): Likewise.
72469         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
72470         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
72471         $(run-program-prefix) to tst-tables.sh.
72472         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
72473         it to run tst-table-from and tst-table-to.
72474         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
72475         Pass it to tst-table.sh.
72476         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
72477         $(run-program-prefix) to tst-gettext.sh.
72478         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
72479         tst-translit.sh.
72480         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
72481         tst-gettext2.sh.
72482         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
72483         to run tst-gettext.
72484         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
72485         to run tst-gettext2.
72486         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
72487         to run tst-translit.
72488         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
72489         $(run-program-prefix) to tst-mtrace.sh.
72490         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
72491         to run tst-mtrace.
72492         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
72493         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
72494         $(rtld-installed-name).
72495         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
72496         (rtld_installed_name): Likewise.
72497         (run_program_prefix): New variable.  Use it to run wordexp-test.
72499         * Makeconfig (ARCH): Remove all definitions.
72500         (machine): Likewise.
72501         [ARCH]: Remove conditional code.
72502         [!objdir]: Give error.
72503         [!objdir] (objpfx): Remove.
72504         [!objdir] (common-objpfx): Likewise.
72505         [!objdir] (common-objdir): Likewise.
72506         * configure.in (config_makefile): Remove.  Hardcode Makefile in
72507         AC_CONFIG_FILES call.
72508         * configure: Regenerated.
72510         [BZ #13888]
72511         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
72512         or TMPDIR.
72513         (testout): Likewise.
72515         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
72516         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
72517         $(rtld-installed-name).
72518         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
72519         (rtld_installed_name): Likewise.
72520         (runit): Remove function.
72521         (run_getconf): New variable,  Use it for running getconf binary.
72523 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
72525         [BZ #14716]
72526         * string/test-memmem.c (check_result): New function.
72527         (do_one_test): Use it.
72528         (check1): New function.
72529         (test_main): Use it.
72531 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
72533         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
72535 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
72537         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
72538         (_G_LSEEK64): Likewise.
72539         (_G_MMAP64): Likewise.
72540         (_G_FSTAT64): Likewise.
72541         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
72542         (_G_LSEEK64): Likewise.
72543         (_G_MMAP64): Likewise.
72544         (_G_FSTAT64): Likewise.
72545         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
72546         unconditional.  Call __mmap64 directly.
72547         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
72548         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
72549         __lseek64 directly.
72550         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
72551         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
72552         __mmap64 directly.
72553         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
72554         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
72555         __lseek64 directly.
72556         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
72557         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
72558         __lseek64 directly.
72559         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
72560         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
72561         __lseek64 directly.
72562         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
72563         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
72564         __fxstat64 directly.
72565         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
72566         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
72567         unconditional.
72568         (freopen64) [!_G_OPEN64]: Remove conditional code.
72569         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
72570         unconditional.
72571         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
72572         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
72573         unconditional.
72574         (ftello64) [!_G_LSEEK64]: Remove conditional code.
72575         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
72576         unconditional.
72577         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
72578         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
72579         unconditional.
72580         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
72581         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
72582         unconditional.
72583         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
72584         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
72585         unconditional.
72586         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
72587         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
72588         unconditional.
72589         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
72591 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
72593         [BZ #12140]
72594         * manual/memory.texi (Malloc Tunable Parameters): Add note
72595         about free list pointers overwriting some perturb bytes.
72596         Wording suggested by Roland McGrath.
72598 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
72600         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
72601         (lgamma_test): Likewise.
72602         (tgamma_test): Likewise.
72604 2012-10-16  Florian Weimer  <fweimer@redhat.com>
72606         [BZ #14700]
72607         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
72608         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
72610 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
72612         * NEWS: Mention BZ #14716.
72613         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
72614         when removing AVAILABLE1_USES_J macro.
72616 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
72618         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
72619         (__bswap_64): __uint64_t for unsigned 64-bit int.
72621 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
72623         * include/string.h (memmem): Declare libc hidden alias.
72624         * string/memmem.c (memmem): Define libc hidden alias.
72625         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
72626         __read, __close instead of open, read, close.
72628 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
72630         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
72631         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
72632         global and hidden.
72633         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
72634         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
72635         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
72636         Likewise.
72637         (__rawmemchr_sse2): Likewise.
72638         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
72639         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
72640         (__strchr_sse2): Likewise.
72641         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
72642         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
72643         (__strcasecmp_sse2): Likewise.
72644         (__strncasecmp_sse2): Likewise.
72645         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
72646         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
72647         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
72648         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
72649         (__strrchr_sse2): Likewise.
72650         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
72651         ifunc-impl-list.c.
72652         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
72653         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
72654         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
72655         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
72656         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
72657         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
72658         * sysdeps/x86_64/multiarch/memset.S: Likewise.
72659         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
72660         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
72661         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
72662         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
72663         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
72664         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
72665         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
72666         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
72667         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
72668         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
72669         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
72670         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
72671         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
72672         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
72673         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
72674         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
72675         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
72676         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
72677         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
72678         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
72679         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
72680         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
72681         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
72683         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
72684         global and hidden.
72685         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
72686         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
72687         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
72688         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
72689         Likewise.
72690         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
72691         Likewise.
72692         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
72693         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
72694         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
72695         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
72696         ifunc-impl-list.c.
72697         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
72698         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
72699         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
72700         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
72701         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
72702         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
72703         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
72704         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
72705         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
72706         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
72707         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
72708         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
72709         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
72710         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
72711         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
72712         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
72713         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
72714         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
72715         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
72716         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
72717         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
72718         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
72719         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
72720         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
72721         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
72722         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
72723         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
72724         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
72725         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
72726         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
72727         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
72728         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
72729         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
72730         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
72731         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
72732         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
72733         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
72734         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
72735         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
72736         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
72737         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
72739         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
72740         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
72741         * include/ifunc-impl-list.h: New file.
72742         * misc/ifunc-impl-list.c: Likewise.
72743         * misc/Makefile (routines): Add ifunc-impl-list.
72744         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
72745         * string/test-string.h: Include <ifunc-impl-list.h>.
72746         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
72747         TEST_NAME]: New variables.
72748         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
72749         are defined.
72750         (test_init): Call __libc_ifunc_impl_list to initialize
72751         func_list if TEST_IFUNC and TEST_NAME are defined.
72753         * string/Makefile (strop-tests): Add bcopy and bzero.
72754         * string/test-bcopy.c: New file.
72755         * string/test-bzero.c: Likewise.
72756         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
72757         defined.
72758         * string/test-memset.c: Support bzero test if TEST_BZERO is
72759         defined.
72760         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
72761         __libc_memmove.
72762         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
72763         __libc_memset.
72764         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
72765         of memset.
72767 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
72769         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
72770         * configure: Regenerated.
72772         * Makeconfig (+link-static-before-libc): Don't include
72773         $(link-static-libc).
72775         * libio/libio.h (_IO_pos_t): Remove.
72777 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
72779         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
72780         McGrath.
72782 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
72784         * crypt/crypt-entry.c: Include fips-private.h.
72785         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
72786         * crypt/md5c-test.c (main): Tolerate disabled MD5.
72787         * sysdeps/unix/sysv/linux/fips-private.h: New file.
72788         * sysdeps/generic/fips-private.h: New file, dummy fallback.
72790 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
72792         * crypt/crypt-private.h: Include stdbool.h.
72793         (_ufc_setup_salt_r): Return bool.
72794         * crypt/crypt-entry.c: Include errno.h.
72795         (__crypt_r): Return NULL with EINVAL for bad salt.
72796         * crypt/crypt_util.c (bad_for_salt): New.
72797         (_ufc_setup_salt_r): Check that salt is long enough and within
72798         the specified alphabet.
72799         * crypt/badsalttest.c: New file.
72800         * crypt/Makefile (tests): Add it.
72801         ($(objpfx)badsalttest): New.
72803 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
72805         * NEWS: Add entry for BZ #14602.
72807 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
72809         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
72810         type-generic.
72811         * math/libm-test.inc: Update comment listing what functions and
72812         macros are tested.
72813         (isgreater_test): New function.
72814         (isgreaterequal_test): Likewise.
72815         (isless_test): Likewise.
72816         (islessequal_test): Likewise.
72817         (islessgreater_test): Likewise.
72818         (isunordered_test): Likewise.
72819         (main): Call the new functions.
72821 2012-10-09  Roland McGrath  <roland@hack.frob.com>
72823         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
72824         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
72825         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
72826         * sysdeps/i386/configure: Regenerated.
72827         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
72828         * sysdeps/mach/configure: Regenerated.
72829         * sysdeps/mach/hurd/configure: Regenerated.
72830         * sysdeps/powerpc/configure: Regenerated.
72831         * sysdeps/powerpc/powerpc32/configure: Regenerated.
72832         * sysdeps/powerpc/powerpc64/configure: Regenerated.
72833         * sysdeps/s390/s390-32/configure: Regenerated.
72834         * sysdeps/s390/s390-64/configure: Regenerated.
72835         * sysdeps/sh/configure: Regenerated.
72836         * sysdeps/sparc/configure: Regenerated.
72837         * sysdeps/unix/sysv/linux/configure: Regenerated.
72838         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
72839         * sysdeps/x86_64/configure: Regenerated.
72841         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
72842         defined.  Don't check if MAP is NULL.
72844 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
72846         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
72847         (_G_stat64): Likewise.
72848         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
72849         (_G_stat64): Likewise.
72850         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
72851         instead of struct _G_stat64.
72852         * libio/fileops.c (mmap_remap_check): Likewise.
72853         (decide_maybe_mmap): Likewise.
72854         (_IO_new_file_seekoff): Likewise.
72855         (_IO_file_stat): Likewise.
72856         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
72857         _G_off64_t.
72858         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
72859         instead of struct _G_stat64.
72860         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
72862 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
72864         [BZ #14602]
72865         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
72866         Replace with ...
72867         (CHECK_EOL): New macro.
72868         (two_way_short_needle): Check beginning of haystack for EOL.  Use
72869         CHECK_EOL.
72870         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
72871         Replace with CHECK_EOL.
72872         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
72873         Replace with CHECK_EOL.
72875 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
72877         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
72878         type-generic.
72879         * math/libm-test.inc: Update comment listing what functions and
72880         macros are tested.
72881         (finite_test): New function.
72882         (isinf_test): Likewise.
72883         (isnan_test): Likewise.
72884         (fpclassify_test): Test subnormal input.
72885         (isfinite_test): Likewise.
72886         (isnormal_test): Likewise.
72887         (main): Call the new functions.
72889 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
72891         [BZ #14660]
72892         * Makerules (%.dynsym): Force C locale when running
72893         $(OBJDUMP) --dynamic-syms.
72895 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
72897         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
72898         <stdint.h>.
72900 2012-10-06  David S. Miller  <davem@davemloft.net>
72902         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
72903         upper 32-bits of the length value in %o2 since we use branch-on-register
72904         tests which consider the entire 64-bit register.
72906 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
72908         * string/test-strstr.c (check2): Add a test for page boundary.
72910 2012-10-05  David S. Miller  <davem@davemloft.net>
72912         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
72913         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
72914         file.
72915         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
72916         sysdep_routines.
72917         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
72918         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
72919         and bzero when HWCAP_SPARC_CRYPTO is present.
72921 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
72923         [BZ #14602]
72924         * string/test-strstr.c (check2): New function.
72925         (test_main): Call check2.
72927         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
72928         and bug-strchr1.
72929         * string/bug-strcasestr1.c (do_test): Moved to ...
72930         * string/test-strcasestr.c (check1): Here.  New function.
72931         (do_one_test): Break out result checking code into ...
72932         (check_result): This.  New function.
72933         (do_one_test): Call check_result.
72934         (test_main): Call check1.
72935         * string/bug-strchr1.c (do_test): Moved to ...
72936         * string/test-strchr.c (check1): Here.  New function.
72937         (do_one_test): Break out result checking code into ...
72938         (check_result): This.  New function.
72939         (do_one_test): Call check_result.
72940         (test_main): Call check1.
72941         * string/bug-strstr1.c (main): Moved to ...
72942         * string/test-strstr.c (check1): Here.  New function.
72943         (do_one_test): Break out result checking code into ...
72944         (check_result): This.  New function.
72945         (do_one_test): Call check_result.
72946         (test_main): Call check1.
72947         * string/bug-strcasestr1.c: Removed.
72948         * string/bug-strchr1.c: Likewise.
72949         * string/bug-strstr1.c: Likewise.
72951         * elf/Makefile (dl-routines): Add hwcaps.
72952         * elf/dl-support.c (_dl_important_hwcaps): Removed.
72953         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
72954         (_dl_important_hwcaps): Moved to ...
72955         * elf/dl-hwcaps.c: Here.  New file.
72956         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
72958         [BZ #14557]
72959         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
72960         if IS_IN_rtld isn't defined.
72962         * elf/dl-support.c (_dl_sysinfo_map): New.
72963         Include "get-dynamic-info.h" and "setup-vdso.h".
72964         (_dl_non_dynamic_init): Call setup_vdso.
72965         * elf/dynamic-link.h: Don't include <assert.h>.
72966         (elf_get_dynamic_info): Moved to ...
72967         * elf/get-dynamic-info.h: Here.  New file.
72968         * elf/dynamic-link.h: Include "get-dynamic-info.h".
72969         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
72970         * elf/setup-vdso.h: Here.  New file.
72971         * elf/rtld.c: Include "setup-vdso.h".
72972         (dl_main): Call setup_vdso.
72974 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
72976         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
72977         creal in comment listing functions tested.  List finite, isinf,
72978         isnan, isless, islessequal, isgreater, isgreaterequal,
72979         islessgreater, isunordered, lgamma_r and pow10 as functions and
72980         macros not tested.  Mention which functions not tested are aliases
72981         for other functions.  Fix typo.  Note that signs of NaNs are not
72982         tested.
72984         * scripts/config.guess: Update from config.git.
72985         * scripts/config.sub: Likewise.
72987 2012-10-04  Roland McGrath  <roland@hack.frob.com>
72989         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
72990         * misc/madvise.c (madvise): Renamed to __madvise.
72991         Make madvise a weak alias.
72992         * include/sys/mman.h: Declare __madvise.
72993         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
72994         * sysdeps/unix/syscalls.list
72995         (madvise): Make __madvise the strong name, and madvise a weak alias.
72996         * sysdeps/unix/sysv/linux/syscalls.list
72997         (madvise, mmap): Remove redundant entries.
72998         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
72999         * malloc/malloc.c (mtrim): Likewise.
73000         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
73002 2012-10-03  Roland McGrath  <roland@hack.frob.com>
73004         * sysdeps/mach/hurd/dl-cache.c: File removed.
73005         * config.h.in (USE_LDCONFIG): New #undef.
73006         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
73007         * configure: Regenerated.
73008         * elf/Makefile (dl-routines): Add dl-cache only under
73009         [$(use-ldconfig) = yes].
73010         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
73011         cache on [USE_LDCONFIG].
73012         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
73013         [USE_LDCONFIG].
73014         * elf/rtld.c (dl_main): Likewise.
73016 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
73018         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
73019         _SC_LEVEL4_CACHE_LINESIZE.
73021 2012-10-03  Roland McGrath  <roland@hack.frob.com>
73023         * sysdeps/unix/bsd/confstr.h: File removed.
73025 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
73027         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
73028         sys/sdt-config.h.
73030 2012-10-02  Roland McGrath  <roland@hack.frob.com>
73032         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
73033         Make 'mapoff' field ElfW(Off) rather than off_t.
73035 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
73037         * nscd/Makefile: Remove nscd-cflags and all its users.
73038         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
73039         (CFLAGS-nonlib): Add compiler flags for nscd modules.
73041         [BZ #10631]
73042         * malloc.c (malloc_printerr): Clarify error message.
73044 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
73046         [BZ #14648]
73047         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73048         Set bit_FMA_Usable if FMA is supported.
73049         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
73050         macro.
73051         (bit_FMA4_Usable): Updated.
73052         (index_FMA_Usable): New macro.
73053         (CPUID_FMA): Likewise.
73054         (HAS_FMA): Defined with bit_FMA_Usable.
73056 2012-10-01  Roland McGrath  <roland@hack.frob.com>
73058         * bits/types.h (__swblk_t): Type removed.
73059         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
73060         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
73061         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73062         (__SWBLK_T_TYPE): Likewise.
73063         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
73064         (__SWBLK_T_TYPE): Likewise.
73065         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73066         (__SWBLK_T_TYPE): Likewise.
73067         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73068         (__SWBLK_T_TYPE): Likewise.
73070 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
73071             Honza Horak <hhorak@redhat.com>
73073         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
73074         (xdr_mapname): Use YPMAXMAP as maxsize.
73075         (xdr_peername): Use YPMAXPEER as maxsize.
73076         (xdr_keydat): Use YPAXRECORD as maxsize.
73077         (xdr_valdat): Use YPMAXRECORD as maxsize.
73079 2012-10-01  Roland McGrath  <roland@hack.frob.com>
73081         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
73083         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
73084         * csu/init-first.c: ... here.
73085         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
73086         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
73087         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
73088         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
73089         * sysdeps/i386/init-first.c: File removed.
73090         * sysdeps/sh/init-first.c: File removed.
73092 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
73094         [BZ #14645]
73095         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
73096         if x * y might underflow to zero and z is zero.
73097         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73098         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73099         * math/libm-test.inc (min_subnorm_value): New variable.
73100         (fma_test): Add more tests.
73101         (fma_test_towardzero): Likewise.
73102         (fma_test_downward): Likewise.
73103         (fma_test_upward): Likewise.
73104         (initialize): Set min_subnorm_value.
73106 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
73108         [BZ #14638]
73109         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
73110         0 + 0.
73111         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
73112         mode for addition resulting in exact zero.
73113         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
73114         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
73115         exact 0 + 0.
73116         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
73117         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73118         * math/libm-test.inc (fma_test): Add more tests.
73119         (fma_test_towardzero): New function.
73120         (fma_test_downward): Likewise.
73121         (fma_test_upward): Likewise.
73122         (main): Call the new functions.
73124 2012-09-28  David S. Miller  <davem@davemloft.net>
73126         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
73128 2012-09-28  Roland McGrath  <roland@hack.frob.com>
73130         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
73131         instead of SIGALRM.
73133         * sysdeps/gnu/_G_config.h: Moved to ...
73134         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
73135         * sysdeps/mach/hurd/_G_config.h: Moved to ...
73136         * sysdeps/generic/_G_config.h: ... here.
73138         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
73140         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
73142         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
73143         Conditionalize target on [libnss_test1.so-version].
73145         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
73147         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
73148         (elfobjdir): Move out of conditionals.
73150         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
73151         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
73152         (__nss_lookup_function): Conditionalize label remove_from_tree on
73153         [!DO_STATIC_NSS || SHARED], matching its only use.
73155 2012-09-28  David S. Miller  <davem@davemloft.net>
73157         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
73158         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
73159         file.
73160         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
73161         sysdep_routines.
73162         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
73163         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
73164         when HWCAP_SPARC_CRYPTO is present.
73166 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
73168         * io/tst-mknodat.c: Create a FIFO instead of a socket.
73170 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
73172         [BZ #6530]
73173         * stdio-common/vfprintf.c (process_string_arg): Revert
73174         2000-07-22 change.
73176 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
73178         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
73179         for testcase.
73180         * stdio-common/tst-sprintf.c: Include <locale.h>
73181         (main): Test sprintf's handling of incomplete multibyte
73182         characters.
73184 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
73186         * elf/dl-runtime.c (VERSYMIDX): Removed.
73187         * elf/dl-version.c (VERSYMIDX): Likewise.
73188         * elf/do-rel.h (VERSYMIDX): Likewise.
73189         (VALIDX): Likewise.
73190         * elf/dynamic-link.h (VERSYMIDX): Likewise.
73191         * elf/rtld.c (VALIDX): Likewise.
73192         (ADDRIDX): Likewise.
73193         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
73194         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
73195         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
73196         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
73197         (VALIDX): Likewise.
73198         (ADDRIDX): Likewise.
73200 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
73202         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
73204 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
73206         [BZ #11438]
73207         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
73208         to global scope.
73209         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
73210         addresses are in the same scope as 192.0.2/24.
73211         * posix/gai.conf: Document new scope table defaults.
73213 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73215         [BZ #5298]
73216         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
73217         for ftell.  Compute offsets from write pointers instead.
73218         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
73220 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73222         [BZ #14543]
73223         * libio/Makefile (tests): New test case tst-fseek.
73224         * libio/tst-fseek.c: New test case to verify that fseek/ftell
73225         combination works in wide mode.
73226         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
73227         state when the external buffer state changes.
73229 2012-09-27  David S. Miller  <davem@davemloft.net>
73231         [BZ #14376]
73232         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
73233         pass reloc->r_addend in as the 'high' argument to
73234         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
73236         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73238 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
73240         * rt/tst-aio2.c: Include <pthread.h>.
73241         * rt/tst-aio3.c: Likewise.
73243 2012-09-27  Steve Ellcey  <sellcey@mips.com>
73245         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
73247 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
73249         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
73250         contents on [SHARED].
73252 2012-09-26  Marek Polacek  <polacek@redhat.com>
73254         [BZ #14530]
73255         [BZ #13741]
73256         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
73257         for C++ and GCC <4.3 as well as for non GCC compilers.
73259 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
73261         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73263 2012-09-25  Roland McGrath  <roland@hack.frob.com>
73265         * Makefile.in (all, install): Declare with .PHONY.
73266         Reported by Michael Hope <michael.hope@linaro.org>.
73268 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73270         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
73271         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
73272         system header.
73273         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
73274         Likewise.
73275         (sydep_routines): Add the new and the internal functions.
73276         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
73277         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
73278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
73279         (GLIBC_2.17): Add the new function.
73280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
73281         (GLIBC_2.17): Likewise.
73282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
73283         (GLIBC_2.17): Likewise.
73284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
73285         (GLIBC_2.17): Likewise.
73286         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
73288 2012-09-25  Alan Modra  <amodra@gmail.com>
73290         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
73291         Add release barrier before setting once_control to say
73292         initialisation is done.  Add hints on lwarx.  Use macro in
73293         place of isync.
73294         (clear_once_control): Add release barrier.
73296 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
73298         [BZ #13629]
73299         * math/s_clog.c (__clog): Handle more values close to |z| = 1
73300         specially.
73301         * math/s_clog10.c (__clog10): Likewise.
73302         * math/s_clog10f.c (__clog10f): Likewise.
73303         * math/s_clog10l.c (__clog10l): Likewise.
73304         * math/s_clogf.c (__clogf): Likewise.
73305         * math/s_clogl.c (__clogl): Likewise.
73306         * math/Makefile (libm-calls): Add x2y2m1.
73307         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
73308         (__x2y2m1): Likewise.
73309         (__x2y2m1l): Likewise.
73310         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
73311         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
73312         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
73313         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
73314         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
73315         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
73316         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
73317         * sysdeps/i386/fpu/libm-test-ulps: Update.
73318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73320         [BZ #14621]
73321         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
73322         int as type of variable DEPTH.
73323         (glob): Use size_t instead of int as type of variables NEWCOUNT
73324         and OLD_PATHC.
73326 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73328         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
73329         Add s_sincosf-sse2.
73330         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
73331         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
73332         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
73333         macros for using routine as __sincosf_ia32.
73334         Use macro for function declaration and weak_alias.
73335         * sysdeps/i386/fpu/libm-test-ulps: Update.
73337         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
73338         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73340         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
73341         subnormal argument.
73342         * math/s_cexpf.c (__cexpf): Likewise.
73343         * math/s_csinf.c (__csinf): Likewise.
73344         * math/s_csinhf.c (__csinhf): Likewise.
73345         * math/s_ctanf.c (__ctanf): Likewise.
73346         * math/s_ctanhf.c (__ctanhf): Likewise.
73347         * math/s_ccosh.c (__ccoshf): Likewise.
73348         * math/s_cexp.c (__cexpl): Likewise.
73349         * math/s_csin.c (__csin): Likewise.
73350         * math/s_csinh.c (__csinh): Likewise.
73351         * math/s_ctan.c (__ctan): Likewise.
73352         * math/s_ctanh.c (ctanh): Likewise.
73353         * math/s_ccoshl.c (__ccoshl): Likewise.
73354         * math/s_cexpl.c (__cexpl): Likewise.
73355         * math/s_csinl.c (__csinl): Likewise.
73356         * math/s_csinhl.c (__csinhl): Likewise.
73357         * math/s_ctanl.c (__ctanl): Likewise.
73358         * math/s_ctanhl.c (__ctanhl): Likewise.
73360 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
73362         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
73363         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
73364         (_IO_off_t): Define to __off_t, not _G_off_t.
73365         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
73366         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
73367         (_IO_wint_t): Define to wint_t, not _G_wint_t.
73368         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
73369         type of __dummy and __dummy2 fields.
73370         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
73371         (_G_ssize_t): Likewise.
73372         (_G_off_t): Likewise.
73373         (_G_pid_t): Likewise.
73374         (_G_uid_t): Likewise.
73375         (_G_wchar_t): Likewise.
73376         (_G_wint_t): Likewise.
73377         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
73378         (_G_ssize_t): Likewise.
73379         (_G_off_t): Likewise.
73380         (_G_pid_t): Likewise.
73381         (_G_uid_t): Likewise.
73382         (_G_wchar_t): Likewise.
73383         (_G_wint_t): Likewise.
73384         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
73385         (_G_ssize_t): Likewise.
73386         (_G_off_t): Likewise.
73387         (_G_pid_t): Likewise.
73388         (_G_uid_t): Likewise.
73389         (_G_wchar_t): Likewise.
73390         (_G_wint_t): Likewise.
73392 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
73394         * malloc/arena.c: Include malloc-sysdep.h.
73395         (shrink_heap): Use check_may_shrink_heap to decide if madvise
73396         is sufficient to shrink the heap or an unmap is needed.
73397         * sysdeps/generic/malloc-sysdep.h: New file.  Define
73398         new function check_may_shrink_heap.
73399         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
73400         new function check_may_shrink_heap.
73402 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
73404         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
73405         comments.
73407 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
73409         * catgets/test-gencat.sh: Add "set -e".
73410         * elf/tst-pathopt.sh: Likewise.
73411         * grp/tst_fgetgrent.sh: Likewise.
73412         * iconvdata/run-iconv-test.sh: Likewise.
73413         * intl/tst-gettext.sh: Likewise.
73414         * intl/tst-gettext2.sh: Likewise.
73415         * intl/tst-gettext4.sh: Likewise.
73416         * intl/tst-gettext6.sh: Likewise.
73417         * intl/tst-translit.sh: Likewise.
73418         * io/ftwtest-sh: Likewise.
73419         * libio/test-freopen.sh: Likewise.
73420         * malloc/tst-mtrace.sh: Likewise.
73421         * posix/globtest.sh: Likewise.
73422         * posix/tst-getconf.sh: Likewise.
73423         * posix/wordexp-tst.sh: Likewise.
73424         * stdio-common/tst-printf.sh: Likewise.
73425         * stdio-common/tst-unbputc.sh: Likewise.
73426         * stdlib/tst-fmtmsg.sh: Likewise.
73427         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
73428         * catgets/Makefile: Do not specify -e option when running
73429         testsuite shell scripts.
73430         * elf/Makefile: Likewise.
73431         * grp/Makefile: Likewise.
73432         * iconvdata/Makefile: Likewise.
73433         * intl/Makefile: Likewise.
73434         * io/Makefile: Likewise.
73435         * libio/Makefile: Likewise.
73436         * malloc/Makefile: Likewise.
73437         * posix/Makefile: Likewise.
73438         * stdio-common/Makefile: Likewise.
73439         * stdlib/Makefile: Likewise.
73440         * sysdeps/x86_64/Makefile: Likewise.
73442         * io/ftwtest-sh: Add copyright header.
73443         * posix/globtest.sh: Likewise.
73444         * posix/tst-getconf.sh: Likewise.
73445         * posix/wordexp-tst.sh: Likewise.
73446         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
73448 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
73450         [BZ #13679]
73451         * Makeconfig (+link): Defined as $(+link-static) if
73452         $(build-shared) isn't yes.
73453         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
73454         isn't yes.
73455         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
73457         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
73459         [BZ #14562]
73460         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
73461         new chunk size with MALLOC_ALIGN_MASK.
73463 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
73465         [BZ #5044]
73466         * stdio-common/printf_fphex.c: Include <stdbool.h> and
73467         <rounding-mode.h>.
73468         (__printf_fphex): Determine rounding using get_rounding_mode and
73469         round_away.
73470         * stdio-common/tst-printf-round.c (struct hex_test): New
73471         structure.
73472         (hex_tests): New variable.
73473         (test_hex_in_one_mode): New function.
73474         (do_test): Also run tests for hex float output.
73476 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
73478         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
73479         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
73480         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
73481         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
73482         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
73483         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
73484         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
73485         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
73487 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
73489         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
73490         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
73491         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
73492         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
73494 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
73496         [BZ #14579]
73497         * elf/rtld.c (dl_main): Limit the check for self loading to normal
73498         mode only.
73499         * elf/tst-rtld-load-self.sh: New test.
73500         * elf/Makefile: Run it.
73502 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
73504         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
73505         (tst-writev-ENV): Remove.
73506         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
73508 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
73510         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
73512 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
73514         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
73515         unconditional.
73516         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
73517         Likewise.
73518         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
73519         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
73520         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
73521         Likewise.
73523 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
73525         [BZ #14587]
73526         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
73527         * config.make.in (have-cpp-asm-debuginfo): Removed.
73528         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
73529         * configure: Regenerated.
73531 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
73533         [BZ #5044]
73534         * stdio-common/printf_fp.c: Include <stdbool.h> and
73535         <rounding-mode.h>.
73536         (___printf_fp): Determine rounding using get_rounding_mode and
73537         round_away.
73538         * stdio-common/tst-printf-round.c: New file.
73539         * stdio-common/Makefile (tests): Add tst-printf-round.
73540         (link-libm): New variable.
73541         ($(objpfx)tst-printf-round): Depend in $(link-libm).
73543 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
73545         [BZ #14576]
73546         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
73547         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
73548         Likewise.
73549         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
73550         Likewise.
73552 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
73554         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
73555         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
73556         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
73557         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
73559 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
73561         [BZ #14518]
73562         * include/rounding-mode.h: New file.
73563         * sysdeps/generic/get-rounding-mode.h: Likewise.
73564         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
73565         * stdlib/strtod_l.c: Include <rounding-mode.h>.
73566         (MAX_VALUE): New macro.
73567         (MIN_VALUE): Likewise.
73568         (overflow_value): New function.
73569         (underflow_value): Likewise.
73570         (round_and_return): Use overflow_value and underflow_value to
73571         determine return values in overflow and underflow cases.  Use
73572         round_away to determine rounding depending on rounding mode.
73573         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
73574         determine return values in overflow and underflow cases.
73575         * stdlib/tst-strtod-round.c: Include <fenv.h>.
73576         (struct test_results): New structure.
73577         (struct test): Use struct test_results to store expected results
73578         for all rounding modes.
73579         (TEST): Include expected results for all rounding modes.
73580         (test_in_one_mode): New function.
73581         (do_test): Use test_in_one_mode to compute and check results.
73582         Check results for all rounding modes.
73583         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
73584         $(link-libm).
73586 2012-12-09  Allan McRae  <allan@archlinux.org>
73588         * sysdeps/i386/fpu/libm-test-ulps: Update
73590 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
73592         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
73593         (_G_int32_t): Likewise.
73594         (_G_uint16_t): Likewise.
73595         (_G_uint32_t): Likewise.
73596         (_G_HAVE_BOOL): Likewise.
73597         (_G_HAVE_ATEXIT): Likewise.
73598         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
73599         (_G_HAVE_IO_FILE_OPEN): Likewise.
73600         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
73601         (_G_int32_t): Likewise.
73602         (_G_uint16_t): Likewise.
73603         (_G_uint32_t): Likewise.
73604         (_G_HAVE_BOOL): Likewise.
73605         (_G_HAVE_ATEXIT): Likewise.
73606         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
73607         (_G_HAVE_IO_FILE_OPEN): Likewise.
73608         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
73609         (_G_int32_t): Likewise.
73610         (_G_uint16_t): Likewise.
73611         (_G_uint32_t): Likewise.
73612         (_G_HAVE_BOOL): Likewise.
73613         (_G_HAVE_ATEXIT): Likewise.
73614         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
73615         (_G_HAVE_IO_FILE_OPEN): Likewise.
73617 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
73619         * csu/libc-tls.c: Update copyright years.
73621 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
73623         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
73624         [!_G_USING_THUNKS]: Remove conditional code.
73625         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
73626         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
73628         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
73629         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
73630         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
73631         (_G_VTABLE_LABEL_PREFIX): Likewise.
73632         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
73633         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
73634         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
73635         (_G_VTABLE_LABEL_PREFIX): Likewise.
73636         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
73637         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
73638         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
73639         (_G_VTABLE_LABEL_PREFIX): Likewise.
73640         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
73642 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
73644         * libio/Makefile: Include ../Makeconfig before tests.
73645         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
73646         only if $(build-shared) is yes.
73648         * iconv/gconv_db.c: Update copyright years.
73650 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73652         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
73653         unwind info if defined PIC. Fix special cases description.
73654         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
73656         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
73657         DP_HI_MASK entry.
73658         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
73660 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
73662         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
73664         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
73665         is NULL.
73667         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
73668         (LDLIBS-tst-chk4): This.
73669         (LDFLAGS-tst-chk5): Renamed to ...
73670         (LDLIBS-tst-chk5): This.
73671         (LDFLAGS-tst-chk6): Renamed to ...
73672         (LDLIBS-tst-chk6): This.
73673         (LDFLAGS-tst-lfschk4): Renamed to ...
73674         (LDLIBS-tst-lfschk4): This.
73675         (LDFLAGS-tst-lfschk5): Renamed to ...
73676         (LDLIBS-tst-lfschk5): This.
73677         (LDFLAGS-tst-lfschk6): Renamed to ...
73678         (LDLIBS-tst-lfschk6): This.
73680         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
73681         on $(common-objpfx)soversions.mk.
73683 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
73685         [BZ #10014]
73686         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
73687         example host name.
73689 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
73691         * malloc/arena.c (arena_get_retry): New function that gets
73692         another arena for the caller to try its request on.
73693         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
73694         current arena cannot fulfill the request.
73695         (__libc_memalign): Likewise.
73696         (__libc_memalign): Likewise.
73697         (__libc_pvalloc): Likewise.
73698         (__libc_calloc): Likewise.
73700 2012-09-05  John Tobey  <john.tobey@gmail.com>
73702         [BZ #13542]
73703         * manual/arith.texi (Operations on Complex): Fix description
73704         of carg branch cut.
73706 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
73708         [BZ #10014]
73709         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
73710         host name.
73712         [BZ #10038]
73713         * manual/memory.texi (Memory): Make order of menu items match
73714         order of sections.
73716 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
73718         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
73719         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
73720         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
73722 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
73724         * csu/libc-tls.c (static_dtv): Renamed to ...
73725         (_dl_static_dtv): This.  Make it global.
73726         (_dl_initial_dtv): Removed.
73727         (__libc_setup_tls): Updated.
73728         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
73729         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
73730         DL_INITIAL_DTV.
73732 2012-09-06  Petr Machata  <pmachata@redhat.com>
73734         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
73735         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
73736         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
73737         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
73739 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
73741         [BZ #14545]
73742         * csu/libc-tls.c (_dl_initial_dtv): New variable.
73743         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
73744         freeing dtv[-1].
73746 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
73748         [BZ #14544]
73749         * Makeconfig (link-static-before-libc): Replace $(+prector)
73750         with $(+prectorT).
73751         (link-static-after-libc): Replace $(+postctor) with
73752         $(+postctorT).
73753         (link-bounded): Replace $(+prector)/$(+postctor) with
73754         $(+prectorT)/$(+postctorT).
73755         (+prectorT): New macro.
73756         (+postctorT): Likewise.
73758 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
73760         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
73761         (round_str): Handle values above the maximum for IBM long double
73762         as inexact.
73763         * stdlib/tst-strtod-round.c (tests): Regenerated.
73765 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73767         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
73768         assembler flag.
73769         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
73770         zarch_nohighgprs around the zarch optimized routines.
73771         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
73772         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
73773         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
73774         for zarch.
73776 2012-09-05  David S. Miller  <davem@davemloft.net>
73778         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73780         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
73781         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
73782         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
73783         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
73784         entries.
73786 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
73788         * malloc/arena.c: Fold copyright years.
73789         * malloc/mcheck.c, malloc/memusage.c: Likewise.
73791 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
73793         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
73795 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
73797         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
73799 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
73801         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
73802         change internal state upon failure.
73804 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
73806         * malloc/mcheck.c (mcheck_check_all): Fix typo.
73807         * malloc/memusage.c (mmap): Likewise.
73808         (mmap64, mremap): Likewise.  Adjust name in comment.
73810 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
73812         * libio/fileops.c: Fix typos in comments.
73813         * libio/oldfileops.c: Likewise.
73814         * libio/wfileops.c: Likewise.
73816 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
73818         [BZ #1349]
73819         * malloc/Makefile (tests): Add tst-malloc-usable test case.
73820         (tst-malloc-usable-ENV): Set environment for test case.
73821         * malloc/hooks.c (malloc_check_get_size): New function to get
73822         requested size.
73823         * malloc/malloc.c (musable): Use malloc_check_get_size.
73824         * malloc/tst-malloc-usable.c: New test case.
73826 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
73828         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
73830 2012-09-05  Allan McRae  <allan@archlinux.org>
73832         [BZ #13966]
73833         * configure.in (CXX_SYSINCLUDES): Use compiler output to
73834         determine header location.
73835         * configure: Regenerated.
73837 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
73839         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
73840         float format.
73841         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
73842         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
73843         format.
73844         (test): Regenerate.
73846 2012-09-04  David S. Miller  <davem@davemloft.net>
73848         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
73849         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
73850         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
73852 2012-09-04  Florian Weimer  <fweimer@redhat.com>
73854         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
73855         failures.
73857         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
73859 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
73861         [BZ #9914]
73862         * libio/iogetdelim.c: Include <limits.h>.
73863         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
73864         + len + 1 would overflow.
73866 2012-09-03  Andreas Jaeger  <aj@suse.de>
73868         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73869         * sysdeps/i386/fpu/libm-test-ulps: Update.
73871 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73873         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
73874         Add s_sinf-sse2, s_conf-sse2.
73876         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
73877         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
73878         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
73879         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
73881         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
73882         for using routine as __sinf_ia32.
73883         Use macro for function declaration and weak_alias.
73884         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
73885         for using routine as __cosf_ia32.
73886         Use macro for function declaration and weak_alias.
73888         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
73889         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
73891         * sysdeps/x86_64/fpu/s_sinf.S: New file.
73892         * sysdeps/x86_64/fpu/s_cosf.S: New file.
73893         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73895         * math/libm-test.inc (cos_test): Add more test cases.
73896         (sin_test): Likewise.
73897         (sincos_test): Likewise.
73899 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73901         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
73902         (IFUNC_RESOLVE): Make pointers to the specialized implementations
73903         hidden.
73904         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
73906 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
73908         [BZ #14538]
73909         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
73910         first element of the GOT.
73911         (elf_machine_load_address): Return the difference between
73912         the runtime address of _DYNAMIC and elf_machine_dynamic ().
73914 2012-09-01  Allan McRae  <allan@archlinux.org>
73916         [BZ #13412]
73917         * configure.in (AWK): Require gawk version 3.0 or later.
73918         * configure: Regenerated.
73920 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
73922         * sysdeps/unix/sysv/linux/kernel-features.h
73923         (__ASSUME_POSIX_CPU_TIMERS): Remove.
73924         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
73925         [__NR_clock_getres]: Make code unconditional.
73926         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
73927         (clock_getcpuclockid): Remove code left unreachable by removal of
73928         conditionals.
73929         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
73930         code unconditional.
73931         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
73932         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
73933         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
73934         Make code unconditional.
73935         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
73936         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
73937         * sysdeps/unix/sysv/linux/clock_settime.c
73938         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
73939         conditional code.
73940         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
73941         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
73943 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
73945         [BZ #14476]
73946         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
73947         scripts/test-installation.pl.
73949         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
73950         and $ld_so_version if it is set.
73952 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
73954         [BZ #14516]
73955         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
73956         failure if reading from procfs failed.
73957         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
73959 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
73961         * sysdeps/unix/sysv/linux/kernel-features.h
73962         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
73963         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
73964         Remove conditional code.
73965         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73966         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
73967         Remove conditional code.
73968         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73969         * sysdeps/unix/sysv/linux/i386/fxstat.c
73970         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
73971         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73972         * sysdeps/unix/sysv/linux/i386/fxstatat.c
73973         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
73974         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73975         * sysdeps/unix/sysv/linux/i386/lxstat.c
73976         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
73977         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73978         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
73979         Remove conditional code.
73980         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73981         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
73982         Remove conditional code.
73983         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73984         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
73985         <kernel-features.h>.
73986         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
73987         Remove.
73988         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
73989         Remove conditional code.
73990         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73991         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
73992         Remove conditional.
73994 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
73996         [BZ #5400]
73997         * NEWS: Add fixed bug number.
73999 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
74001         [BZ #14519]
74002         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
74003         underflowing exponent in case of negative sign.
74004         * stdlib/tst-strtod-round-data: Add more tests.
74005         * stdlib/tst-strtod-round.c (tests): Regenerated.
74007         [BZ #3479]
74008         * stdlib/strtod_l.c (NDIG): Remove.
74009         (HEXNDIG): Likewise.
74010         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
74011         smallest representable value.
74012         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
74013         lie within an exact representation of 1/2 ulp of the result.
74014         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
74015         unconditionally.
74016         (TENS_P9_IDX): Define unconditionally.
74017         (TENS_P9_SIZE): Likewise.
74018         (TENS_P10_IDX): Likewise.
74019         (TENS_P10_SIZE): Likewise.
74020         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
74021         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
74022         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
74023         entries for 10^2^13 and 10^2^14.
74024         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
74025         (TENS_P13_IDX): Define.
74026         (TENS_P13_SIZE): Likewise.
74027         (TENS_P14_IDX): Likewise.
74028         (TENS_P14_SIZE): Likewise.
74029         (_fpioconst_pow10): Change array size to
74030         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
74031         unconditional.
74032         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
74033         1024]: Add entries for 10^2^13 and 10^2^14.
74034         [LAST_POW10 > _LAST_POW10]: Remove #error.
74035         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
74036         (_fpioconst_pow10): Change array size to
74037         FPIOCONST_POW10_ARRAY_SIZE.
74038         * stdlib/gen-fpioconst.c: New file.
74039         * stdlib/gen-tst-strtod-round.c: Likewise.
74040         * stdlib/tst-strtod-round-data: Likewise.
74041         * stdlib/tst-strtod-round.c: Likewise.
74042         * stdlib/Makefile (tests): Add tst-strtod-round.
74044         [BZ #14459]
74045         * stdlib/strtod_l.c: Include <stdint.h>.
74046         (NDEBUG): Do not define.
74047         (round_and_return): Change EXPONENT parameter to type intmax_t.
74048         Rearrange calculations to avoid internal overflow possibilities.
74049         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
74050         Rearrange calculations to avoid internal overflow possibilities.
74051         Assert that number fits inside MPNSIZE limbs.
74052         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
74053         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
74054         calculations and add assertions to avoid internal overflow
74055         possibilities.  Add casts to avoid signed/unsigned operations.
74056         * stdlib/tst-strtod-overflow.c: New file.
74057         * stdlib/Makefile (tests): Add tst-strtod-overflow.
74059 2012-08-25  Marek Polacek  <polacek@redhat.com>
74061         * time/time.h: Fix some typos in comments.
74063 2012-08-23  Roland McGrath  <roland@hack.frob.com>
74065         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
74066         * posix/tst-rfc3484-2.c: Likewise.
74067         * posix/tst-rfc3484-3.c: Likewise.
74069 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
74071         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
74072         (EF_ARM_ABI_FLOAT_HARD): Likewise.
74074 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
74076         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
74077         #include of fxstatat64.c.
74079 2012-08-22  Roland McGrath  <roland@hack.frob.com>
74081         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
74082         * shadow/getspent_r.c: Likewise.
74083         * shadow/getspnam.c: Likewise.
74084         * shadow/getspnam_r.c: Likewise.
74085         * gshadow/getsgent.c: Likewise.
74086         * gshadow/getsgent_r.c: Likewise.
74087         * gshadow/getsgnam.c: Likewise.
74088         * gshadow/getsgnam_r.c: Likewise.
74089         * inet/getnetbyad.c: Likewise.
74090         * inet/getnetbyad_r.c: Likewise.
74091         * inet/getnetbynm.c: Likewise.
74092         * inet/getnetbynm_r.c: Likewise.
74093         * inet/getnetent.c: Likewise.
74094         * inet/getnetent_r.c: Likewise.
74095         * inet/getproto.c: Likewise.
74096         * inet/getproto_r.c: Likewise.
74097         * inet/getprtent.c: Likewise.
74098         * inet/getprtent_r.c: Likewise.
74099         * inet/getprtname.c: Likewise.
74100         * inet/getprtname_r.c: Likewise.
74101         * inet/getrpcbyname.c: Likewise.
74102         * inet/getrpcbyname_r.c: Likewise.
74103         * inet/getrpcbynumber.c: Likewise.
74104         * inet/getrpcbynumber_r.c: Likewise.
74105         * inet/getrpcent.c: Likewise.
74106         * inet/getrpcent_r.c: Likewise.
74107         * inet/getaliasent.c: Likewise.
74108         * inet/getaliasent_r.c: Likewise.
74109         * inet/getaliasname.c: Likewise.
74110         * inet/getaliasname_r.c: Likewise.
74111         * nscd/getgrgid_r.c: Likewise.
74112         * nscd/getgrnam_r.c: Likewise.
74113         * nscd/gethstbyad_r.c: Likewise.
74114         * nscd/gethstbynm3_r.c: Likewise.
74115         * nscd/getpwnam_r.c: Likewise.
74116         * nscd/getpwuid_r.c: Likewise.
74117         * nscd/getsrvbynm_r.c: Likewise.
74118         * nscd/getsrvbypt_r.c: Likewise.
74119         * nscd/gai.c: Likewise.
74121         * configure.in (build_nscd): New substituted variable, set
74122         by --disable-build-nscd and defaults to $use_nscd.
74123         * configure: Regenerated.
74124         * config.make.in (build-nscd): New substituted variable.
74125         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
74126         Change conditional to require [$(build-nscd) = yes] as well.
74127         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
74129         [BZ #13696]
74130         * configure.in (use_nscd): New substituted variable, set by
74131         --disable-nscd.  If enabled, define USE_NSCD.
74132         * configure: Regenerated.
74133         * config.h.in: Add USE_NSCD.
74134         * config.make.in (use-nscd): New substituted variable.
74135         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
74136         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
74137         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
74138         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
74139         (CFLAGS-getgrnam_r.c): Likewise.
74140         (CFLAGS-initgroups.c): Likewise.
74141         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
74142         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
74143         Variables removed.
74144         * inet/getnetgrent_r.c
74145         (nscd_setnetgrent): New function, broken out of ...
74146         (setnetgrent): ... here.  Call it.
74147         (innetgr): Conditionalize nscd bits on [USE_NSCD].
74148         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
74149         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
74150         * nscd/Makefile (routines, aux): Move definitions after include of
74151         Makeconfig.  Conditionalize on [$(use-nscd) != no].
74152         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
74153         Conditionalize on [USE_NSCD].
74154         (is_nscd, nscd_init_cb): Likewise.
74155         (nss_load_library): Conditionalize init callback on [USE_NSCD].
74156         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
74157         * nss/nss_db/db-init.c: Likewise.
74158         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
74159         [USE_NSCD].
74160         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
74161         (make_request): Use it.
74162         (cache_valid_p): New function.
74163         (__check_pf): Use it.
74164         * NEWS: Add item for --disable-nscd.
74166 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
74168         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
74169         to support sed >= 4.2.1-20-ga9bf076.
74170         * configure: Regenerated.
74172 2012-08-22  Roland McGrath  <roland@hack.frob.com>
74174         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
74175         Conditionalize whole body on [IREL].
74177 2012-08-22  Jeff Law <law@redhat.com>
74179         [BZ #14505]
74180         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
74181         if the family is PF_UNSPEC.
74183 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
74185         * Makerules (lib-version): Rename from V.
74186         (install-lib-nosubdir): Change V to lib-version.
74188 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
74190         [BZ #14252]
74191         * powerpc32/power6/wcschr.c: New file.
74192         * powerpc32/power6/wcscpy.c: New file.
74193         * powerpc32/power6/wcsrchr.c: New file.
74194         * powerpc64/power6/wcschr.c: New file.
74195         * powerpc64/power6/wcscpy.c: New file.
74196         * powerpc64/power6/wcsrchr.c: New file.
74198 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
74200         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
74201         (two_way_short_needle): Use it.
74202         * string/strstr.c (AVAILABLE1_USES_J): Define.
74203         * string/strcasestr.c: Likewise.
74205         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
74206         array references.
74207         * string/strcasestr.c (TOLOWER): Make side-effect safe.
74209         [BZ #11607]
74210         * NEWS: Add an entry.
74211         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
74212         define their defaults.
74213         (two_way_short_needle): Detect end-of-string on-the-fly.
74214         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
74215         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
74216         * string/bug-strcasestr1.c: New test.
74217         * string/Makefile: Run it.
74219 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
74221         [BZ #11607]
74222         * string/str-two-way.h (two_way_short_needle): Optimize matching of
74223         the first character.
74225 2012-08-21  Roland McGrath  <roland@hack.frob.com>
74227         * csu/elf-init.c (__libc_csu_irel): Function removed.
74228         * csu/libc-start.c (apply_irel): New function.
74229         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
74231 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
74233         * sysdeps/unix/sysv/linux/kernel-features.h
74234         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
74235         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
74236         <kernel-features.h>.
74237         [__NR_fadvise64_64]: Make code unconditional.
74238         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
74239         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
74240         !__NR_fadvise64_64)]: Likewise.
74241         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
74242         !__NR_fadvise64_64))]: Likewise.
74243         [__NR_fadvise64]: Make code unconditional.
74244         [!__NR_fadvise64]: Remove conditional code.
74245         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
74246         <kernel-features.h>.
74247         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
74248         unconditional.
74249         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
74250         conditional code.
74251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
74252         not include <kernel-features.h>.
74253         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
74254         unconditional.
74255         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
74256         conditional code.
74257         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
74258         include <kernel-features.h>.
74259         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
74260         unconditional.
74261         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
74262         conditional code.
74264 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
74266         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
74267         slight instruction rearrangements per scrollpipe analysis.
74268         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
74270 2012-08-20  Roland McGrath  <roland@hack.frob.com>
74272         * manual/syslog.texi (syslog; vsyslog, closelog):
74273         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
74274         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
74276         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
74277         DSOCAPS to match condition on defining it.
74279 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
74281         * sysdeps/unix/sysv/linux/kernel-features.h
74282         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
74283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
74284         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
74285         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
74286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
74287         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
74288         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
74289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
74290         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
74291         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
74293         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
74294         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
74296         * sysdeps/unix/sysv/linux/kernel-features.h
74297         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
74298         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
74299         unconditional.
74300         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74301         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
74302         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
74303         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74304         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
74305         Make code unconditional.
74306         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74307         (__mmap64) [!__NR_mmap2]: Likewise.
74308         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
74309         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
74310         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74311         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
74312         [__NR_mmap2]: Make code unconditional.
74313         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74314         (__mmap64) [!__NR_mmap2]: Likewise.
74316 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74318         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
74320 2012-08-18  Andreas Jaeger  <aj@suse.de>
74322         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
74324 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
74326         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
74327         * include/unistd.h (__have_sock_cloexec): Likewise.
74328         (__have_pipe2): Likewise.
74329         (__have_dup3): Likewise.
74331 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
74333         [BZ #9685]
74334         * include/unistd.h (__have_pipe2): Change define into an extern int.
74335         (__have_dup3): Likewise.
74336         * socket/have_sock_cloexec.c: Include fcntl.h.
74337         (__have_pipe2): New variable.
74338         (__have_dup3): Likewise.
74340 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
74342         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
74344 2012-08-17  Marek Polacek  <polacek@redhat.com>
74346         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
74347         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
74349 2012-08-17  Roland McGrath  <roland@hack.frob.com>
74351         * configure.in: Add AC_SUBST for sysheaders.
74352         * configure: Regenerated.
74353         * config.make.in (sysheaders): New substituted variable.
74355         * sysdeps/unix/mkfifo.c: Moved ...
74356         * sysdeps/posix/mkfifo.c: ... here.
74357         * sysdeps/unix/mkfifoat.c: Moved ...
74358         * sysdeps/posix/mkfifoat.c: ... here.
74360         * sysdeps/unix/utime.c: Moved ...
74361         * sysdeps/posix/utime.c: ... here.
74363         * sysdeps/unix/time.c: Moved ...
74364         * sysdeps/posix/time.c: ... here.
74365         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
74366         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
74368         * sysdeps/unix/nice.c: Moved ...
74369         * sysdeps/posix/nice.c: ... here.
74371         * sysdeps/unix/alarm.c: Moved ...
74372         * sysdeps/posix/alarm.c: ... here.
74374         * intl/Makefile ($(codeset_mo)): Depend on the input file.
74376 2012-08-17  Jeff Law <law@redhat.com>
74378         * intl/Makefile (codeset_mo): New variable.
74379         ($(codeset_mo)): New target.
74380         (tst-codeset.out): Depend on that.  Remove explicit rule.
74381         (tst-gettext3.out, tst-gettext5.out): Likewise.
74382         (LOCPATH-ENV, tst-codeset-ENV): New variables.
74383         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
74384         * intl/tst-codeset.sh: Remove.
74385         * intl/tst-gettext3.sh: Likewise.
74386         * intl/tst-gettext5.sh: Likewise.
74388 2012-08-17  Roland McGrath  <roland@hack.frob.com>
74390         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
74391         * sysdeps/unix/syscalls.list: ... here.
74393         * sysdeps/posix/getaddrinfo.c
74394         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
74395         (gaiconf_init, gaiconf_reload): Use them.
74396         [!_STATBUF_ST_NSEC]
74397         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
74398         Define using time_t rather than struct timespec.
74400         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
74401         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
74402         Macros removed.
74403         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
74404         [!NO_THREADS].
74405         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
74406         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
74407         Likewise.
74409         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
74410         __libc_cleanup_push argument.
74412         * bits/param.h: New file.
74413         * misc/sys/param.h: New file.
74414         * include/sys/param.h: New file.
74415         * misc/Makefile (headers): Add bits/param.h.
74416         * sysdeps/generic/sys/param.h: File removed.
74417         * sysdeps/unix/sysv/linux/bits/param.h: New file.
74418         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
74419         * sysdeps/mach/hurd/bits/param.h: New file.
74420         * sysdeps/mach/hurd/sys/param.h: File removed.
74422         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
74423         last change.
74425         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
74426         [_IO_MTSAFE_IO].
74427         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
74428         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
74429         New macros.
74431         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
74432         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
74433         rather than -D_IO_MTSAFE_IO conditionally.
74434         * stdio-common/Makefile (CPPFLAGS): Likewise.
74435         * wcsmbs/Makefile (CPPFLAGS): Likewise.
74436         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
74437         Use $(libio-mtsafe).
74438         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
74439         of -D_IO_MTSAFE_IO.
74440         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
74441         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
74442         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
74443         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
74444         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
74445         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
74446         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
74447         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
74448         (CFLAGS-fread_u_chk.c): Likewise.
74449         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
74450         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
74451         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
74452         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
74453         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
74454         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
74455         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
74456         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
74457         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
74459         * libio/Makefile: Test [$(libc-reentrant) = yes]
74460         instead of [$(filter %REENTRANT, $(defines)) nonempty].
74462         * Makeconfig
74463         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
74464         * sysdeps/pthread/configure: File removed.
74465         * sysdeps/pthread/Makeconfig: New file.
74466         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
74467         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
74469 2012-08-16  Gary Benson  <gbenson@redhat.com>
74471         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
74472         unmapping the first object in a namespace.
74474 2012-08-16  Roland McGrath  <roland@hack.frob.com>
74476         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
74477         (__internal_setnetgrent): ... this.  Add internal_function to
74478         definition.  Add libc_hidden_def.
74479         (setnetgrent): Update caller.
74480         (internal_endnetgrent): Renamed to ...
74481         (__internal_endnetgrent): ... this.  Add internal_function to
74482         definition.  Add libc_hidden_def.
74483         (endnetgrent): Update caller.
74484         (internal_getnetgrent_r): Renamed to ...
74485         (__internal_getnetgrent_r): ... this.  Add internal_function to
74486         definition.  Add libc_hidden_def.
74487         (__getnetgrent_r): Update caller.
74488         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
74490 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
74492         * stdlib/longlong.h: Update from GCC.
74494 2012-08-16  Roland McGrath  <roland@hack.frob.com>
74496         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
74497         on _QL, which is set by umul_ppmm but never used.
74498         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
74499         variables, which are set by GMP macros but never used.
74500         * stdio-common/_itowa.c (_itowa): Likewise.
74501         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
74502         * stdlib/mod_1.c (mpn_mod_1): Likewise.
74504 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
74506         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
74507         struct La_sh_regs is not constant.
74508         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
74509         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
74510         and struct La_sparc64_regs are not constant.
74512 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
74514         * sysdeps/unix/sysv/linux/kernel-features.h
74515         (__ASSUME_POSIX_TIMERS): Remove.
74516         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
74517         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
74518         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
74519         Make code unconditional.
74520         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
74521         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
74522         Make code unconditional.
74523         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
74524         * sysdeps/unix/sysv/linux/clock_nanosleep.c
74525         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
74526         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
74527         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
74528         Make code unconditional.
74529         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
74530         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
74531         (__libc_missing_posix_timers): Remove.
74533 2012-08-15  Roland McGrath  <roland@hack.frob.com>
74535         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
74536         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
74538         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
74540         * elf/dl-sym.c: Include <stdlib.h>.
74542         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
74543         constants, which avoids warnings in 32-bit builds.
74545         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
74546         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
74548         * misc/lseek.c: File moved to ...
74549         * io/lseek.c: ... here.
74551         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
74553         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
74554         shifting LEN more than 31 bits at once.
74556 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74558         [BZ #14195]
74559         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
74560         segmentation fault for a case of two empty input strings.
74561         * string/test-strncasecmp.c (check1): Renamed to...
74562         (bz12205): ...this.
74563         (bz14195): Add new testcase for two empty input strings and N > 0.
74564         (test_main): Call new testcase, adapt for renamed function.
74566 2012-08-15  Andreas Jaeger  <aj@suse.de>
74568         [BZ #14090]
74569         * crypt/md5test2.c: New test, based on test supplied by Serge
74570         Belyshev <belyshev@depni.sinp.msu.ru>.
74571         * crypt/Makefile (xtests): Add md5test-giant..
74572         * crypt/Makefile ($(objpfx)md5test-giant): Add.
74574 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
74576         [BZ #14090]
74577         * crypt/md5.c (md5_process_block): Don't assume the buffer
74578         length is less than 2**32.
74579         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
74580         length is less than 2**64.
74582 2012-08-15  Roland McGrath  <roland@hack.frob.com>
74584         * string/str-two-way.h: Include <sys/param.h>.
74585         (MAX): Macro removed.
74587         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
74588         Move #define and #undef of memmove to just before and after
74589         including <string.h>.
74591         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
74592         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
74593         and after including <string.h>.  Move declarations of
74594         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
74595         to before #include "string/memmove.c".
74597         * include/dirent.h: Declare __getdirentries.
74599         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
74600         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
74602 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
74604         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
74605         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
74606         * sysdeps/i386/configure: Regenerated.
74607         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
74608         STABS_CURRENT_FILE, and STABS_FUN.
74609         (END): Remove call to STABS_FUN_END.
74610         (STABS_CURRENT_FILE1): Delete.
74611         (STABS_CURRENT_FILE): Likewise.
74612         (STABS_FUN): Likewise.
74613         (STABS_FUN_END): Likewise.
74614         (STABS_FUN2): Likewise.
74615         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
74616         * sysdeps/x86_64/configure: Regenerated.
74618 2012-08-14  Roland McGrath  <roland@hack.frob.com>
74620         * elf/dl-open.c: Include <atomic.h>.
74621         * elf/dl-lookup.c: Likewise.
74623 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
74625         * sysdeps/unix/sysv/linux/kernel-features.h
74626         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
74627         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
74628         unconditionally.
74629         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
74630         unconditionally.
74631         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
74632         condition on __ASSUME_CLONE_THREAD_FLAGS.
74634 2012-08-14  Andreas Jaeger  <aj@suse.de>
74636         * sysdeps/i386/fpu/libm-test-ulps: Update.
74638 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
74640         * include/atomic.h (atomic_exchange_and_add): Split into ...
74641         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
74642         New atomic macros.
74644 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
74646         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74648 2012-08-13  Jeff Law <law@redhat.com>
74650         * manual/stdio.texi (snprintf): Clarify handling of the trailing
74651         null byte in the output string.
74653 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
74655         * sysdeps/unix/sysv/linux/kernel-features.h
74656         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
74657         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
74658         (__ASSUME_ARG_MAX_STACK_BASED): Define.
74659         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
74660         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
74661         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
74662         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
74664 2012-08-09  Jeff Law <law@redhat.com>
74666         [BZ #13939]
74667         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
74668         When avoid_arena is set, don't retry in the that arena.  Pick the
74669         next one, whatever it might be.
74670         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
74671         (arena_lock): Pass in new parameter to arena_get2.
74672         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
74673         arena_get2.
74674         (__libc_malloc): Unify retrying after main arena failure with
74675         __libc_memalign version.
74676         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
74678 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
74680         [BZ #14166]
74681         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
74682         to __redirect_strstr.
74683         (__strstr_sse42): Use typeof __redirect_strstr.
74684         (__strstr_ia32): Likewise.
74685         (__libc_strstr): New prototype.
74686         (strstr): Renamed to ...
74687         (__libc_strstr): This.
74688         (strstr): New strong alias of __libc_strstr.
74689         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
74690         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
74691         __redirect_time.
74692         Include <time.h>.
74693         (__libc_time): New prototype.
74694         (time_ifunc): Replace time with __libc_time.
74695         (time): New strong alias and hidden definition of __libc_time.
74696         (__GI_time): Remove strong alias.
74697         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
74698         Include <stddef.h>.
74699         (memmove): Redefined to __redirect_memmove.
74700         (__memmove_sse2): Use typeof __redirect_memmove.
74701         (__memmove_ssse3): Likewise.
74702         (__memmove_ssse3_back): Likewise.
74703         (__libc_memmove): New prototype.
74704         (memmove): Renamed to ...
74705         (__libc_memmove): This.
74706         (memmove): New strong alias of __libc_memmove.
74708 2012-08-08  Mark Salter  <msalter@redhat.com>
74710         * elf/elf.h
74711         (R_MN10300_TLS_GD): Define.
74712         (R_MN10300_TLS_LD): Likewise.
74713         (R_MN10300_TLS_LDO): Likewise.
74714         (R_MN10300_TLS_GOTIE): Likewise.
74715         (R_MN10300_TLS_IE): Likewise.
74716         (R_MN10300_TLS_LE): Likewise.
74717         (R_MN10300_TLS_DTPMOD): Likewise.
74718         (R_MN10300_TLS_DTPOFF): Likewise.
74719         (R_MN10300_TLS_TPOFF): Likewise.
74720         (R_MN10300_SYM_DIFF): Likewise.
74721         (R_MN10300_ALIGN): Likewise.
74722         (R_MN10300_NUM): Update.
74724 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
74726         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
74727         Remove.
74729 2012-08-08  Roland McGrath  <roland@hack.frob.com>
74731         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
74733         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
74734         sysdeps/unix -> sysdeps/posix move.
74735         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
74737 2012-08-07      Allan McRae     <allan@archlinux.org>
74739         [BZ #14303]
74740         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
74741         (SUNOS_CPP): Likewise.
74742         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
74743         not found.
74744         (open_input): Call CPP using execvp.
74746 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
74748         * sysdeps/unix/sysv/linux/kernel-features.h
74749         (__ASSUME_PROT_GROWSUPDOWN): Remove.
74750         (__ASSUME_NO_CLONE_DETACHED): Likewise.
74751         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
74752         (__ASSUME_WAITID_SYSCALL): Likewise.
74753         * sysdeps/unix/sysv/linux/dl-execstack.c
74754         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
74755         code unconditional.
74756         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
74757         conditional code.
74758         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
74759         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
74760         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
74761         code.
74762         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
74763         unconditional.
74764         [__ASSUME_WAITID_SYSCALL]: Likewise.
74765         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
74767 2012-08-07  Roland McGrath  <roland@hack.frob.com>
74769         * sysdeps/unix/closedir.c: Renamed to ...
74770         * sysdeps/posix/closedir.c: ... here.
74771         * sysdeps/unix/dirfd.c: Renamed to ...
74772         * sysdeps/posix/dirfd.c: ... here.
74773         * sysdeps/unix/dirstream.h: Renamed to ...
74774         * sysdeps/posix/dirstream.h: ... here.
74775         * sysdeps/unix/fdopendir.c: Renamed to ...
74776         * sysdeps/posix/fdopendir.c: ... here.
74777         * sysdeps/unix/opendir.c: Renamed to ...
74778         * sysdeps/posix/opendir.c: ... here.
74779         * sysdeps/unix/readdir.c: Renamed to ...
74780         * sysdeps/posix/readdir.c: ... here.
74781         * sysdeps/unix/readdir_r.c: Renamed to ...
74782         * sysdeps/posix/readdir_r.c: ... here.
74783         * sysdeps/unix/rewinddir.c: Renamed to ...
74784         * sysdeps/posix/rewinddir.c: ... here.
74785         * sysdeps/unix/seekdir.c: Renamed to ...
74786         * sysdeps/posix/seekdir.c: ... here.
74787         * sysdeps/unix/telldir.c: Renamed to ...
74788         * sysdeps/posix/telldir.c: ... here.
74789         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
74790         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
74791         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
74792         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
74794         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
74795         * bits/fcntl.h: ... here.
74797         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
74798         not 0.
74799         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
74800         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
74801         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
74802         (struct flock): Move l_start, l_len to the beginning.
74803         Use __pid_t for l_pid.
74804         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
74805         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
74806         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
74807         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
74808         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
74809         [__USE_LARGEFILE64] (struct flock64): New type.
74810         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
74812         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
74813         * bits/dirent.h: ... here.
74815         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
74816         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
74818 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
74820         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
74821         Change from 2.6.0 to 2.6.16.
74822         * sysdeps/unix/sysv/linux/configure: Regenerated.
74823         * sysdeps/unix/sysv/linux/kernel-features.h
74824         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
74825         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
74826         version.
74827         (__ASSUME_UTIMES): Likewise.
74828         (__ASSUME_CLONE_STOPPED): Remove.
74829         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
74830         architectures, not kernel version.
74831         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
74832         (__ASSUME_NO_CLONE_DETACHED): Likewise.
74833         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
74834         (__ASSUME_WAITID_SYSCALL): Likewise.
74835         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
74836         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
74837         * README: State 2.6.16 as minimum Linux kernel version.  Do not
74838         refer to older versions.
74840 2012-08-06  Roland McGrath  <roland@hack.frob.com>
74842         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
74843         Define alphasort64 as an alias.
74844         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
74845         Define versionsort64 as an alias.
74846         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
74847         Define scandir64 as an alias.
74848         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
74849         Define scandirat64 as an alias.
74850         * dirent/alphasort64.c (alphasort64):
74851         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
74852         * dirent/versionsort64.c: Likewise.
74853         * dirent/scandir64.c: Likewise.
74854         * dirent/scandirat64.c: Likewise.
74855         * sysdeps/wordsize-64/alphasort.c: File removed.
74856         * sysdeps/wordsize-64/alphasort64.c: File removed.
74857         * sysdeps/wordsize-64/scandir.c: File removed.
74858         * sysdeps/wordsize-64/scandir64.c: File removed.
74859         * sysdeps/wordsize-64/scandirat.c: File removed.
74860         * sysdeps/wordsize-64/scandirat64.c: File removed.
74861         * sysdeps/wordsize-64/versionsort.c: File removed.
74862         * sysdeps/wordsize-64/versionsort64.c: File removed.
74863         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
74864         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
74865         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
74866         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
74867         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
74868         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
74869         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
74870         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
74872         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
74873         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
74874         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
74875         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74876         [defined __arch64__ || defined __sparcv9]
74877         (__INO_T_MATCHES_INO64_T): New macro.
74878         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
74879         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
74880         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
74881         * sysdeps/unix/sysv/linux/bits/dirent.h
74882         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
74883         (_DIRENT_MATCHES_DIRENT64): New macro.
74885         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
74886         Define lockf64 as an alias.
74887         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
74888         Define fseeko64 as an alias.
74889         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
74890         Define ftello64 as an alias.
74891         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
74892         Define _IO_fgetpos64 and fgetpos64 as aliases.
74893         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
74894         Define _IO_fsetpos64 and fsetpos64 as aliases.
74895         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
74896         Conditionalize body on this.
74897         * libio/fseeko64.c: Likewise.
74898         * libio/ftello64.c: Likewise.
74899         * libio/iofgetpos64.c: Likewise.
74900         * libio/iofsetpos64.c: Likewise.
74901         * sysdeps/wordsize-64/lockf.c: File removed.
74902         * sysdeps/wordsize-64/lockf64.c: File removed.
74903         * sysdeps/wordsize-64/fseeko.c: File removed.
74904         * sysdeps/wordsize-64/fseeko64.c: File removed.
74905         * sysdeps/wordsize-64/ftello.c: File removed.
74906         * sysdeps/wordsize-64/ftello64.c: File removed.
74907         * sysdeps/wordsize-64/iofgetpos.c: File removed.
74908         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
74909         * sysdeps/wordsize-64/iofsetpos.c: File removed.
74910         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
74911         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
74912         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
74913         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
74914         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
74915         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
74916         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
74917         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
74918         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
74919         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
74920         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
74922         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
74923         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
74924         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
74925         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74926         [defined __arch64__ || defined __sparcv9]
74927         (__OFF_T_MATCHES_OFF64_T): New macro.
74928         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
74929         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
74930         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74931         (__OFF_T_MATCHES_OFF64_T): New macro.
74933 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
74935         * stdlib/secure-getenv.c (__secure_getenv): Replace
74936         GLIBC_2_16 with GLIBC_2_17.
74938 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
74940         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
74941         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
74943 2012-08-03  David S. Miller  <davem@davemloft.net>
74945         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74947 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
74949         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
74950         Remove.
74951         (__ASSUME_CORRECT_SI_PID): Likewise.
74952         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
74953         (__ASSUME_TMPFS_NAME): Likewise.
74954         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
74955         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
74956         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
74957         (HAVE_AUX_SECURE): Make definition unconditional.
74958         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
74959         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
74961 2012-08-03  Roland McGrath  <roland@hack.frob.com>
74963         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
74964         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
74965         * sysdeps/mach/hurd/eloop-threshold.h: New file.
74966         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
74967         __eloop_threshold instead of SYMLOOP_MAX.
74969         * sysdeps/generic/eloop-threshold.h: New file.
74970         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
74971         of MAXSYMLINKS.
74972         * elf/chroot_canon.c (chroot_canon): Likewise.
74974 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
74976         [BZ #13717]
74977         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
74978         Change to 2.6.0 everywhere.
74979         * sysdeps/unix/sysv/linux/configure: Regenerated.
74980         * sysdeps/unix/sysv/linux/kernel-features.h
74981         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
74982         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
74983         kernel versions.
74984         (__ASSUME_POSIX_TIMERS): Define unconditionally.
74985         (__ASSUME_FUTEX_REQUEUE): Remove.
74986         (__ASSUME_STATFS64): Define unconditionally.
74987         (__ASSUME_AT_SECURE): Likewise.
74988         (__ASSUME_CORRECT_SI_PID): Likewise.
74989         (__ASSUME_TGKILL): Define without depending on kernel version for
74990         i386.
74991         (__ASSUME_UTIMES): Likewise.
74992         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
74993         kernel version.
74994         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
74995         (__ASSUME_TMPFS_NAME): Likewise.
74996         * README: Update reference to Linux kernel versions.
74998 2012-08-02  Marek Polacek  <polacek@redhat.com>
75000         [BZ #14150]
75001         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
75002         libc_cv_asm_type_prefix with %.
75003         * configure: Regenerated.
75004         * include/libc-symbols.h: Remove comment about
75005         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
75006         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
75007         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
75008         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
75009         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
75010         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
75011         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
75012         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
75013         * elf/tst-unique2mod1.c: Likewise.
75014         * elf/tst-unique1mod2.c: Likewise.
75015         * elf/tst-unique1mod1.c: Likewise.
75016         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
75017         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
75018         Replace ASM_TYPE_DIRECTIVE with .type.
75019         * sysdeps/s390/s390-64/sysdep.h: Likewise.
75020         * sysdeps/i386/sysdep.h: Likewise.
75021         * sysdeps/x86_64/sysdep.h: Likewise.
75022         * sysdeps/sh/sysdep.h: Likewise.
75023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
75024         Do not define ASM_TYPE_DIRECTIVE.
75025         * sysdeps/powerpc/sysdep.h: Likewise.
75026         * sysdeps/powerpc/powerpc32/sysdep.h:
75027         Replace ASM_TYPE_DIRECTIVE with .type.
75028         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
75029         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
75030         * sysdeps/i386/fpu/e_powf.S: Likewise.
75031         * sysdeps/i386/fpu/e_expl.S: Likewise.
75032         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
75033         * sysdeps/i386/fpu/e_acosh.S: Likewise.
75034         * sysdeps/i386/fpu/e_pow.S: Likewise.
75035         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
75036         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
75037         * sysdeps/i386/fpu/s_expm1.S: Likewise.
75038         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
75039         * sysdeps/i386/fpu/e_log2.S: Likewise.
75040         * sysdeps/i386/fpu/e_log2l.S: Likewise.
75041         * sysdeps/i386/fpu/e_scalb.S: Likewise.
75042         * sysdeps/i386/fpu/e_powl.S: Likewise.
75043         * sysdeps/i386/fpu/e_log10f.S: Likewise.
75044         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
75045         * sysdeps/i386/fpu/e_logl.S: Likewise.
75046         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
75047         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
75048         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
75049         * sysdeps/i386/fpu/e_log2f.S: Likewise.
75050         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
75051         * sysdeps/i386/fpu/e_log.S: Likewise.
75052         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75053         * sysdeps/i386/fpu/e_logf.S: Likewise.
75054         * sysdeps/i386/fpu/e_log10l.S: Likewise.
75055         * sysdeps/i386/fpu/e_atanh.S: Likewise.
75056         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
75057         * sysdeps/i386/fpu/e_log10.S: Likewise.
75058         * sysdeps/i386/fpu/s_frexp.S: Likewise.
75059         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
75060         * sysdeps/i386/fpu/s_asinh.S: Likewise.
75061         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
75062         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75063         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
75064         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
75065         * sysdeps/i386/i686/strtok.S: Likewise.
75066         * sysdeps/i386/i386-mcount.S: Likewise.
75067         * sysdeps/i386/strtok.S: Likewise.
75068         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
75069         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75070         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75071         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75072         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
75073         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75074         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
75075         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
75076         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75077         * sysdeps/x86_64/_mcount.S: Likewise.
75078         * sysdeps/x86_64/strtok.S: Likewise.
75079         * sysdeps/sh/_mcount.S: Likewise.
75081 2012-08-01  Roland McGrath  <roland@hack.frob.com>
75083         * libio/iofopen.c: Include <fcntl.h>.
75084         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
75085         (_IO_fopen64, fopen64): Define as aliases.
75086         * libio/iofopen64.c: Include <fcntl.h>.
75087         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
75088         Conditionalize body on this.
75089         * sysdeps/wordsize-64/iofopen.c: File removed.
75090         * sysdeps/wordsize-64/iofopen64.c: File removed.
75092 2012-08-01  Marek Polacek  <polacek@redhat.com>
75094         * libc/Makeconfig: Use elf in place of binfmt-subdir.
75095         Use dlfcn directly instead of a variable.
75096         (binfmt-subdir): Do not define.
75097         (dlfcn): Likewise.
75099 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
75101         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
75102         Remove all definitions.
75103         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
75104         <kernel-features.h>.
75105         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
75106         (miss_F_GETOWN_EX): Remove all definitions.
75107         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
75108         macro definition.
75109         [!__ASSUME_FCNTL64]: Remove conditional code.
75110         [__ASSUME_FCNTL64]: Make code unconditional.
75111         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
75112         <kernel-features.h>.
75113         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
75114         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
75115         (lockf64) [__NR_fcntl64]: Make code unconditional.
75116         (lockf64) [__ASSUME_FCNTL64]: Likewise.
75118         * sysdeps/unix/sysv/linux/kernel-features.h
75119         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
75120         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
75121         Make code unconditional.
75122         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
75123         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
75124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
75125         [__NR_vfork]: Make code unconditional.
75126         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
75127         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
75128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
75129         [__NR_vfork]: Make code unconditional.
75130         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
75131         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
75133 2012-08-01  Roland McGrath  <roland@hack.frob.com>
75135         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
75136         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
75138         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75139         Define mkstemp64 as an alias.
75140         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75141         Define mkstemps64 as an alias.
75142         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75143         Define mkostemp64 as an alias.
75144         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75145         Define mkostemps64 as an alias.
75146         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
75147         Conditionalize body on this.
75148         * misc/mkostemp64.c: Likewise.
75149         * misc/mkostemps64.c: Likewise.
75150         * misc/mkstemps64.c: Likewise.
75151         * sysdeps/wordsize-64/mkstemp64.c: File removed.
75152         * sysdeps/wordsize-64/mkostemp64.c: File removed.
75153         * sysdeps/wordsize-64/mkostemp.c: File removed.
75154         * sysdeps/wordsize-64/mkstemp.c: File removed.
75155         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
75156         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
75157         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
75158         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
75160         [BZ #14138]
75161         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
75162         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
75163         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
75164         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
75166         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
75167         compat_symbol macros from <shlib-compat.h> rather than the underlying
75168         default_symbol_version and symbol_version macros, so that DEFAULT
75169         lines in shlib-versions are respected.
75170         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
75172 2012-08-01  Florian Weimer  <fweimer@redhat.com>
75174         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
75175         Declare with warn_unused_result.
75176         (setgid, setregid, setegid, setresgid): Likewise.
75177         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
75178         Likewise.
75179         * WUR-REPORT: Remove set*id functions.
75181 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
75183         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
75185 2012-07-31  Roland McGrath  <roland@hack.frob.com>
75187         [BZ #10191]
75188         * include/sys/socket.h (__libc_accept, __libc_accept4):
75189         Add attribute_hidden.
75190         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
75192         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
75193         use of PTR_MANGLE.
75194         * inet/getnetgrent_r.c (setup): Likewise.
75196         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
75198 2012-07-31  David S. Miller  <davem@davemloft.net>
75200         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75202 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
75204         [BZ #13629]
75205         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
75206         value between 1.0 and 2.0 and smaller part has absolute value less
75207         than 1.0.
75208         * math/s_clog10.c (__clog10): Likewise.
75209         * math/s_clog10f.c (__clog10f): Likewise.
75210         * math/s_clog10l.c (__clog10l): Likewise.
75211         * math/s_clogf.c (__clogf): Likewise.
75212         * math/s_clogl.c (__clogl): Likewise.
75213         * math/libm-test.inc (clog_test): Add more tests.
75214         (clog10_test): Likewise.
75215         * sysdeps/i386/fpu/libm-test-ulps: Update.
75216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75218 2012-07-31  Florian Weimer  <fweimer@redhat.com>
75220         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
75221         Exit with zero in case no suitable GID is found, and write a
75222         message to standard error.
75224 2012-07-30  Roland McGrath  <roland@hack.frob.com>
75226         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
75227         rather than to 1.
75228         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
75229         (MAXPATHLEN): Removed.
75230         (NOGROUP, NODEV): New macros.
75231         (setbit, clrbit, isset, isclr): New macros.
75232         (howmany, roundup, powerof2): New macros.
75233         (DEV_BSIZE): New macro.
75235         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
75236         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
75238         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
75239         definition on [!__NO_LONG_DOUBLE_MATH].
75241         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
75242         PTR_MANGLE and PTR_DEMANGLE.
75244         * socket/accept4.c (accept4): Rename to __libc_accept4.
75245         Define accept4 as a weak alias.
75247         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
75248         on [_DIRENT_HAVE_D_TYPE].
75249         * io/ftw.c (ftw_dir): Likewise.
75251         * io/xmknod.c (__xmknod): Don't check PATH for being null.
75253         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
75255         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
75256         Use the BSD numbers rather than the arbitrary ones we had.
75257         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
75258         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
75259         (SIGXCPU, SIGXFSZ): New macros.
75260         (_NSIG): Now 32.
75262         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
75263         initializer on [_LIBC_REENTRANT].
75265         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
75266         definitions inside [_POSIX_MAPPED_FILES].
75268         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
75270         * dirent/opendir.c: Include <fcntl.h>.
75272         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
75273         (__libc_getspecific): Likewise.
75274         (__libc_key_create): Likewise.
75276         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
75277         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
75278         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
75279         (tmpfile64): Define as alias.
75280         * sysdeps/wordsize-64/tmpfile.c: File removed.
75281         * sysdeps/wordsize-64/tmpfile64.c: File removed.
75282         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
75283         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
75285         * stdio-common/vfscanf.c: Include <stdbool.h>.
75286         * nss/makedb.c: Likewise.
75287         * stdio-common/_i18n_number.h: Likewise.
75288         * argp/argp-help.c: Likewise.
75289         * posix/wordexp.c: Likewise.
75290         * sysdeps/posix/spawni.c: Likewise.
75291         * nss/nss_files/files-initgroups.c: Likewise.
75292         * stdio-common/reg-modifier.c: Include <stdlib.h>.
75293         * nss/nss_files/files-initgroups.c: Likewise.
75294         * nss/nss_db/db-netgrp.c: Likewise.
75295         * nss/nss_db/db-initgroups.c: Likewise.
75296         * io/fchmodat.c: Include <sys/stat.h>.
75298         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
75299         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
75301         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
75302         [HAVE_MMAP].
75304         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
75305         Add multiple inclusion protection.
75307 2012-07-27  David S. Miller  <davem@davemloft.net>
75309         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75311 2012-07-27  Gary Benson  <gbenson@redhat.com>
75313         [BZ #14298]
75314         * elf/rtld.c: Include <stap-probe.h>.
75315         (dl_main): Added static probes "init_start" and "init_complete".
75316         * elf/dl-load.c: Include <stap-probe.h>.
75317         (lose): Take new parameter "nsid".
75318         Added static probe "map_failed".
75319         (_dl_map_object_from_fd): Pass namespace id to lose.
75320         Added static probe "map_start".
75321         (open_verify): Pass namespace id to lose.
75322         * elf/dl-open.c: Include <stap-probe.h>.
75323         (dl_open_worker) Added static probes "map_complete", "reloc_start"
75324         and "reloc_complete".
75325         * elf/dl-close.c: Include <stap-probe.h>.
75326         (_dl_close_worker): Added static probes "unmap_start" and
75327         "unmap_complete".
75328         * elf/rtld-debugger-interface.txt: New file documenting the above.
75330 2012-07-26  Roland McGrath  <roland@hack.frob.com>
75332         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
75333         rather than a string variable.
75334         * sunrpc/rpc_main.c (h_output): Likewise.
75335         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
75337 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
75339         * inet/check_native.c: New file.
75341 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
75343         [BZ #13629]
75344         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
75345         if larger part has absolute value 1.0.
75346         * math/s_clog10.c (__clog10): Likewise.
75347         * math/s_clog10f.c (__clog10f): Likewise.
75348         * math/s_clog10l.c (__clog10l): Likewise.
75349         * math/s_clogf.c (__clogf): Likewise.
75350         * math/s_clogl.c (__clogl): Likewise.
75351         * math/libm-test.inc (clog_test): Add more tests.
75352         (clog10_test): Likewise.
75353         * sysdeps/i386/fpu/libm-test-ulps: Update.
75354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75356         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
75357         (pltexit): Likewise.
75358         (La_regs): Likewise.
75359         (La_retval): Likewise.
75360         (int_retval): Likewise.
75361         Update #error for removed macros to refer only to definitions in
75362         tst-audit.h.
75363         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
75364         macro.
75365         (pltexit): Likewise.
75366         (La_regs): Likewise.
75367         (La_retval): Likewise.
75368         (int_retval): Likewise.
75369         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
75370         macro.
75371         (pltexit): Likewise.
75372         (La_regs): Likewise.
75373         (La_retval): Likewise.
75374         (int_retval): Likewise.
75375         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
75376         macro.
75377         (pltexit): Likewise.
75378         (La_regs): Likewise.
75379         (La_retval): Likewise.
75380         (int_retval): Likewise.
75381         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
75382         macro.
75383         (pltexit): Likewise.
75384         (La_regs): Likewise.
75385         (La_retval): Likewise.
75386         (int_retval): Likewise.
75387         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
75388         macro.
75389         (pltexit): Likewise.
75390         (La_regs): Likewise.
75391         (La_retval): Likewise.
75392         (int_retval): Likewise.
75393         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
75394         macro.
75395         (pltexit): Likewise.
75396         (La_regs): Likewise.
75397         (La_retval): Likewise.
75398         (int_retval): Likewise.
75399         * sysdeps/generic/tst-audit.h: Update comment to refer only to
75400         macro definitions in tst-audit.h.
75401         * sysdeps/i386/tst-audit.h: New file.
75402         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
75403         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
75404         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
75405         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
75406         * sysdeps/sh/tst-audit.h: Likewise.
75407         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
75408         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
75409         * sysdeps/x86_64/tst-audit.h: Likewise.
75411 2012-07-26  Andreas Jaeger  <aj@suse.de>
75413         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
75414         ptrace.
75416         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
75417         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
75418         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
75419         PTRACE_O_MASK.
75420         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
75421         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
75422         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
75424         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
75425         value.
75427         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
75428         _sigsys.
75429         (si_call_addr, si_syscall, si_arch): Define new macro.
75430         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
75431         _sigsys.
75432         (si_call_addr, si_syscall, si_arch): Define new marcro.
75433         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
75434         _sigsys.
75435         (si_call_addr, si_syscall, si_arch): Define new macro.
75436         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
75437         _sigsys.
75438         (si_call_addr, si_syscall, si_arch): Define new macro.
75440 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
75442         [BZ #13717]
75443         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
75444         Change to 2.4.21 where previously 2.4.1.
75445         * sysdeps/unix/sysv/linux/configure: Regenerated.
75446         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
75447         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
75448         Linux kernel version.
75449         (__ASSUME_STD_AUXV): Remove.
75450         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
75451         kernel version.
75452         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
75453         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
75454         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
75455         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
75456         (__ASSUME_NETLINK_SUPPORT): Likewise.
75457         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
75458         (__no_netlink_support): Remove conditional definition.
75459         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
75460         Remove.
75461         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
75462         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
75463         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
75464         (if_nameindex_ioctl): Remove.
75465         (if_nameindex_netlink): Do not handle __no_netlink_support.
75466         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
75467         code.
75468         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
75469         Remove conditional code.
75470         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
75471         code.
75472         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
75473         unconditional.
75474         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
75475         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
75476         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
75477         Remove.
75478         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
75479         [!__ASSUME_STD_AUXV]: Remove conditional code.
75480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
75481         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
75482         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
75483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
75484         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
75485         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
75486         code.
75487         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
75488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
75489         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
75490         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
75491         conditional code.
75492         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
75493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
75494         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
75495         code.
75496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
75497         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
75498         conditional code.
75499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
75500         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
75501         code unconditional.
75502         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75503         conditional code.
75504         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
75505         unconditional.
75506         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75507         conditional code.
75508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
75509         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
75510         unconditional.
75511         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75512         conditional code.
75513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
75514         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
75515         code unconditional.
75516         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75517         conditional code.
75518         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
75519         unconditional.
75520         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75521         conditional code.
75522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
75523         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
75524         code unconditional.
75525         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75526         conditional code.
75527         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
75528         unconditional.
75529         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75530         conditional code.
75532 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
75534         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
75535         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
75536         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
75537         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
75538         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
75539         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
75540         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
75541         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
75542         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
75543         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
75544         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
75545         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
75546         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
75547         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
75548         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
75549         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
75550         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
75551         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
75552         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
75553         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
75554         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
75555         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
75556         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
75558 2012-07-25  Florian Weimer  <fweimer@redhat.com>
75560         * Versions.def: Add GLIBC_2.17.
75561         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
75562         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
75563         Introduce __libc_secure_getenv.
75564         * stdlib/Versions (2.17): Add secure_getenv
75565         (GLIBC_PRIVATE): Add __libc_secure_getenv.
75566         * stdlib/secure-getenv.c: Rename __secure_getenv to
75567         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
75568         symbol __secure_getenv for GLIBC_2.0.
75569         * stdlib/tst-secure-getenv.c: New.
75570         * stdlib/Makefile (tests): Add testcase.
75571         * manual/startup.texi (Environment Access): Document
75572         secure_getenv.
75573         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
75574         __libc_secure_getenv.
75575         * inet/ruserpass.c (ruserpass): Likewise.
75576         * malloc/mtrace.c (mtrace): Likewise.
75577         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
75578         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
75579         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
75580         * sysdeps/posix/tempname.c: Likewise.  Evaluate
75581         HAVE_SECURE_GETENV.
75582         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
75583         __secure_getenv to __libc_secure_getenv.
75584         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
75585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75586         Likewise.
75587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75588         Likewise.
75589         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
75590         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
75591         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
75592         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
75593         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
75594         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
75595         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
75597 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
75599         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
75600         (struct La_i86_retval): Likewise.
75601         (struct La_x86_64_regs): Likewise.
75602         (struct La_x86_64_retval): Likewise.
75603         (struct La_x32_regs): Likewise.
75604         (struct La_x32_retval): Likewise.
75605         (struct La_ppc32_regs): Likewise.
75606         (struct La_ppc32_retval): Likewise.
75607         (struct La_ppc64_regs): Likewise.
75608         (struct La_ppc64_retval): Likewise.
75609         (struct La_sh_regs): Likewise.
75610         (struct La_sh_retval): Likewise.
75611         (struct La_s390_32_regs): Likewise.
75612         (struct La_s390_32_retval): Likewise.
75613         (struct La_s390_64_regs): Likewise.
75614         (struct La_s390_64_retval): Likewise.
75615         (struct La_sparc32_regs): Likewise.
75616         (struct La_sparc32_retval): Likewise.
75617         (struct La_sparc64_regs): Likewise.
75618         (struct La_sparc64_retval): Likewise.
75619         (struct audit_ifaces): Remove architecture-specific pltenter and
75620         pltexit members.
75621         * sysdeps/i386/ldsodefs.h: New file.
75622         * sysdeps/powerpc/ldsodefs.h: Likewise.
75623         * sysdeps/s390/ldsodefs.h: Likewise.
75624         * sysdeps/sh/ldsodefs.h: Likewise.
75625         * sysdeps/sparc/ldsodefs.h: Likewise.
75626         * sysdeps/x86_64/ldsodefs.h: Likewise.
75628 2012-07-25  Marek Polacek  <polacek@redhat.com>
75630         [BZ #6808]
75631         * math/libm-test.inc (yn_test): Add another test.
75632         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
75633         to ERANGE when the result is +-Inf.
75634         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
75635         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
75636         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
75637         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
75639 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
75641         * conform/data/time.h-data (NULL): Use macro-constant.  Require
75642         equal to 0.
75643         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
75644         clock_t.
75645         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
75647 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
75649         * configure.in <sysdeps resolving>: Correct printing
75650         Implies_before.
75651         * configure: Regenerate.
75653 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
75655         * math/w_ilogb.c: Include <limits.h>.
75656         * math/w_ilogbl.c: Likewise.
75658 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
75660         * manual/lang.texi (__va_copy): Document primarily as ISO C99
75661         va_copy.  Document allowing for unavailable va_copy only as
75662         pre-C99 compatibility.
75663         * manual/string.texi (Copying and Concatenation): Use va_copy
75664         instead of __va_copy in concat example.
75666 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
75668         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
75669         (__sendto): Use create_address_port.  Initialize APORT and deallocate
75670         it if not null.
75672         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
75673         with O_NOLINK passed to __file_name_lookup.
75675         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
75676         with O_NOLINK passed to __file_name_lookup.
75678         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
75679         negative N or less than NGIDS.
75681         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
75682         type to string_t.  Set ERANGE as errno and return it if NAME is not big
75683         enough.  Use memcpy instead of strncpy.
75685 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
75687         * elf/Makefile (check-data): Remove.
75688         (localplt.data): New vpath directive.
75689         ($(objpfx)check-localplt.out): Use localplt.data from vpath
75690         instead of $(check-data).
75691         * scripts/data/localplt-generic.data: Move to ...
75692         * sysdeps/generic/localplt.data: ... here.
75693         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
75694         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
75695         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
75696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
75697         ... here.
75698         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
75699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
75700         ... here.
75701         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
75702         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
75703         ... here.
75704         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
75705         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
75706         ... here.
75707         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
75708         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
75709         ... here.
75710         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
75711         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
75712         ... here.
75714 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75716         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
75717         PPC32 and PPC64 files.
75718         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
75719         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
75721 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75723         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
75724         __makecontext_ret to ...
75725         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
75726         ... here and call exit if uc_link is NULL.  New file.
75727         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
75728         __makecontext_ret.S.
75729         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
75730         __makecontext_ret to ...
75731         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
75732         ... here and call exit if uc_link is NULL.  New file.
75733         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
75734         __makecontext_ret.S.
75736 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75738         * elf/elf.h (R_390_IRELATIVE): New definition.
75739         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
75740         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
75741         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
75742         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
75743         (elf_machine_lazy_rel): Likewise.
75744         * sysdeps/s390/dl-irel.h: New file.
75745         * sysdeps/s390/s390-64/memcpy.S: New asm code.
75746         * sysdeps/s390/s390-64/memset.S: New asm code.
75747         * sysdeps/s390/s390-64/memcmp.S: New asm code.
75748         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
75749         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
75750         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
75751         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
75752         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
75753         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
75754         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
75755         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
75756         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
75757         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
75758         * sysdeps/s390/s390-32/memcpy.S: New asm code.
75759         * sysdeps/s390/s390-32/memset.S: New asm code.
75760         * sysdeps/s390/s390-32/memcmp.S: New asm code.
75762 2012-07-17  Marek Polacek  <polacek@redhat.com>
75764         [BZ #14349]
75765         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
75766         * sysdeps/s390/s390-64/configure.in: Likewise.
75767         * sysdeps/sparc/configure.in: Likewise.
75768         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
75769         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
75770         * sysdeps/i386/configure.in: Likewise.
75771         * sysdeps/x86_64/configure.in: Likewise.
75772         * sysdeps/sh/configure.in: Likewise.
75773         * sysdeps/s390/s390-32/configure: Regenerated.
75774         * sysdeps/s390/s390-64/configure: Likewise.
75775         * sysdeps/x86_64/configure: Likewise.
75776         * sysdeps/sh/configure: Likewise.
75777         * sysdeps/powerpc/powerpc64/configure: Likewise.
75778         * sysdeps/powerpc/powerpc32/configure: Likewise.
75779         * sysdeps/sparc/configure: Likewise.
75780         * sysdeps/i386/configure: Likewise.
75782         * elf/dl-open.c: Comment fixes.
75784 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
75786         * Makefile [CXX] (check-data): Remove.
75787         [CXX] (c++-types.data): New vpath directive.
75788         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
75789         vpath.  Do not allow for C++ type data being missing.
75790         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
75791         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
75792         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
75793         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
75794         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
75795         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
75796         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
75797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
75798         ... here.
75799         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
75800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
75801         ... here.
75802         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
75803         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
75804         ... here.
75805         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
75806         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
75807         ... here.
75808         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
75809         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
75810         ... here.
75811         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
75812         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
75813         ... here.
75814         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
75815         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
75816         ... here.
75817         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
75818         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
75820         * elf/tls-macros.h (TLS_LE): Move architecture-specific
75821         definitions to architecture-specific files.
75822         (TLS_IE): Likewise.
75823         (TLS_LD): Likewise.
75824         (TLS_GD): Likewise.
75825         * sysdeps/i386/tls-macros.h: New file.
75826         * sysdeps/powerpc/tls-macros.h: Likewise.
75827         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
75828         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
75829         * sysdeps/sh/tls-macros.h: Likewise.
75830         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
75831         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
75832         * sysdeps/x86_64/tls-macros.h: Likewise.
75834 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
75836         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
75837         zero value for regular exit case.
75839         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
75840         (__start_context): Preserve zero value for regular exit case.
75842 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
75843             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75845         * manual/setjmp.texi (setcontext): Clarify normal process
75846         termination when uc_link is the null pointer.
75847         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
75848         exit call.
75850 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
75852         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
75853         preprocessor.  Test for each exception mask separately.
75855 2012-07-16  Andreas Jaeger  <aj@suse.de>
75857         * po/ru.po: Update from translation team.
75859 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
75861         * conform/data/string.h-data (NULL): Use macro-constant.  Require
75862         equal to 0.
75863         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
75864         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
75865         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
75866         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
75867         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75869 2012-07-13  Andreas Jaeger  <aj@suse.de>
75871         * po/fr.po: Update from translation team.
75873 2012-07-12  Marek Polacek  <polacek@redhat.com>
75875         [BZ #14173]
75876         * math/libm-test.inc (yn_test): Add test for BZ #14173.
75877         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
75878         loop condition.
75880 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
75882         [BZ #13717]
75883         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
75884         Change to 2.4.1 where previously 2.4.0.
75885         * sysdeps/unix/sysv/linux/configure: Regenerated.
75886         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
75887         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
75888         version.
75889         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
75890         (__ASSUME_AT_CLKTCK): Remove.
75891         (__ASSUME_AT_PAGESIZE): Likewise.
75892         (__ASSUME_AT_XID): Likewise.
75893         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
75894         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
75895         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
75896         unconditionally.
75897         (HAVE_AUX_PAGESIZE): Likewise.
75898         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
75899         [__ASSUME_AT_CLKTCK]: Make code unconditional.
75900         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
75902 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
75904         [BZ #14307]
75905         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
75906         the temporary buffer used to invoke __gethostbyname2_r,
75907         __gethostbyaddr_r and gethostbyname4_r to make room for struct
75908         host_data / struct gaih_addrtuple.
75909         * resolv/nss_dns/dns-host.c (global scope): Move definition of
75910         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
75911         header file nss/nsswitch.h.
75912         * nss/nsswitch.h (global scope): Add definition of implementation
75913         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
75914         resolv/nss_dns/dns-host.c).
75916 2012-07-11  Andreas Jaeger  <aj@suse.de>
75918         * po/fr.po: Update from translation team.
75920         * po/sv.po: Update from translation team
75921         * po/fr.po: Another update from translation team.
75923 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75925         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
75926         for subnormals or multiply small sinh result by itself.
75927         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
75928         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75930 2012-07-11  David S. Miller  <davem@davemloft.net>
75932         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75934 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
75936         [BZ #14347]
75937         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
75938         (INTERNAL_MARK): Shift it here.
75940 2012-07-10  Marek Polacek  <polacek@redhat.com>
75942         [BZ #14151]
75943         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
75944         libc_cv_asm_global_directive with .globl.
75945         * configure: Regenerated.
75946         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
75947         with .globl.
75948         * sysdeps/i386/configure: Regenerated.
75949         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
75950         with .globl.
75951         * sysdeps/x86_64/configure: Regenerated.
75952         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
75953         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
75954         * elf/tst-unique2mod2.c: Likewise.
75955         * elf/tst-unique2mod1.c: Likewise.
75956         * elf/tst-unique1mod2.c: Likewise.
75957         * elf/tst-unique1mod1.c: Likewise.
75958         * sysdeps/s390/s390-32/sysdep.h: Likewise.
75959         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
75960         * sysdeps/s390/s390-64/sysdep.h: Likewise.
75961         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
75962         * sysdeps/mach/sysdep.h: Likewise.
75963         * sysdeps/i386/sysdep.h: Likewise.
75964         * sysdeps/i386/i386-mcount.S: Likewise.
75965         * sysdeps/x86_64/_mcount.S: Likewise.
75966         * sysdeps/x86_64/sysdep.h: Likewise.
75967         * sysdeps/sh/_mcount.S: Likewise.
75968         * sysdeps/sh/sysdep.h: Likewise.
75969         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
75970         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
75971         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
75972         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
75973         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
75974         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
75975         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
75976         * locale/localeinfo.h: Likewise.
75977         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
75978         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
75980 2012-07-09  Roland McGrath  <roland@hack.frob.com>
75982         [BZ #14336]
75983         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
75984         system".
75985         * manual/message.texi (The Uniforum approach): Likewise.
75986         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
75987         (glibc iconv Implementation): Likewise.
75989 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
75991         [BZ #14337]
75992         * math/s_clog.c (__clog): Avoid scaling a value down where that
75993         could result in underflow.
75994         * math/s_clog10.c (__clog10): Likewise.
75995         * math/s_clog10f.c (__clog10f): Likewise.
75996         * math/s_clog10l.c (__clog10l): Likewise.
75997         * math/s_clogf.c (__clogf): Likewise.
75998         * math/s_clogl.c (__clogl): Likewise.
75999         * math/libm-test.inc (clog_test): Add more tests.
76000         (clog10_test): Likewise.
76001         * sysdeps/i386/fpu/libm-test-ulps: Update.
76002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76004 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
76006         [BZ #14283]
76007         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
76008         by 7 not 8 to examine high bit of fractional part.
76010         [BZ #14042]
76011         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
76012         for call to __mcount_internal.
76013         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
76014         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
76015         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
76017 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
76019         [BZ #14154]
76020         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
76021         approximation for values within 0x1p-13f of an odd multiple of
76022         pi/4.
76023         * math/libm-test.inc (tan_test): Do not allow spurious underflow
76024         exception.  Add more tests.
76025         * sysdeps/i386/fpu/libm-test-ulps: Update.
76027         [BZ #6778]
76028         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
76029         inputs and return -1 for them.  Do not check for +Inf in case not
76030         reachable for +Inf.
76031         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
76032         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
76033         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
76034         and return -1 for them.  Do not check for +Inf in case not
76035         reachable for +Inf.
76036         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
76037         define.
76038         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
76039         and return -1 for them.  Do not check for +Inf in case not
76040         reachable for +Inf.
76041         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
76042         spurious underflow.
76043         * sysdeps/i386/fpu/libm-test-ulps: Update.
76044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76046 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
76048         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
76050 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
76052         [BZ #14157]
76053         [BZ #14331]
76054         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
76055         could result in spurious underflow.  Scale down values above
76056         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
76057         * math/s_csqrtf.c (__csqrtf): Likewise.
76058         * math/s_csqrtl.c (__csqrtl): Likewise.
76059         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
76060         spurious underflow.
76061         * sysdeps/i386/fpu/libm-test-ulps: Update.
76062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76064 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
76066         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
76067         xopen-msg.sed.
76068         * catgets/xopen-msg.awk: New file.
76069         * catgets/xopen-msg.sed: Removed.
76071         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
76072         po2text.sed.
76073         * intl/po2test.awk: New file.
76074         * intl/po2test.sed: Removed.
76076 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
76078         [BZ #14328]
76079         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
76080         or multiply small sinh result by itself.
76081         * math/s_ctanf.c (__ctanf): Likewise.
76082         * math/s_ctanh.c (__ctanh): Likewise.
76083         * math/s_ctanhf.c (__ctanhf): Likewise.
76084         * math/s_ctanhl.c (__ctanhl): Likewise.
76085         * math/s_ctanl.c (__ctanl): Likewise.
76086         * math/libm-test.inc (ctan_test_tonearest): New function.
76087         (ctan_test_towardzero): Likewise.
76088         (ctan_test_downward): Likewise.
76089         (ctan_test_upward): Likewise.
76090         (ctanh_test_tonearest): Likewise.
76091         (ctanh_test_towardzero): Likewise.
76092         (ctanh_test_downward): Likewise.
76093         (ctanh_test_upward): Likewise.
76094         (main): Call these new functions.
76095         * sysdeps/i386/fpu/libm-test-ulps: Update.
76096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76098 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
76100         * .gitignore: Delete /ports entry.
76102 2012-07-03  Andreas Jaeger  <aj@suse.de>
76104         * po/bg.po: Update from translation team.
76105         * po/cs.po: Likewise.
76106         * po/de.po: Likewise.
76107         * po/hr.po: Likewise.
76108         * po/nl.pl: Likewise.
76109         * po/pl.po: Likewise.
76110         * po/vi.po: Likewise.
76112 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
76114         * Makeconfig [!+link] (+link-before-libc): New variable.
76115         [!+link] (+link-after-libc): Likewise.
76116         [!+link] (+link-tests): Likewise.
76117         [!+link] (+link): Define in terms of $(+link-before-libc) and
76118         $(+link-after-libc).
76119         [!+link-static] (+link-static-before-libc): New variable.
76120         [!+link-static] (+link-static-after-libc): Likewise.
76121         [!+link-static] (+link-static-tests): Likewise.
76122         [!+link-static] (+link-static): Define in terms of
76123         $(+link-static-before-libc) and $(+link-static-after-libc).
76124         [build-shared] (link-libc-before-gnulib): New variable.
76125         [build-shared] (link-libc-tests): Likewise.
76126         [build-shared] (link-libc): Define in terms of
76127         $(link-libc-before-gnulib).
76128         [!build-shared] (link-libc-tests): New variable.
76129         (link-libc-static-tests): New variable.
76130         [!gnulib] (gnulib-arch): New variable.
76131         [!gnulib] (gnulib-tests): Likewise.
76132         [!gnulib] (static-gnulib-arch): Likewise.
76133         [!gnulib] (static-gnulib-tests): Likewise.
76134         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
76135         Define with "=" instead of ":=".
76136         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
76137         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
76138         * Rules (binaries-all-notests): New variable.
76139         (binaries-all-tests): Likewise.
76140         (binaries-static-notests): Likewise.
76141         (binaries-static-tests): Likewise.
76142         (binaries-all): Define using $(binaries-all-notests) and
76143         $(binaries-all-tests).
76144         (binaries-static): Define using $(binaries-static-notests) and
76145         $(binaries-static-tests).
76146         (binaries-shared-tests): New variable.
76147         (binaries-shared-notests): Likewise.
76148         (binaries-shared): Remove variable.
76149         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
76150         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
76151         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
76152         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
76153         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
76154         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
76155         * elf/Makefile (sln-modules): New variable.
76156         (extra-objs): Add $(sln-modules:=.o).
76157         (ldconfig-modules): Add static-stubs.
76158         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
76159         * elf/static-stubs.c: New file.
76161         [BZ #14283]
76162         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
76163         by 7 not 8 to examine high bit of fractional part.  Use volatile
76164         variables when splitting into final array of floats if
76165         __FLT_EVAL_METHOD__ != 0.
76166         * math/libm-test.inc (cos_test): Add another test.
76167         (sin_test): Likewise.
76168         * sysdeps/i386/fpu/libm-test-ulps: Update.
76170         [BZ #14273]
76171         * math/libm-test.inc (cosh_test): Add more tests.
76173         * version.h (RELEASE): Set to "development".
76174         (VERSION): Set to "2.16.90".
76176 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
76178         * NEWS: Update copyright. Remove last-updated date.
76179         Mention math library bug fixes and timezone data changes.
76180         * README: Mention GNU/Hurd, x32, and HPPA support status.
76182 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
76184         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
76186 2012-06-27  Andreas Jaeger  <aj@suse.de>
76188         * manual/contrib.texi (Contributors): Add Samuel Thibault.
76190 2012-06-25  Andreas Jaeger  <aj@suse.de>
76192         * sysdeps/s390/fpu/libm-test-ulps: Update.
76194 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
76195             Thomas Schwinge  <thomas@codesourcery.com>
76197         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
76198         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
76199         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
76200         fanotify_mark.
76202 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
76204         * sysdeps/mach/start.c: Remove file.
76205         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
76206         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
76207         * sysdeps/sh/init-first.c: Likewise.
76209         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
76210         registers for frame unwinding purposes, add CFI directives.
76211         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
76212         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
76213         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
76214         Likewise.
76216         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
76217         __fortify_fail returning.
76218         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
76220         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
76221         sysdeps/sh/____longjmp_chk.S.
76222         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
76223         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
76224         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
76225         (gen-as-const-headers): Append sigaltstack-offsets.sym.
76227         * sysdeps/sh/abort-instr.h: New file.
76228         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
76229         process in case exit returns.
76231         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
76232         initialize the GOT register before use.
76234         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
76235         calculation of ARGC > 4.
76237         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
76238         meaningful names to some local labels.
76240 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76241             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
76243         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
76244         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
76245         (__arch_compare_and_exchange_val_16_acq): Likewise.
76246         (__arch_compare_and_exchange_val_32_acq): Likewise.
76247         (atomic_exchange_and_add): Fix gUSA sequence.
76248         (atomic_add): Likewise.
76249         (atomic_add_negative): Likewise.
76250         (atomic_add_zero): Likewise.
76251         (atomic_bit_test_set): Likewise.
76253 2012-06-22  Andreas Schwab  <schwab@redhat.com>
76255         [BZ #13579]
76256         * include/link.h (struct link_map): Add l_free_initfini.
76257         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
76258         l_initfini.
76259         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
76260         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
76261         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
76262         set.
76264 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
76266         * configure.in: Use AC_LANG_SOURCE.
76267         * configure: Regenerate.
76269 2012-06-22  Roland McGrath  <roland@hack.frob.com>
76271         * configure.in (libc_cv_localstatedir): New substituted variable.
76272         * configure: Regenerated.
76273         * config.make.in (localstatedir): New variable, substituted from
76274         libc_cv_localstatedir.
76275         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
76276         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
76277         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
76278         * sysdeps/gnu/configure: Regenerated.
76280 2012-06-21  Jeff Law  <law@redhat.com>
76282         [BZ #14277]
76283         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
76284         free.  Simplify list management for _LIBC case.
76286 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
76288         [BZ #14273]
76289         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
76290         Clear sign bit of 64-bit integer value before comparing against
76291         overflow value.
76293         * sysdeps/mach/configure: Regenerated.
76295 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
76297         [BZ #14278]
76298         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
76300 2012-06-21  Jeff Law  <law@redhat.com>
76302         [BZ #13882]
76303         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
76304         uint16_t for elements in the "seen" array to avoid char overflows.
76305         * elf/dl-fini.c (_dl_sort_fini): Likewise.
76306         * elf/dl-open.c (dl_open_worker): Likewise.
76308 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
76310         * scripts/list-sources.sh: Scan PORTS for translations.
76311         * po/libc.pot: Regenerated.
76313 2012-06-21  Andreas Jaeger  <aj@suse.de>
76315         [BZ #12194]
76316         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
76317         warning.
76318         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
76319         * bits/byteswap-16.h (__bswap_16): Likewise.
76320         * bits/byteswap.h (__bswap_constant_16): Likewise.
76322 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
76324         [BZ #14117]
76325         * sysdeps/i386/fpu_control.h: Removed.
76326         * sysdeps/x86_64/fpu_control.h: Moved to ...
76327         * sysdeps/x86/fpu_control.h: Here.
76329         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
76330         (_FPU_SETCW): Likewise.
76332 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
76334         [BZ #14117]
76335         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
76336         * sysdeps/x86/fpu/bits/mathinline.h: This.
76337         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
76339         [BZ #14050]
76340         [BZ #14117]
76341         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
76342         functions if __x86_64__ is defined.
76344 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
76346         * string/endian.h: Add !__ASSEMBLER__ condition for including
76347         conversion interfaces.
76349 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
76351         [BZ #14241]
76352         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
76353         of ABS(x) in calculating zero to negative powers other than odd
76354         integers.
76355         * math/libm-test.inc (pow_test): Add more tests.
76357 2012-06-15  Andreas Jaeger  <aj@suse.de>
76359         * manual/contrib.texi (Contributors): Update entry of Liubov
76360         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
76361         Machado Filho.
76363 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
76365         * string/string.h: Add __wur to GNU version of strerror_r.
76367 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
76369         [BZ #14229]
76370         * string/Makefile (tests): Add tst-strtok_r.
76371         * string/tst-strtok_r.c: New file.
76372         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
76373         RAX_LP/RDX_LP on SAVE_PTR.
76375 2012-06-14  Roland McGrath  <roland@hack.frob.com>
76377         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
76379 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
76381         * libm_test.inc (csqrt_test): Allow more spurious underflow
76382         exceptions.
76383         (j0_test): Likewise.
76384         (j1_test): Likewise.
76385         (y0_test): Likewise.
76386         (y1_test): Likewise.
76388 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
76390         * po/Makefile (libc.pot): Use UTF-8 charset.
76392 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
76394         [BZ #14210]
76395         Suppress sign-conversion warning from FD_SET.
76396         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
76397         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
76398         not unsigned long int.
76399         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
76401 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
76403         [BZ #14050]
76404         [BZ #14117]
76405         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
76406         __extern_always_inline instead of __extern_inline.
76407         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
76408         (__signbit): Likewise.
76409         (__signbitl): Support C++ namespace.
76410         (lrintf): New inline function.
76411         (lrint): Likewise.
76412         (llrintf): Likewise.
76413         (llrint): Likewise.
76414         (fmaxf): Likewise.
76415         (fmax): Likewise.
76416         (fminf): Likewise.
76417         (fmin): Likewise.
76418         (rint): Likewise.
76419         (rintf): Likewise.
76420         (ceil): Likewise.
76421         (ceilf): Likewise.
76422         (floor): Likewise.
76423         (floorf): Likewise.
76424         (nearbyint): Likewise.
76425         (nearbyintf): Likewise.
76427 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
76429         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
76430         non-default versions.
76432 2012-06-11  Roland McGrath  <roland@hack.frob.com>
76434         [BZ #14218]
76435         * manual/argp.texi (Argp): Reword argp_parse description slightly.
76437 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
76439         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
76440         (FE_UPWARD, FE_DOWNWARD): Don't define.
76441         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
76442         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
76444         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
76445         reading it.
76446         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
76447         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
76449 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
76451         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
76452         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
76453         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
76454         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
76456 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
76458         [BZ #14117]
76459         * sysdeps/i386/fpu/bits/fenv.h: Removed.
76460         * sysdeps/i386/fpu/Implies: New file.
76461         * sysdeps/x86_64/fpu/Implies: Likewise.
76462         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
76463         * sysdeps/x86/fpu/bits/fenv.h: This.
76465         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
76466         __SSE_MATH__.
76468 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
76470         [BZ #14134]
76471         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
76472         character 0xffff that matches the last element of the
76473         conversion table.
76475 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76477         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
76478         fmodl commit.
76480 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76482         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
76483         values higher than 25.6283.
76485 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76487         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
76488         subnormal exponent extraction and add some __builtin_expect.
76489         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
76490         Fix for subnormal mantissa calculation.
76492 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
76494         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
76495         cpu2 is -1 and errno is not ENOSYS.
76497 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
76499         [BZ #14117]
76500         * sysdeps/i386/i486/bits/string.h: Renamed to ...
76501         * sysdeps/x86/bits/string.h: This.
76502         * sysdeps/x86_64/bits/string.h: Removed.
76504         * sysdeps/i386/i486/bits/string.h: Define inline functions only
76505         if not compiling for x86-64, but compiling for >= i486.
76507         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
76508         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
76510         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
76511         New macro from Linux kernel 3.4.0.
76512         (FP_XSTATE_MAGIC2): Likewise.
76513         (FP_XSTATE_MAGIC2_SIZE): Likewise.
76514         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
76515         (struct _fpx_sw_bytes): New struct.
76516         (struct _xsave_hdr): Likewise.
76517         (struct _ymmh_state): Likewise.
76518         (struct _xstate): Likewise.
76520         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
76521         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
76522         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
76523         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
76524         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
76525         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
76527         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
76528         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
76529         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
76530         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
76531         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
76532         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
76534 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
76536         [BZ #13743]
76537         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
76538         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
76539         (sysdep_headers): Include sys/platform/ppc.h.
76540         * sysdeps/powerpc/test-gettimebase.c: Test for
76541         __ppc_get_timebase() to catch future ISA opcode/insn changes.
76542         * manual/Makefile (appendices): Include platform.texi.
76543         * manual/contrib.texi (Contributors): Update @node pointers.
76544         * manual/maint.texi (Maintenance): Likewise.
76545         (Platform): New node.
76546         * manual/platform.texi: New file.  Document the new features.
76548 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
76549             Jakub Jelinek  <jakub@redhat.com>
76551         [BZ #14188]
76552         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
76553         where __builtin_expect is unavailable.
76555 2012-06-03  David S. Miller  <davem@davemloft.net>
76557         * stdlib/longlong.h: Updated from GCC.
76559 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
76561         [BZ #14042]
76562         * sysdeps/powerpc/powerpc32/mcount.c: New file.
76563         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
76564         __mcount_internal.
76565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
76566         (GLIBC_2.16): Likewise.
76568 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
76570         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
76572 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
76574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
76575         (default-abi): New variable.
76576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
76577         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
76578         variable.
76579         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
76580         Likewise.
76581         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
76582         Likewise.
76583         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
76584         Likewise.
76586         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
76587         definition.  Document in comment.
76589 2012-06-01  David S. Miller  <davem@davemloft.net>
76591         * stdlib/longlong.h: Updated from GCC.
76593 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
76595         [BZ #14117]
76596         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
76597         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
76598         sys/debugreg.h sys/io.h here.
76599         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
76600         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
76601         sys/io.h.
76602         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
76603         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
76604         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
76605         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
76606         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
76607         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
76609         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
76610         Define only if __x86_64__ is defined.
76612 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
76614         [BZ #14048]
76615         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
76616         Use int64_t for variable i.
76617         * math/libm-test.inc (fmod_test): Add more tests.
76619         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
76620         z computation is not scheduled after fetestexcept.
76621         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
76622         Use math_force_eval instead of asm to ensure calculation scheduled
76623         before exception test.
76624         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
76625         Ensure a1 + u.d computation is not scheduled after fetestexcept.
76627 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
76629         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
76630         computation is not scheduled after fetestexcept.
76632 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
76634         [BZ #14117]
76635         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
76636         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
76638 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76640         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
76641         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
76643 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
76645         [BZ #14117]
76646         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
76647         <bits/wordsize.h>.
76648         (__WCHAR_MIN): Support __WORDSIZE == 64.
76649         (__WCHAR_MAX): Likewise.
76651         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
76652         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
76654         [BZ #14183]
76655         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
76656         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
76658         [BZ #14117]
76659         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
76660         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
76662         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
76663         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
76665         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
76666         Defined to 1 if __x86_64__ isn't defined.
76667         (_STAT_VER_LINUX_OLD): New.
76668         (st_atime): Remove duplicate.
76669         (st_mtime): Likewise.
76670         (st_ctime): Likewise.
76672 2012-05-31  David S. Miller  <davem@davemloft.net>
76674         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
76675         entries.
76677 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
76679         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
76680         gen-libm-test.pl.
76682         [BZ #14132]
76683         * elf/dl-reloc.c: Include <_itoa.h>.
76684         (_dl_reloc_bad_type): Remove use of INTUSE.
76685         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
76686         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
76687         * stdio-common/psiginfo.c (psiginfo): Likewise.
76688         * stdio-common/psignal.c (psignal): Likewise.
76689         * string/strsignal.c (strsignal): Likewise.
76690         * include/signal.h (_sys_siglist): Declare hidden proto.
76691         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
76692         INTVARDEF with libc_hidden_data_def.
76693         * stdio-common/itoa-udigits.c: Likewise.
76694         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
76695         (_itoa_lower_digits_internal): Remove declaration.
76696         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
76697         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
76698         (_sys_sigabbrev_internal): Remove aliases.
76699         (_sys_siglist): Define hidden alias.
76701 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
76703         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76704         bits/sysctl.h.
76706 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
76708         [BZ #14117]
76709         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
76710         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
76712         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
76713         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
76714         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
76715         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
76716         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
76717         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
76719         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
76720         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
76721         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
76723         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
76724         with __addr.
76725         (insw): Likewise.
76726         (insl): Likewise.
76727         (outsb): Likewise.
76728         (outsw): Likewise.
76729         (outsl): Likewise.
76731         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
76732         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
76733         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
76735         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
76736         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
76737         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
76738         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
76739         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
76740         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
76742         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
76743         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
76745         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
76746         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
76748         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
76749         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
76750         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
76752         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
76753         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
76754         to ...
76755         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
76757         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
76758         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
76759         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
76761         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
76762         for x86-64.
76763         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
76765 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
76767         * math/math.h (M_El): Use two more decimal places.
76768         (M_LOG2El): Likewise.
76769         (M_LOG10El): Likewise.
76770         (M_LN2l): Likewise.
76771         (M_LN10l): Likewise.
76772         (M_PIl): Likewise.
76773         (M_PI_2l): Likewise.
76774         (M_PI_4l): Likewise.
76775         (M_1_PIl): Likewise.
76776         (M_2_PIl): Likewise.
76777         (M_2_SQRTPIl): Likewise.
76778         (M_SQRT2l): Likewise.
76779         (M_SQRT1_2l): Likewise.
76781 2012-05-31  David S. Miller  <davem@davemloft.net>
76783         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
76784         values between float registers.
76785         * sysdeps/sparc/sparc64/memset.S: Likewise.
76786         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
76788 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
76790         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
76791         -D_FORTIFY_SOURCE=1.
76792         (CPPFLAGS-tst-longjmp_chk.c): Define.
76793         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
76794         (CPPFLAGS-tst-longjmp_chk2.c): Define.
76795         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
76796         CFLAGS-tst-wchar-h.c.
76798 2012-05-31  Marek Polacek  <polacek@redhat.com>
76800         [BZ #14132]
76801         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
76802         __endmntent_internal): Remove declaration.
76803         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
76804         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
76805         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
76807 2012-05-30  David S. Miller  <davem@davemloft.net>
76809         * sysdeps/sparc/sparc32/soft-fp/q_util.c
76810         (___Q_simulate_exceptions): Use real FP ops rather than writing
76811         into the %fsr.
76812         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
76813         Likewise.
76815 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
76817         [BZ #14117]
76818         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
76819         * sysdeps/x86/bits/xtitypes.h: This.
76821         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
76822         * sysdeps/x86/bits/wordsize.h: This.
76824         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
76825         * sysdeps/x86/bits/huge_vall.h: This.
76827         * sysdeps/i386/bits/select.h: Removed.
76828         * sysdeps/x86_64/bits/select.h: Renamed to ...
76829         * sysdeps/x86/bits/select.h: This.
76831         * sysdeps/i386/bits/setjmp.h: Removed.
76832         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
76833         * sysdeps/x86/bits/setjmp.h: This.
76835         * sysdeps/i386/bits/mathdef.h: Removed.
76836         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
76837         * sysdeps/x86/bits/mathdef.h: This.
76839 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
76841         [BZ #14132]
76842         * include/sys/socket.h (__connect_internal)
76843         (__libc_sa_len_internal): Remove declaration.
76844         (__connect, __libc_sa_len): Declare hidden_proto.
76845         (SA_LEN): Remove use of INTUSE.
76846         * socket/connect.c: Add libc_hidden_def.
76847         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
76848         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
76849         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
76850         alias.
76851         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
76852         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
76853         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
76854         of adding _internal alias.
76856 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
76858         [BZ #14117]
76859         * sysdeps/i386/bits/link.h: Removed.
76860         * sysdeps/i386/bits/linkmap.h: Likewise.
76861         * sysdeps/x86_64/bits/link.h: Renamed to ...
76862         * sysdeps/x86/bits/link.h: This.
76863         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
76864         * sysdeps/x86/bits/linkmap.h: This.
76866         * sysdeps/i386/bits/endian.h: Removed.
76867         * sysdeps/x86_64/bits/endian.h: Renamed to ...
76868         * sysdeps/x86/bits/endian.h: This.
76870         * sysdeps/i386/bits/byteswap.h: Removed.
76871         * sysdeps/i386/bits/byteswap-16.h: Likewise.
76872         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
76873         * sysdeps/x86/bits/byteswap.h: This.
76874         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
76875         * sysdeps/x86/bits/byteswap-16.h: This.
76876         * sysdeps/i386/Implies: Add x86.
76877         * sysdeps/x86_64/Implies: Likewise.
76879 2012-05-30  David S. Miller  <davem@davemloft.net>
76881         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
76882         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
76883         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
76884         (FP_TRAPPING_EXCEPTIONS): Define.
76885         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
76886         (FP_TRAPPING_EXCEPTIONS): Define.
76887         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
76888         subnormals only when inexact has been signalled or underflow
76889         exceptions are enabled.
76890         (_FP_PACK_CANONICAL): Likewise.
76892 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
76894         [BZ #14183]
76895         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
76896         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
76898 2012-05-30  Richard Henderson  <rth@twiddle.net>
76900         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
76901         with #ifndef NOT_IN_libc.
76903         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
76904         marked to avoid plt entry.
76906 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
76908         [BZ #14112]
76909         * Makeconfig (default-abi): New macro.
76910         (abi-includes): Likewise.
76911         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
76912         $(abi-$(default-abi)-lib-soname) for soname if defined.
76913         ($(common-objpfx)gnu/lib-names.stmp): Generate from
76914         abi-variants.
76915         * Makefile (installed-stubs): Likewise.
76916         * include/stubs-biarch.h: Removed.
76917         * scripts/lib-names.awk: Only handle one library at a time.
76918         * scripts/soversions.awk: Remove WORDSIZE support.
76919         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
76920         entries.
76921         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
76922         Removed.
76923         (syscall-list-default-condition): Likewise.
76924         (syscall-list-default-condition): Likewise.
76925         (syscall-list-includes): Likewise.
76926         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
76927         syscall-list-* with abi-*.  Handle undefined abi-variants.
76928         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
76929         * sysdeps/unix/sysv/linux/i386/Implies: New file.
76930         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
76931         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
76932         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
76933         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
76934         Removed.
76935         (syscall-list-32-options): Likewise.
76936         (syscall-list-32-condition): Likewise.
76937         (syscall-list-64-options): Likewise.
76938         (syscall-list-64-condition): Likewise.
76939         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
76940         macro.
76941         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
76942         Renamed to ...
76943         (abi-*): This.
76944         (abi-64-ld-soname): New macro.
76945         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
76946         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
76947         Renamed to ...
76948         (abi-*): This.
76949         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
76950         * sysdeps/x86_64/x32/shlib-versions: Likewise.
76952 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
76954         * sysdeps/unix/sysv/linux/kernel-features.h
76955         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
76956         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
76957         include <kernel-features.h>.
76958         [!__NR_ftruncate64]: Remove conditional code.
76959         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76960         [__NR_ftruncate64]: Make code unconditional.
76961         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76962         * sysdeps/unix/sysv/linux/truncate64.c: Do not
76963         include <kernel-features.h>.
76964         [!__NR_ftruncate64]: Remove conditional code.
76965         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76966         [__NR_ftruncate64]: Make code unconditional.
76967         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
76969         include <kernel-features.h>.
76970         [!__NR_ftruncate64]: Remove conditional code.
76971         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76972         [__NR_ftruncate64]: Make code unconditional.
76973         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
76975         include <kernel-features.h>.
76976         [!__NR_ftruncate64]: Remove conditional code.
76977         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76978         [__NR_ftruncate64]: Make code unconditional.
76979         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76981         * configure.in (libc_cv_fpie): Weaken to a compile test using
76982         LIBC_TRY_CC_OPTION.
76983         * configure: Regenerated.
76985 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76987         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
76988         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
76989         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
76990         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
76991         Refreshed.
76992         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
76993         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
76994         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
76995         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
76996         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
76997         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
76998         Refreshed.
77000 2012-05-27  David S. Miller  <davem@davemloft.net>
77002         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
77003         (___Q_zero): New.
77004         (__Q_simulate_exceptions): Return void.  Change to simulate
77005         exceptions by writing into the %fsr.
77006         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
77007         (__Qp_handle_exceptions): Likewise.
77008         (numbers): Delete.
77009         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
77010         __Qp_handle_exceptions.
77011         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
77012         __Qp_handle_exceptions.
77013         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
77014         as unused and give dummy FP_RND_NEAREST initializer.
77015         (FP_INHIBIT_RESULTS): Define.
77016         (___Q_simulate_exceptions): Update declaration.
77017         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
77018         formatting.
77019         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
77020         as unused and give dummy FP_RND_NEAREST initializer.
77021         (__Qp_handle_exceptions): Update declaration.
77022         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
77023         formatting.
77025 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
77027         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
77028         the temporary FPU control word.
77029         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
77030         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
77031         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
77032         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
77033         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
77034         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
77035         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
77036         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
77037         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
77038         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
77039         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
77041 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
77043         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
77044         fields.
77046 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
77048         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
77049         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
77050         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
77051         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
77052         Likewise.
77053         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
77054         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
77055         Likewise.
77057 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
77059         * po/h.po: Update from translation team.
77061 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
77063         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
77065         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
77066         handling of denormals.
77067         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
77068         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
77069         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
77070         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
77071         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
77072         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
77073         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
77074         Likewise.
77076 2012-05-26  Marek Polacek  <polacek@redhat.com>
77078         [BZ #14152]
77079         * math/libm-test.inc (fma_test): Don't always expect underflow
77080         exception.
77082 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
77084         [BZ #12416]
77085         * elf/tst-execstack.c: Include stackinfo.h.
77086         (do_test): Adjust test case to ensure that pthread_getattr_np
77087         behaviour remains the same after marking stack executable.
77089 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
77091         * sysdeps/unix/sysv/linux/kernel-features.h
77092         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
77093         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
77094         kernel-features.h.
77095         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
77096         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
77097         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
77098         kernel-features.h.
77099         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
77100         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
77102 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
77104         * configure.in: Define the default includes to being none.
77105         * configure: Regenerated.
77107 2012-05-25  Roland McGrath  <roland@hack.frob.com>
77109         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
77110         * sysdeps/x86_64/setjmp.S: Likewise.
77111         * sysdeps/i386/bsd-setjmp.S: Likewise.
77112         * sysdeps/i386/bsd-_setjmp.S: Likewise.
77113         * sysdeps/i386/setjmp.S: Likewise.
77114         * sysdeps/i386/__longjmp.S: Likewise.
77115         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
77116         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
77118         * include/stap-probe.h: New file.
77119         * configure.in: Handle --enable-systemtap.
77120         * configure: Regenerated.
77121         * config.h.in (USE_STAP_PROBE): New #undef.
77122         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
77123         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
77124         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
77126 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
77128         [BZ #13717]
77129         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
77130         to 2.4.0 where earlier.
77131         * sysdeps/unix/sysv/linux/configure: Regenerated.
77132         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
77133         <kernel-features.h>.
77134         [__ASSUME_32BITUIDS]: Make code unconditional.
77135         [!__ASSUME_32BITUIDS]: Remove conditional code.
77136         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
77137         <kernel-features.h>.
77138         [__ASSUME_32BITUIDS]: Make code unconditional.
77139         [!__ASSUME_32BITUIDS]: Remove conditional code.
77140         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
77141         [__ASSUME_32BITUIDS]: Make code unconditional.
77142         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
77143         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
77144         <kernel-features.h>.
77145         [__ASSUME_32BITUIDS]: Make code unconditional.
77146         [!__ASSUME_32BITUIDS]: Remove conditional code.
77147         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
77148         <kernel-features.h>.
77149         [__ASSUME_32BITUIDS]: Make code unconditional.
77150         [!__ASSUME_32BITUIDS]: Remove conditional code.
77151         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
77152         <kernel-features.h>.
77153         [__ASSUME_32BITUIDS]: Make code unconditional.
77154         [!__ASSUME_32BITUIDS]: Remove conditional code.
77155         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
77156         <kernel-features.h>.
77157         [__ASSUME_32BITUIDS]: Make code unconditional.
77158         [!__ASSUME_32BITUIDS]: Remove conditional code.
77159         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
77160         <kernel-features.h>.
77161         [__ASSUME_32BITUIDS]: Make code unconditional.
77162         [!__ASSUME_32BITUIDS]: Remove conditional code.
77163         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
77164         <kernel-features.h>.
77165         [__ASSUME_32BITUIDS]: Make code unconditional.
77166         [!__ASSUME_32BITUIDS]: Remove conditional code.
77167         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
77168         <kernel-features.h>.
77169         [__ASSUME_32BITUIDS]: Make code unconditional.
77170         [!__ASSUME_32BITUIDS]: Remove conditional code.
77171         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
77172         <kernel-features.h>.
77173         [__ASSUME_32BITUIDS]: Make code unconditional.
77174         [!__ASSUME_32BITUIDS]: Remove conditional code.
77175         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
77176         <kernel-features.h>.
77177         [__ASSUME_32BITUIDS]: Make code unconditional.
77178         [!__ASSUME_32BITUIDS]: Remove conditional code.
77179         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
77180         <kernel-features.h>.
77181         [__ASSUME_32BITUIDS]: Make code unconditional.
77182         [!__ASSUME_32BITUIDS]: Remove conditional code.
77183         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
77184         <kernel-features.h>.
77185         [__NR_setresgid] (__setresgid): Do not declare.
77186         [__ASSUME_32BITUIDS]: Make code unconditional.
77187         [!__ASSUME_32BITUIDS]: Remove conditional code.
77188         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
77189         <kernel-features.h>.
77190         [__NR_setresuid] (__setresuid): Do not declare.
77191         [__ASSUME_32BITUIDS]: Make code unconditional.
77192         [!__ASSUME_32BITUIDS]: Remove conditional code.
77193         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
77194         <kernel-features.h>.
77195         [__ASSUME_32BITUIDS]: Make code unconditional.
77196         [!__ASSUME_32BITUIDS]: Remove conditional code.
77197         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
77198         <kernel-features.h>.
77199         [__ASSUME_32BITUIDS]: Make code unconditional.
77200         [!__ASSUME_32BITUIDS]: Remove conditional code.
77201         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
77202         <kernel-features.h>.
77203         [__ASSUME_32BITUIDS]: Make code unconditional.
77204         [!__ASSUME_32BITUIDS]: Remove conditional code.
77205         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
77206         <kernel-features.h>.
77207         [__ASSUME_32BITUIDS]: Make code unconditional.
77208         [!__ASSUME_32BITUIDS]: Remove conditional code.
77209         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
77210         <kernel-features.h>.
77211         [__ASSUME_32BITUIDS]: Make code unconditional.
77212         [!__ASSUME_32BITUIDS]: Remove conditional code.
77213         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
77214         <kernel-features.h>.
77215         [__ASSUME_32BITUIDS]: Make code unconditional.
77216         [!__ASSUME_32BITUIDS]: Remove conditional code.
77217         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
77218         <kernel-features.h>.
77219         [__ASSUME_32BITUIDS]: Make code unconditional.
77220         [!__ASSUME_32BITUIDS]: Remove conditional code.
77221         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
77222         <kernel-features.h>.
77223         [__ASSUME_32BITUIDS]: Make code unconditional.
77224         [!__ASSUME_32BITUIDS]: Remove conditional code.
77225         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
77226         <kernel-features.h>.
77227         [__ASSUME_32BITUIDS]: Make code unconditional.
77228         [!__ASSUME_32BITUIDS]: Remove conditional code.
77229         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
77230         <kernel-features.h>.
77231         [__ASSUME_32BITUIDS]: Make code unconditional.
77232         [!__ASSUME_32BITUIDS]: Remove conditional code.
77233         * sysdeps/unix/sysv/linux/kernel-features.h
77234         (__ASSUME_SETRESUID_SYSCALL): Remove.
77235         (__ASSUME_SETRESGID_SYSCALL): Likewise.
77236         (__ASSUME_32BITUIDS): Likewise.
77237         (__ASSUME_LDT_WORKS): Likewise.
77238         (__ASSUME_O_DIRECTORY): Likewise.
77239         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
77240         architecture but not kernel version.
77241         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
77242         (__ASSUME_MMAP2_SYSCALL): Likewise.
77243         (__ASSUME_STAT64_SYSCALL): Likewise.
77244         (__ASSUME_IPC64): Likewise.
77245         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
77246         <kernel-features.h>.
77247         [__ASSUME_32BITUIDS]: Make code unconditional.
77248         [!__ASSUME_32BITUIDS]: Remove conditional code.
77249         * sysdeps/unix/sysv/linux/opendir.c: Do not include
77250         <kernel-features.h>.
77251         [__ASSUME_O_DIRECTORY]: Make code unconditional.
77252         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
77253         132096]: Remove conditional code.
77254         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
77255         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
77256         <kernel-features.h>.
77257         [__ASSUME_32BITUIDS]: Make code unconditional.
77258         [!__ASSUME_32BITUIDS]: Remove conditional code.
77259         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
77260         <kernel-features.h>.
77261         [__ASSUME_32BITUIDS]: Make code unconditional.
77262         [!__ASSUME_32BITUIDS]: Remove conditional code.
77263         * sysdeps/unix/sysv/linux/setegid.c: Do not include
77264         <kernel-features.h>.
77265         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
77266         unconditional.
77267         (__setresgid): Do not declare.
77268         [__ASSUME_32BITUIDS]: Make code unconditional.
77269         [!__ASSUME_32BITUIDS]: Remove conditional code.
77270         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
77271         <kernel-features.h>.
77272         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
77273         unconditional.
77274         (__setresuid): Do not declare.
77275         [__ASSUME_32BITUIDS]: Make code unconditional.
77276         [!__ASSUME_32BITUIDS]: Remove conditional code.
77277         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
77278         <kernel-features.h>.
77279         [__ASSUME_32BITUIDS]: Make code unconditional.
77280         [!__ASSUME_32BITUIDS]: Remove conditional code.
77281         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
77282         <kernel-features.h>.
77283         [__ASSUME_32BITUIDS]: Make code unconditional.
77284         [!__ASSUME_32BITUIDS]: Remove conditional code.
77286 2012-05-25  Richard Henderson  <rth@twiddle.net>
77288         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
77289         dl_hwcap to ifunc resolver.
77290         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
77291         elf_ifunc_invoke.
77292         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
77293         dl_hwcap to ifunc resolver.
77294         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
77296 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
77298         [BZ #14153]
77299         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
77300         for |x| <= 2**-26, not 2**-57.
77301         * math/libm-test.inc (acos_test): Do not allow spurious underflow
77302         exception.
77304 2012-05-24  Jeff Law  <law@redhat.com>
77306         * stdio-common/Makefile (tests): Add bug25.
77307         * stdio-common/bug25.c: New test.
77309 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
77311         [BZ #13576]
77312         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
77313         multiple of MALLOC_ALIGNMENT in size.
77314         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
77316 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
77318         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
77319         Require >= 256.
77320         (FILENAME_MAX): Use macro-int-constant.
77321         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
77322         (_IOFBF): Use macro-int-constant.
77323         (_IOLBF): Likewise.
77324         (_IONBF): Likewise.
77325         (SEEK_CUR): Likewise.
77326         (SEEK_END): Likewise.
77327         (SEEK_SET): Likewise.
77328         (TMP_MAX): Likewise.
77329         (EOF): Use macro-int-constant.  Require < 0.
77330         (NULL): Use macro-constant.  Require == 0.
77331         (stdin): Require type to be FILE *.
77332         (stdout): Likewise.
77333         (stderr): Likewise.
77334         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
77335         macro-int-constant.
77336         (EXIT_SUCCESS): Likewise.
77337         (NULL): Use macro-constant.  Require == 0.
77338         (RAND_MAX): Use macro-int-constant.
77339         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
77340         [C99-based standards] (strtof): Require function.
77341         [C99-based standards] (strtold): Likewise.
77342         [C99-based standards] (strtoll): Likewise.
77343         [C99-based standards] (strtoull): Likewise.
77344         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
77345         [ISO || ISO99 || ISO11] (limits.h): Likewise.
77346         [ISO || ISO99 || ISO11] (math.h): Likewise.
77347         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
77348         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
77349         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77351 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
77353         [BZ #14132]
77354         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
77355         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
77356         * intl/dgettext.c (DCGETTEXT): Likewise.
77357         * intl/gettext.c (DCGETTEXT): Likewise.
77358         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
77359         * posix/regex_internal.h (gettext): Likewise.
77360         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
77361         Remove declaration.
77362         * include/argz.h (__argz_count_internal)
77363         (__argz_stringify_internal): Remove declaration.
77364         (__argz_count, __argz_stringify): Declare hidden proto.
77365         * intl/dcgettext.c: Remove use of INTDEF.
77366         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
77367         * string/argz-stringify.c: Likewise.
77368         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
77369         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
77370         Declare hidden proto.
77371         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
77372         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
77373         Declare hidden proto.
77374         * include/stdio.h (__asprintf_internal): Don't declare.
77375         (__asprintf): Don't define as macro.  Declare hidden proto.
77376         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
77377         (__fsetlocking): Declare hidden proto.
77378         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
77379         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
77380         hidden proto.
77381         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
77382         (_IO_setlinebuf): Remove use of INTUSE.
77383         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
77384         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
77385         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
77386         Remove declaration.
77387         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
77388         (_IO_do_flush): Remove use of INTUSE.
77389         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
77390         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
77391         (_IO_adjust_column, _IO_least_wmarker)
77392         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
77393         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
77394         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
77395         (_IO_default_doallocate, _IO_wdefault_doallocate)
77396         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
77397         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
77398         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
77399         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
77400         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
77401         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
77402         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
77403         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
77404         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
77405         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
77406         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
77407         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
77408         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
77409         proto.
77410         (_IO_flush_all_internal, _IO_adjust_column_internal)
77411         (_IO_default_uflow_internal, _IO_default_finish_internal)
77412         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
77413         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
77414         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
77415         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
77416         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
77417         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
77418         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
77419         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
77420         (_IO_file_close_internal, _IO_file_close_it_internal)
77421         (_IO_file_underflow_internal, _IO_file_overflow_internal)
77422         (_IO_file_init_internal, _IO_file_attach_internal)
77423         (_IO_file_fopen_internal, _IO_file_read_internal)
77424         (_IO_file_sync_internal, _IO_file_seek_internal)
77425         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
77426         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
77427         (_IO_str_underflow_internal, _IO_str_overflow_internal)
77428         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
77429         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
77430         (_IO_list_all_internal, _IO_link_in_internal)
77431         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
77432         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
77433         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
77434         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
77435         (_IO_do_write_internal, _IO_padn_internal)
77436         (_IO_getline_info_internal, _IO_getline_internal)
77437         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
77438         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
77439         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
77440         (_IO_vfscanf_internal, _IO_vfprintf_internal)
77441         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
77442         (_IO_init_internal, _IO_un_link_internal): Don't declare.
77443         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
77444         with libc_hidden_ver, remove use of INTUSE.
77445         * libio/genops.c: Likewise.
77446         * libio/freopen.c: Likewise.
77447         * libio/freopen64.c: Likewise.
77448         * libio/iofclose.c: Likewise.
77449         * libio/iofdopen.c: Likewise.
77450         * libio/iofflush.c: Likewise.
77451         * libio/iofflush_u.c: Likewise.
77452         * libio/iofgets.c: Likewise.
77453         * libio/iofgets_u.c: Likewise.
77454         * libio/iofopen.c: Likewise.
77455         * libio/iofopncook.c: Likewise.
77456         * libio/iofread.c: Likewise.
77457         * libio/iofread_u.c: Likewise.
77458         * libio/ioftell.c: Likewise.
77459         * libio/iofwrite.c: Likewise.
77460         * libio/iogetline.c: Likewise.
77461         * libio/iogets.c: Likewise.
77462         * libio/iogetwline.c: Likewise.
77463         * libio/iopadn.c: Likewise.
77464         * libio/iopopen.c: Likewise.
77465         * libio/ioseekoff.c: Likewise.
77466         * libio/ioseekpos.c: Likewise.
77467         * libio/iosetbuffer.c: Likewise.
77468         * libio/iosetvbuf.c: Likewise.
77469         * libio/ioungetc.c: Likewise.
77470         * libio/ioungetwc.c: Likewise.
77471         * libio/iovdprintf.c: Likewise.
77472         * libio/iovsprintf.c: Likewise.
77473         * libio/iovsscanf.c: Likewise.
77474         * libio/memstream.c: Likewise.
77475         * libio/obprintf.c: Likewise.
77476         * libio/oldfileops.c: Likewise.
77477         * libio/oldiofclose.c: Likewise.
77478         * libio/oldiofdopen.c: Likewise.
77479         * libio/oldiofopen.c: Likewise.
77480         * libio/oldiopopen.c: Likewise.
77481         * libio/oldstdfiles.c: Likewise.
77482         * libio/putc.c: Likewise.
77483         * libio/setbuf.c: Likewise.
77484         * libio/setlinebuf.c: Likewise.
77485         * libio/stdfiles.c: Likewise.
77486         * libio/strops.c: Likewise.
77487         * libio/vasprintf.c: Likewise.
77488         * libio/vscanf.c: Likewise.
77489         * libio/vsnprintf.c: Likewise.
77490         * libio/vswprintf.c: Likewise.
77491         * libio/wfiledoalloc.c: Likewise.
77492         * libio/wfileops.c: Likewise.
77493         * libio/wgenops.c: Likewise.
77494         * libio/wmemstream.c: Likewise.
77495         * libio/wstrops.c: Likewise.
77496         * libio/__fpurge.c: Likewise.
77497         * libio/__fsetlocking.c: Likewise.
77498         * assert/assert.c: Likewise.
77499         * debug/fgets_chk.c: Likewise.
77500         * debug/fgets_u_chk.c: Likewise.
77501         * debug/fread_chk.c: Likewise.
77502         * debug/fread_u_chk.c: Likewise.
77503         * debug/gets_chk.c: Likewise.
77504         * debug/obprintf_chk.c: Likewise.
77505         * debug/vasprintf_chk.c: Likewise.
77506         * debug/vdprintf_chk.c: Likewise.
77507         * debug/vsnprintf_chk.c: Likewise.
77508         * debug/vsprintf_chk.c: Likewise.
77509         * malloc/mtrace.c: Likewise.
77510         * misc/error.c: Likewise.
77511         * misc/syslog.c: Likewise.
77512         * stdio-common/asprintf.c: Likewise.
77513         * stdio-common/fxprintf.c: Likewise.
77514         * stdio-common/getw.c: Likewise.
77515         * stdio-common/isoc99_fscanf.c: Likewise.
77516         * stdio-common/isoc99_scanf.c: Likewise.
77517         * stdio-common/isoc99_vfscanf.c: Likewise.
77518         * stdio-common/isoc99_vscanf.c: Likewise.
77519         * stdio-common/isoc99_vsscanf.c: Likewise.
77520         * stdio-common/printf-prs.c: Likewise.
77521         * stdio-common/printf_fp.c: Likewise.
77522         * stdio-common/printf_fphex.c: Likewise.
77523         * stdio-common/printf_size.c: Likewise.
77524         * stdio-common/putw.c: Likewise.
77525         * stdio-common/scanf.c: Likewise.
77526         * stdio-common/sprintf.c: Likewise.
77527         * stdio-common/tmpfile.c: Likewise.
77528         * stdio-common/vfprintf.c: Likewise.
77529         * stdio-common/vfscanf.c: Likewise.
77530         * stdlib/strfmon_l.c: Likewise.
77531         * sunrpc/openchild.c: Likewise.
77532         * sunrpc/xdr_stdio.c: Likewise.
77533         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
77534         * sysdeps/mach/hurd/tmpfile.c: Likewise.
77536 2012-05-24  Roland McGrath  <roland@hack.frob.com>
77538         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
77540         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
77541         in the third column, to generate for the shared library an IFUNC
77542         that uses _dl_vdso_vsym.
77543         * Makerules (COMPILE.c, compile-stdin.c): New variables.
77544         * Makeconfig (object-suffixes-noshared): New variable.
77546         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
77547         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
77548         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
77549         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
77551         [BZ #14132]
77552         * include/sys/time.h (__gettimeofday): Remove macro.
77553         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
77554         * time/gettimeofday.c (__gettimeofday): Remove #undef.
77555         Remove INTDEF.
77556         (__gettimeofday): Add libc_hidden_def.
77557         (gettimeofday): Add libc_hidden_weak.
77558         * sysdeps/mach/gettimeofday.c: Likewise.
77559         * sysdeps/posix/gettimeofday.c: Likewise.
77560         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
77561         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
77562         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
77563         (__gettimeofday_internal): Remove strong_alias.
77564         (__gettimeofday): Add libc_hidden_def.
77565         (gettimeofday): Add libc_hidden_weak.
77566         * sysdeps/unix/syscalls.list (gettimeofday):
77567         Remove __gettimeofday_internal alias.
77569 2012-05-24  Daniel Jacobowitz  <drow@false.org>
77570             H.J. Lu  <hongjiu.lu@intel.com>
77572         [BZ #12495]
77573         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
77574         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
77575         (largebin_index_32_big): New.
77576         (largebin_index): Use it for 16-byte alignment.
77577         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
77578         correction with front_misalign.
77580 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
77582         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
77583         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
77584         Likewise.
77585         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
77586         Likewise.
77587         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
77588         Likewise.
77589         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
77590         Likewise.
77591         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
77592         Likewise.
77593         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
77594         Likewise.
77595         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
77596         Likewise.
77597         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
77598         Likewise.
77599         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
77600         Likewise.
77601         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
77602         Likewise.
77603         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
77604         Likewise.
77605         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
77606         Likewise.
77608         * scripts/data/c++-types-x32-linux-gnu.data: New file.
77609         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
77611 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
77613         [BZ #10846]
77614         [BZ #14036]
77615         * math/libm-test.inc (exp_test): Add test from bug 14036.
77616         (pow_test): Add test from bug 10846.
77618         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
77619         and other flags.
77620         (special_function): Do not include flags in test name.
77621         (parse_args): Likewise.
77622         * sysdeps/i386/fpu/libm-test-ulps: Update.
77623         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
77624         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
77625         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
77626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77628         * math/gen-libm-test.pl (%beautify): Add entries for underflow
77629         exceptions.
77630         * math/libm-test.inc ("Philosophy"): Update comment about
77631         exception testing.
77632         (UNDERFLOW_EXCEPTION): New macro.
77633         (UNDERFLOW_EXCEPTION_OK): Likewise.
77634         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
77635         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
77636         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
77637         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
77638         (INVALID_EXCEPTION_OK): Update value.
77639         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
77640         (OVERFLOW_EXCEPTION_OK): Likewise.
77641         (IGNORE_ZERO_INF_SIGN): Likewise.
77642         (test_exceptions): Handle underflow exceptions.
77643         (acos_test): Update for underflow exception expectations.
77644         (cexp_test): Likewise.
77645         (clog_test): Likewise.
77646         (clog10_test): Likewise.
77647         (csqrt_test): Likewise.
77648         (ctan_test): Likewise.
77649         (ctanh_test): Likewise.
77650         (exp_test): Likewise.
77651         (exp10_test): Likewise.
77652         (exp2_test): Likewise.
77653         (expm1_test): Likewise.
77654         (fma_test): Likewise.
77655         (j0_test): Likewise.
77656         (jn_test): Likewise.
77657         (nexttoward_test): Likewise.
77658         (pow_test): Likewise.
77659         (scalbn_test): Likewise.
77660         (scalbln_test): Likewise.
77661         (tan_test): Likewise.
77662         (y1_test): Likewise.
77663         * sysdeps/i386/fpu/libm-test-ulps: Update.
77664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77666 2012-05-23  David S. Miller  <davem@davemloft.net>
77668         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
77669         (__libc_sigaction): Remove unused local variables.
77671 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
77673         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
77675 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
77677         mktime: avoid signed integer overflow
77678         * time/mktime.c (__mktime_internal): Do not mishandle the case
77679         where diff == INT_MIN.
77681         mktime: simplify computation of average
77682         * time/mktime.c (ranged_convert): Use new time_t_avg function
77683         instead of rolling our own (probably-slower) code.
77685         mktime: do not assume signed right shift propagates sign bit
77686         * time/mktime.c (isdst_differ): New static function.
77687         (__mktime_internal): No need to normalize tm_isdst now.
77688         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
77689         tm_isdst values.
77691         mktime: merge another wrapv change from gnulib
77692         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
77693         from some compilers.
77695         mktime: remove incorrect attempt at unusual arithmetics
77696         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
77697         The code didn't really work on such machines anyway.
77698         (TYPE_MINIMUM): Assume two's complement.
77699         (twos_complement_arithmetic): Verify that long_int and time_t
77700         are two's complement (or unsigned, in the latter case).
77702         mktime: check signed shifts on long_int and time_t, too
77703         * time/mktime.c (SHR): Check that shifts work as desired
77704         on the types long_int and time_t too, as SHR is used on
77705         such types.
77707         mktime: do not assume 'long' is wide enough
77708         * time/mktime.c (verify): Move decl up.
77709         (long_int): New type.
77710         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
77711         to remove assumption in the code that 'long' is wide enough to
77712         store year values.  This assumption is not true on x32 and on
77713         some non-glibc platforms.
77715         mktime: merge wrapv change from gnulib
77716         * time/mktime.c (WRAPV): New macro.
77717         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
77718         (guess_time_tm, __mktime_internal): Do not assume that signed
77719         integer overflow wraps around; modern compilers generate code
77720         where this assumption is no longer valid.
77722 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
77724         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
77725         Replace "jmp L(pseudo_end)" with "ret".
77726         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
77727         Likewise.
77729 2012-05-23  Andreas Jaeger  <aj@suse.de>
77731         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
77732         * sysdeps/unix/sysv/linux/poll.c: Remove file.
77734 2012-05-23  Andreas Jaeger  <aj@suse.de>
77735             Maximilian Attems  <max@stro.at>
77737         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
77738         New macros.
77740 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
77742         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
77743         code so that pseudo_end is just ret and the stack pointer is
77744         correct also for static library in error case.
77746 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
77748         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
77749         move to syscalls.list.
77750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
77751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
77752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
77753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
77755         * manual/install.texi (Running make install): Do not mention Linux
77756         kernel version for which pt_chown is not needed.
77757         (Linux): Do not mention problems with nscd with 2.0 kernels.
77758         * INSTALL: Regenerated.
77760 2012-05-23  Andreas Jaeger  <aj@suse.de>
77762         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
77763         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
77764         macro.
77765         * sysdeps/unix/sysv/linux/s390/bits/mman.h
77766         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77767         * sysdeps/unix/sysv/linux/sh/bits/mman.h
77768         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77769         * sysdeps/unix/sysv/linux/i386/bits/mman.h
77770         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77771         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
77772         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77773         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
77774         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77775         * sysdeps/unix/sysv/linux/bits/in.h
77776         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
77778 2012-05-22  Roland McGrath  <roland@hack.frob.com>
77780         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
77781         (PREPARE_VERSION): Just use assert instead, it will be elided
77782         under [NDEBUG] anyway.
77784 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
77786         * sysdeps/unix/sysv/linux/Makefile: Include
77787         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
77788         (sysdep_routines): Remove sysctl.
77789         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
77790         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
77791         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
77792         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
77793         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
77795 2012-05-22  Andreas Jaeger  <aj@suse.de>
77797         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
77798         that pseudo_end is just ret and the stack pointer is correct also
77799         for static library in error case.
77801 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
77803         [BZ #14122]
77804         * nss/nsswitch.c (defconfig_entries): New variable.
77805         (__nss_database_lookup): Don't leak defconfig entries.
77806         (nss_parse_service_list): Don't leak on error paths.
77807         (free_database_entries): New function.
77808         (free_defconfig): New function.
77809         (free_mem): Move common code to free_database_entries.
77811 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
77813         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
77814         Add arch_prctl.
77815         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
77817         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
77818         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
77819         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
77820         New macro.
77821         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
77822         (INTERNAL_SYSCALL_TYPES): Likewise.
77823         (LOAD_ARGS_TYPES_[1-6]): Likewise.
77824         (LOAD_REGS_TYPES_[1-6]): Likewise.
77825         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
77826         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
77828 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77830         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
77831         copysignl for GLIBC_2_0.
77832         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
77833         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
77834         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
77835         logbl for GLIBC_2_0.
77836         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
77837         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
77839 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
77841         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
77842         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
77844         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
77845         Use "neg %eax".
77847         * time/mktime.c: Update copyright years.
77849 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
77851         mktime: merge comment-quoting-style change from gnulib
77852         * time/mktime.c: Quote 'like this' in comments.
77853         The GNU coding standards suggest that we no longer quote `like this',
77854         as "`" and "'" are typically rendered asymmetrically nowadays.
77855         The typical gnulib style is to quote 'like this' when quoting
77856         code, and "like this" when quoting English.
77858         * time/mktime.c (compile-command): Add "-I.".
77860         mktime: merge mktime-internal.h change from gnulib
77861         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
77863         mktime: merge time_r change from gnulib
77864         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
77866         mktime: merge DEBUG change from gnulib
77867         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
77868         case system <time.h> has a #define.
77870         mktime: merge <sys/types.h> change from gnulib
77871         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
77872         since <time.t> is now guaranteed to define time_t.
77874         mktime: merge HAVE_CONFIG_H change from gnulib
77875         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
77877 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
77879         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
77880         Use "neg %eax".
77882         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
77883         __rlim_t cast.
77884         (struct rusage): Use anonymous union to pad each field to
77885         __syscall_slong_t.
77887 2012-05-21  David S. Miller  <davem@davemloft.net>
77889         * Makefules (o-iterator): Remove .s cases.
77890         (compile-command.s): Delete.
77891         (COMPILE.s): Delete.
77892         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
77894 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
77896         * configure.in (libc_cv_predef_stack_protector): Only consider
77897         "foobar" and "__stack_chk_fail" lines in libc_undefs.
77898         * configure: Regenerated.
77900 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
77902         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
77903         New macro.  Use R*LP on int and pointer.
77904         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
77905         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
77906         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
77907         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
77909         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
77910         [__WORDSIZE_TIME64_COMPAT32] instead of
77911         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
77912         (struct utmp): Likewise.
77913         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
77914         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
77915         Renamed to ...
77916         (__WORDSIZE_TIME64_COMPAT32): This.
77917         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
77918         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
77919         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
77920         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
77921         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
77922         (__WORDSIZE_TIME64_COMPAT32): New macro.
77924 2012-05-21  Andreas Jaeger  <aj@suse.de>
77926         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
77927         only if [SHARED]. Add prototype for __wcschr_ia32.
77929 2012-05-21  Roland McGrath  <roland@hack.frob.com>
77931         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
77932         of %rbp unmolested in the jmp_buf while mangling the low bits.
77933         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
77934         unmolested high bits of %rbp while demangling the low bits.
77935         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
77937 2012-05-21  Andreas Jaeger  <aj@suse.de>
77939         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
77940         * sunrpc/svc_simple.c: Use it for registerrpc.
77941         * sunrpc/xcrypt.c: Use it for passwd2des.
77943         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
77945 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
77947         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
77948         Don't define if [__SYSCALL_WORDSIZE != 32].
77949         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
77950         New macro.
77952 2012-05-21  Bruno Haible  <bruno@clisp.org>
77953             Andreas Jaeger  <aj@suse.de>
77955         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
77956         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
77957         inptr and inend for must_buffer_ch.
77958         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
77959         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
77960         * stdio-common/Makefile (tests): Remove bug15.
77961         (bug15-ENV): Remove macro.
77962         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
77963         anymore.
77965 2012-05-19  Andreas Jaeger  <aj@suse.de>
77966             Roland McGrath  <roland@hack.frob.com>
77968         * manual/contrib.texi: Completely rewritten. It contains now an
77969         alphabetical list of contributors and their contributions.
77971 2012-05-21  Richard Henderson  <rth@twiddle.net>
77973         * misc/getauxval.c (__getauxval): Use unsigned long int.
77974         * misc/sys/auxv.h: Include <sys/cdefs.h>.
77975         (getauxval): Use unsigned long int.
77977 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
77979         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
77981 2012-05-21  Roland McGrath  <roland@hack.frob.com>
77983         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
77984         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
77985         __alignof__ (long double).
77987 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77989         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77991 2012-05-20  Richard Henderson  <rth@twiddle.net>
77993         * misc/getauxval.c: New file.
77994         * misc/sys/auxv.h: New file.
77995         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
77996         (routines): Add getauxval.
77997         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
77998         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
77999         * elf/dl-sysdep.c (_dl_auxv): Remove.
78000         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
78001         * elf/dl-support.c (_dl_auxv): New variable.
78002         (_dl_aux_init): Initialize it.
78003         * manual/startup.texi (Auxiliary Vector): New node.
78004         * sysdeps/generic/bits/hwcap.h: New file.
78005         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
78006         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
78007         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
78008         * sysdeps/sparc/sysdep.h: ... here.  Include it.
78009         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
78010         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
78011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
78012         Update.
78013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
78014         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
78015         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
78016         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
78017         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
78018         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
78019         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
78020         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
78022 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78024         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78026 2012-05-19  David S. Miller  <davem@davemloft.net>
78028         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78030 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
78032         [BZ #14123]
78033         * math/s_ccosh.c: Include <float.h>
78034         (__ccosh): Avoid internal overflow calculating sinh and cosh
78035         values before multiplying by sin and cos values.
78036         * math/s_ccoshf.c: Likewise.
78037         * math/s_ccoshl.c: Likewise.
78038         * math/s_csin.c: Likewise.
78039         * math/s_csinf.c: Likewise.
78040         * math/s_csinl.c: Likewise.
78041         * math/s_csinh.c: Likewise.
78042         * math/s_csinhf.c: Likewise.
78043         * math/s_csinhl.c: Likewise.
78044         * math/libm-test.inc (ccos_test): Add more tests.
78045         (ccosh_test): Likewise.
78046         (csin_test): Likewise.
78047         (csinh_test): Likewise.
78048         * sysdeps/i386/fpu/libm-test-ulps: Update.
78049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78051 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
78053         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
78054         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
78056         * sysdeps/x86_64/x32/_itoa.h: Add comment.
78058 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
78060         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
78061         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
78062         * sysdeps/powerpc/soft-fp/Versions: Likewise.
78063         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
78064         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
78065         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
78066         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
78067         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
78068         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
78069         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
78070         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
78071         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
78072         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
78073         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
78074         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
78075         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
78076         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
78077         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
78078         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
78079         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
78080         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
78081         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
78082         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
78083         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
78084         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
78085         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
78086         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
78087         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
78088         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
78089         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
78090         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
78092 2012-05-18  Andreas Jaeger  <aj@suse.de>
78094         * csu/.gitignore: Delete.
78096 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
78098         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
78099         (timex): Use __syscall_slong_t.
78101 2012-05-18  Andreas Jaeger  <aj@suse.de>
78102             Carlos O'Donell  <carlos_odonell@mentor.com>
78104         * manual/install.texi (Configuring and compiling): Update
78105         description about files modified in the source directory.
78106         * INSTALL: Regenerated.
78108 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
78110         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
78111         value.  Use "or" to set return value to -1.
78112         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
78113         negate return value.
78115 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
78117         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
78118         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
78119         failure if the compiler has Graphite support disabled.
78120         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
78121         Likewise.
78122         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
78123         (CFLAGS-memmove.c): Likewise.
78124         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
78125         Likewise.
78127 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
78129         * sysdeps/x86_64/x32/_itoa.h: New file.
78131         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
78132         getdents system call only if kernel and user dirents have the
78133         same d_ino and d_off.
78135         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
78136         LLONG_MAX != LONG_MAX.
78137         (_itoa_word): Use _ITOA_WORD_TYPE on value.
78138         (_fitoa_word): Likewise.
78140         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
78141         years.
78142         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
78143         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
78144         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
78146         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
78147         include <bits/wordsize.h>.  Check __x86_64__ instead of
78148         __WORDSIZE.
78149         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
78150         if __x86_64__ is defined.  Use anonymous union on fpstate.
78152         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
78153         anonymous union.
78155 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
78157         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
78158         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
78159         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
78160         Refer to _rtld_local_ro instead of _rtld_global_ro.
78161         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
78162         Likewise.
78163         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
78164         Likewise.
78165         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
78166         Likewise.
78167         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
78168         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
78169         of _rtld_global, and rtld_progname instead of _dl_argv[0].
78171         [BZ #10882]
78172         * sysdeps/powerpc/powerpc32/dl-machine.c
78173         (__elf_machine_runtime_setup) [PROF]: Don't reference
78174         _dl_prof_resolve.
78176 2012-05-18  Andreas Jaeger  <aj@suse.de>
78178         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
78179         function only available for GCCs before 3.4 since GCC 3.4
78180         introduced a builtin.
78181         (lrint): Likewise.
78182         (llrintf): Likewise.
78183         (llrint): Likewise.
78184         (fmaxf): Likewise.
78185         (fmax): Likewise.
78186         (fminf): Likewise.
78187         (fmin): Likewise.
78188         (rint): Likewise.
78189         (rintf): Likewise.
78190         (nearbyint): Likewise.
78191         (nearbyintf): Likewise.
78192         (ceil): Likewise.
78193         (ceilf): Likewise.
78194         (floor): Likewise.
78195         (floorf): Likewise.
78197 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78199         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
78200         on both fields and cast pointer to __syscall_ulong_t.
78202         * bits/types.h (__fsword_t): New type.
78203         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
78204         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
78205         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78206         (__FSWORD_T_TYPE): Likewise.
78207         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
78208         (__FSWORD_T_TYPE): Likewise.
78209         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78210         (__FSWORD_T_TYPE): Likewise.
78211         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
78212         (__FSWORD_T_TYPE): Likewise.
78213         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
78214         __SWORD_TYPE with __fsword_t.
78215         (statfs64): Likewise.
78217 2012-05-17  David S. Miller  <davem@davemloft.net>
78219         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
78221 2012-05-17  Andreas Jaeger  <aj@suse.de>
78223         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
78224         warning.
78226 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78228         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
78230 2012-05-17  Andreas Jaeger  <aj@suse.de>
78232         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
78233         when it is used.
78235 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
78237         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
78239 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78241         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
78242         * sysdeps/x86_64/tst-mallocalign1.c: New file.
78244 2012-05-17  Andreas Jaeger  <aj@suse.de>
78245             Carlos O'Donell  <carlos_odonell@mentor.com>
78247         [BZ #14059]
78248         * sysdeps/x86_64/multiarch/init-arch.h
78249         (bit_YMM_Usable): Rename to...
78250         (bit_AVX_Usable): ... this.
78251         (bit_FMA4_Usable): New macro.
78252         (bit_XMM_state): New macro.
78253         (bit_YMM_state): New macro.
78254         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
78255         [__ASSEMBLER__] (index_AVX_Usable): ... this.
78256         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
78257         (CPUID_OSXSAVE): New macro.
78258         (CPUID_AVX): New macro.
78259         (CPUID_FMA4): New macro.
78260         (index_YMM_Usable): Rename to...
78261         (index_AVX_Usable): ... this.
78262         (HAS_AVX): Use HAS_ARCH_FEATURE.
78263         (HAS_FMA4): Likewise.
78264         (HAS_YMM_USABLE): Remove.
78265         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78266         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
78267         are present.
78268         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
78269         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
78270         * sysdeps/x86_64/multiarch/Makefile: Likewise.
78271         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
78272         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
78274 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
78276         * math/libm-test.c: Support platforms without multiple rounding modes.
78277         * math/bug-nextafter.c: Support platforms without FP exceptions.
78278         * math/bug-nexttoward.c: Likewise.
78279         * math/test-fenv.c: Likewise.
78280         * math/test-misc.c: Likewise.
78281         * stdlib/bug-getcontext.c: Likewise.
78283 2012-05-17  Andreas Jaeger  <aj@suse.de>
78285         * manual/examples/search.c (critter_cmp): Change signature to
78286         avoid warnings.
78287         * manual/string.texi (Collation Functions): Likewise.
78289 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78291         * bits/types.h: Fold copyright years.
78292         * bits/typesizes.h: Likewise.
78293         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
78294         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
78295         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
78296         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
78297         * time/time.h: Likewise.
78299 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
78301         [BZ #208]
78302         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
78303         in instead of returning them.  Return void.
78304         (__libc_mallinfo): Accumulate over all arenas.
78305         (__malloc_stats): Adjust for change in int_mallinfo interface.
78307 2012-05-16  Roland McGrath  <roland@hack.frob.com>
78309         [BZ #10375]
78310         * configure.in (NM): Add AC_CHECK_TOOL for it.
78311         (libc_extra_cflags): New substituted variable.
78312         Check for -fstack-protector being used implicitly.
78313         * configure: Regenerated.
78314         * config.make.in (config-extra-cflags): New variable,
78315         gets @libc_extra_cflags@.
78316         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
78318         [BZ #10375]
78319         * configure.in: Check for _FORTIFY_SOURCE being predefined.
78320         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
78321         * configure: Regenerated.
78322         * config.make.in (CPPUNDEFS): New substituted variable.
78323         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
78324         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
78325         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
78327 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78329         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
78330         (mq_attr): Use __syscall_slong_t.
78332 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78334         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
78335         Check __x86_64__ instead of __WORDSIZE.
78336         (_STAT_VER_LINUX): Likewise.
78337         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
78338         __syscall_ulong_t and __syscall_slong_t.
78339         (stat64): Likewise.
78341 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78343         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
78345 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78347         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
78349 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78351         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
78352         __syscall_ulong_t.
78354         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
78355         include <bits/wordsize.h>.  Check __x86_64__ instead of
78356         __WORDSIZE.
78357         (greg_t): Use "__extension__ long long int" if __x86_64__ is
78358         defined.
78359         (mcontext_t): Replace "unsigned long" with "unsigned long long".
78361         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
78362         include <bits/wordsize.h>.  Check __x86_64__ instead of
78363         __WORDSIZE.
78364         (user_regs_struct): Use "__extension__ unsigned long long"
78365         instead of "unsigned long" if __x86_64__ is defined.
78366         (user): Likewise.  Pad after pointer field if __ILP32__ is
78367         defined.
78369 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
78371         * configure.in (makeinfo): Require version 4.5 or later.  Allow
78372         versions 5 to 9.
78373         * configure: Regenerated.
78374         * manual/install.texi (texinfo): Increase version requirement to
78375         4.5 or later.
78376         * INSTALL: Regenerated.
78378         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
78380 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78382         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
78384         * sysdeps/x86_64/x32/ffs.c: New file.
78386         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
78387         __syscall_ulong_t.
78388         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
78389         defined.  Use __syscall_ulong_t.
78390         (shminfo): Use __syscall_ulong_t.
78391         (shm_info): Likewise.
78393         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
78394         __syscall_ulong_t.
78396         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
78397         <bits/wordsize.h>.
78398         (msgqnum_t): Use __syscall_ulong_t.
78399         (msglen_t): Likewise.
78400         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
78401         __syscall_ulong_t.
78403         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
78404         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
78406         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
78408         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
78409         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
78411         * sysvipc/sys/msg.h (msgbuf): Replace long int with
78412         __syscall_slong_t.
78414         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
78415         include <bits/wordsize.h>.  Check __x86_64__ instead of
78416         __WORDSIZE.
78418         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
78419         "unsigned long long int" if __x86_64__ is defined.
78420         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
78422         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
78423         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
78424         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
78426         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
78427         <stdint.h>.
78428         (GET_PC): Cast to uintptr_t first.
78429         (GET_FRAME): Likewise.
78430         (GET_STACK): Likewise.
78432         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
78433         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
78434         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
78435         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
78436         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
78437         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
78438         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
78439         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
78440         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
78441         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
78442         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
78443         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
78444         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
78445         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
78446         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
78447         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
78448         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
78449         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
78450         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
78451         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
78452         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
78453         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
78454         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
78455         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
78456         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
78457         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
78458         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
78459         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
78460         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
78462 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
78464         * Makerules (+depfiles): Also collect depfiles from .oS in
78465         $(extra-objs).
78466         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
78467         .oS, $(libnldbl-routines)).
78469         * Makerules (native-compile-mkdep-flags): Define.
78470         * sunrpc/Makefile (extra-objs): Add $(addprefix
78471         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
78472         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
78473         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
78474         calling $(make-target-directory).
78476 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78478         * bits/types.h (__snseconds_t): Removed.
78479         * time/time.h (struct timespec): Replace __snseconds_t with
78480         __syscall_slong_t.
78481         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
78482         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
78483         Likewise.
78484         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78485         (__SNSECONDS_T_TYPE): Likewise.
78486         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
78487         (__SNSECONDS_T_TYPE): Likewise.
78488         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78489         (__SNSECONDS_T_TYPE): Likewise.
78491 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78493         * sysdeps/mach/hurd/bits/typesizes.h
78494         (__SYSCALL_SLONG_TYPE): New macro.
78495         (__SYSCALL_ULONG_TYPE): Likewise.
78497 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78499         * bits/types.h (__syscall_slong_t): New type.
78500         (__syscall_ulong_t): Likewise.
78502         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
78503         (__SYSCALL_ULONG_TYPE): Likewise.
78504         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78505         (__SYSCALL_SLONG_TYPE): Likewise.
78506         (__SYSCALL_ULONG_TYPE): Likewise.
78507         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
78508         (__SYSCALL_SLONG_TYPE): Likewise.
78509         (__SYSCALL_ULONG_TYPE): Likewise.
78510         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78511         (__SYSCALL_SLONG_TYPE): Likewise.
78512         (__SYSCALL_ULONG_TYPE): Likewise.
78514 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78516         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
78517         Add sigaltstack-offsets.sym.
78518         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
78519         <sigaltstack-offsets.h>.
78520         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
78521         longjmp_msg pointer.
78522         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
78523         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
78524         signal stack.
78525         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
78527 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
78529         * elf/stackguard-macros.h: Remove file.
78530         * sysdeps/generic/stackguard-macros.h: New file.
78531         * sysdeps/i386/stackguard-macros.h: Likewise.
78532         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
78533         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
78534         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
78535         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
78536         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
78537         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
78538         * sysdeps/x86_64/stackguard-macros.h: Likewise.
78539         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
78540         <elf/stackguard-macros.h>.
78542         [BZ #14109]
78543         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
78544         __aligned__ in attribute.
78545         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
78546         (gregset_t): Likewise.
78548 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78550         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
78551         * sysdeps/x86_64/64/Implies-after: Here.  New file.
78552         * sysdeps/x86_64/x32/Implies-after: New file.
78554 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78556         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
78557         and access return value for _dl_profile_fixup.  Use R10_LP to
78558         load frame size.
78560 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78562         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
78564 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78566         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
78567         * sysdeps/x86_64/x32/sysdep.h: New file.
78569 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78571         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
78572         * sysdeps/x86_64/setjmp.S: Likewise.
78574 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78576         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
78577         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
78578         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
78579         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
78580         remove unused global constant.
78582 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
78584         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
78585         include of <not-cancel.h>.
78587 2012-05-15  Roland McGrath  <roland@hack.frob.com>
78589         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
78591 2012-05-15  Jeff Law  <law@redhat.com>
78592             Andreas Jaeger  <aj@suse.de>
78594         [BZ #13594]
78595         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
78596         out from...
78597         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
78598         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
78599         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
78600         code changing __hst_map_handle.map.
78602 2012-05-15  Roland McGrath  <roland@hack.frob.com>
78604         * configure.in (sysnames): Look for Implies-before and Implies-after
78605         files.
78606         * configure: Regenerated.
78608 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78610         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
78611         8-byte data alignment with LP_SIZE alignment.
78613 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78615         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
78616         into R10_LP.
78618 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78620         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
78622 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78624         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
78625         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
78626         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
78627         Likewise.
78628         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
78630 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78632         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
78633         (stackinfo_sub_sp): Likewise.
78635 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78637         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
78638         RAX_LP.
78640 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78642         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
78643         into R*_LP.
78645 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78647         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
78648         sizes into R*_LP.
78650 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78652         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
78654 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78656         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
78657         into R11_LP and load __x86_64_shared_cache_size_half into
78658         R8_LP.
78660 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78662         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
78663         R8_LP.
78665 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78667         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
78668         logb for POWER7.
78669         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
78670         logbf for POWER7.
78671         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
78672         logbl for POWER7.
78673         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
78674         powerpc32/power7/fpu/s_logb.c via #include.
78675         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
78676         powerpc32/power7/fpu/s_logbf.c via #include.
78677         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
78678         powerpc32/power7/fpu/s_logbl.c via #include.
78680 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
78682         * README.libm: Remove file.
78684 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78686         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
78687         count for x32.  Use R*_LP and omit operand-size suffix.
78689 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78691         * shlib-versions: Move x86_64-.*-linux.* entries to ...
78692         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
78693         * sysdeps/x86_64/x32/shlib-versions: New file.
78695 2012-05-14  Roland McGrath  <roland@hack.frob.com>
78697         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
78698         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
78699         Use _dl_fatal_printf instead.
78701 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
78703         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
78704         set if not set by the user.  Do not allow for being unset.
78705         * sysdeps/unix/sysv/linux/configure: Regenerated.
78707 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78709         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
78710         the `q' suffix from lea and replace .quad with ASM_ADDR.
78712 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78714         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
78715         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
78716         instead of $17.
78717         (PTR_DEMANGLE): Likewise.
78719 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78721         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
78722         (LP_OP): Likewise.
78723         (ASM_ADDR): Likewise.
78724         (RAX_LP): Likewise.
78725         (RBP_LP): Likewise.
78726         (RBX_LP): Likewise.
78727         (RCX_LP): Likewise.
78728         (RDI_LP): Likewise.
78729         (RSI_LP): Likewise.
78730         (RSP_LP): Likewise.
78731         (R8_LP): Likewise.
78732         (R9_LP): Likewise.
78733         (R10_LP): Likewise.
78734         (R10_LP): Likewise.
78735         (R11_LP): Likewise.
78736         (R12_LP): Likewise.
78737         (R13_LP): Likewise.
78738         (R14_LP): Likewise.
78739         (R15_LP): Likewise.
78741 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78743         * sysdeps/x86_64/x32/dl-machine.h: New file.
78745 2012-05-14  Andreas Jaeger  <aj@suse.de>
78747         * manual/Makefile (subdir): Remove export of subdir.
78748         (all): Remove target.
78749         (.PHONY): Remove all from list.
78750         (mkinstalldirs): Remove.
78751         (.PHONY): Remove installdirs from list.
78752         ($(inst_infodir)/libc.info): Use make-target-directory.
78753         (installdirs): Remove.
78754         (subdir_%): Remove.
78755         (glibc-targets): Remove.
78756         (lib): Remove.
78757         (stubs): Remove.
78758         ($(objpfx)stubs ../po/manual.pot): Remove.
78759         ($(objpfx)stamp%): Remove.
78760         (make-target-directory): Remove.
78761         (subdir_install): Remove.
78762         (routines): Remove.
78763         (aux): Remove.
78764         (sources): Remove.
78765         (objects): Remove.
78766         (headers): Remove.
78768         [BZ #13750]
78769         * manual/.gitignore: Remove, it's not needed anymore.
78770         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
78771         all files in it.
78772         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
78773         directory.
78774         (texis): Renamed to $(objpfx)texis.
78775         (texis-path): New, contains path to generated files.
78776         (chapters.%): Use texis-path for complete path, add extra argument
78777         libc-texinfo.sh.
78778         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
78779         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
78780         (summary,texi, stamp-summary): Use complete path of
78781         files. Generate files in build dir.
78782         (dir-add.texi): Build in build dir.
78783         (libm-err.texi,stamp-libm-err): Likewise.
78784         (version.texi, stamp-version): Likewise.
78785         (.%c.texi): Likewise.
78786         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
78787         (mostlyclean): Remove target.
78788         (realclean): Remove target.
78789         (generated): Add new variable with contents from mostlyclean and
78790         realclean, remove entries duplicated in common-mostlyclean, add
78791         stamp-libm-err and stamp-version.
78792         (generated-dirs): Add libc directory.
78793         ($(inst_infodir)/libc.info): Install files from build dir.
78795         * manual/install.texi (Configuring and compiling): Adjust since
78796         the info files are not part of the tar ball anymore.
78798 2012-05-14  Andreas Jaeger  <aj@suse.de>
78800         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
78801         variable.
78803 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
78805         [BZ #13717]
78806         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
78807         to 2.2.0 where earlier.
78808         * sysdeps/unix/sysv/linux/configure: Regenerated.
78809         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
78810         Remove conditional code.
78811         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
78812         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
78813         Remove conditional code.
78814         [!__NR_lchown]: Likewise.
78815         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
78816         [__NR_lchown]: Likewise.
78817         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
78818         comment referencing __ASSUME_LCHOWN_SYSCALL.
78819         * sysdeps/unix/sysv/linux/i386/sigaction.c
78820         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
78821         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
78822         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
78823         Remove conditional code.
78824         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
78825         (__protocol_available): Remove #if 0 code.
78826         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
78827         conditional code.
78828         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
78829         * sysdeps/unix/sysv/linux/kernel-features.h
78830         (__ASSUME_GETCWD_SYSCALL): Don't define.
78831         (__ASSUME_REALTIME_SIGNALS): Likewise.
78832         (__ASSUME_PREAD_SYSCALL): Likewise.
78833         (__ASSUME_PWRITE_SYSCALL): Likewise.
78834         (__ASSUME_POLL_SYSCALL): Likewise.
78835         (__ASSUME_LCHOWN_SYSCALL): Likewise.
78836         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
78837         non-SPARC.
78838         (__ASSUME_SIOCGIFNAME): Don't define.
78839         (__ASSUME_MSG_NOSIGNAL): Likewise.
78840         (__ASSUME_SENDFILE): Define unconditionally.
78841         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
78842         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
78843         conditional code.
78844         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
78845         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
78846         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
78847         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
78848         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
78849         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
78850         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
78851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
78852         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
78853         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
78855         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
78856         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
78858         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78859         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
78861         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78862         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
78864         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
78865         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
78867         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
78868         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
78870         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78871         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
78873         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78874         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78875         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
78876         Remove conditional code.
78877         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78878         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
78879         Remove conditional code.
78880         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78881         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
78882         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
78883         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
78884         Remove conditional code.
78885         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78886         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
78887         Remove conditional code.
78888         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78889         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
78890         Remove conditional code.
78891         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78892         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
78893         Remove conditional code.
78894         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78895         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
78896         Remove conditional code.
78897         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78898         * sysdeps/unix/sysv/linux/sh/pwrite64.c
78899         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78900         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78901         * sysdeps/unix/sysv/linux/sigaction.c
78902         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
78903         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
78904         * sysdeps/unix/sysv/linux/sigpending.c
78905         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
78906         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
78907         * sysdeps/unix/sysv/linux/sigprocmask.c
78908         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
78909         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
78910         * sysdeps/unix/sysv/linux/sigsuspend.c
78911         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
78912         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
78913         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
78914         (__libc_missing_rt_sigs): Remove.
78915         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
78916         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
78917         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
78918         Remove conditional code.
78919         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
78920         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
78921         return 1.
78922         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
78923         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
78924         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
78925         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
78927 2012-05-14  Andreas Jaeger  <aj@suse.de>
78929         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
78930         it's not used in glibc.
78931         (__coshm1): Likewise.
78932         (__acosh1p): Likewise.
78933         (__sgn): Likewise.
78935         * manual/string.texi (Copying and Concatenation): Add missing
78936         variable in concat example.
78937         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
78939 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78941         [BZ #14103]
78942         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
78943         __builtin_clzl with __builtin_clzll.
78945 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78947         [BZ #14104]
78948         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
78949         libc_freeres_ptr.
78951 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78953         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
78954         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
78955         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
78956         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
78958 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
78960         * NEWS: Update ia64 info.
78962 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
78964         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
78965         used as bcopy.
78967 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
78969         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
78970         * sysdeps/unix/syscalls.list (dup3): Likewise.
78971         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
78972         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
78974 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
78976         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
78977         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
78979 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
78981         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
78982         thread pointer.
78983         (TLS_IE): Use mov/add instead of movq/addq to load thread
78984         pointer.
78985         (TLS_GD_PREFIX): New.
78986         (TLS_GD): Use it.
78988 2012-05-11  David S. Miller  <davem@davemloft.net>
78990         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
78991         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
78992         (_FPU_SETCW): Likewise.
78994 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
78996         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
78997         is 32-byte aligned.
78999 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
79001         [BZ #11837]
79002         * iconvdata/gb18030.c: Update tables.
79003         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
79004         characters specially.
79005         (BODY for TO_LOOP): Add encoding of missing ranges.
79007 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
79009         [BZ #13673]
79010         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
79011         * sysdeps/mach/hurd/dup3.c: Likewise.
79012         * sysdeps/mach/hurd/readlinkat.c: Likewise.
79013         * sysdeps/powerpc/memmove.c:: Likewise.
79015 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
79017         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
79018         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
79020 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
79022         * elf/elf.h (R_X86_64_RELATIVE64): New.
79023         (R_X86_64_NUM): Updated.
79024         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
79025         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
79026         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
79027         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
79028         tst-quad1pie tst-quad2pie
79029         (modules-names): Add tst-quadmod1 tst-quadmod2.
79030         ($(objpfx)tst-quad1): New dependency.
79031         ($(objpfx)tst-quad2): Likewise.
79032         ($(objpfx)tst-quad1pie): Likewise.
79033         ($(objpfx)tst-quad2pie): Likewise.
79034         * sysdeps/x86_64/tst-quad1.c: New file.
79035         * sysdeps/x86_64/tst-quad1pie.c: New file.
79036         * sysdeps/x86_64/tst-quad2.c: Likewise.
79037         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
79038         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
79039         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
79040         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
79041         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
79043 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79045         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
79046         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
79047         * streams/stropts.h (t_scalar_t): Define type.
79049         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
79050         (_PATH_PRESERVE): Set to "/var/lib".
79051         (_PATH_RWHODIR): Set to "/var/spool/rwho".
79053         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
79054         instead of int.
79056         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
79057         if __dir_mkfile succeeded.
79059         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
79060         checking for _hurd_dtablesize.  Unlock it right after having
79061         finished _hurd_dtable allocation.
79063 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79065         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
79066         * sysdeps/mach/hurd/configure: Regenerated.
79067         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
79068         special-casing to...
79069         * sysdeps/gnu/configure.in: ... this new file.
79070         * sysdeps/unix/sysv/linux/configure: Regenerated.
79071         * sysdeps/gnu/configure: New generated file.
79073         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
79074         for Linux: use nsec instead of usec, as well as:
79075         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
79076         members of type struct timespec.
79077         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
79078         New macros.
79079         (struct stat64): Likewise.
79080         (_STATBUF_ST_NSEC): New macro.
79081         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
79083         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
79084         __strtoul_internal rather than strtoul.
79086 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
79088         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
79089         and reject them.
79091 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79093         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
79094         which preserves existing values.
79095         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
79097 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
79099         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
79100         TIMEOUT values.  Return EINVAL for NFDS values either negative or
79101         greater than FD_SETSIZE.
79103 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79105         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
79106         allocated, call __vm_protect to finish enabling the existing space, and
79107         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
79108         allocate the remainder.
79110 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
79112         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
79113         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
79115 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79117         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
79118         sysdeps/mach/hurd/readlink.c.
79120         * posix/tst-sysconf.c (posix_options): Only use
79121         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
79122         _POSIX_SYNCHRONIZED_IO when they are defined
79123         * sysdeps/mach/hurd/bits/posix_opt.h:
79124         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
79125         (_XOPEN_REALTIME): Undefine macro.
79126         (_XOPEN_REALTIME_THREADS): Undefine macro.
79127         (_XOPEN_SHM): Undefine macro.
79128         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
79129         macro to -1.
79130         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
79131         macro to -1.
79132         (_POSIX_ASYNC_IO): Undefine macro.
79133         (_POSIX_PRIORITIZED_IO): Undefine macro.
79134         (_POSIX_SPIN_LOCKS): Define macro to -1.
79136         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
79137         SA_NODEFER, SA_RESETHAND.
79138         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
79139         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
79140         F_DUPFD_CLOEXEC.
79142 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79144         * elf/Makefile (pldd-modules): Define unconditionally.
79146 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79148         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
79150 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79152         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
79153         Return ENOENT when name is empty.
79154         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
79156 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79158         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
79160         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
79162 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79164         Fix mlock in all cases except non-readable pages.
79165         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
79166         instead of VM_PROT_ALL as parameter to __vm_wire function.
79168         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
79169         (__mkdir): When path is `/', just fail with EEXIST.
79170         * sysdeps/mach/hurd/mkdirat.c: Likewise.
79172 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79174         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
79175         <sys/uio.h> (for writev).
79176         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
79177         and <sys/param.h> (for MIN).
79179 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
79181         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
79182         REQUESTED_TIME.  Properly set the remaining time and return EINTR
79183         if interrupted.
79185 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79187         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
79188         Depend on against $(link-rpcuserlibs).
79190 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79192         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
79193         (__libc_stack_end): Do not use attribute_relro.
79194         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
79195         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
79196         to libthread-provided value.
79197         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
79198         attribute_relro.
79200 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79202         [BZ #3748]
79203         * bits/libc-lock.h (__libc_once_get): New macro.
79204         * sysdeps/mach/bits/libc-lock.h: Likewise.
79205         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
79206         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
79207         instead of using implementation details.
79209         * libio/fileops.c: Unconditionally include <kernel-features.h>.
79210         * libio/freopen.c: Likewise.
79211         * libio/freopen64.c: Likewise.
79212         * misc/syslog.c: Likewise.
79213         * nscd/connections.c: Likewise.
79214         * nscd/netgroupcache.c: Likewise.
79215         * sysdeps/posix/getcwd.c: Likewise.
79217 2012-05-10  Roland McGrath  <roland@hack.frob.com>
79219         * math/w_ilogbf.c: Add #include <limits.h>.
79221 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79223         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
79224         path instead of returning without unlocking.
79226         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
79227         immediate-write ioctls.
79228         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
79230 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79232         * sysdeps/mach/hurd/i386/init-first.c (init): Use
79233         __builtin_frame_address instead of making assumptions about the
79234         location of the return address relative to DATA.  Force early load of
79235         the return address.
79236         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
79237         __builtin_frame_address.
79239         dup3 for GNU Hurd.
79240         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
79241         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
79242         implement dup3 and do some further code clean-ups.
79243         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
79244         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
79246 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79248         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
79250         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
79251         HURD_CRITICAL_END around holding _hurd_dtable_lock.
79252         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
79253         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
79254         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
79255         d->port.lock.
79257         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
79258         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
79259         when handler == SIG_ERR, not when handler != SIG_ERR.
79261 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79263         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
79264         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
79265         definitions.
79267         accept4 for GNU Hurd.
79268         * include/sys/socket.h (__libc_accept4): New prototype.
79269         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
79270         to implement __libc_accept4.
79271         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
79272         __libc_accept4.
79273         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
79275         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
79276         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
79277         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
79278         signal-defines.sym.
79280 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79282         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
79284 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79286         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
79287         assertion on O_CLOEXEC flag.
79288         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
79289         * hurd/intern-fd.c: Likewise.
79290         * hurd/port2fd.c: Likewise.
79292 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79294         [BZ #3906]
79295         * bits/in.h (IPV6_PKTINFO): Define new macro.
79296         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
79298 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79300         [BZ #13954]
79301         [BZ #13955]
79302         [BZ #13956]
79303         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
79304         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
79305         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
79306         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
79307         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
79308         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
79309         * math/libm-test.inc (logb_test) : Additional logb tests.
79311 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
79312             Andreas Jaeger  <aj@suse.de>
79314         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
79315         * configure: Regenerated.
79316         * config.h.in (LINK_OBSOLETE_RPC): New macro.
79317         * config.make.in (link-obsolete-rpc): New substituted variable.
79318         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
79319         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
79320         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
79321         (shared-only-routines): Don't set it under [link-obsolete-rpc],
79322         so that libc.a contains the symbols.
79323         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
79324         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
79325         * sunrpc/auth_none.c: Likewise.
79326         * sunrpc/auth_unix.c: Likewise.
79327         * sunrpc/authdes_prot.c: Likewise.
79328         * sunrpc/authuxprot.c: Likewise.
79329         * sunrpc/clnt_gen.c: Likewise.
79330         * sunrpc/clnt_perr.c: Likewise.
79331         * sunrpc/clnt_raw.c: Likewise.
79332         * sunrpc/clnt_simp.c: Likewise.
79333         * sunrpc/clnt_tcp.c: Likewise.
79334         * sunrpc/clnt_udp.c: Likewise.
79335         * sunrpc/clnt_unix.c: Likewise.
79336         * sunrpc/des_crypt.c: Likewise.
79337         * sunrpc/des_soft.c: Likewise.
79338         * sunrpc/get_myaddr.c: Likewise.
79339         * sunrpc/key_call.c: Likewise.
79340         * sunrpc/key_prot.c: Likewise.
79341         * sunrpc/netname.c: Likewise.
79342         * sunrpc/pm_getmaps.c: Likewise.
79343         * sunrpc/pm_getport.c: Likewise.
79344         * sunrpc/pmap_clnt.c: Likewise.
79345         * sunrpc/pmap_prot.c: Likewise.
79346         * sunrpc/pmap_prot2.c: Likewise.
79347         * sunrpc/pmap_rmt.c: Likewise.
79348         * sunrpc/publickey.c: Likewise.
79349         * sunrpc/rpc_cmsg.c: Likewise.
79350         * sunrpc/rpc_common.c: Likewise.
79351         * sunrpc/rpc_dtable.c: Likewise.
79352         * sunrpc/rpc_prot.c: Likewise.
79353         * sunrpc/rpc_thread.c: Likewise.
79354         * sunrpc/rtime.c: Likewise.
79355         * sunrpc/svc.c: Likewise.
79356         * sunrpc/svc_auth.c: Likewise.
79357         * sunrpc/svc_raw.c: Likewise.
79358         * sunrpc/svc_run.c: Likewise.
79359         * sunrpc/svc_tcp.c: Likewise.
79360         * sunrpc/svc_udp.c: Likewise.
79361         * sunrpc/svc_unix.c: Likewise.
79362         * sunrpc/svcauth_des.c: Likewise.
79363         * sunrpc/xcrypt.c: Likewise.
79364         * sunrpc/xdr.c: Likewise.
79365         * sunrpc/xdr_array.c: Likewise.
79366         * sunrpc/xdr_float.c: Likewise.
79367         * sunrpc/xdr_intXX_t.c: Likewise.
79368         * sunrpc/xdr_mem.c: Likewise.
79369         * sunrpc/xdr_rec.c: Likewise.
79370         * sunrpc/xdr_ref.c: Likewise.
79371         * sunrpc/xdr_sizeof.c: Likewise.
79372         * sunrpc/xdr_stdio.c: Likewise.
79374 2012-05-10  Roland McGrath  <roland@hack.frob.com>
79376         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
79377         change.  Update copyright years.
79379 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
79381         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
79383 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
79384             Joseph Myers  <joseph@codesourcery.com>
79385             Paul Pluzhnikov  <ppluzhnikov@google.com>
79387         [BZ #14012]
79388         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
79389         requiring rpcgen.
79390         [cross-compiling] (extra-libs): Likewise.
79391         [cross-compiling] (extra-libs-others): Likewise.
79392         [cross-compiling] (librpcsvc-routines): Likewise.
79393         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
79394         [cross-compiling] (omit-deps): Likewise.
79395         (sunrpc-CPPFLAGS): New variable.
79396         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
79397         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
79398         (cross-rpcgen-objs): New variable.
79399         (extra-objs): Append $(cross-rpcgen-objs).
79400         ($(cross-rpcgen-objs)): New rule.
79401         ($(objpfx)cross-rpcgen): Likewise.
79402         (rpcgen-cmd): Define to use $(built-program-file).  Expand
79403         comment.
79404         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
79405         ($(objpfx)x%.stmp): Likewise.
79406         * sunrpc/proto.h [IS_IN_build] (_): Define.
79407         [IS_IN_build] (_libc_intl_domainname): Likewise.
79409 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
79411         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
79412         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
79413         and R_X86_64_TPOFF64.
79415 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
79417         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
79418         sysdeps/unix/sysv/syscalls.list.
79419         (stime): Likewise.
79420         (utime): Likewise.
79421         * sysdeps/unix/sysv/syscalls.list: Remove file.
79423 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
79425         [BZ #3440]
79426         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
79427         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
79428         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
79429         (__LC_IDENTIFICATION): Make these macros useful in #if
79430         expressions, as required by C99.
79432 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
79434         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
79435         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
79436         after this.
79438 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
79440         * stdlib/longlong.h: Updated from GCC.
79442 2012-05-09  Andreas Jaeger  <aj@suse.de>
79444         * nscd/nscd.c (run_modes): Make named enum, reorder so that
79445         default is first entry.
79446         (run_mode): Set type.
79447         (main): Remove informal message about syslog.
79448         (options): Fix typo.
79450         [BZ #14053]
79451         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
79452         to asm.
79453         (lrint): Likewise.
79454         (llrintf): Likewise.
79455         (llrint): Likewise.
79456         (rint): Likewise.
79457         (rintf): Likewise.
79458         (nearbyint): Likewise.
79459         (nearbyintf): Likewise.
79461 2012-05-09  Andreas Jaeger  <aj@suse.de>
79462             Pedro Alves  <palves@redhat.com>
79464         * nscd/nscd.c (run_mode): Use enum.
79465         (main): Cleanup coding style issue.
79467 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
79468             Andreas Jaeger  <aj@suse.de>
79470         * nscd/nscd.c (go_background): Replaced with...
79471         (run_mode): ... this.
79472         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
79473         (options): Add -F --foreground.
79474         (main): Implement it.
79475         (parse_opt): Parse it.
79477 2012-05-09  Andreas Jaeger  <aj@suse.de>
79479         [BZ #14083]
79480         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
79481         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
79482         -Wconversion warning.
79483         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
79484         Likewise.
79486 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
79488         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
79489         == 0.
79490         (LC_ALL): Use macro-int-constant.
79491         (LC_COLLATE): Likewise.
79492         (LC_CTYPE): Likewise.
79493         (LC_MESSAGES): Likewise.
79494         (LC_MONETARY): Likewise.
79495         (LC_NUMERIC): Likewise.
79496         (LC_TIME): Likewise.
79497         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
79498         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
79499         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79500         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
79501         Specify type.
79502         [C99-based standards] (float_t): Expect type.
79503         [C99-based standards] (double_t): Expect type.
79504         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
79505         type.
79506         [C99-based standards] (HUGE_VALL): Likewise.
79507         [C99-based standards] (INFINITY): Likewise.
79508         [C99-based standards] (NAN): Likewise.
79509         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
79510         [C99-based standards] (FP_NAN): Likewise.
79511         [C99-based standards] (FP_NORMAL): Likewise.
79512         [C99-based standards] (FP_SUBNORMAL): Likewise.
79513         [C99-based standards] (FP_ZERO): Likewise.
79514         [C99-based standards] (FP_FAST_FMA): Use
79515         optional-macro-int-constant.  Specify type.  Require == 1.
79516         [C99-based standards] (FP_FAST_FMAF): Likewise.
79517         [C99-based standards] (FP_FAST_FMAL): Likewise.
79518         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
79519         [C99-based standards] (FP_ILOGBNAN): Likewise.
79520         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
79521         Specify type.
79522         [C99-based standards] (MATH_ERREXCEPT): Likewise.
79523         [C99-based standards] (math_errhandling): Specify type.
79524         [ISO99 || ISO11] (signgam): Do not allow.
79525         [non-C99-based standards] (copysignf): Do not allow.
79526         [non-C99-based standards] (exp2f): Likewise.
79527         [non-C99-based standards] (log2f): Likewise.
79528         [non-C99-based standards] (modff): Allow.
79529         [non-C99-based standards] (erff): Do not allow.
79530         [non-C99-based standards] (erfcf): Likewise.
79531         [non-C99-based standards] (gammaf): Likewise.
79532         [non-C99-based standards] (hypotf): Likewise.
79533         [non-C99-based standards] (j0f): Likewise.
79534         [non-C99-based standards] (j1f): Likewise.
79535         [non-C99-based standards] (jnf): Likewise.
79536         [non-C99-based standards] (lgammaf): Likewise.
79537         [non-C99-based standards] (tgammaf): Likewise.
79538         [non-C99-based standards] (y0f): Likewise.
79539         [non-C99-based standards] (y1f): Likewise.
79540         [non-C99-based standards] (ynf): Likewise.
79541         [non-C99-based standards] (isnanf): Likewise.
79542         [non-C99-based standards] (acoshf): Likewise.
79543         [non-C99-based standards] (asinhf): Likewise.
79544         [non-C99-based standards] (atanhf): Likewise.
79545         [non-C99-based standards] (cbrtf): Likewise.
79546         [non-C99-based standards] (expm1f): Likewise.
79547         [non-C99-based standards] (ilogbf): Likewise.
79548         [non-C99-based standards] (log1pf): Likewise.
79549         [non-C99-based standards] (logbf): Likewise.
79550         [non-C99-based standards] (nextafterf): Likewise.
79551         [non-C99-based standards] (remainderf): Likewise.
79552         [non-C99-based standards] (rintf): Likewise.
79553         [non-C99-based standards] (scalbf): Likewise.
79554         [non-C99-based standards] (copysignl): Likewise.
79555         [non-C99-based standards] (exp2l): Likewise.
79556         [non-C99-based standards] (log2l): Likewise.
79557         [non-C99-based standards] (modfl): Allow.
79558         [non-C99-based standards] (erfl): Do not allow.
79559         [non-C99-based standards] (erfcl): Likewise.
79560         [non-C99-based standards] (gammal): Likewise.
79561         [non-C99-based standards] (hypotl): Likewise.
79562         [non-C99-based standards] (j0l): Likewise.
79563         [non-C99-based standards] (j1l): Likewise.
79564         [non-C99-based standards] (jnl): Likewise.
79565         [non-C99-based standards] (lgammal): Likewise.
79566         [non-C99-based standards] (tgammal): Likewise.
79567         [non-C99-based standards] (y0l): Likewise.
79568         [non-C99-based standards] (y1l): Likewise.
79569         [non-C99-based standards] (ynl): Likewise.
79570         [non-C99-based standards] (isnanl): Likewise.
79571         [non-C99-based standards] (acoshl): Likewise.
79572         [non-C99-based standards] (asinhl): Likewise.
79573         [non-C99-based standards] (atanhl): Likewise.
79574         [non-C99-based standards] (cbrtl): Likewise.
79575         [non-C99-based standards] (expm1l): Likewise.
79576         [non-C99-based standards] (ilogbl): Likewise.
79577         [non-C99-based standards] (log1pl): Likewise.
79578         [non-C99-based standards] (logbl): Likewise.
79579         [non-C99-based standards] (nextafterl): Likewise.
79580         [non-C99-based standards] (remainderl): Likewise.
79581         [non-C99-based standards] (rintl): Likewise.
79582         [non-C99-based standards] (scalbl): Likewise.
79583         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79584         [non-C99-based standards] (FP_*): Do not allow.
79585         [C99-based standards] (FP_*): Change to
79586         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
79587         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
79588         allow.
79589         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
79590         (SIG_ERR): Likewise.
79591         [X/Open-based standards] (SIG_HOLD): Likewise.
79592         (SIG_IGN): Likewise.
79593         (SIGABRT): Use macro-int-constant.  Specify type.  Require
79594         positive value.
79595         (SIGFPE): Likewise.
79596         (SIGILL): Likewise.
79597         (SIGINT): Likewise.
79598         (SIGSEGV): Likewise.
79599         (SIGTER): Likewise.
79600         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
79601         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
79602         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
79603         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
79604         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
79605         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
79606         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
79607         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
79608         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
79609         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
79610         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
79611         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
79612         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
79613         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
79614         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
79615         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
79616         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
79617         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
79618         [X/Open-based standards] (SIGTRAP): Likewise.
79619         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
79620         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
79621         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
79622         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
79623         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
79624         allow.
79626 2012-05-08  Ian Wienand  <ianw@vmware.com>
79628         [BZ #14080]
79629         * time/tzset.c (__tzset_parse_tz): Update default rules for
79630         daylight time changes in the Energy Policy Act of 2005.
79632 2012-05-09  Andreas Jaeger  <aj@suse.de>
79634         [BZ #13983]
79635         * elf/ldconfig.c (parse_conf): Change string to make clear that
79636         ldconfig only issued a warning if ld.so.conf does not exist.
79638 2012-05-08  David S. Miller  <davem@davemloft.net>
79640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
79641         movxtod instead of popping the value on the stack.
79643         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79645 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
79647         * config.h.in: Add HAVE_ARM_PCS_VFP.
79649 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
79651         [BZ #13979]
79652         * include/features.h: Warn if user requests __FORTIFY_SOURCE
79653         checking but the checks are disabled for any reason.
79655 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
79657         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
79658         and ELF64_R_TYPE with ELFW(R_TYPE).
79660 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
79662         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
79663         (ulimit): Likewise.
79665         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
79666         (settimeofday): Likewise.
79668 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
79670         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
79671         a struct th_u2 inside the union, and move tu_block/tu_code into
79672         a new th_u3 union of tu_block/tu_code inside of that.  Move
79673         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
79674         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
79675         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
79676         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
79677         (th_stuff): Change to th_u1.tu_stuff.
79678         (th_data): Define.
79679         (th_msg): Change to th_u1.th_u2.tu_data.
79681 2012-05-07  David S. Miller  <davem@davemloft.net>
79683         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79685         [BZ #14074]
79686         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
79687         (SETUP_PIC_REG): Use it.
79688         (SETUP_PIC_REG_LEAF): Use it.
79690 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
79692         [BZ #13885]
79693         [BZ #13923]
79694         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
79695         USE_AS_EXPM1L.
79696         (EXPL_FINITE): Likewise.
79697         (FLDLOG): Likewise.
79698         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
79699         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
79700         e_expl.S.
79701         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
79702         USE_AS_EXPM1L.
79703         (EXPL_FINITE): Likewise.
79704         (FLDLOG): Likewise.
79705         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
79706         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
79707         e_expl.S.
79708         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
79709         test of -max_value argument for long double.
79710         * sysdeps/i386/fpu/libm-test-ulps: Update.
79711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79713 2012-05-06  David S. Miller  <davem@davemloft.net>
79715         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
79716         quad soft-float symbols whose references which are compiler
79717         generated.
79718         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
79720 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
79722         [BZ #13884]
79723         [BZ #13914]
79724         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
79725         USE_AS_EXP10L.
79726         (EXPL_FINITE): Likewise.
79727         (FLDLOG): Likewise.
79728         (c0): Likewise.
79729         (c1): Likewise.
79730         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
79731         Adjust comments for base varying.
79732         (__expl_finite): Change alias to EXPL_FINITE.
79733         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
79734         e_expl.S.
79735         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
79736         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
79737         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
79738         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
79739         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
79740         USE_AS_EXP10L.
79741         (EXPL_FINITE): Likewise.
79742         (FLDLOG): Likewise.
79743         (c0): Likewise.
79744         (c1): Likewise.
79745         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
79746         Adjust comments for base varying.
79747         (__expl_finite): Change alias to EXPL_FINITE.
79748         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
79749         tests for bugs.
79750         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79752         [BZ #14064]
79753         * math/libm-test.inc (check_float_internal): Correct ulp
79754         calculation for subnormal expected results.
79756 2012-05-06  Andreas Jaeger  <aj@suse.de>
79758         * Makeconfig (+math-flags): New, set to -frounding-math.
79759         (+cflags): Add +math-flags so that all of glibc gets compiled with
79760         it.
79762         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
79764 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
79766         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
79767         Disable one test.
79769         [BZ #13787]
79770         [BZ #13922]
79771         [BZ #14036]
79772         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
79773         (__ieee754_expl): Allow for and saturate large arguments.
79774         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
79775         (u_threshold): Likewise.
79776         (__exp): Call __ieee754_exp before checking for overflow and
79777         underflow.
79778         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
79779         (u_threshold): Likewise.
79780         (__expf): Call __ieee754_expf before checking for overflow and
79781         underflow.
79782         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
79783         (u_threshold): Likewise.
79784         (__expl): Call __ieee754_expl before checking for overflow and
79785         underflow.
79786         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
79787         (__ieee754_expl): Allow for and saturate large arguments.
79788         * math/libm-test.inc (exp_test): Add another test.  Do not allow
79789         missing overflow exception on overflow.
79790         (expm1_test): Do not allow missing overflow exception on overflow.
79792         * sysdeps/i386/fpu/e_expl.c: Move to ...
79793         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
79794         rather than using inline asm.
79795         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
79796         * sysdeps/x86_64/fpu/e_expl.S: Copy from
79797         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
79799         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
79800         (nice): Likewise.
79801         (poll): Likewise.
79802         (signal): Likewise.
79803         (time): Likewise.
79804         (times): Likewise.
79806 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
79808         * sysdeps/unix/syscalls.list (adjtime): Add entry from
79809         sysdeps/unix/common/syscalls.list.
79810         (fchmod): Likewise.
79811         (fchown): Likewise.
79812         (ftruncate): Likewise.
79813         (getrusage): Likewise.
79814         (gettimeofday): Likewise.
79815         (setpgid): Likewise.
79816         (setregid): Likewise.
79817         (setreuid): Likewise.
79818         (sigaction): Likewise.
79819         (truncate): Likewise.
79820         (vhangup): Likewise.
79821         * sysdeps/unix/common/syscalls.list: Remove file.
79822         * sysdeps/unix/bsd/Implies: Don't include unix/common.
79823         * sysdeps/unix/sysv/linux/Implies: Likewise.
79825 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
79827         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
79828         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
79829         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
79830         Moved to ...
79831         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
79832         Here.
79833         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
79834         to ...
79835         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
79836         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
79837         to ...
79838         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
79839         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
79840         to ...
79841         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
79842         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
79843         to ...
79844         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
79845         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
79846         to ...
79847         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
79848         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
79849         to ...
79850         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
79851         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
79852         to ...
79853         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
79854         Here.
79855         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
79856         to ...
79857         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
79858         Here.
79859         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
79860         to ...
79861         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
79862         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
79863         Moved to ...
79864         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
79865         Here.
79866         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
79867         to ...
79868         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
79870 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
79872         * sysdeps/unix/common/bits/dirent.h: Remove file.
79873         * sysdeps/unix/common/bits/fcntl.h: Likewise.
79875         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
79876         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
79877         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
79878         * sysdeps/unix/bsd/isatty.c: Likewise.
79879         * sysdeps/unix/bsd/tcdrain.c: Likewise.
79880         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
79881         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
79883 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79885         [BZ #13563]
79886         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
79887         long double comparison inaccuracies.
79888         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
79889         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79891 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
79893         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
79894         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
79896 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
79898         [BZ #14049]
79899         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
79900         nonzero digits before rounding a hex value.
79901         * stdlib/tst-strtod.c (tests): Add another test.
79903 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79905         * sysdeps/s390/fpu/libm-test-ulps: Update.
79907 2012-05-03  Andreas Jaeger  <aj@suse.de>
79909         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
79910         does not get optimized out.
79911         (malloc_opt_barrier): New.
79913 2012-05-03  Andreas Jaeger  <aj@suse.de>
79914             Roland McGrath  <roland@hack.frob.com>
79916         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
79917         intermediate file deletion.
79918         (generated): Add .symlist files.
79920 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
79922         [BZ #13775]
79923         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
79924         Redirect under this condition.
79925         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
79926         [__USE_GNU] (__dprintf_chk): Not under this condition.
79927         [__USE_GNU] (__vdprintf_chk): Likewise.
79928         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
79929         under this condition.
79930         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
79931         [__USE_XOPEN2K8] (dprintf): Define under this condition.
79932         [__USE_XOPEN2K8] (vdprintf): Likewise.
79933         [__USE_GNU] (__dprintf_chk): Not under this condition.
79934         [__USE_GNU] (__vdprintf_chk): Likewise.
79935         [__USE_GNU] (dprintf): Likewise.
79936         [__USE_GNU] (vdprintf): Likewise.
79938 2012-05-03  Roland McGrath  <roland@hack.frob.com>
79940         * elf/Makefile (common-generated): Set this instead of generated for
79941         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
79942         $(all-built-dso)-derived lists.
79944 2012-05-03  Andreas Jaeger  <aj@suse.de>
79946         * sysdeps/i386/fpu/libm-test-ulps: Update.
79948         * FAQ: Removed.
79949         * FAQ.in: Likewise.
79950         * scripts/gen-FAQ.pl: Likewise.
79951         * manual/install.texi (Installation): Point to online location of
79952         FAQ.
79953         * Makefile (files-for-dist): Remove FAQ.
79954         (FAQ): Remove.
79956 2012-05-02  Allan McRae  <allan@archlinux.org>
79958         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
79959         (LDFLAGS-reldepmod5.so): Likewise.
79960         (LDFLAGS-reldep6mod1.so): Likewise.
79961         (LDFLAGS-reldep6mod4.so): Likewise.
79962         (LDFLAGS-reldep8mod3.so): Likewise.
79963         (LDFLAGS-unload4mod1.so): Likewise.
79964         (LDFLAGS-unload4mod2.so): Likewise.
79965         (LDFLAGS-tst-initorder): Likewise.
79966         (LDFLAGS-tst-initordera2.so): Likewise.
79967         (LDFLAGS-tst-initordera3.so): Likewise.
79968         (LDFLAGS-tst-initordera4.so): Likewise.
79969         (LDFLAGS-tst-initorderb2.so): Likewise.
79970         (LDFLAGS-noload): Likewise.
79971         (LDFLAGS-next): Likewise.
79972         (LDFLAGS-order2mod1.so): Likewise.
79973         (LDFLAGS-order2mod2.so): Likewise.
79974         (LDFLAGS-tst-initorder2): Likewise.
79975         (LDFLAGS-tst-initorder2a.so): Likewise.
79976         (LDFLAGS-tst-initorder2b.so): Likewise.
79977         (LDFLAGS-tst-initorder2c.so): Likewise.
79978         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
79980 2012-05-02  David S. Miller  <davem@davemloft.net>
79982         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79984 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
79986         [BZ #14055]
79987         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
79989 2012-05-02  Andreas Jaeger  <aj@suse.de>
79991         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
79992         since we manipulate rounding mode.
79993         (CPPFLAGS-test-idouble.c): Likewise.
79994         (CPPFLAGS-test-ifloat.c): Likewise.
79995         (CFLAGS-test-ldouble.c): Likewise.
79996         (CFLAGS-test-double.c): Likewise.
79997         (CFLAGS-test-float.c): Likewise.
79998         (CFLAGS-test-misc.c): Likewise.
79999         (CFLAGS-test-test-fenv.c): Likewise.
80001 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80003         [BZ #2550]
80004         [BZ #2570]
80005         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
80006         comparisons to determine direction to adjust input.
80008 2012-05-01  Roland McGrath  <roland@hack.frob.com>
80010         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
80011         output to the target.
80013         * scripts/localplt.awk: New file.
80014         * elf/Makefile ($(objpfx)check-localplt): Target removed.
80015         (check-localplt-CFLAGS): Variable removed.
80016         ($(all-built-dso:=.jmprel)): New static pattern rule.
80017         (generated): Add those targets.
80018         (localplt-built-dso): New variable.
80019         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
80021         * elf/check-localplt.c: File removed.
80023         * scripts/check-execstack.awk: New file.
80024         * elf/Makefile ($(objpfx)check-execstack): Target removed.
80025         (check-execstack-CFLAGS): Variable removed.
80026         ($(objpfx)check-execstack.h): Target removed.
80027         ($(objpfx)execstack-default): New target.
80028         (generated): Add that instead of check-execstack.h.
80029         ($(all-built-dso:=.phdr)): New static pattern rule.
80030         (generated): Add those targets.
80031         * elf/check-execstack.c: File removed.
80033         * scripts/check-textrel.awk: New file.
80034         * elf/Makefile ($(objpfx)check-textrel): Target removed.
80035         (check-textrel-CFLAGS): Variable removed.
80036         (all-built-dso): Use := to define.o
80037         ($(all-built-dso:=.dyn)): New static pattern rule.
80038         (generated): Add those targets.
80039         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
80040         * config.make.in (READELF): New substituted variable.
80041         * elf/check-textrel.c: File removed.
80043 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
80045         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
80046         allow.
80047         * conform/data/ctype.h-data [C99-based standards] (isblank):
80048         Expect function.
80049         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
80050         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
80051         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80052         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
80053         Specify type.  Require positive value.
80054         (EILSEQ): Likewise.
80055         (ERANGE): Likewise.
80056         [ISO || POSIX] (EILSEQ): Do not expect.
80057         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
80058         Specify type.  Require positive value.
80059         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
80060         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
80061         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
80062         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
80063         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
80064         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
80065         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
80066         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
80067         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
80068         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
80069         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
80070         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
80071         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
80072         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
80073         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
80074         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
80075         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
80076         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
80077         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
80078         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
80079         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
80080         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
80081         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
80082         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
80083         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
80084         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
80085         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
80086         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
80087         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
80088         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
80089         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
80090         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
80091         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
80092         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
80093         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
80094         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
80095         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
80096         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
80097         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
80098         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
80099         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
80100         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
80101         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
80102         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
80103         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
80104         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
80105         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
80106         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
80107         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
80108         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
80109         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
80110         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
80111         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
80112         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
80113         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
80114         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
80115         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
80116         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
80117         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
80118         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
80119         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
80120         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
80121         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
80122         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
80123         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
80124         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
80125         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
80126         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
80127         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
80128         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
80129         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
80130         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
80131         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
80132         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
80133         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
80134         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
80135         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
80136         Require >= 2.
80137         (FLT_ROUNDS): Expect as macro, not constant.
80138         (FLT_MANT_DIG): Use macro-int-constant.
80139         (DBL_MANT_DIG): Likewise.
80140         (LDBL_MANT_DIG): Likewise.
80141         (FLT_DIG): Likewise.
80142         (DBL_DIG): Likewise.
80143         (LDBL_DIG): Likewise.
80144         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
80145         (DBL_MIN_EXP): Likewise.
80146         (LDBL_MIN_EXP): Likewise.
80147         (FLT_MAX_EXP): Use macro-int-constant.
80148         (DBL_MAX_EXP): Likewise.
80149         (LDBL_MAX_EXP): Likewise.
80150         (FLT_MAX_10_EXP): Likewise.
80151         (DBL_MAX_10_EXP): Likewise.
80152         (LDBL_MAX_10_EXP): Likewise.
80153         (FLT_MAX): Use macro-constant.
80154         (DBL_MAX): Likewise.
80155         (LDBL_MAX): Likewise.
80156         (FLT_EPSILON): Use macro-constant.  Give upper bound.
80157         (DBL_EPSILON): Likewise.
80158         (LDBL_EPSILON): Likewise.
80159         (FLT_MIN): Likewise.
80160         (DBL_MIN): Likewise.
80161         (LDBL_MIN): Likewise.
80162         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
80163         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
80164         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
80165         [ISO11] (FLT_HAS_SUBNORM): Likewise.
80166         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
80167         [ISO11] (DBL_DECIMAL_DIG): Likewise.
80168         [ISO11] (FLT_DECIMAL_DIG): Likewise.
80169         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
80170         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
80171         [ISO11] (FLT_TRUE_MIN): Likewise.
80172         [ISO11] (LDBL_TRUE_MIN): Likewise.
80173         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80174         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
80175         (SCHAR_MIN): Use macro-int-constant.  Specify type.
80176         (SCHAR_MAX): Likewise.
80177         (UCHAR_MAX): Likewise.
80178         (CHAR_MIN): Likewise.
80179         (CHAR_MAX): Likewise.
80180         (MB_LEN_MAX): Use macro-int-constant.
80181         (SHRT_MIN): Use macro-int-constant.  Specify type.
80182         (SHRT_MAX): Likewise.
80183         (USHRT_MAX): Likewise.
80184         (INT_MAX): Likewise.
80185         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
80186         bound negative.
80187         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
80188         bound with "U".
80189         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
80190         bound with "L".
80191         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
80192         bound negative.  Suffix upper bound with "L".
80193         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
80194         bound with "UL".
80195         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
80196         Specify type.
80197         [C99-based standards] (LLONG_MAX): Likewise.
80198         [C99-based standards] (ULLONG_MAX): Likewise.
80199         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
80200         == 0.
80201         [ISO11] (max_align_t): Require type.
80202         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80204         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
80205         from $CFLAGS, without defining away __attribute__ calls.
80206         (checknamespace): Use $CFLAGS_namespace.
80208         * conform/conformtest.pl (@keywords): Only include C99 keywords
80209         for standards based on C99 or C11.
80211         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
80212         Disable tests.
80213         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
80214         UNIX98]: Likewise.
80216         * conform/conformtest.pl: Handle "macro-int-constant" and test for
80217         usability of symbols in #if.
80219         * conform/conformtest.pl: If macro or constant types start
80220         "promoted:", expect the symbol to be of the following type
80221         promoted by the integer promotions.
80223         * conform/conformtest.pl: Parse all "constant" and "macro" lines
80224         in one place.  Also handle "macro-constant".
80226         * conform/conformtest.pl: Only accept expected macro values with
80227         "==".  Parse all "macro" lines in one place.
80228         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
80230         * conform/conformtest.pl: Handle braced types on "constant" lines
80231         instead of handling "typed-constant".
80232         * conform/data/signal.h-data: Use "constant" instead of
80233         "typed-constant".
80235         * conform/conformtest.pl: Handle "optional-" at start of lines in
80236         one place rather than duplicating several cases.  Handle each
80237         format of "macro" line with initial "optional-".
80239         * conform/conformtest.pl: Only accept expected constant or
80240         optional-constant values with "==".  Parse all "constant" lines in
80241         one place.  Parse all "optional-constant" lines in one place.
80242         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
80243         * conform/data/fmtmsg.h-data: Likewise.
80244         * conform/data/netinet/in.h-data: Likewise.
80245         * conform/data/tar.h-data: Likewise.
80246         * conform/data/limits.h-data: Use "==" form on "constant" and
80247         "optional-constant" lines.
80249         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
80250         Use -std=c99 for XOPEN2K.
80251         (@knownproblems): Remove.
80252         (newtoken): Don't check %isknown.
80254         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
80255         Do not expect macro.
80256         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
80257         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
80258         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
80259         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
80260         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
80261         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
80262         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
80263         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
80264         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
80265         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
80266         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
80267         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
80268         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
80269         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
80270         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
80271         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
80272         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
80273         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
80274         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
80275         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
80276         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
80277         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
80278         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
80279         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
80280         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
80281         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
80282         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
80283         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
80284         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
80285         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
80286         [XPG3] (acosh): Likewise.
80287         [XPG3] (asinh): Likewise.
80288         [XPG3] (atanh): Likewise.
80289         [XPG3] (cbrt): Likewise.
80290         [XPG3] (expm1): Likewise.
80291         [XPG3] (ilogb): Likewise.
80292         [XPG3] (log1p): Likewise.
80293         [XPG3] (logb): Likewise.
80294         [XPG3] (nextafter): Likewise.
80295         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
80296         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
80297         [XPG3] (remainder): Likewise.
80298         [XPG3] (rint): Likewise.
80299         [XPG3 || XPG4 || UNIX98] (round): Likewise.
80300         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
80301         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
80302         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
80303         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
80304         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
80305         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
80306         [UNIX98 || XOPEN2K] (scalb): Expect.
80307         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
80308         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
80309         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
80310         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
80311         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
80312         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
80313         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
80314         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
80315         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
80316         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
80317         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
80318         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
80319         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
80320         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
80321         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
80322         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
80323         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
80324         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
80325         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
80326         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
80327         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
80328         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
80329         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
80330         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
80331         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
80332         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
80333         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
80334         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
80335         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
80336         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
80337         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
80338         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
80339         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
80340         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
80341         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
80342         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
80343         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
80344         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
80345         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
80346         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
80347         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
80348         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
80349         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
80350         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
80351         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
80352         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
80353         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
80354         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
80355         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
80356         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
80357         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
80358         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
80359         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
80360         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
80361         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
80362         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
80363         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
80364         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
80365         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
80366         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
80367         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
80368         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
80369         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
80370         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
80371         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
80372         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
80373         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
80374         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
80375         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
80376         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
80377         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
80378         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
80379         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
80380         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
80381         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
80382         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
80383         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
80384         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
80385         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
80386         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
80387         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
80388         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
80389         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
80390         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
80391         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
80392         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
80393         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
80394         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
80395         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
80396         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
80397         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
80398         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
80399         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
80400         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
80401         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
80402         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
80403         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
80404         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
80405         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
80406         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
80407         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
80408         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
80409         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
80410         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
80411         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
80412         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
80413         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
80414         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
80415         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
80416         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
80417         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
80418         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
80419         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
80420         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
80421         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
80422         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
80423         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
80424         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
80425         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
80426         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
80427         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
80428         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
80429         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
80430         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
80431         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
80432         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
80433         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
80434         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
80435         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
80436         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
80437         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
80438         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
80439         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
80440         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
80441         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
80442         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
80443         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
80445         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
80446         _XOPEN_SOURCE_EXTENDED for XPG4.
80448         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
80450         * Makeconfig (localtime): Remove variable.
80451         (inst_localtime-file): Likewise.
80453 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
80455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
80456         Update.
80457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
80458         Update.
80459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
80460         Update.
80461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
80462         Update.
80463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
80464         Update.
80465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
80466         Update.
80467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
80468         Update.
80469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
80470         Update.
80471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
80472         Update.
80474 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
80476         [BZ #2550]
80477         [BZ #2570]
80478         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
80479         comparisons to determine direction to adjust input.
80480         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
80481         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
80482         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
80483         Likewise.
80484         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
80485         Likewise.
80486         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
80487         Likewise.
80488         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
80489         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
80490         Likewise.
80491         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
80492         Likewise.
80493         * math/libm-test.inc (nexttoward_test): Add more tests.
80495 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
80497         [BZ #14040]
80498         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
80499         in version GLIBC_2.1, not GLIBC_2.0.
80500         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
80501         Likewise.
80503 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
80505         [BZ #13942]
80506         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
80507         (1 - x) * (1 + x).
80508         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
80509         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
80510         * math/libm-test.inc (acos_test): Add more tests.
80511         (asin_test): Likewise.
80512         * sysdeps/i386/fpu/libm-test-ulps: Update.
80513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80515         [BZ #14034]
80516         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
80517         of square root.
80518         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
80519         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
80520         * math/libm-test.inc (acos_test_tonearest): New function.
80521         (acos_test_towardzero): Likewise.
80522         (acos_test_downward): Likewise.
80523         (acos_test_upward): Likewise.
80524         (asin_test_tonearest): Likewise.
80525         (asin_test_towardzero): Likewise.
80526         (asin_test_downward): Likewise.
80527         (asin_test_upward): Likewise.
80528         (main): Call the new functions.
80529         * sysdeps/i386/fpu/libm-test-ulps: Update.
80530         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80532         [BZ #13884]
80533         [BZ #13924]
80534         * math/e_exp10.c: Include <float.h>.
80535         (__ieee754_exp10): Handle underflow here rather than multiplying
80536         large negative argument by M_LN10.
80537         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
80538         of __ieee754_expf.
80539         * math/e_exp10l.c: Include <float.h>.
80540         (__ieee754_exp10l): Handle underflow here rather than multiplying
80541         large negative argument by M_LN10l.
80542         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
80543         spurious overflow exception on underflow.
80545 2012-04-29  Marek Polacek  <polacek@redhat.com>
80547         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
80548         (__fortify_function): New macro.
80549         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
80550         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
80551         __extern_always_inline.
80552         * libio/bits/stdio2.h: Likewise.
80553         * libio/bits/stdio.h: Likewise.
80554         * string/string.h: Likewise.
80555         * string/bits/string3.h: Likewise.
80556         * include/stdio.h: Likewise.
80557         * stdlib/bits/stdlib.h: Likewise.
80558         * stdlib/stdlib.h: Likewise.
80559         * rt/bits/mqueue2.h: Likewise.
80560         * rt/mqueue.h: Likewise.
80561         * posix/bits/unistd.h: Likewise.
80562         * posix/unistd.h: Likewise.
80563         * io/bits/poll2.h: Likewise.
80564         * io/bits/fcntl2.h: Likewise.
80565         * io/fcntl.h: Likewise.
80566         * io/sys/poll.h: Likewise.
80567         * misc/bits/syslog.h: Likewise.
80568         * misc/bits/syslog-ldbl.h: Likewise.
80569         * misc/sys/syslog.h: Likewise.
80570         * socket/bits/socket2.h: Likewise.
80571         * socket/sys/socket.h: Likewise.
80572         * debug/tst-chk1.c: Likewise.
80573         * wcsmbs/bits/wchar2.h: Likewise.
80574         * wcsmbs/bits/wchar-ldbl.h: Likewise.
80575         * wcsmbs/wchar.h: Likewise.
80577 2012-04-29  Andreas Jaeger  <aj@suse.de>
80579         * Makerules (tests): Remove enable-check-abi protection.
80580         (check-abi-warn): Remove.
80581         (check-abi-%): Remove check-abi-warn usage.
80583         * configure.in: Remove check-abi configure option.
80584         * configure: Regenerated.
80585         * config.make.in (enable-check-abi): Remove.
80587 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
80589         [BZ #14033]
80590         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
80591         double functions to double *_finite functions.
80593         [BZ #13941]
80594         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
80595         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
80596         LDBL_MIN_EXP.
80597         * stdio-common/Makefile (tests): Add tst-sprintf3.
80598         * stdio-common/tst-sprintf3.c: New file.
80600         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
80601         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
80603 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
80605         * conform/conformtest.pl: Remove duplicate typed-constant
80606         handling.
80608 2012-04-28  David S. Miller  <davem@davemloft.net>
80610         * Makerules (%.abilist): Add vpath on sysdep_dirs.
80611         (check-abi-%): Remove AWK script prerequisite and explicit
80612         abilist directory.
80613         (check-abi): Rewrite to just diff the symlist with the abilist.
80614         (config-tls, config-abi-config): Delete, no longer used.
80615         (update-abi-%): Remove AWK script and explicit abilist directory.
80616         (update-abi): Rewrite to simply compare and conditionally copy the
80617         symlist and the sysdep abilist file.  Remove update-abi-config
80618         checks.
80619         * abilist/ld.abilist: Remove.
80620         * abilist/libBrokenLocale.abilist: Remove.
80621         * abilist/libanl.abilist: Remove.
80622         * abilist/libcrypt.abilist: Remove.
80623         * abilist/libdl.abilist: Remove.
80624         * abilist/librt.abilist: Remove.
80625         * abilist/libthread_db.abilist: Remove.
80626         * abilist/libutil.abilist: Remove.
80627         * scripts/extract-abilist.awk: Remove.
80628         * scripts/merge-abilist.awk: Remove.
80629         * sysdeps/generic/libcidn.abilist: New file.
80630         * sysdeps/generic/libnss_compat.abilist: New file.
80631         * sysdeps/generic/libnss_db.abilist: New file.
80632         * sysdeps/generic/libnss_dns.abilist: New file.
80633         * sysdeps/generic/libnss_files.abilist: New file.
80634         * sysdeps/generic/libnss_hesiod.abilist: New file.
80635         * sysdeps/generic/libnss_nis.abilist: New file.
80636         * sysdeps/generic/libnss_nisplus.abilist: New file.
80637         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
80638         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
80639         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
80640         file.
80641         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
80642         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
80643         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
80644         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
80645         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
80646         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
80647         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
80648         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
80649         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
80650         file.
80651         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
80652         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
80653         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
80654         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
80655         file.
80656         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
80657         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
80658         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
80659         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
80660         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
80661         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
80662         file.
80663         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
80664         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
80665         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
80666         file.
80667         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
80668         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
80669         New file.
80670         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
80671         New file.
80672         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
80673         New file.
80674         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
80675         New file.
80676         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
80677         New file.
80678         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
80679         New file.
80680         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
80681         New file.
80682         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
80683         New file.
80684         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
80685         New file.
80686         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
80687         New file.
80688         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
80689         New file.
80690         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
80691         New file.
80692         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
80693         New file.
80694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
80695         file.
80696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
80697         New file.
80698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
80699         New file.
80700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
80701         file.
80702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
80703         New file.
80704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
80705         New file.
80706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
80707         file.
80708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
80709         New file.
80710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
80711         New file.
80712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
80713         New file.
80714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
80715         New file.
80716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
80717         New file.
80718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
80719         New file.
80720         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
80721         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
80722         file.
80723         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
80724         New file.
80725         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
80726         file.
80727         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
80728         file.
80729         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
80730         file.
80731         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
80732         file.
80733         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
80734         file.
80735         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
80736         New file.
80737         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
80738         file.
80739         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
80740         file.
80741         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
80742         New file.
80743         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
80744         file.
80745         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
80746         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
80747         file.
80748         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
80749         New file.
80750         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
80751         file.
80752         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
80753         file.
80754         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
80755         file.
80756         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
80757         file.
80758         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
80759         file.
80760         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
80761         New file.
80762         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
80763         file.
80764         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
80765         file.
80766         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
80767         New file.
80768         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
80769         file.
80770         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
80771         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
80772         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
80773         file.
80774         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
80775         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
80776         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
80777         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
80778         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
80779         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
80780         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
80781         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
80782         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
80783         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
80784         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
80785         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
80786         file.
80787         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
80788         New file.
80789         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
80790         file.
80791         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
80792         file.
80793         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
80794         file.
80795         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
80796         file.
80797         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
80798         file.
80799         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
80800         New file.
80801         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
80802         New file.
80803         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
80804         file.
80805         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
80806         New file.
80807         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
80808         file.
80809         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
80810         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
80811         file.
80812         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
80813         New file.
80814         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
80815         file.
80816         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
80817         file.
80818         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
80819         file.
80820         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
80821         file.
80822         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
80823         file.
80824         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
80825         New file.
80826         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
80827         New file.
80828         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
80829         file.
80830         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
80831         New file.
80832         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
80833         file.
80835 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
80837         * conform/conformtest.pl: Fix typo in handling typed-constant from
80838         allow-header.
80840 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
80842         * README: Cut down references to pre-2.6 Linux kernels and
80843         Linuxthreads.  Update lists of configurations in libc and ports
80844         and sort alphabetically.  Say "or newer" with Linux kernel version
80845         requirements.
80847         * config.h.in [IS_IN_build]: Allow compiling without optimization.
80849 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
80851         [BZ #887]
80852         * math/libm-test.inc (logb_test_downward): New test to expose
80853         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
80854         rounding mode.
80856 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
80858         [BZ #14027]
80859         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
80860         to be done.
80861         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
80862         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
80864 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
80866         * sysdeps/unix/i386/brk.S: Remove file.
80867         * sysdeps/unix/i386/dl-brk.S: Likewise.
80868         * sysdeps/unix/i386/pipe.S: Likewise.
80869         * sysdeps/unix/i386/sigreturn.S: Likewise.
80870         * sysdeps/unix/i386/syscall.S: Likewise.
80871         * sysdeps/unix/i386/vfork.S: Likewise.
80872         * sysdeps/unix/i386/wait.S: Likewise.
80874         * sysdeps/unix/common/tcsendbrk.c: Move to ...
80875         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
80877         * configure.in (arm*-none*): Do not allow without
80878         --enable-hacker-mode.
80879         (netbsd*): Remove case setting base_os.
80880         (386bsd*): Likewise.
80881         (freebsd*): Likewise.
80882         (bsdi*): Likewise.
80883         (osf*): Likewise.
80884         (sunos*): Likewise.
80885         (ultrix*): Likewise.
80886         (newsos*): Likewise.
80887         (dynix*): Likewise.
80888         (*bsd*): Likewise.
80889         (sysv*): Likewise.
80890         (isc*): Likewise.
80891         (esix*): Likewise.
80892         (sco*): Likewise.
80893         (minix*): Likewise.
80894         (irix4*): Likewise.
80895         (irix6*): Likewise.
80896         (solaris[2-9]*): Likewise.
80897         (none): Likewise.
80898         * configure: Regenerated.
80900 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80902         [BZ #11521]
80903         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
80904         overflow or cancellation in calculating denominator.
80905         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
80906         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
80907         down expression to avoid unexpected rounding in newer GCCs.
80908         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
80910 2012-04-26  David S. Miller  <davem@davemloft.net>
80912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
80913         long-double compat symbols.
80914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
80915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
80916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
80917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
80918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
80919         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
80920         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
80921         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
80922         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
80923         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
80924         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
80925         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
80926         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
80928 2012-04-25  David S. Miller  <davem@davemloft.net>
80930         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
80931         HWCAP_* values only after the memory barriers have been defined.
80932         (atomic_full_barrier): Define.
80933         (atomic_read_barrier): Define.
80934         (atomic_write_barrier): Define.
80936 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
80938         * shlib-versions: Add libgcc_s version information.
80939         * sysdeps/generic/libgcc_s.h: Remove.
80940         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
80941         libgcc_s.h.
80942         * sysdeps/gnu/unwind-resume.c: Likewise.
80943         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
80945 2012-04-25  David S. Miller  <davem@davemloft.net>
80947         * sysdeps/unix/sparc/brk.S: Delete.
80948         * sysdeps/unix/sparc/dl-brk.S: Delete.
80949         * sysdeps/unix/sparc/pipe.S: Delete.
80950         * sysdeps/unix/sparc/sysdep.S: Delete.
80951         * sysdeps/unix/sparc/sysdep.h: Delete.
80952         * sysdeps/unix/sparc/vfork.S: Delete.
80953         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
80954         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
80955         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
80956         (ret_ERRVAL, r0, r1, MOVE): Define.
80957         (JUMPTARGET): Remove.
80958         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
80959         sysdeps/unix/sparc/sysdep.h
80960         (ENTRY, END): Remove.
80961         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
80963 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
80965         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
80966         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
80967         -DIS_IN_build.
80969         * timezone/README: Update upstream location and email address for
80970         tzcode and tzdata.
80971         * timezone/zdump.c: Update from tzcode 2012b.
80972         * timezone/zic.c: Likewise.
80974         * configure.in (libc_cv_as_needed): Remove test.
80975         * configure: Regenerated.
80976         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
80977         conditional definition.
80978         [$(have-as-needed) != yes] (no-as-needed): Likewise.
80979         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
80980         * config.make.in (have-as-needed): Remove variable.
80982 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
80983             Paul Pluzhnikov  <ppluzhnikov@google.com>
80985         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
80986         strings correctly.
80988 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
80990         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
80991         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
80992         * sysdeps/sh/strlen.S: Likewise.
80994 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
80996         * sysdeps/unix/fork.S: Remove file.
80997         * sysdeps/unix/i386/fork.S: Likewise.
80998         * sysdeps/unix/sparc/fork.S: Likewise.
81000         * sysdeps/unix/system.c: Remove file.
81001         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
81003         * sysdeps/unix/getegid.S: Remove file.
81004         * sysdeps/unix/geteuid.S: Likewise.
81006 2012-04-24  Roland McGrath  <roland@hack.frob.com>
81008         * scripts/check-localplt.awk: New file.
81009         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
81010         of diff.
81011         * scripts/data/localplt-generic.data: Add a comment.
81013         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
81014         NODE when __dir_mkfile failed.
81015         * sysdeps/mach/hurd/symlinkat.c: Likewise.
81016         Reported by Ludovic Courtès <ludo@gnu.org>.
81018 2012-04-24  Andreas Jaeger  <aj@suse.de>
81020         * Makerules (common-clean): Also remove gen-as-const-headers
81021         files.
81023 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
81025         * Makerules (native-compile): Do not change working directory for
81026         build.  Use $(OUTPUT_OPTION) in command.
81027         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
81029 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81031         [BZ #13886]
81032         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
81033         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
81034         * math/libm-test.inc (floor_test): Add more tests.
81035         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
81037 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
81039         * sysdeps/unix/getdents.c: Remove file.
81040         * sysdeps/unix/sysv/getdents.c: Likewise.
81041         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
81043         * sysdeps/unix/syscalls.list (madvise): Add syscall from
81044         sysdeps/unix/mman/syscalls.list.
81045         (mmap): Likewise.
81046         (mprotect): Likewise.
81047         (msync): Likewise.
81048         (munmap): Likewise.
81049         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
81050         * sysdeps/unix/mman/syscalls.list: Remove.
81051         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
81053         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
81054         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
81055         * configure: Regenerated.
81056         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
81057         $(libgcc_s_suffix).
81058         * config.make.in (libgcc_s_suffix): Remove variable.
81060 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
81062         * sysdeps/unix/sysv/gethostname.c: Move to ...
81063         * sysdeps/posix/gethostname.c: ... here.
81065         * sysdeps/unix/execve.S: Remove file.
81067         * sysdeps/unix/_exit.S: Remove file.
81069 2012-04-23  Andreas Jaeger  <aj@suse.de>
81071         [BZ #13739]
81072         * manual/Makefile: Remove make dist support, there's no
81073         need for a stand-alone documentation tar ball.
81074         (TEXI2DVI): Define always, it's not in Makeconfig.
81075         (dist): Removed.
81076         (tar-it): Removed.
81077         (edition): Removed.
81078         (glibc-doc-$(edition).tar): Removed
81079         (%.Z): Removed.
81080         (%.gz): Removed.
81081         (%.uu): Removed.
81082         (ETAGS): Remove, it's in Makeconfig.
81083         (move-if-change): Remove, it's in Makeconfig.
81085 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
81087         [BZ #13970]
81088         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
81089         (strtod, strtof, strtold, strtol, strtoul, strtoq)
81090         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
81091         (strtod_l, strtof_l, strtold_l): Remove __wur.
81092         It is not necessarily an error to ignore strtol's return value.
81093         One can reliably look at the stored endptr to decide whether
81094         the number had valid syntax.
81096 2012-04-21  Andreas Jaeger  <aj@suse.de>
81098         [BZ #13739]
81099         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
81101 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
81103         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
81104         * sysdeps/unix/sysv/Versions: Remove file.
81106 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
81108         [BZ #13927]
81109         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
81111 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
81113         [BZ #7064]
81114         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
81115         version from __vm86.
81117 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
81119         * sysdeps/unix/common/lxstat.c: Remove file.
81120         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
81122         * sysdeps/unix/sysv/Makefile: Remove file.
81124         * sysdeps/unix/sysv/direct.h: Remove file.
81126         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
81127         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
81128         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
81129         * sysdeps/unix/sysv/bits/signum.h: Likewise.
81130         * sysdeps/unix/sysv/bits/stat.h: Likewise.
81131         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
81132         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
81134         * sysdeps/unix/sysv/setrlimit.c: Remove file.
81136         * sysdeps/unix/xmknod.c: Remove file.
81137         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
81139         * sysdeps/unix/sysv/settimeofday.c: Remove file.
81141         * sysdeps/unix/sysv/i386/time.S: Remove file.
81143         * sysdeps/unix/fxstat.c: Remove file.
81144         * sysdeps/unix/xstat.c: Likewise.
81145         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
81147         * sysdeps/unix/sysv/sigaction.c: Remove file.
81149         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
81150         (sysdep_headers): Remove variable.
81151         [termio.h not in sysdep_headers] (generated): Likewise.
81152         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
81153         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
81154         * sysdeps/unix/sysv/tcdrain.c: Likewise.
81155         * sysdeps/unix/sysv/tcflow.c: Likewise.
81156         * sysdeps/unix/sysv/tcflush.c: Likewise.
81157         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
81158         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
81159         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
81160         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
81161         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
81163         * sysdeps/unix/siglist.c: Remove file.
81165         * sysdeps/unix/getppid.S: Remove file.
81167         * sysdeps/unix/mkdir.c: Remove file.
81168         * sysdeps/unix/rmdir.c: Likewise.
81170 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
81172         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
81173         ERR_MAX value.
81174         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
81175         errlist-compat value.
81177 2012-04-18  David S. Miller  <davem@davemloft.net>
81179         * sysdeps/generic/memcopy.h (reg_char): Delete.
81180         * debug/strcat_chk.c: Use char, not reg_char.
81181         * debug/strcpy_chk.c: Likewise.
81182         * debug/strncat_chk.c: Likewise.
81183         * debug/strncpy_chk.c: Likewise.
81184         * string/memchr.c: Likewise.
81185         * string/memrchr.c: Likewise.
81186         * string/rawmemchr.c: Likewise.
81187         * string/strcat.c: Likewise.
81188         * string/strchr.c: Likewise.
81189         * string/strchrnul.c: Likewise.
81190         * string/strcmp.c: Likewise.
81191         * string/strcpy.c: Likewise.
81192         * string/strncat.c: Likewise.
81193         * string/strncmp.c: Likewise.
81194         * string/strncpy.c: Likewise.
81196 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
81198         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
81199         __builtin_memcopy is called when src and dest ranges are known to not
81200         overlap.
81202 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
81204         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
81205         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
81206         fwd_align_merge macro call.
81207         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
81208         bwd_align_merge macro call.
81209         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
81211 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
81213         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
81214         bwd_align_merge macros.
81215         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
81216         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
81217         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
81219 2012-04-18  David S. Miller  <davem@davemloft.net>
81221         * sysdeps/sparc/sparc64/memcopy.h: Delete.
81223 2012-04-18  Andreas Jaeger  <aj@suse.de>
81225         [BZ #6794]
81226         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
81227         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
81228         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
81230         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
81231         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
81232         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
81234         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
81235         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
81236         Adjust for changed ldbl-128 files.
81238         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
81239         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
81240         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
81242 2012-04-17  David S. Miller  <davem@davemloft.net>
81244         * sysdeps/sparc/sparc32/memcopy.h: Delete.
81246 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
81248         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
81249         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
81250         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
81251         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
81252         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
81253         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
81255 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81257         [BZ #6794]
81258         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
81259         * math/libm-test.inc: Add ilogb errno and exception tests.
81260         * math/w_ilogb.c: New file: ilogb wrapper.
81261         * math/w_ilogbf.c: New file: ilogbf wrapper.
81262         * math/w_ilogbl.c: New file: ilogbl wrapper.
81263         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
81264         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
81265         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
81266         exception being thrown with 0.0 as argument.
81267         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
81268         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
81269         exception being thrown with 0.0 as argument.
81270         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
81271         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
81272         exception being thrown with 0.0 as argument.
81273         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
81274         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
81275         exception being thrown with 0.0 as argument.
81276         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
81277         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
81278         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
81279         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
81280         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
81281         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
81282         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
81283         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
81284         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
81286 2012-04-17  Petr Baudis  <pasky@ucw.cz>
81288         * include/sys/uio.h: Change __vector to __iovec to avoid clash
81289         with altivec.
81291 2012-04-16  Marek Polacek  <polacek@redhat.com>
81293         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
81295 2012-04-16  Marek Polacek  <polacek@redhat.com>
81297         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
81298         operands of fdivp instruction.
81300 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
81302         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
81303         * elf/tst-auditmod3b.c: Likewise.
81304         * elf/tst-auditmod4b.c: Likewise.
81305         * elf/tst-auditmod5b.c: Likewise.
81306         * elf/tst-auditmod6b.c: Likewise.
81307         * elf/tst-auditmod6c.c: Likewise.
81308         * elf/tst-auditmod7b.c: Likewise.
81309         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
81310         * sysdeps/x86_64/preconfigure.in: Likewise.
81311         * sysdeps/x86_64/preconfigure: Regenerated.
81313 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
81315         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
81316         __ILP32__.
81318 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
81320         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
81321         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
81323 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
81325         [BZ #13973]
81326         * locale/iso-639.def: Fix gl language name. Spotted by
81327         Yaron Shahrabani.
81329 2012-04-12  Roland McGrath  <roland@hack.frob.com>
81331         [BZ #2074]
81332         * libio/libio.h (__io_write_fn): Update comment.
81334 2012-04-12  Petr Baudis  <pasky@ucw.cz>
81336         [BZ #2074]
81337         * stdio.texi (Hook Functions): The user provided writer function
81338         is not allowed to return -1.
81340 2012-04-11  David S. Miller  <davem@davemloft.net>
81342         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81344 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
81346         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
81347         Add a leading slash to rtkaio.
81349 2012-04-11  Jim Meyering  <meyering@redhat.com>
81351         [BZ #11959]
81352         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
81353         It is not necessarily an error to ignore fwrite's return
81354         value.  One can reliably use ferror to test for errors after
81355         the fact.
81357 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
81359         * bits/types.h (__snseconds_t): New type.
81360         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
81362         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
81363         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81364         (__SNSECONDS_T_TYPE): Likewise.
81365         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81366         (__SNSECONDS_T_TYPE): Likewise.
81367         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81368         (__SNSECONDS_T_TYPE): Likewise.
81370 2012-04-10  Andreas Jaeger  <aj@suse.de>
81372         [BZ #2636]
81373         * manual/time.texi (Processor Time): Return type of times is
81374         elapsed real time since an arbitrary point in the past.
81375         (CPU Time): Move CLK_TCK from here...
81376         (Processor Time): ...to here.  Correct description.
81377         * manual/conf.texi (Constants for Sysconf): Correct description of
81378         _SC_CLK_TCK.
81380 2012-04-10  David S. Miller  <davem@davemloft.net>
81382         [BZ #13967]
81383         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
81384         where the is a gap between DT_REL(A) and DT_JMPREL.
81386 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
81388         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
81389         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
81390         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
81392 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
81394         * elf/dl-support.c (_dl_inhibit_cache): New variable.
81395         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
81396         (dl_main): Handle --inhibit-cache.
81397         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
81398         _dl_inhibit_cache.
81399         * elf/dl-load.c (_dl_map_object): Use it.
81400         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
81402 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
81404         [BZ #13872]
81405         * sysdeps/i386/fpu/e_powl.S (p78): New object.
81406         (__ieee754_powl): Saturate large exponents rather than testing for
81407         overflow of y*log2(x).
81408         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
81409         * math/libm-test.inc (pow_test): Do not permit spurious overflow
81410         exceptions.
81412         [BZ #11521]
81413         * math/s_ctan.c: Include <float.h>.
81414         (__ctan): Avoid internal overflow or cancellation in calculating
81415         denominator.
81416         * math/s_ctanf.c: Likewise.
81417         * math/s_ctanl.c: Likewise.
81418         * math/s_ctanh.c: Likewise.
81419         * math/s_ctanhf.c: Likewise.
81420         * math/s_ctanhl.c: Likewise.
81421         * math/libm-test.inc (ctan_test): Add more tests.
81422         (ctanh_test): Likewise.
81423         * sysdeps/i386/fpu/libm-test-ulps: Update.
81424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81426 2012-04-09  Andreas Jaeger  <aj@suse.de>
81428         [BZ #6894]
81429         * manual/filesys.texi (Directory Entries): Mention that d_namlen
81430         is an optional BSD extension.
81432         [BZ #10254]
81433         * manual/stdio.texi (Opening Streams): Document additional fopen
81434         parameters.
81436 2012-04-09  Roland McGrath  <roland@hack.frob.com>
81438         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
81439         %eax without telling the compiler.
81441 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
81443         [BZ # 13963]
81444         * manual/install.texi: Use sourceware.org.
81446 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
81448         [BZ #13873]
81449         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
81450         (__ieee754_pow): Generate overflow and underflow using huge*huge
81451         and tiny*tiny rather than just returning constant infinity or zero
81452         for large exponents.
81453         * math/libm-test.inc (pow_test): Require overflow exceptions for
81454         applicable cases of large exponents.
81456         [BZ #706]
81457         * sysdeps/i386/fpu/e_pow.S (p10): New object.
81458         (__ieee754_pow): Use iterative multiplication algorithm only for
81459         integer exponents with absolute value below 1024.  Check for odd
81460         integer exponents when using algorithm for real exponents.
81461         * math/libm-test.inc (pow_test): Add more tests.
81462         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
81464 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
81466         [BZ #13705]
81467         * math/libm-test.inc (exp_test): Do not allow overflow exception
81468         on underflow test.
81470 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
81472         [BZ #13705]
81473         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
81474         instead of __kernel_standard_f.
81476 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
81478         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
81479         * sysdeps/x86_64/memset_chk.S: Likewise.
81481 2012-04-08  Andreas Jaeger  <aj@suse.de>
81483         [BZ #10153]
81484         * manual/startup.texi (Environment Access): Describe return value
81485         for putenv and setenv.
81487         [BZ #6895]
81488         * manual/filesys.texi (Directory Entries): Add description for
81489         DT_LNK.
81491         [BZ #6890]
81492         * manual/filesys.texi (Directory Entries): Clarify that it's file
81493         system not operating system in the description of DT_UNKNOWN.
81495         [BZ #6578]
81496         * manual/syslog.texi (closelog): Fix reference, it's openlog.
81498 2012-04-08  Stephen Compall  <s11@member.fsf.org>
81500         [BZ #6649]
81501         * manual/llio.texi (Opening and Closing Files): Add cross
81502         reference to explain mode argument.
81504 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
81506         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
81507         * sysdeps/x86_64/memset_chk.S: Likewise.
81509 2012-04-07  David S. Miller  <davem@davemloft.net>
81511         * elf/elf.h (R_SPARC_WDISP10): Define.
81512         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
81513         R_SPARC_SIZE32.
81514         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
81515         R_SPARC_SIZE64 and R_SPARC_H34.
81517 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
81519         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
81520         conditions and remove no longer applicable assertion.
81522 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
81524         * bits/byteswap.h: Include <features.h>.
81525         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
81526         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
81528 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
81530         * bits/byteswap.h (__bswap_16): Removed.
81531         Include <bits/byteswap-16.h> to get __bswap_16.
81532         * sysdeps/i386/bits/byteswap.h: Likewise.
81533         * sysdeps/s390/bits/byteswap.h: Likewise.
81534         * sysdeps/x86_64/bits/byteswap.h: Likewise.
81535         * bits/byteswap-16.h: New file.
81536         * sysdeps/i386/bits/byteswap-16.h: Likewise.
81537         * sysdeps/s390/bits/byteswap-16.h: Likewise.
81538         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
81539         * string/Makefile (headers): Add bits/byteswap-16.h.
81541 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
81543         [BZ #13895]
81544         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
81545         extra indirection.
81546         * nss/Makefile (tests-static, tests): Add tst-nss-static.
81547         * nss/tst-nss-static.c: New.
81549 2012-04-06  Robert Millan  <rmh@gnu.org>
81551         [BZ #6486]
81552         * manual/llio.texi (File Position Primitive): lseek
81553         refers to WHENCE when it really means OFFSET.
81555 2012-04-06  Andreas Jaeger  <aj@suse.de>
81557         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
81558         strncmp declarations.
81560         * abilist/libc.abilist: Add __poll and __ppoll.
81562 2012-04-05  David S. Miller  <davem@davemloft.net>
81564         * scripts/check-local-headers.sh: Accept a host triplet in the
81565         path matched by the exclude regexp.
81567         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
81568         definition.
81569         * sysdeps/powerpc/powerpc32/dl-machine.h
81570         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
81571         * sysdeps/s390/s390-32/dl-machine.h
81572         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
81573         * sysdeps/sparc/sparc32/dl-machine.h
81574         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
81575         * sysdeps/sparc/sparc64/dl-machine.h
81576         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
81578         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
81579         lazy binding.
81580         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
81581         undefined symbol errors.
81583         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
81584         DT_NEEDED entries.
81586 2012-04-05  Michael Matz  <matz@suse.de>
81588         [BZ #13592]
81589         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
81591 2012-04-05  Andreas Jaeger  <aj@suse.de>
81593         [BZ #13908]
81594         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
81595         comment.
81597 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
81599         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
81600         which ROUND is no valid rounding mode.
81602 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
81604         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
81605         read again.
81606         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
81608 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
81610         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
81611         an exception using FPU order intentionally.
81613 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
81615         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
81616         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
81617         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
81618         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
81620 2012-04-05  Simon Josefsson  <simon@josefsson.org>
81622         [BZ #12340]
81623         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
81624         EINVAL when BUFLEN is too smal.
81626 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
81628         [BZ #13553]
81629         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
81630         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
81632 2012-04-03  Andreas Jaeger  <aj@suse.de>
81634         [BZ #13938]
81635         * manual/setjmp.texi (System V contexts): Fix sentence.
81637         [BZ #13926]
81638         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
81639         New macro for this case.
81640         [!__GNUC__] (__bswap_64): New inline function for this case.
81641         * sysdeps/x86_64/bits/byteswap.h: Likewise.
81642         * bits/byteswap.h: Likewise.
81643         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
81644         ull, guard with __GLIBC_HAVE_LONG_LONG.
81646         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
81647         __GLIBC_HAVE_LONG_LONG.
81649         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
81650         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
81652 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
81654         [BZ #13691]
81655         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
81656         inptr and inend, rather than using last_ch.
81658 2012-04-02  David S. Miller  <davem@davemloft.net>
81660         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
81661         * stdio-common/printf-parse.h (read_int): Change return type to
81662         'int', return -1 on INT_MAX overflow.
81663         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
81664         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
81665         overflows INT_MAX.  Check for overflow of in-format-string precision
81666         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
81667         SIZE_MAX not INT_MAX for integer overflow test.
81668         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
81669         skip the construct in the format string but do not record anything.
81670         * stdio-common/bug22.c: Adjust to test both width/prevision
81671         INT_MAX overflow as well as total length INT_MAX overflow.  Check
81672         explicitly for proper errno values.
81674 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
81676         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
81677         CHAR_MAX.
81678         * string/test-strcmp.c [! WIDE]: Likewise.
81679         * time/tst-mktime2.c: Likewise for INT_MAX.
81680         * string/test-string.h: #include <sys/param.h> for MIN.
81682         * csu/init-first.c (__libc_init_first): Call __ctype_init.
81683         * sysdeps/i386/init-first.c (init): Likewise.
81684         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
81685         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
81686         * sysdeps/sh/init-first.c (init): Likewise.
81688 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
81690         * po/ru.po: Update from translation team.
81691         * po/vi.po: Likewise.
81693 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
81695         * resolv/nss_dns/dns-host.c: Merge copyright years.
81697 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81699         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
81700         Optimize memcpy with prefetch if
81701         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
81702         src, dst pointers have unequal 16 byte alignments.
81704 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
81706         [BZ #13928]
81707         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
81708         from a CNAME entry and return the minimum ttl for the query.
81709         (gaih_getanswer_slice): Likewise.
81711 2012-03-30  Jeff Law  <law@redhat.com>
81713         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
81714         due to long keys.
81715         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
81716         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
81718         * resolv/nss_dns/dns-host.c: Update copyright year.
81720 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
81722         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
81723         requests to save a system call.  Fix check that all bytes are sent.
81725         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
81726         comments for sendmmsg.
81728 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
81730         [BZ #13691]
81731         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
81732         with only 1 character between 0x0041 and 0x01b0.
81733         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
81734         * wcsmbs/tst-mbsnrtowcs.c: New file.
81736 2012-03-29  David S. Miller  <davem@davemloft.net>
81738         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
81739         small copies by hand.
81741 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
81743         [BZ #13761]
81744         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
81745         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
81746         group memberships.
81748 2012-03-28  David S. Miller  <davem@davemloft.net>
81750         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
81751         that branches into memcpy.
81752         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
81753         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
81754         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
81755         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
81756         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
81757         bits.
81758         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
81759         implementation too.
81760         * sysdeps/sparc/mempcpy.S: New file.
81762         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
81763         the IFUNC routine in the libc case.
81764         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
81766         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
81767         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
81768         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
81769         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
81770         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
81771         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
81772         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
81773         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
81775         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
81776         loop to 256 bytes instead of 64 bytes and fix test signedness.
81778         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
81779         * sysdeps/sparc/sparc32/Makefile: rather than here...
81780         * sysdeps/sparc/sparc64/Makefile: and here.
81782 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
81784         * malloc/mallocbug.c: Avoid warnings about unused variables.
81786 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
81788         [BZ #13760]
81789         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
81790         in the right place. Discard and retry query if response is
81791         larger than input buffer size.
81793 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
81795         [BZ #369]
81796         [BZ #2678]
81797         [BZ #3866]
81798         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
81799         x for large integer exponent.
81800         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
81801         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
81802         sign of result as needed afterwards.
81803         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
81804         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
81805         result for underflowing pow the same as for overflow.
81806         (__kernel_standard_l): Handle powl overflow and underflow here
81807         rather than calling __kernel_standard.
81808         * math/libm-test.inc (pow_test): Add more tests.
81810         [BZ #3868]
81811         [BZ #13879]
81812         [BZ #13910]
81813         [BZ #13911]
81814         [BZ #13912]
81815         [BZ #13913]
81816         [BZ #13915]
81817         [BZ #13916]
81818         [BZ #13917]
81819         [BZ #13918]
81820         [BZ #13919]
81821         [BZ #13920]
81822         [BZ #13921]
81823         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
81824         * sysdeps/ieee754/k_standard.c: Include <float.h>.
81825         (__kernel_standard_l): New function.
81826         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
81827         __kernel_standard.
81828         * math/w_acosl.c (__acosl): Likewise.
81829         * math/w_asinl.c (__asinl): Likewise.
81830         * math/w_atan2l.c (__atan2l): Likewise.
81831         * math/w_atanhl.c (__atanhl): Likewise.
81832         * math/w_coshl.c (__coshl): Likewise.
81833         * math/w_exp10l.c (__exp10l): Likewise.
81834         * math/w_exp2l.c (__exp2l): Likewise.
81835         * math/w_fmodl.c (__fmodl): Likewise.
81836         * math/w_hypotl.c (__hypotl): Likewise.
81837         * math/w_j0l.c (__j0l, __y0l): Likewise.
81838         * math/w_j1l.c (__j1l, __y1l): Likewise.
81839         * math/w_jnl.c (__jnl, __ynl): Likewise.
81840         * math/w_lgammal.c (__lgammal): Likewise.
81841         * math/w_log10l.c (__log10l): Likewise.
81842         * math/w_log2l.c (__log2l): Likewise.
81843         * math/w_logl.c (__logl): Likewise.
81844         * math/w_powl.c (__powl): Likewise.
81845         * math/w_remainderl.c (__remainderl): Likewise.
81846         * math/w_scalbl.c (sysv_scalbl): Likewise.
81847         * math/w_sinhl.c (__sinhl): Likewise.
81848         * math/w_sqrtl.c (__sqrtl): Likewise.
81849         * math/w_tgammal.c (__tgammal): Likewise.
81850         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
81851         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
81852         * math/libm-test.inc (acos_test): Add more tests.
81853         (acosh_test): Likewise.
81854         (asin_test): Likewise.
81855         (atanh_test): Likewise.
81856         (exp_test): Likewise.
81857         (exp10_test): Likewise.
81858         (exp2_test): Likewise.
81859         (expm1_test): Likewise.
81860         (lgamma_test): Likewise.
81861         (log_test): Likewise.
81862         (log10_test): Likewise.
81863         (log1p_test): Likewise.
81864         (log2_test): Likewise.
81865         (pow_test): Do not allow some spurious overflow exceptions.
81866         (sqrt_test): Add more tests.
81867         (tgamma_test): Likewise.
81868         (y0_test): Likewise.
81869         (y1_test): Likewise.
81870         (yn_test): Likewise.
81872 2012-03-27  Anton Blanchard  <anton@samba.org>
81874         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
81875         MAP_HUGETLB.
81876         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
81877         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
81878         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
81880 2012-03-27  David S. Miller  <davem@davemloft.net>
81882         * conform/Makefile: Run run-conformtest.sh using $(BASH).
81884         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
81885         have-as-vis3 check.
81887 2012-03-27  Andreas Jaeger  <aj@suse.de>
81889         * sysdeps/x86_64/elf/configure.in: Moved to ...
81890         * sysdeps/x86_64/configure.in: ... here.
81891         * sysdeps/x86_64/elf/start.S: Moved to ...
81892         * sysdeps/x86_64/start.S: ... here.
81893         * sysdeps/x86_64/elf/configure: Delete.
81895         * sysdeps/x86_64/configure.in: Merge contents from
81896         sysdeps/i386/configure.in (without i686 check).
81898         * sysdeps/i386/elf/Versions: Merge into ...
81899         * sysdeps/i386/Versions: ... this.
81900         * sysdeps/i386/elf/Versions: Delete file.
81901         * sysdeps/i386/elf/start.S: Moved to ...
81902         * sysdeps/i386/start.S: ...here.
81903         * sysdeps/i386/elf/configure.in: Merge into...
81904         * sysdeps/i386/configure.in: ...here.
81905         * sysdeps/i386/elf/configure.in: Delete file.
81906         * sysdeps/i386/elf/configure: Delete file.
81908         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
81909         * debug/backtracesyms.c: ... here.
81910         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
81911         * debug/backtracesymsfd.c: ... here.
81912         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
81913         * sysdeps/generic/ifunc-sel.h: ... here.
81915         * sysdeps/unix/i386/start.c: Delete file.
81916         * sysdeps/unix/sparc/start.c: Delete file.
81917         * sysdeps/unix/start.c: Delete file.
81919         * sysdeps/sh/elf/configure.in: Moved to ...
81920         * sysdeps/sh/configure.in: ... here.
81921         * sysdeps/sh/elf/start.S: Moved to ...
81922         * sysdeps/sh/start.S: ... here.
81923         * sysdeps/sh/elf/configure: Delete file.
81925         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
81926         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
81927         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
81928         * sysdeps/powerpc/powerpc64/entry.h: ... here.
81929         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
81930         * sysdeps/powerpc/powerpc64/start.S: here.
81931         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
81932         * sysdeps/powerpc/powerpc64/Makefile: ... this.
81933         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
81934         * sysdeps/powerpc/powerpc64/configure.in: ... this.
81935         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
81937         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
81938         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
81939         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
81940         * sysdeps/powerpc/powerpc32/start.S: ... here.
81941         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
81942         * sysdeps/powerpc/powerpc32/configure.in: ... this.
81943         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
81945         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
81946         * sysdeps/powerpc/ifunc-sel.h: ... here.
81947         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
81948         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
81950         * sysdeps/sparc/elf/configure.in: Moved to ...
81951         * sysdeps/sparc/configure.in: ... here.
81952         * sysdeps/sparc/elf/configure: Delete file.
81953         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
81954         * sysdeps/sparc/sparc32/start.S: ... here.
81955         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
81956         * sysdeps/sparc/sparc64/start.S: ... here.
81957         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
81958         * sysdeps/sparc/sparc32/Makefile: ... this.
81959         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
81960         * sysdeps/sparc/sparc64/Makefile: ... this.
81962         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
81963         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
81964         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
81965         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
81966         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
81967         * sysdeps/s390/s390-32/setjmp.S: ... here.
81968         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
81969         * sysdeps/s390/s390-32/configure.in: ... here.
81970         * sysdeps/s390/s390-32/elf/configure: Delete file.
81971         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
81972         * sysdeps/s390/s390-32/start.S: ... here.
81974         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
81975         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
81976         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
81977         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
81978         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
81979         * sysdeps/s390/s390-64/setjmp.S: ... here.
81980         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
81981         * sysdeps/s390/s390-64/configure.in: ... here
81982         * sysdeps/s390/s390-64/elf/configure: Delete file.
81983         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
81984         * sysdeps/s390/s390-64/start.S: ... here.
81985         * sysdeps/s390/s390-64/elf/configure: Delete.
81987         * configure.in: Remove support for elf directories in sysdeps.
81989         * configure: Regenerated.
81990         * sysdeps/i386/configure: Regenerated.
81991         * sysdeps/powerpc/powerpc32/configure: Regenerated.
81992         * sysdeps/powerpc/powerpc64/configure: Regenerated.
81993         * sysdeps/s390/s390-32/configure: Regenerated.
81994         * sysdeps/s390/s390-64/configure: Regenerated.
81995         * sysdeps/sh/configure: Regenerated.
81996         * sysdeps/sparc/configure: Regenerated.
81997         * sysdeps/x86_64/configure: Regenerated.
81999 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
82001         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82003         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
82004         denormal result into account.
82006 2012-03-25  Roland McGrath  <roland@hack.frob.com>
82008         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
82009         Reported by Allan McRae <allan@archlinux.org>.
82011 2012-03-23  Jeff Law  <law@redhat.com>
82013         * nss/getnssent.c (__nss_getent): Fix typo.
82015 2012-03-23  David S. Miller  <davem@davemloft.net>
82017         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82019 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
82021         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
82022         to pad to uint64_t for each field.
82023         (dl_tls_index): Replace unsigned long with uint64_t.
82025 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
82026         Paul Pluzhnikov  <ppluzhnikov@google.com>
82028         [BZ #6528]
82029         * grp/Makefile (otherlibs): Don't set it.
82030         * inet/Makefile (otherlibs): Likewise.
82031         * login/Makefile (otherlibs): Likewise.
82032         * nscd/Makefile (otherlibs): Likewise.
82033         * posix/Makefile (otherlibs): Likewise.
82034         * pwd/Makefile (otherlibs): Likewise.
82035         * rt/Makefile (otherlibs): Likewise.
82036         * sunrpc/Makefile (otherlibs): Likewise.
82037         * nss/Makefile (otherlibs): Likewise.
82038         Add libnss_files to routines and static-only-routines.
82039         ($(objpfx)getent): Remove rule.
82040         * resolv/Makefile: Add libnss_dns and libresolv to routines and
82041         static-only-routines.
82043 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
82045         [BZ #13892]
82046         * math/s_cexp.c: Include <float.h>.
82047         (__cexp): Handle exp result overflowing not necessarily
82048         overflowing both real and imaginary parts of result.
82049         * math/s_cexpf.c: Likewise.
82050         * math/s_cexpl.c: Likewise.
82051         * math/libm-test.inc (cexp_test): Add more tests.
82052         * sysdeps/i386/fpu/libm-test-ulps: Update.
82053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82055 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
82057         * include/link.h (ELFW): New macro.
82058         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
82059         Replace ELF64_R_TYPE with ELFW(R_TYPE).
82061 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
82063         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
82064         with uint64_t.
82066 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
82068         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
82069         declaration.
82070         (struct La_x32_retval): Likewise.
82072 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
82074         * sysdeps/x86_64/preconfigure.in: New file.
82075         * sysdeps/x86_64/preconfigure: New generated file.
82077 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
82079         [BZ #13824]
82080         * math/e_exp2l.c: Include <float.h>.
82081         (__ieee754_exp2l): Handle overflow and underflow cases
82082         separately.  Only pass fractional part of argument to
82083         __ieee754_expl.
82084         * math/libm-test.inc (exp2_test): Add more tests.
82086         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
82087         negating x to take absolute value.
82088         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
82089         Likewise.
82090         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
82091         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
82092         Likewise.
82093         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
82094         computing low part if x was negated.
82095         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
82097 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
82099         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
82100         la_x32_gnu_pltexit.
82101         (pltexit): Cast int_retval to ptrdiff_t.
82102         * elf/tst-auditmod3b.c: Likewise.
82103         * elf/tst-auditmod4b.c: Likewise.
82104         * elf/tst-auditmod5b.c: Likewise.
82105         * elf/tst-auditmod6b.c: Likewise.
82106         * elf/tst-auditmod6c.c: Likewise.
82107         * elf/tst-auditmod7b.c: Likewise.
82109         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
82110         and x32_gnu_pltexit.
82112         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
82113         __ELF_NATIVE_CLASS.
82114         (La_x32_regs): New macro.
82115         (La_x32_retval): Likewise.
82116         (la_x32_gnu_pltenter): New function prototype.
82117         (la_x32_gnu_pltexit): Likewise.
82119 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
82121         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
82122         exponent.
82124         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82126         * configure.in (libc_cv_cc_nofma): Check for option to disable
82127         generation of FMA instructions.
82128         * configure: Regenerate.
82129         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
82130         * sysdeps/ieee754/dbl-64/Makefile: New file.
82131         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
82132         Remove brandred-fma4.
82133         (CFLAGS-brandred-fma4.c): Remove.
82134         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
82135         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
82136         define.
82137         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
82138         define.
82140 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
82142         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
82143         LLONG_MAX != LONG_MAX.
82144         (_itoa_word): Use _ITOA_WORD_TYPE on value.
82145         (_fitoa_word): Likewise.
82146         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
82147         LLONG_MAX != LONG_MAX.
82148         * stdio-common/_itowa.h: Include <_itoa.h>.
82149         (_itowa_word): Use _ITOA_WORD_TYPE on value.
82150         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
82151         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
82152         only if not defined.
82153         (_ITOA_WORD_TYPE): Likewise.
82154         (_itoa_word): Use _ITOA_WORD_TYPE on value.
82155         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
82157 2012-03-21  David S. Miller  <davem@davemloft.net>
82159         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82161 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
82163         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
82164         of x86_64 when setting libc_cv_slibdir, libdir and
82165         libc_cv_localedir.
82166         * sysdeps/unix/sysv/linux/configure: Regenerated.
82168 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
82170         * manual/lang.texi (Old Varargs): Remove section.
82171         (How Variadic): Update menu.
82172         (va_start): Do not mention varargs.h.
82174 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
82175             Joseph Myers  <joseph@codesourcery.com>
82177         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
82178         link test.
82179         * configure: Regenerated.
82181 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
82183         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
82184         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
82185         conformtest.pl
82187 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
82189         * NOTES: Remove.
82190         * Makefile (files-for-dist): Remove NOTES.
82191         (NOTES): Remove rule.
82192         * README: Don't refer to NOTES.
82193         * manual/creature.texi: Don't include macros.texi.
82194         * manual/intro.texi (creature.texi): Remove comment referring to
82195         NOTES.
82197         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
82198         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
82199         * configure: Regenerated.
82200         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
82201         LIBC_TRY_CC_OPTION.
82202         (libc_cv_as_i686): Likewise.
82203         (libc_cv_cc_avx): Likewise.
82204         (libc_cv_cc_sse2avx): Likewise.
82205         (libc_cv_cc_fma4): Likewise.
82206         (libc_cv_cc_novzeroupper): Likewise.
82207         * sysdeps/i386/configure: Regenerated.
82209         [BZ #13883]
82210         * sysdeps/i386/fpu/s_cexp.S: Remove.
82211         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
82212         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
82213         * math/libm-test.inc (cexp_test): Add more tests.
82214         * sysdeps/i386/fpu/libm-test-ulps: Update.
82215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82217 2012-03-21  Allan McRae  <allan@archlinux.org>
82219         * timezone/Makefile: Do not install iso3166.tab and zone.tab
82221 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
82223         [BZ #13871]
82224         * math/w_exp2.c: Do not include <float.h>.
82225         (o_threshold, u_threshold): Remove.
82226         (__exp2): Calculate result before checking finiteness and calling
82227         __kernel_standard.
82228         * math/w_exp2f.c: Likewise.
82229         * math/w_exp2l.c: Likewise.
82230         * math/libm-test.inc (exp2_test): Require overflow exception for
82231         1e6 input.
82233         [BZ #3866]
82234         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
82235         range of signed 64-bit integers before using fistpll.  Remove
82236         checks for whether integers fit in mantissa bits.
82237         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
82238         the range of signed 32-bit integers before using fistpl.  Remove
82239         checks for whether integers fit in mantissa bits.
82240         * sysdeps/i386/fpu/e_powl.S (p64): New object.
82241         (__ieee754_powl): Test for y outside the range of signed 64-bit
82242         integers before using fistpll.  Reduce 64-bit values to 63-bit
82243         ones as needed.
82244         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
82245         divide-by-zero is raised for zero to large negative powers.
82246         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
82247         (__ieee754_powl): Test for y outside the range of signed 64-bit
82248         integers before using fistpll.  Reduce 64-bit values to 63-bit
82249         ones as needed.
82250         * math/libm-test.inc (pow_test): Add more tests.
82252 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
82254         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
82255         <stdio-common/_itoa.h>.
82256         * debug/segfault.c: Likewise.
82257         * elf/dl-cache.c: Likewise.
82258         * elf/dl-minimal.c: Likewise.
82259         * elf/dl-misc.c: Likewise.
82260         * elf/dl-sysdep.c: Likewise.
82261         * elf/dl-version.c: Likewise.
82262         * elf/rtld.c: Likewise.
82263         * hurd/hurdsock.c: Likewise.
82264         * hurd/lookup-retry.c: Likewise.
82265         * malloc/malloc.c: Likewise.
82266         * malloc/mtrace.c: Likewise.
82267         * nscd/nscd_getgr_r.c: Likewise.
82268         * nscd/nscd_getpw_r.c: Likewise.
82269         * nscd/nscd_getserv_r.c: Likewise.
82270         * posix/getopt_init.c: Likewise.
82271         * posix/wordexp.c: Likewise.
82272         * stdio-common/_itoa.c: Likewise.
82273         * stdio-common/printf_fphex.c: Likewise.
82274         * stdio-common/vfprintf.c: Likewise.
82275         * string/_strerror.c: Likewise.
82276         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
82277         * sysdeps/i386/i686/hp-timing.h: Likewise.
82278         * sysdeps/mach/_strerror.c: Likewise.
82279         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
82280         * sysdeps/mach/hurd/sethostid.c: Likewise.
82281         * sysdeps/mach/hurd/xmknodat.c: Likewise.
82282         * sysdeps/mach/xpg-strerror.c: Likewise.
82283         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
82284         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
82285         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
82286         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
82287         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
82288         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
82289         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
82290         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
82291         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
82292         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
82293         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
82294         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
82295         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
82296         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
82297         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
82298         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
82299         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
82300         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
82301         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
82302         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
82303         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
82305         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
82307         * stdio-common/_itoa.h: Moved to ...
82308         * sysdeps/generic/_itoa.h: Here.
82310         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
82312         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
82313         instead of "_itoa.h" and "_itowa.h".
82314         * stdio-common/vfprintf.: Likewise.
82316 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
82318         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
82319         <bits/wordsize.h>.
82320         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
82321         (__signbit): Likewise.
82322         (llrintf): Likewise.
82323         (llrint): Likewise.
82325 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
82327         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
82328         __WORDSIZE != 64.
82330 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
82332         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
82333         OVERFLOW_EXCEPTION_OK.
82334         * math/libm-test.inc ("Philosophy"): Update comment about
82335         exception testing.
82336         (OVERFLOW_EXCEPTION): Define.
82337         (OVERFLOW_EXCEPTION_OK): Likewise.
82338         (INVALID_EXCEPTION_OK): Renumber.
82339         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
82340         (IGNORE_ZERO_INF_SIGN): Likewise.
82341         (test_exceptions): Handle FE_OVERFLOW.
82342         (exp10_test): Expect overflow exceptions.
82343         (exp2_test): Likewise.
82344         (expm1_test): Likewise.
82345         (nextafter_test): Likewise.
82346         (pow_test): Likewise.
82347         (scalbn_test): Likewise.
82348         (scalbln_test): Likewise.
82350 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82352         * sysdeps/x86_64/bits/atomic.h
82353         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
82354         64bit integer.
82355         (atomic_exchange_acq): Likewise.
82356         (__arch_exchange_and_add_body): Likewise.
82357         (__arch_add_body): Likewise.
82358         (atomic_add_negative): Likewise.
82359         (atomic_add_zero): Likewise.
82361 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82363         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
82364         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
82366 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82368         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
82369         Check __x86_64__ instead of __WORDSIZE.
82371 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82373         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
82375 2012-03-19  David S. Miller  <davem@davemloft.net>
82377         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82379         * sysdeps/sparc/fpu/fenv_private.h: New file.
82380         * sysdeps/sparc/fpu/math_private.h: Use it.
82381         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
82382         Remove.
82383         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
82384         (libc_feholdexcept_setroundl): Remove.
82385         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
82386         Remove.
82387         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
82388         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
82390 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82392         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
82393         int64_t instead of long int.
82394         (INSERT_WORDS64): Likewise.
82396 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82398         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
82399         _Unwind_GetCFA return to _Unwind_Ptr first.
82401 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
82403         [BZ #13629]
82404         * math/s_clog.c: Include <float.h>.
82405         (__clog): Scale large or subnormal inputs.
82406         * math/s_clogf.c: Likewise.
82407         * math/s_clogl.c: Likewise.
82408         * math/s_clog10.c: Include <float.h>.
82409         (M_LOG10_2): Define.
82410         (__clog10): Scale large or subnormal inputs.
82411         * math/s_clog10f.c: Likewise.
82412         * math/s_clog10l.c: Likewise.
82413         * math/libm-test.inc (clog_test): Add more tests.
82414         (clog10_test): Likewise.
82415         * sysdeps/i386/fpu/libm-test-ulps: Update.
82416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82418         [BZ #11451]
82419         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
82420         x and y.
82421         * math/libm-test.inc (atan2_test): Add another test.
82423         * Makerules (common-objdir-compile): Remove.
82424         * sysdeps/unix/Makefile (config-generated): Do not add
82425         $(unix-generated) to variable.
82426         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
82427         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
82428         Remove rule.
82429         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
82430         Likewise.
82431         [generic bits/local_lim.h] (before-compile): Do not append to
82432         variable.
82433         [generic bits/local_lim.h] (common-generated): Likewise.
82434         [generic sys/param.h] (before-compile): Do not append to variable.
82435         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
82436         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
82437         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
82438         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
82439         include.
82440         [generic sys/param.h] (sys/param.h-includes): Remove variable.
82441         [generic sys/param.h] (sys/param.h-includes): Remove rule.
82442         [generic sys/param.h] ($(addprefix
82443         $(common-objpfx),$(sys/param.h-includes))): Likewise.
82444         [generic sys/param.h] (common-generated): Do not append to
82445         variable.
82446         [generic sys/param.h] (sysdep_headers): Likewise.
82447         [generic bits/errno.h] (before-compile): Do not append to
82448         variable.
82449         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
82450         rule.
82451         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
82452         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
82453         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
82454         [generic bits/errno.h] (common-generated): Do not append to
82455         variable.
82456         [generic bits/ioctls.h] (before-compile): Do not append to
82457         variable.
82458         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
82459         rule.
82460         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
82461         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
82462         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
82463         rule.
82464         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
82465         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
82466         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
82467         [generic bits/ioctls.h] (common-generated): Do not append to
82468         variable.
82469         [generic sys/syscall.h] (syscall.h): Remove variable.
82470         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
82471         rule.
82472         [generic sys/syscall.h] (before-compile): Do not append to
82473         variable.
82474         [generic sys/syscall.h] (common-generated): Likewise.
82475         * sysdeps/unix/errnos-tmpl.c: Remove file.
82476         * sysdeps/unix/errnos.awk: Likewise.
82477         * sysdeps/unix/ioctls-tmpl.c: Likewise.
82478         * sysdeps/unix/ioctls.awk: Likewise.
82479         * sysdeps/unix/mk-local_lim.c: Likewise.
82480         * sysdeps/unix/snarf-ioctls: Likewise.
82482 2012-03-19  Richard Henderson  <rth@twiddle.net>
82484         * sysdeps/i386/fpu/fenv_private.h: New file.
82485         * sysdeps/i386/fpu/math_private.h: Use it.
82486         (math_opt_barrier, math_force_eval): Remove.
82487         (libc_feholdexcept_setround_53bit): Remove.
82488         (libc_feupdateenv_53bit): Remove.
82489         * sysdeps/x86_64/fpu/math_private.h: Likewise.
82490         (math_opt_barrier, math_force_eval): Remove.
82491         (libc_feholdexcept): Remove.
82492         (libc_feholdexcept_setround): Remove.
82493         (libc_fetestexcept, libc_fesetenv): Remove.
82494         (libc_feupdateenv_test): Remove.
82495         (libc_feupdateenv, libc_feholdsetround): Remove.
82496         (libc_feresetround): Remove.
82498         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
82499         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
82501         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
82502         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
82503         (libc_feupdateenv_testl): New.
82504         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
82505         (libc_feupdateenv_testf): New.
82506         (libc_feupdateenv): Use libc_feupdateenv_test.
82507         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
82508         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
82510         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
82511         (libc_feholdsetroundf, libc_feholdsetroundl): New.
82512         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
82513         (libc_feresetround_noex): New.
82514         (libc_feresetround_noexf): New.
82515         (libc_feresetround_noexl): New.
82516         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
82517         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
82518         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
82519         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
82520         SET_RESTORE_ROUND.
82521         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
82522         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
82523         (__cos): Likewise.
82524         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
82525         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
82526         SET_RESTORE_ROUND_NOEX.
82527         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
82528         SET_RESTORE_ROUND_NOEXF.
82529         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
82530         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
82531         (libc_feholdsetroundf): New.
82532         (libc_feresetround, libc_feresetroundf): New.
82534         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
82535         (libc_feholdexcept_setround_53bit): Convert from macro to function.
82536         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
82538         * sysdeps/generic/math_private.h: Include <fenv.h>.
82539         (default_libc_feholdexcept): New.
82540         (default_libc_feholdexcept_setround): New.
82541         (default_libc_fesetenv, default_libc_feupdateenv): New.
82542         (libc_feholdexcept): Only define if undefined.
82543         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
82544         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
82545         (libc_feholdexcept_setroundl): Likewise.
82546         (libc_feholdexcept_setround_53bit): Likewise.
82547         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
82548         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
82549         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
82550         (libc_feupdateenv_53bit): Likewise.
82551         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
82552         (libc_feholdexcept): Convert from macro to inline function.
82553         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
82554         (libc_fesetenv, libc_feupdateenv): Likewise.
82556         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
82557         not previously defined.
82558         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
82559         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
82560         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
82561         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
82562         * sysdeps/ieee754/flt-32/math_private.h: New file.
82563         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
82564         math_private.h below SET_FLOAT_WORD.
82565         (__isnan, __isinf_ns, __finite): Remove.
82566         (__isnanf, __isinf_nsf, __finitef): Remove.
82568 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
82570         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82572 2012-03-17  David S. Miller  <davem@davemloft.net>
82574         [BZ #6471]
82575         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
82576         for 2.16.
82578 2012-03-16  David S. Miller  <davem@davemloft.net>
82580         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
82581         warnings.
82583         [BZ #6471]
82584         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
82585         properly.
82586         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
82587         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
82588         sysdep_routines when subdir is sysvipc.
82589         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
82590         __getshmlba helper.
82592         * sysdeps/sparc/fpu/libm-test/ulps: Update.
82594 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
82596         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
82597         [__LP64__].
82599 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
82601         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
82602         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
82603         (__lround): Renamed to ...
82604         (__llround): This.  Replace long int with long long int.
82605         Define lround functions as aliases of llround functions.
82606         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
82608 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
82610         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
82611         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
82612         adresses to uintptr_t.  Replace "long int" and "unsigned long
82613         int" with "greg_t" on va_arg.
82615 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
82617         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
82618         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
82620         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
82621         Move e_machine check before EI_CLASS check.  Handle x32
82622         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
82623         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
82624         SKIP_EM_IA_64 and include
82625         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
82627         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
82628         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
82629         (add_system_dir): New macro.
82631         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
82632         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
82634 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
82636         [BZ #2551]
82637         [BZ #2552]
82638         [BZ #2553]
82639         [BZ #2554]
82640         [BZ #2562]
82641         [BZ #2563]
82642         [BZ #2565]
82643         [BZ #2566]
82644         [BZ #2576]
82645         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
82646         (y0): Likewise.
82647         * math/w_j0f.c (j0f): Likewise.
82648         (y0f): Likewise.
82649         * math/w_j0l.c (__j0l): Likewise.
82650         (__y0l): Likewise.
82651         * math/w_j1.c (j1): Likewise.
82652         (y1): Likewise.
82653         * math/w_j1f.c (j1f): Likewise.
82654         (y1f): Likewise.
82655         * math/w_j1l.c (__j1l): Likewise.
82656         (__y1l): Likewise.
82657         * math/w_jn.c (jn): Likewise.
82658         (yn): Likewise.
82659         * math/w_jnf.c (jnf): Likewise.
82660         (ynf): Likewise.
82661         * math/w_jnl.c (__jnl): Likewise.
82662         (__ynl): Likewise.
82663         * math/libm-test.inc (j0_test): Add more tests.
82664         (j1_test): Likewise.
82665         (jn_test): Likewise.  Add trailing semicolon to existing test.
82666         (y0_test): Likewise.
82667         (y1_test): Likewise.
82668         * sysdeps/i386/fpu/libm-test-ulps: Update.
82669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82671         [BZ #13851]
82672         [BZ #13854]
82673         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
82674         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
82675         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
82676         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
82677         (__tanl): Set errno for infinite argument.
82678         * sysdeps/i386/fpu/mptan.c: Remove.
82679         * sysdeps/i386/fpu/s_tan.S: Likewise.
82680         * sysdeps/i386/fpu/s_tanl.S: Likewise.
82681         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
82682         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
82683         * math/libm-test.inc (tan_test): Add more tests and enable more
82684         tests for double and long double.
82685         * sysdeps/i386/fpu/libm-test-ulps: Update.
82686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82688 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
82690         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
82691         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
82693 2012-03-16  Roland McGrath  <roland@hack.frob.com>
82695         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
82696         * configure.in: Use it for both main tree and add-ons.
82697         * configure: Regenerated.
82699 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
82701         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
82703 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
82705         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
82706         in comment.
82708         [BZ #13851]
82709         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
82710         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
82711         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
82712         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
82713         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
82714         infinite argument.
82715         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
82716         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
82717         != 0 for prec == 2.
82718         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
82719         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
82720         * sysdeps/i386/fpu/s_cosl.S: Likewise.
82721         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
82722         * sysdeps/i386/fpu/s_sinl.S: Likewise.
82723         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
82724         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
82725         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
82726         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
82727         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
82728         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
82729         * math/libm-test.inc (cos_test): Add more tests and enable more
82730         tests for long double.
82731         (sin_test): Likewise.
82732         (sincos_test): Likewise.
82733         * sysdeps/i386/fpu/libm-test-ulps: Update.
82734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82736 2012-03-16  David S. Miller  <davem@davemloft.net>
82738         * sysdeps/sparc/fpu/math_private.h: New file.
82740 2012-03-15  David S. Miller  <davem@davemloft.net>
82742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
82743         file.
82744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
82745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
82746         file.
82747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
82748         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
82749         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
82750         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
82751         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
82752         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
82753         sysdep routines.
82754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
82756         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
82757         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
82759         * sysdeps/sparc/sparc-ifunc.h: New file.
82760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
82761         sparc-ifunc.h
82762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
82763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
82764         Likewise.
82765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
82766         Likewise.
82767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
82768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
82769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
82770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
82771         Likewise.
82772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
82773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
82774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
82775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
82776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
82777         Likewise.
82778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
82779         Likewise.
82780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
82781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
82782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
82783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
82784         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
82785         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
82786         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
82787         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
82788         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
82789         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
82790         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
82791         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
82792         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
82793         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
82794         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
82795         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
82796         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
82797         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
82798         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
82799         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
82800         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
82801         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
82802         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
82803         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
82805 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
82807         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
82808         scaling.
82809         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82811 2012-03-15  Andreas Jaeger  <aj@suse.de>
82813         [BZ #13852]
82814         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
82815         ieee754/flt-32 implementation for sin, cos and sincos.
82816         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
82817         * sysdeps/i386/fpu/s_cosf.S: Likewise.
82818         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
82819         * sysdeps/i386/fpu/s_sinf.S: Likewise.
82820         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
82821         ieee754/flt-32 implementation for tan.
82823         * math/libm-test.inc (cos_test): Enable some large input tests for
82824         float as well
82825         (sin_test): Likewise.
82826         (sincos_test): Likewise.
82827         (tan_test): Add tests for large input.
82829         * sysdeps/i386/fpu/libm-test-ulps: Update.
82831 2012-03-15  Andreas Jaeger  <aj@suse.de>
82833         [BZ #13658]
82834         * math/libm-test.inc (cos_test): Add more test cases.
82835         (sin_test): Likewise.
82836         (sincos_test): Likewise.
82838 2012-03-15  Andreas Jaeger  <aj@suse.de>
82840         [BZ #13837]
82841         * math/libm-test.inc (cos_test): Add a test case for large input
82842         value.
82843         (sin_test): Likewise.
82844         (sincos_test): Likewise.
82846 2012-03-15  Andreas Jaeger  <aj@suse.de>
82847             Joseph Myers  <joseph@codesourcery.com>
82849         [BZ #13658]
82850         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
82851         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
82852         * sysdeps/i386/fpu/branred.c: Likewise.
82853         * sysdeps/i386/fpu/dosincos.c: Likewise.
82854         * sysdeps/i386/fpu/mpa.c: Likewise.
82855         * sysdeps/i386/fpu/s_cos.S: Likewise.
82856         * sysdeps/i386/fpu/s_sin.S: Likewise.
82857         * sysdeps/i386/fpu/s_sincos.S: Likewise.
82858         * sysdeps/i386/fpu/sincos32.c: Likewise.
82860         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
82861         Define.
82862         (libc_feupdateenv_53bit): Define.
82863         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
82864         Define.
82865         (libc_feupdateenv_53bit): Define.
82867         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
82868         53 bit (without extend i386 double precision).
82870         * math/libm-test.inc (sincos_test): Add tests for large input.
82871         (sin): Likewise.
82872         (cos): Likewise.
82874         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
82876 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
82878         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82880 2012-03-15  David S. Miller  <davem@davemloft.net>
82882         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
82883         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
82884         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
82885         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
82886         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
82887         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
82888         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
82889         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
82890         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
82891         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
82892         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
82893         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
82894         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
82895         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
82896         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
82897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
82898         file.
82899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
82900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
82901         file.
82902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
82903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
82904         file.
82905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
82906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
82907         file.
82908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
82909         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
82910         fmin/fmax sysdep routines.
82911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
82913 2012-03-14  David S. Miller  <davem@davemloft.net>
82915         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
82916         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
82917         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
82918         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
82919         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
82920         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
82921         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
82922         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
82923         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
82924         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
82925         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
82926         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
82927         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
82928         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
82929         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
82930         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
82931         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
82932         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
82933         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
82934         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
82935         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
82936         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
82937         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
82938         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
82939         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
82940         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
82941         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
82942         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
82943         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
82944         routines.
82945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
82946         file.
82947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
82948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
82949         file.
82950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
82951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
82952         file.
82953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
82954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
82955         file.
82956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
82957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
82958         file.
82959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
82960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
82961         file.
82962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
82963         file.
82964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
82965         file.
82966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
82967         file.
82968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
82969         New file.
82970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
82971         file.
82972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
82973         file.
82974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
82975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
82976         file.
82977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
82978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
82979         file.
82980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
82981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
82982         file.
82983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
82984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
82985         VIS3 routines.
82987         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
82988         New file.
82990         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82992         * sysdeps/sparc/configure.in: New file.
82993         * sysdeps/sparc/configure: Generate.
82994         * configure.in (libc_cv_sparc_as_vis3): Substitute.
82995         * configure: Regenerate.
82996         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
82997         * config.make.in (have-as-vis3): New.
82998         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
82999         available use -Av9d instead of -Av9a.
83000         * sysdeps/sparc/sparc64/Makefile: Likewise.
83001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
83002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
83003         New file.
83004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
83005         file.
83006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
83007         New file.
83008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
83009         file.
83010         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
83011         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
83012         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
83013         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
83014         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
83016         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
83017         fzeros/fnegs to load 0x80000000 into a float register instead of
83018         using the stack.
83019         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
83021 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
83023         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83024         bits/syscall.h.
83025         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
83026         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
83027         ($(inst_includedir)/bits/syscall.h): Remove rule.
83028         ($(objpfx)bits/syscall.d): Include instead of
83029         $(objpfx)syscall-list.d.
83030         (generated): Change syscall-list.h and syscall-list.d to
83031         bits/syscall.h and bits/syscall.d.
83033 2012-03-14  Roland McGrath  <roland@hack.frob.com>
83035         [BZ #13846]
83036         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
83038 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
83040         [BZ #13841]
83041         * math/s_csqrt.c: Include <float.h>.
83042         (__csqrt): Scale large or subnormal inputs.
83043         * math/s_csqrtf.c: Likewise.
83044         * math/s_csqrtl.c: Likewise.
83045         * math/libm-test.inc (csqrt_test): Add more tests.
83046         * sysdeps/i386/fpu/libm-test-ulps: Update.
83047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83049         [BZ #13840]
83050         * math/libm-test.inc (hypot_test): Add more tests.
83052 2012-03-13  David S. Miller  <davem@davemloft.net>
83054         [BZ #13840]
83055         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
83056         double-precision for the calculation instead of scaling.
83058 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
83060         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
83061         manipulate bits before adding and subtracting TWO52[sx].
83062         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
83063         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
83064         Likewise.
83065         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
83067 2012-03-13  David S. Miller  <davem@davemloft.net>
83069         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
83070         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
83071         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
83072         rtld-global-offsets.h
83073         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
83075         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
83076         large parameters.
83078         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
83080         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
83081         'err' in the ifdef scope in which it is actually used.
83083         * nss/nss_db/db-init.c: Include string.h
83085 2012-03-12  David S. Miller  <davem@davemloft.net>
83087         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
83088         masking out of the most significant byte of random value used.
83089         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83090         Fix coding style in previous change.
83092         * sysdeps/unix/sysv/linux/kernel-features.h
83093         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
83094         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
83095         expression.
83096         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
83097         later.
83099 2012-03-11  David S. Miller  <davem@davemloft.net>
83101         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
83102         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
83103         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
83104         for 'resultvar' otherwise things get truncated on 64-bit.
83106         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83107         Fix masking out of the most significant byte of random value used.
83109         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83111 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
83113         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83115 2012-03-09  David S. Miller  <davem@davemloft.net>
83117         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
83118         variables with appropriate CPP guards.
83119         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
83120         from the frame pointer, not the stack pointer.  Correct layout
83121         comments.  Fix test on resulting framesize and the management of
83122         the outregs buffer for pltexit.  Preserve floating point return
83123         values across _dl_call_pltexit call.
83124         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
83125         framesize and the management of the outregs buffer for pltexit.
83126         Preserve floating point return values across _dl_call_pltexit
83127         call.
83128         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
83129         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
83130         (la_sparc64_gnu_pltexit): New functions.
83131         (print_exit): Fix format string for return register value.
83133 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
83135         * sunrpc/Makefile (others): Add rpcgen.
83136         ($(objpfx)rpcgen): Remove special build rule and dependency on
83137         libc.
83138         * sunrpc/rpcgen.c: New file.
83140 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
83142         [BZ #13673]
83143         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
83144         * stdio-common/bug-vfprintf-nargs.c: Likewise.
83145         * sysdeps/i386/crti.S: Likewise.
83146         * sysdeps/i386/crtn.S: Likewise.
83147         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
83148         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
83149         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
83150         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
83151         * sysdeps/sh/crti.S: Likewise.
83152         * sysdeps/sh/crtn.S: Likewise.
83153         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
83155         [BZ #13673]
83156         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
83157         with URL.
83158         * locale/programs/locfile-kw.gperf: Likewise.
83159         * locale/programs/charmap-kw.h: Regenerated.
83160         * locale/programs/locfile-kw.h: Likewise.
83162         [BZ #13673]
83163         * intl/plural.y: Replace FSF snail mail address with URL.
83164         * intl/plural.c: Regenerated.
83166 2012-03-09  Richard Henderson  <rth@twiddle.net>
83168         * include/math_private.h: Remove file.
83169         * math/math_private.h: Move file ...
83170         * sysdeps/generic/math_private.h: ... here.
83172         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
83173         * sysdeps/powerpc/fpu/math_private.h: Likewise.
83174         * sysdeps/x86_64/fpu/math_private.h: Likewise.
83176         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
83177         and <math_private.h>.
83178         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
83179         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
83180         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
83181         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
83182         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
83183         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
83184         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
83185         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83186         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
83187         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
83188         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83189         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
83190         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
83191         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
83192         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
83193         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
83194         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
83195         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
83196         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
83197         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
83198         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83199         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
83200         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
83201         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83202         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
83203         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
83204         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
83205         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
83206         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83207         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
83208         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
83209         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
83210         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
83211         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
83212         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
83213         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
83214         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
83215         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
83216         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
83217         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
83218         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
83219         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
83220         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
83221         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
83222         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
83223         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
83224         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
83225         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
83226         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
83227         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
83228         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
83229         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
83230         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
83231         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
83232         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
83233         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
83234         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
83235         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
83236         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
83237         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
83238         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
83239         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
83240         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83241         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
83242         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
83243         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
83244         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
83245         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
83246         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
83247         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
83248         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
83249         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
83250         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
83251         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
83252         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
83253         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
83254         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
83255         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
83256         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
83257         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
83258         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
83259         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
83260         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
83261         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
83262         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
83263         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
83264         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
83265         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
83266         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
83267         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
83268         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
83269         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
83270         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
83271         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
83272         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
83273         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
83274         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
83275         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
83276         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
83277         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
83278         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
83279         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
83280         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
83281         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
83282         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
83283         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
83284         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
83285         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
83286         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
83287         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
83288         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
83289         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
83290         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
83291         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
83292         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
83293         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
83294         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
83295         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
83296         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
83297         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
83298         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
83299         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
83300         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
83301         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
83302         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
83303         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
83304         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
83305         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
83306         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
83307         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
83308         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
83309         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
83310         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
83311         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
83312         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
83313         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
83314         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
83315         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
83316         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
83317         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
83318         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
83319         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
83320         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
83321         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
83322         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
83323         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
83324         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
83325         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
83326         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
83327         * sysdeps/ieee754/k_standard.c: Likewise.
83328         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
83329         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
83330         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
83331         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
83332         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
83333         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
83334         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
83335         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
83336         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
83337         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
83338         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
83339         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
83340         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
83341         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
83342         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
83343         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
83344         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
83345         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
83346         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
83347         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
83348         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
83349         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
83350         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
83351         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
83352         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
83353         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
83354         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
83355         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
83356         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
83357         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
83358         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
83359         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
83360         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
83361         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
83362         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
83363         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
83364         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
83365         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
83366         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
83367         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
83368         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
83369         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
83370         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
83371         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
83372         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
83373         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
83374         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
83375         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
83376         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
83377         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
83378         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
83379         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
83380         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
83381         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
83382         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
83383         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
83384         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
83385         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
83386         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
83387         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
83388         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
83389         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
83390         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
83391         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
83392         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
83393         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
83394         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
83395         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
83396         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
83397         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
83398         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
83399         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
83400         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
83401         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
83402         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
83403         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
83404         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
83405         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
83406         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
83407         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
83408         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
83409         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
83410         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
83411         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
83412         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
83413         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
83414         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
83415         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
83416         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
83417         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
83418         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
83419         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
83420         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
83421         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
83422         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
83423         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
83424         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
83425         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
83426         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
83427         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
83428         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
83429         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
83430         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
83431         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
83432         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
83433         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
83434         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
83435         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
83436         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
83437         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
83438         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
83439         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
83440         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
83441         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
83442         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
83443         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
83444         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
83445         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
83446         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
83447         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
83448         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
83449         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
83450         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
83451         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
83452         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
83453         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
83454         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
83455         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
83456         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
83457         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
83458         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
83459         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
83460         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
83461         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
83462         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
83463         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
83464         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
83465         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
83466         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
83467         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
83468         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
83469         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
83470         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
83471         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
83472         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
83473         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
83474         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
83475         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
83476         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
83477         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
83478         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
83479         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
83480         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
83481         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
83482         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
83483         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
83484         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
83485         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
83486         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
83487         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
83488         * sysdeps/ieee754/s_lib_version.c: Likewise.
83489         * sysdeps/ieee754/s_matherr.c: Likewise.
83490         * sysdeps/ieee754/s_signgam.c: Likewise.
83491         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
83492         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
83493         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
83494         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
83495         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
83496         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
83497         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
83498         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
83499         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
83500         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
83501         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
83502         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
83503         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
83504         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
83505         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
83506         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
83507         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
83508         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
83509         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
83510         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
83511         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
83513 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
83515         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
83516         * sunrpc/rpc_main.c: Likewise.
83517         * sunrpc/rpc_svcout.c: Likewise.
83519 2012-03-09  David S. Miller  <davem@davemloft.net>
83521         * include/math_private.h: New file.
83523 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
83525         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
83526         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
83527         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
83528         from <bits/socket_type.h>.
83529         (enum __socket_type): Don't define here.
83530         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
83531         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83532         bits/socket_type.h.
83534         [BZ #13566]
83535         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
83536         checking __USE_GNU.
83538         * Makerules ($(inst_includedir)/%.h): New rule.
83539         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
83540         (install-others): Remove variable setting.
83541         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
83543 2012-03-08  Richard Henderson  <rth@twiddle.net>
83545         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
83546         from macro to inline function; merge with the
83547         !__LIBC_INTERNAL_MATH_INLINES version.
83548         (__ieee754_sqrtf): Likewise.
83550         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
83551         to inline function.
83552         (__rintf, __floor, __floorf): Likewise.
83554         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
83555         macro to inline function.
83556         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
83558         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
83559         not <math/math_private.h>.
83561 2012-03-08  David S. Miller  <davem@davemloft.net>
83563         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
83564         copyright year.
83565         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
83567 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
83569         * resolv/gai_misc.c (handle_requests): Fix struct timespec
83570         normalization.
83571         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
83572         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
83574 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
83576         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
83577         be defined individually, they must be defined as a block.  Define
83578         S for printing a string instead of hidint the different by using a
83579         macro for adding the 'l'.
83580         * stdio-common/tst-fphex-wide.c: Adjust.
83582 2012-03-07  Marek Polacek  <polacek@redhat.com>
83584         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
83586 2012-03-08  Marek Polacek  <polacek@redhat.com>
83588         [BZ #13806]
83589         * stdio-common/Makefile (tests): Add tst-fphex-wide.
83590         * stdio-common/tst-fphex.c: Define a few macros to make the
83591         test reusable.  Use them.
83592         * stdio-common/tst-fphex-wide.c: New file.
83594 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
83596         [BZ #6911]
83597         * manual/macros.texi (gnusystems): New macro.
83598         (nongnusystems): Likewise.
83599         (gnulinuxhurdsystems): Likewise.
83600         (gnuhurdsystems): Likewise..
83601         (gnulinuxsystems): Likewise.
83602         * manual/charset.texi: Use new macros or @theglibc{} to refer to
83603         variants of the GNU system, not "GNU system".
83604         * manual/conf.texi: Likewise.
83605         * manual/errno.texi: Likewise.  Update example of errno macro
83606         expansion.
83607         * manual/filesys.texi: Likewise.
83608         (getumask): Document as specific to GNU/Hurd.
83609         * manual/install.texi: Likewise.  Reword some references to
83610         GNU/Linux.
83611         * manual/intro.texi: Likewise.
83612         * manual/io.texi: Likewise.
83613         (File Name Portability): Detail which constraints are inapplicable
83614         to all GNU systems and which are only inapplicable to GNU/Hurd.
83615         * manual/job.texi: Likewise.
83616         * manual/llio.texi: Likewise.
83617         (O_NOCTTY): Document as present on GNU/Linux.
83618         * manual/maint.texi: Likewise.
83619         * manual/memory.texi: Likewise.
83620         * manual/pattern.texi: Likewise.
83621         * manual/pipe.texi: Likewise.
83622         * manual/process.texi: Likewise.
83623         * manual/resource.texi: Likewise.
83624         (RUSAGE_CHILDREN): Remove statement about specifying a particular
83625         child on GNU/Hurd.
83626         * manual/setjmp.texi: Likewise.
83627         * manual/signal.texi: Likewise.
83628         * manual/startup.texi: Likewise.
83629         * manual/stdio.texi: Likewise.
83630         * manual/terminal.texi: Likewise.
83631         (ONLCR): Document as POSIX.
83632         (OXTABS): Document availability on GNU/Linux as XTABS.
83633         (ONOEOT): Document availability separately from other bits.
83634         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
83635         * manual/time.texi: Likewise.
83636         * manual/users.texi: Likewise.
83637         * INSTALL: Regenerated.
83638         * sysdeps/gnu/errlist.c: Regenerated.
83640         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
83641         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
83642         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
83643         puts.
83644         * configure: Regenerated.
83646 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
83648         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
83649         default includes instead of AC_HEADER_CHECK.
83650         * sysdeps/i386/configure: Regenerated.
83652         [BZ #10716]
83653         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
83654         * math/s_cacoshf.c (__cacoshf): Likewise.
83655         * math/s_cacoshl.c (__cacoshl): Likewise.
83656         * math/s_casinh.c (__casinh): Set signs of result from argument.
83657         * math/s_casinhf.c (__casinhf): Likewise.
83658         * math/s_casinhl.c (__casinhl): Likewise.
83659         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
83660         (casinh_test): Add more tests.
83661         * sysdeps/i386/fpu/libm-test-ulps: Update.
83662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83664 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
83666         * po/zh_TW.po: Update from translation team.
83668         * login/Makefile (distribute): Remove variable.
83669         * catgets/Makefile: Likewise.
83670         * mach/Makefile: Likewise.
83671         * malloc/Makefile: Likewise.
83672         * misc/Makefile: Likewise.
83673         * iconv/Makefile: Likewise.
83674         * nscd/Makefile: Likewise.
83675         * hurd/Makefile: Likewise.
83676         * manual/Makefile: Likewise.
83677         * locale/Makefile: Likewise.
83678         * intl/Makefile: Likewise.
83679         * conform/Makefile: Likewise.
83680         * nss/Makefile: Likewise.
83681         * time/Makefile: Likewise.
83682         * soft-fp/Makefile: Likewise.
83683         * dirent/Makefile: Likewise.
83684         * gmon/Makefile: Likewise.
83685         * po/Makefile: Likewise.
83686         * rt/Makefile: Likewise.
83687         * socket/Makefile: Likewise.
83688         * math/Makefile: Likewise.
83689         * signal/Makefile: Likewise.
83690         * debug/Makefile: Likewise.
83691         * elf/Makefile: Likewise.
83692         * timezone/Makefile: Likewise.
83693         * stdlib/Makefile: Likewise.
83694         * iconvdata/Makefile: Likewise.
83695         * sunrpc/Makefile: Likewise.
83696         * io/Makefile: Likewise.
83697         * argp/Makefile: Likewise.
83698         * inet/Makefile: Likewise.
83699         * hesiod/Makefile: Likewise.
83700         * grp/Makefile: Likewise.
83701         * csu/Makefile: Likewise.
83702         * wctype/Makefile: Likewise.
83703         * crypt/Makefile: Likewise.
83704         * libio/Makefile: Likewise.
83705         * string/Makefile: Likewise.
83706         * nis/Makefile: Likewise.
83707         * resolv/Makefile: Likewise.
83708         * stdio-common/Makefile: Likewise.
83709         * wcsmbs/Makefile: Likewise.
83710         * dlfcn/Makefile: Likewise.
83711         * posix/Makefile: Likewise.
83713         [BZ #6959]
83714         * timezone/Makefile: Don't install timezone files, just the programs
83715         and scripts.
83717 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
83719         * nss/databases.def: Add missing gshadow entry.
83721         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
83723 2012-03-06  Marek Polacek  <polacek@redhat.com>
83725         [BZ #13726]
83726         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
83727         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
83728         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
83729         * stdio-common/tst-long-dbl-fphex.c: New file.
83731 2012-03-06  David S. Miller  <davem@davemloft.net>
83733         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
83734         (set_obp_int): New function.
83735         (get_obp_int): New function.
83736         (__get_clockfreq_via_dev_openprom): Likewise.
83737         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
83738         Avoid unused variable warnings on 'val' and use builtin_expect.
83739         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
83740         __builtin_expect.
83741         (INLINE_CLONE_SYSCALL): Likewise.
83743 2012-03-05  David S. Miller  <davem@davemloft.net>
83745         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83747 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
83749         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83751         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
83752         only for |x| >= 40.
83753         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
83755 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
83757         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
83758         Replace gettimeofday with __vdso_gettimeofday.
83760         * sysdeps/unix/sysv/linux/x86_64/init-first.c
83761         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
83762         __vdso_clock_gettime and __vdso_getcpu.
83764         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
83765         time with __vdso_time.
83767 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
83769         * manual/lang.texi (size_t): Note types to which size_t may be
83770         equivalent with the GNU C Library, but do not describe when
83771         differences between them are significant.
83773 2012-03-05  Andreas Jaeger  <aj@suse.de>
83775         * sysdeps/i386/fpu/libm-test-ulps: Update.
83777 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
83779         [BZ #3976]
83780         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
83781         (__ieee754_pow): Save and restore rounding mode and use
83782         round-to-nearest for main computations.
83783         * math/libm-test.inc (pow_test_tonearest): New function.
83784         (pow_test_towardzero): Likewise.
83785         (pow_test_downward): Likewise.
83786         (pow_test_upward): Likewise.
83787         (main): Call the new functions.
83788         * sysdeps/i386/fpu/libm-test-ulps: Update.
83789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83791         [BZ #3976]
83792         * math/libm-test.inc (cosh_test_tonearest): New function.
83793         (cosh_test_towardzero): Likewise.
83794         (cosh_test_downward): Likewise.
83795         (cosh_test_upward): Likewise.
83796         (sinh_test_tonearest): Likewise.
83797         (sinh_test_towardzero): Likewise.
83798         (sinh_test_downward): Likewise.
83799         (sinh_test_upward): Likewise.
83800         (main): Call the new functions.
83801         * sysdeps/i386/fpu/libm-test-ulps: Update.
83802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83804 2012-03-05  Tom de Vries  <tom@codesourcery.com>
83806         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
83807         default stack guard is set in last bytes.
83808         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
83810 2012-03-05  Kees Cook  <keescook@chromium.org>
83812         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
83814         [BZ #13656]
83815         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
83816         possibly allocate from heap instead of stack.
83817         * stdio-common/bug-vfprintf-nargs.c: New file.
83818         * stdio-common/Makefile (tests): Add nargs overflow test.
83820 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
83822         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83824 2012-03-03  Marek Polacek  <polacek@redhat.com>
83826         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
83827         * math/math_private.h: Likewise.
83828         * stdlib/tst-strtod.c: Likewise.
83829         * sysdeps/i386/i486/bits/atomic.h: Likewise.
83830         * sysdeps/x86_64/bits/atomic.h: Likewise.
83832 2012-03-02  David S. Miller  <davem@davemloft.net>
83834         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
83835         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
83836         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
83837         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
83838         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
83839         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
83840         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
83841         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
83843 2012-03-02  Roland McGrath  <roland@hack.frob.com>
83845         [BZ #13792]
83846         * manual/examples/README: New file, says the example source files
83847         can be used under GPL>=2.
83848         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
83849         line containing just "*/".
83850         * manual/examples/add.c: Add copyright header (GPL>=2).
83851         * manual/examples/argp-ex1.c: Likewise.
83852         * manual/examples/argp-ex2.c: Likewise.
83853         * manual/examples/argp-ex3.c: Likewise.
83854         * manual/examples/argp-ex4.c: Likewise.
83855         * manual/examples/atexit.c: Likewise.
83856         * manual/examples/db.c: Likewise.
83857         * manual/examples/dir.c: Likewise.
83858         * manual/examples/dir2.c: Likewise.
83859         * manual/examples/execinfo.c: Likewise.
83860         * manual/examples/filecli.c: Likewise.
83861         * manual/examples/filesrv.c: Likewise.
83862         * manual/examples/fmtmsgexpl.c: Likewise.
83863         * manual/examples/genpass.c: Likewise.
83864         * manual/examples/inetcli.c: Likewise.
83865         * manual/examples/inetsrv.c: Likewise.
83866         * manual/examples/isockad.c: Likewise.
83867         * manual/examples/longopt.c: Likewise.
83868         * manual/examples/memopen.c: Likewise.
83869         * manual/examples/memstrm.c: Likewise.
83870         * manual/examples/mkfsock.c: Likewise.
83871         * manual/examples/mkisock.c: Likewise.
83872         * manual/examples/mygetpass.c: Likewise.
83873         * manual/examples/pipe.c: Likewise.
83874         * manual/examples/popen.c: Likewise.
83875         * manual/examples/rprintf.c: Likewise.
83876         * manual/examples/search.c: Likewise.
83877         * manual/examples/select.c: Likewise.
83878         * manual/examples/setjmp.c: Likewise.
83879         * manual/examples/sigh1.c: Likewise.
83880         * manual/examples/sigusr.c: Likewise.
83881         * manual/examples/stpcpy.c: Likewise.
83882         * manual/examples/strdupa.c: Likewise.
83883         * manual/examples/strftim.c: Likewise.
83884         * manual/examples/strncat.c: Likewise.
83885         * manual/examples/subopt.c: Likewise.
83886         * manual/examples/swapcontext.c: Likewise.
83887         * manual/examples/termios.c: Likewise.
83888         * manual/examples/testopt.c: Likewise.
83889         * manual/examples/testpass.c: Likewise.
83890         * manual/examples/timeval_subtract.c: Likewise.
83892         [BZ #13792]
83893         * manual/time.texi (Elapsed Time): Move timeval_subtract example
83894         function to ...
83895         * manual/timeval_subtract.c.texi: ... here, new file.
83897 2012-03-02  David S. Miller  <davem@davemloft.net>
83899         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
83901 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
83903         [BZ #3976]
83904         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
83905         (__sin): Save and restore rounding mode and use round-to-nearest
83906         for all computations.
83907         (__cos): Save and restore rounding mode and use round-to-nearest
83908         for all computations.
83909         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
83910         <fenv.h>.
83911         (tan): Save and restore rounding mode and use round-to-nearest for
83912         all computations.
83913         * math/libm-test.inc (cos_test_tonearest): New function.
83914         (cos_test_towardzero): Likewise.
83915         (cos_test_downward): Likewise.
83916         (cos_test_upward): Likewise.
83917         (sin_test_tonearest): Likewise.
83918         (sin_test_towardzero): Likewise.
83919         (sin_test_downward): Likewise.
83920         (sin_test_upward): Likewise.
83921         (tan_test_tonearest): Likewise.
83922         (tan_test_towardzero): Likewise.
83923         (tan_test_downward): Likewise.
83924         (tan_test_upward): Likewise.
83925         (main): Call the new functions.
83926         * sysdeps/i386/fpu/libm-test-ulps: Update.
83927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83929         [BZ #10135]
83930         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
83931         small n, then large n, before computing and testing k+n.
83932         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
83933         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
83934         Likewise.
83935         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
83936         Likewise.
83937         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
83938         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
83939         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
83940         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
83941         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
83942         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
83943         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
83944         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
83945         * math/libm-test.inc (scalbn_test): Add more tests.
83946         (scalbln_test): Likewise.
83948         * manual/filesys.texi (mode_t): Describe constraints on size and
83949         signedness, not exact equivalence to a particular type.
83950         (ino_t): Likewise.
83951         (ino64_t): Likewise.
83952         (dev_t): Likewise.
83953         (nlink_t): Likewise.
83954         (blkcnt_t): Likewise.
83955         (blkcnt64_t): Likewise.
83956         * manual/llio.texi (off_t): Likewise.
83958         [BZ #3976]
83959         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
83960         (__ieee754_exp): Save and restore rounding mode and use
83961         round-to-nearest for all computations.
83962         * math/libm-test.inc (exp_test_tonearest): New function.
83963         (exp_test_towardzero): Likewise.
83964         (exp_test_downward): Likewise.
83965         (exp_test_upward): Likewise.
83966         (main): Call the new functions.
83967         * sysdeps/i386/fpu/libm-test-ulps: Update.
83968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83970 2012-03-01  Chris Demetriou  <cgd@google.com>
83972         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
83973         have predictable order.
83975 2012-03-01  David S. Miller  <davem@davemloft.net>
83977         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
83979         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
83980         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
83981         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
83982         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
83984         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
83985         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
83986         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
83987         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
83988         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
83989         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
83990         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
83991         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
83992         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
83994         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83996         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
83997         * sysdeps/sparc/fpu/libm-test-ulps: to here.
83998         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
84000         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
84001         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
84002         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
84003         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
84004         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
84005         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
84006         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
84007         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
84008         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
84009         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
84010         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
84011         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
84012         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
84013         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
84014         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
84015         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84016         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
84017         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
84018         * sysdeps/sparc/elf/configure: Regenerated.
84020 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
84022         * configure.in (AS, LD): Require binutils 2.20 or later.
84023         * configure: Regenerated.
84024         * manual/install.texi (Tools for Compilation): Give binutils 2.20
84025         as required minimum version.
84026         * INSTALL: Regenerated.
84028         [BZ #2541]
84029         [BZ #4108]
84030         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
84031         before squaring exponent.
84032         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
84033         bottom long double and 27 bits of top long double before squaring
84034         exponent.
84035         * math/libm-test.inc (erfc_test): Add more tests.
84036         * sysdeps/i386/fpu/libm-test-ulps: Update.
84037         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
84038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84040 2012-03-01  Kai Tietz  <ktietz@redhat.com>
84042         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
84043         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
84044         containing bit-fields.
84045         * soft-fp/extended.h (_FP_UNION_E): Likewise.
84046         * soft-fp/single.h (_FP_UNION_S): Likewise.
84047         * soft-fp/double.h (_FP_UNION_D): Likewise.
84049 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
84051         [BZ #13786]
84052         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
84053         not include ../strcmp.S.
84054         [USE_AS_STRNCASECMP_L]: Likewise.
84055         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
84056         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
84057         * sysdeps/i386/i686/multiarch/strncase_l-c.c
84058         (__strncasecmp_l_ia32): Define as alias to
84059         __strncasecmp_l_nonascii.
84061         [BZ #5794]
84062         * math/libm-test.inc (expm1_test): Add test for bug 5794.
84063         * sysdeps/i386/fpu/libm-test-ulps: Update.
84064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84066         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
84067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84069 2012-02-29  Jeff Law  <law@redhat.com>
84071         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
84072         out of bounds read.
84074 2012-02-29  Marek Polacek  <polacek@redhat.com>
84076         [BZ #13706]
84077         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
84078         * elf/Makefile: Add rules to run tst-unused-dep.out.
84080 2012-02-28  David S. Miller  <davem@davemloft.net>
84082         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
84083         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
84084         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
84085         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
84086         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
84087         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
84089 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
84091         * math/libm-test.inc (llround_test): Move one test from
84092         lround_test.  Use TEST_f_L in moved test.
84093         (lround_test): Move misplaced test to llround_test.  Add testcase
84094         from bug 2561.
84096 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
84098         * sysdeps/x86_64/fpu/e_expf.S: New file.
84099         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
84101 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
84103         [BZ #13637]
84104         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
84105         of remain_len that may cause incomplete multi-byte character and
84106         false match.
84107         * posix/bug-regex33.c: New file.
84108         * posix/Makefile (tests): Add bug-regex33.
84110 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
84112         * manual/macros.texi: New file.
84113         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
84114         * manual/libc.texinfo: Include macros.texi.
84115         * manual/creatute.texi: Likewise.
84116         * manual/install.texi: Likewise.
84117         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
84118         @glibcadj{} in references to the GNU C Library.
84119         * manual/charset.texi: Likewise.
84120         * manual/conf.texi: Likewise.
84121         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
84122         when not using those macros.
84123         * manual/creature.texi: Likewise.
84124         * manual/crypt.texi: Likewise.
84125         * manual/errno.texi: Likewise.
84126         * manual/filesys.texi: Likewise.
84127         * manual/header.texi: Likewise.
84128         * manual/install.texi: Likewise.
84129         * manual/intro.texi: Likewise.
84130         * manual/io.texi: Likewise.
84131         * manual/job.texi: Likewise.
84132         * manual/lang.texi: Likewise.
84133         * manual/libc.texiinfo: Likewise.
84134         * manual/llio.texi: Likewise.
84135         * manual/locale.texi: Likewise.
84136         * manual/maint.texi: Likewise.
84137         * manual/math.texi: Likewise.
84138         * manual/memory.texi: Likewise.
84139         * manual/message.texi: Likewise.
84140         * manual/nss.texi: Likewise.
84141         * manual/pattern.texi: Likewise.
84142         * manual/process.texi: Likewise.
84143         * manual/resource.texi: Likewise.
84144         * manual/search.texi: Likewise.
84145         * manual/setjmp.texi: Likewise.
84146         * manual/signal.texi: Likewise.
84147         * manual/socket.texi: Likewise.
84148         * manual/startup.texi: Likewise.
84149         * manual/stdio.texi: Likewise.
84150         * manual/string.texi: Likewise.
84151         * manual/sysinfo.texi: Likewise.
84152         * manual/syslog.texi: Likewise.
84153         * manual/terminal.texi: Likewise.
84154         * manual/time.texi: Likewise.
84155         * manual/users.texi: Likewise.
84156         * INSTALL: Regenerated.
84157         * NOTES: Regenerated.
84158         * sysdeps/gnu/errlist.c: Regenerated.
84160 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
84162         * include/dirent.h: Include <dirstream.h> before
84163         <dirent/dirent.h>.
84165 2012-02-28  David S. Miller  <davem@davemloft.net>
84167         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
84168         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
84169         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
84170         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
84172 2012-02-27  David S. Miller  <davem@davemloft.net>
84174         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
84175         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
84176         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
84177         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
84179         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
84180         frame pointer instead of stack pointer relative arg slot.
84181         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
84182         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
84183         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
84185 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
84187         [BZ #3992]
84188         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
84190 2012-02-27  David S. Miller  <davem@davemloft.net>
84192         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
84193         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
84194         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
84195         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
84196         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
84197         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
84198         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
84199         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
84201 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
84203         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
84204         later.  Allow versions 5-9.
84205         * configure: Regenerated.
84206         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
84207         required minimum version and 4.6 as recommended version.  Do not
84208         mention bugs in GCC 2.7 and 2.8.
84209         * INSTALL: Regenerated.
84211 2012-02-27  David S. Miller  <davem@davemloft.net>
84213         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
84214         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
84215         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
84216         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
84217         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
84218         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
84219         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
84220         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
84222         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
84223         manipulate bits before adding and subtracting TWO112[sx].
84224         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
84226 2012-02-27  Roland McGrath  <roland@hack.frob.com>
84228         [BZ #13775]
84229         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
84230         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
84231         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
84232         being in POSIX, because they are in 1003.1-2008.
84234         * rt/tst-aio.c: Include <fcntl.h>.
84235         * rt/tst-aio7.c: Likewise.
84236         * rt/tst-aio64.c: Likewise.
84238         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
84240 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
84242         * manual/install.texi (--with-headers): Describe headers as
84243         interface headers, not private headers.
84244         (Specific advice for GNU/Linux systems): Describe use of headers
84245         from "make headers_install", not private headers from older
84246         kernels.
84247         * INSTALL: Regenerated.
84248         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
84249         Change to 2.6.19.
84250         * sysdeps/unix/sysv/linux/configure: Regenerated.
84252         * manual/llio.texi (fclean): Remove documentation.
84254         * manual/Makefile (libc-texi-generated): New variable.  Include
84255         version.texi.
84256         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
84257         $(libc-texi-generated), not duplicated list of files.
84258         (version.texi, stamp-version): New rules.
84259         (realclean): Remove $(libc-texi-generated), not individual files
84260         from that list.  Do not remove dir-add.texinfo.
84261         * manual/libc.texinfo: Comment out uses of edition numbers and
84262         references to printed manual.  Remove last-updated dates.
84263         (EDITION): Comment out.
84264         (ISBN): Likewise.
84265         (VERSION, UPDATED): Remove.
84266         (version.texi): Include.
84268 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
84270         * sysdeps/posix/spawni.c: Include <signal.h>.
84271         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
84272         * sysdeps/pthread/aio_fsync.c: Likewise.
84274 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
84276         * conform/Makefile (tests): Run only when not cross-compiling and
84277         when fast-check is not defined.
84279         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
84280         * conform/data/limits.h-data: Fixes for POSIX2008.
84281         * conform/run-conformtest.sh: Run all tests.
84282         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
84283         headers.
84284         * include/bits/dlfcn.h: Likewise.
84285         * include/langinfo.h: Likewise.
84286         * include/monetary.h: Likewise.
84287         * include/sys/poll.h: Likewise.
84289         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
84290         for __USE_GNU.
84291         * posix/spawn.h: Define __need_sigset_t.
84292         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
84293         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
84294         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
84295         to get sigevent_t only.
84296         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
84297         only for __USE_GNU.
84298         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
84299         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
84300         process_vm_writev only for __USE_GNU.
84301         * termios/termios.h: Declare tcgetsid also for POSIX2008.
84303         * conform/Makefile: For now ignore errors from run-conformtest.
84304         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
84305         POSIX to avoid namespace pollution.  Don't prepend headers.
84306         * conform/data/aio.h-data: Fixes for POSIX testing.
84307         * conform/data/fcntl.h-data: Likewise.
84308         * conform/data/glob.h-data: Likewise.
84309         * conform/data/grp.h-data: Likewise.
84310         * conform/data/pthread.h-data: Likewise.
84311         * conform/data/pwd.h-data: Likewise.
84312         * conform/data/signal.h-data: Likewise.
84313         * conform/data/spawn.h-data: Likewise.
84314         * conform/data/stdio.h-data: Likewise.
84315         * conform/data/stdlib.h-data: Likewise.
84316         * conform/data/stropts.h-data: Likewise.
84317         * conform/data/sys/mman.h-data: Likewise.
84318         * conform/data/sys/stat.h-data: Likewise.
84319         * conform/data/sys/types.h-data: Likewise.
84320         * conform/data/sys/wait.h-data: Likewise.
84321         * conform/data/time.h-data: Likewise.
84322         * conform/data/unistd.h-data: Likewise.
84323         * conform/data/utime.h-data: Likewise.
84325         * io/sys/stat.h: fchmod was always in POSIX.
84326         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
84327         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
84328         * rt/aio.h: Define __need_timespec before including <time.h>.
84329         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
84330         struct.  Add forward declaration of pthread_attr_t and use it in
84331         sigevent.
84332         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
84333         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
84334         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
84335         always remove CLK_TCK definition.
84337 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
84339         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
84341 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
84343         * conform/run-conformtest.sh: New file.
84344         * conform/Makefile: Run run-conformtest for tests.
84345         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
84346         support.
84348         * conform/data/uchar.h-data: New file.
84349         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
84350         * conform/data/arpa/inet.h-data: Likewise.
84351         * conform/data/assert.h-data: Likewise.
84352         * conform/data/complex.h-data: Likewise.
84353         * conform/data/cpio.h-data: Likewise.
84354         * conform/data/ctype.h-data: Likewise.
84355         * conform/data/dirent.h-data: Likewise.
84356         * conform/data/dlfcn.h-data: Likewise.
84357         * conform/data/errno.h-data: Likewise.
84358         * conform/data/fcntl.h-data: Likewise.
84359         * conform/data/float.h-data: Likewise.
84360         * conform/data/fmtmsg.h-data: Likewise.
84361         * conform/data/fnmatch.h-data: Likewise.
84362         * conform/data/ftw.h-data: Likewise.
84363         * conform/data/glob.h-data: Likewise.
84364         * conform/data/grp.h-data: Likewise.
84365         * conform/data/iconv.h-data: Likewise.
84366         * conform/data/inttypes.h-data: Likewise.
84367         * conform/data/langinfo.h-data: Likewise.
84368         * conform/data/libgen.h-data: Likewise.
84369         * conform/data/limits.h-data: Likewise.
84370         * conform/data/locale.h-data: Likewise.
84371         * conform/data/math.h-data: Likewise.
84372         * conform/data/monetary.h-data: Likewise.
84373         * conform/data/mqueue.h-data: Likewise.
84374         * conform/data/ndbm.h-data: Likewise.
84375         * conform/data/net/if.h-data: Likewise.
84376         * conform/data/netdb.h-data: Likewise.
84377         * conform/data/netinet/in.h-data: Likewise.
84378         * conform/data/nl_types.h-data: Likewise.
84379         * conform/data/poll.h-data: Likewise.
84380         * conform/data/pthread.h-data: Likewise.
84381         * conform/data/pwd.h-data: Likewise.
84382         * conform/data/regex.h-data: Likewise.
84383         * conform/data/sched.h-data: Likewise.
84384         * conform/data/search.h-data: Likewise.
84385         * conform/data/semaphore.h-data: Likewise.
84386         * conform/data/setjmp.h-data: Likewise.
84387         * conform/data/signal.h-data: Likewise.
84388         * conform/data/spawn.h-data: Likewise.
84389         * conform/data/stdarg.h-data: Likewise.
84390         * conform/data/stdio.h-data: Likewise.
84391         * conform/data/stdlib.h-data: Likewise.
84392         * conform/data/string.h-data: Likewise.
84393         * conform/data/strings.h-data: Likewise.
84394         * conform/data/stropts.h-data: Likewise.
84395         * conform/data/sys/ipc.h-data: Likewise.
84396         * conform/data/sys/mman.h-data: Likewise.
84397         * conform/data/sys/msg.h-data: Likewise.
84398         * conform/data/sys/resource.h-data: Likewise.
84399         * conform/data/sys/select.h-data: Likewise.
84400         * conform/data/sys/sem.h-data: Likewise.
84401         * conform/data/sys/shm.h-data: Likewise.
84402         * conform/data/sys/socket.h-data: Likewise.
84403         * conform/data/sys/stat.h-data: Likewise.
84404         * conform/data/sys/statvfs.h-data: Likewise.
84405         * conform/data/sys/time.h-data: Likewise.
84406         * conform/data/sys/timeb.h-data: Likewise.
84407         * conform/data/sys/times.h-data: Likewise.
84408         * conform/data/sys/types.h-data: Likewise.
84409         * conform/data/sys/uio.h-data: Likewise.
84410         * conform/data/sys/un.h-data: Likewise.
84411         * conform/data/sys/utsname.h-data: Likewise.
84412         * conform/data/sys/wait.h-data: Likewise.
84413         * conform/data/syslog.h-data: Likewise.
84414         * conform/data/tar.h-data: Likewise.
84415         * conform/data/termios.h-data: Likewise.
84416         * conform/data/utime.h-data: Likewise.
84417         * conform/data/utmpx.h-data: Likewise.
84418         * conform/data/varargs.h-data: Likewise.
84419         * conform/data/wchar.h-data: Likewise.
84420         * conform/data/wctype.h-data: Likewise.
84421         * conform/data/wordexp.h-data: Likewise.
84423         * include/stropts.h: New file.
84424         * include/uchar.h: New file.
84425         * include/aio.h: Changes to allow conformtest.pl to use the headers.
84426         * include/assert.h: Likewise.
84427         * include/ctype.h: Likewise.
84428         * include/dirent.h: Likewise.
84429         * include/dlfcn.h: Likewise.
84430         * include/fcntl.h: Likewise.
84431         * include/fnmatch.h: Likewise.
84432         * include/glob.h: Likewise.
84433         * include/grp.h: Likewise.
84434         * include/libio.h: Likewise.
84435         * include/locale.h: Likewise.
84436         * include/math.h: Likewise.
84437         * include/net/if.h: Likewise.
84438         * include/netdb.h: Likewise.
84439         * include/netinet/in.h: Likewise.
84440         * include/pthread.h: Likewise.
84441         * include/pwd.h: Likewise.
84442         * include/regex.h: Likewise.
84443         * include/sched.h: Likewise.
84444         * include/search.h: Likewise.
84445         * include/setjmp.h: Likewise.
84446         * include/signal.h: Likewise.
84447         * include/stdio.h: Likewise.
84448         * include/stdlib.h: Likewise.
84449         * include/string.h: Likewise.
84450         * include/sys/cdefs.h: Likewise.
84451         * include/sys/mman.h: Likewise.
84452         * include/sys/msg.h: Likewise.
84453         * include/sys/resource.h: Likewise.
84454         * include/sys/select.h: Likewise.
84455         * include/sys/socket.h: Likewise.
84456         * include/sys/stat.h: Likewise.
84457         * include/sys/statvfs.h: Likewise.
84458         * include/sys/time.h: Likewise.
84459         * include/sys/times.h: Likewise.
84460         * include/sys/uio.h: Likewise.
84461         * include/sys/utsname.h: Likewise.
84462         * include/sys/wait.h: Likewise.
84463         * include/termios.h: Likewise.
84464         * include/time.h: Likewise.
84465         * include/ulimit.h: Likewise.
84466         * include/unistd.h: Likewise.
84467         * include/utime.h: Likewise.
84468         * include/wchar.h: Likewise.
84469         * include/wctype.h: Likewise.
84470         * include/wordexp.h: Likewise.
84472         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
84474         * time/time.h: TIME_UTC must be a macro.
84475         Make timespec_get available for ISO C11 only as well.
84477 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
84479         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
84480         Reported by Peng Haitao <penght@cn.fujitsu.com>.
84482 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
84484         * configure.in: Use -o not -a in test for unsupported multi-arch.
84486 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
84488         * manual/texinfo.tex: Update to version 2012-01-19.16.
84490 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
84492         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
84494 2012-02-24  Roland McGrath  <roland@hack.frob.com>
84496         [BZ #13738]
84497         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
84498         * manual/fdl-1.3.texi: New file.
84499         * manual/fdl-1.1.texi: File removed.
84501         [BZ #13738]
84502         * manual/libc.texinfo (FDL_VERSION): New @set.
84503         Use it for mention of FDL in cover text.
84504         (Documentation License): Use it in @include file name.
84506 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
84507             Roland McGrath  <roland@hack.frob.com>
84509         [BZ #5461]
84510         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
84511         (not LONG_LONG_MAX and LONG_LONG_MIN.
84512         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
84513         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
84514         name.
84515         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
84517 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
84519         [BZ #2547]
84520         [BZ #11365]
84521         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
84522         manipulate bits before adding and subtracting TWO23[sx].
84523         * math/libm-test.inc (nearbyint_test): Add more tests.
84525 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
84527         [BZ #2548]
84528         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
84529         bits before adding and subtracting TWO23[sx].
84530         * math/libm-test.inc (rint_test): Add more tests.
84531         (rint_test_tonearest): Likewise.
84532         (rint_test_towardzero): Likewise.
84533         (rint_test_downward): Likewise.
84534         (rint_test_upward: Likewise.
84536 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
84538         [BZ #10110]
84539         * include/stdc-predef.h: New file.  Extracted from features.h.
84540         * include/features.h: Include stdc-predef.h.
84541         * Makefile (headers): Add stdc-predef.h.
84542         * CONFORMANCE (Compiler limitations): Update.
84544 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
84546         * manual/libc.texinfo (VERSION, UPDATED): Revert.
84548 2012-02-21  David S. Miller  <davem@davemloft.net>
84550         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
84551         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
84553 2012-02-20  David S. Miller  <davem@davemloft.net>
84555         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
84556         using a normal save/restore sequence, rather than allocating a
84557         dummy stack frame just to store a frame pointer and restore.
84558         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
84560 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
84562         * manual/install.texi: Fix stray word in line-wrapped comment.
84564 2012-02-20  David S. Miller  <davem@davemloft.net>
84566         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
84567         both binutils and gcc support GOTDATA.
84569         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
84570         "rd %pc" in the PIC register setup sequences.
84572         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
84573         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
84574         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
84575         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
84576         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
84577         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
84578         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
84579         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
84580         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
84581         (SYSCALL_ERROR_HANDLER): Likewise.
84582         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
84583         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
84584         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
84585         (SYSCALL_ERROR_HANDLER): Likewise.
84587         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
84588         (HAVE_GCC_GOTDATA): New.
84589         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
84590         relocation support in both binutils and gcc.
84591         * sysdeps/sparc/elf/configure: Regenerate.
84593         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
84594         * sysdeps/sparc/sparc32/elf/configure: Delete.
84595         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
84596         * sysdeps/sparc/sparc64/elf/configure: Delete.
84597         * sysdeps/sparc/elf/configure.in: New file.
84598         * sysdeps/sparc/elf/configure: Generate.
84600         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
84601         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
84602         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
84603         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
84604         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
84606 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
84608         * manual/install.texi: Do not mention specific glibc version
84609         numbers.
84610         * manual/libc.texinfo (VERSION, UPDATED): Update.
84611         (@copying): Use @copyright{} and range of years.
84613 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
84615         [BZ #13695]
84616         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
84617         [crti.S not in sysdirs] (generated): Do not append.
84618         [crti.S not in sysdirs] (omit-deps): Likewise.
84619         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
84620         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
84621         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
84622         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
84623         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
84624         Likewise.
84625         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
84626         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
84627         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
84628         * csu/defs.awk: Remove file.
84629         * sysdeps/generic/initfini.c: Likewise.
84630         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
84631         variable.
84632         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
84633         Likewise.
84635 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
84637         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
84638         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
84639         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
84640         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
84641         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
84642         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
84643         <bits/epoll.h>.
84644         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
84645         (__EPOLL_PACKED): Define to empty if not defined by
84646         <bits/epoll.h>.
84647         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
84648         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84649         bits/epoll.h.
84651 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
84653         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
84654         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
84655         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
84656         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
84657         <bits/timerfd.h>.
84658         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
84659         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84660         bits/timerfd.h.
84662 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
84664         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
84665         in C locale.
84666         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
84667         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
84668         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
84669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84671 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
84673         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84674         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
84676 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
84678         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
84679         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
84680         defined.
84681         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
84682         Likewise.
84683         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
84684         entry for 2.16.
84686 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
84688         * math/w_acos.c: Use non-signaling floating-point comparisons.
84689         * math/w_acosf.c: Likewise.
84690         * math/w_acosh.c: Likewise.
84691         * math/w_acoshf.c: Likewise.
84692         * math/w_acoshl.c: Likewise.
84693         * math/w_acosl.c: Likewise.
84694         * math/w_asin.c: Likewise.
84695         * math/w_asinf.c: Likewise.
84696         * math/w_asinl.c: Likewise.
84697         * math/w_atanh.c: Likewise.
84698         * math/w_atanhf.c: Likewise.
84699         * math/w_atanhl.c: Likewise.
84700         * math/w_exp2.c: Likewise.
84701         * math/w_exp2f.c: Likewise.
84702         * math/w_exp2l.c: Likewise.
84703         * math/w_j0.c: Likewise.
84704         * math/w_j0f.c: Likewise.
84705         * math/w_j0l.c: Likewise.
84706         * math/w_j1.c: Likewise.
84707         * math/w_j1f.c: Likewise.
84708         * math/w_j1l.c: Likewise.
84709         * math/w_jn.c: Likewise.
84710         * math/w_jnf.c: Likewise.
84711         * math/w_log.c: Likewise.
84712         * math/w_log10.c: Likewise.
84713         * math/w_log10f.c: Likewise.
84714         * math/w_log10l.c: Likewise.
84715         * math/w_log2.c: Likewise.
84716         * math/w_log2f.c: Likewise.
84717         * math/w_log2l.c: Likewise.
84718         * math/w_logf.c: Likewise.
84719         * math/w_logl.c: Likewise.
84720         * math/w_sqrt.c: Likewise.
84721         * math/w_sqrtf.c: Likewise.
84722         * math/w_sqrtl.c: Likewise.
84723         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
84724         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
84725         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
84726         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
84727         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
84729 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
84731         [BZ #9739]
84732         * manual/string.texi (strnlen): Use correct parameter name in
84733         equivalent expression.
84735 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
84737         [BZ #11174]
84738         * manual/users.texi (seteuid): Consistently use neweuid for
84739         argument name.
84741 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
84743         [BZ #13704]
84744         * manual/nss.texi (Services in the NSS configuration): Correct
84745         list of services in example configuration file.
84747 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
84749         [BZ #11322]
84750         * manual/arith.texi: Remove statements about negative zero
84751         behaving identically to zero.
84753 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
84755         [BZ #5993]
84756         * manual/install.texi: Do not document upgrading from libc5.
84758 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
84760         [BZ #4596]
84761         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
84763 2012-02-18  David S. Miller  <davem@davemloft.net>
84765         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
84766         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
84767         %o7 across the call.
84768         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
84769         instead.
84770         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
84771         SETUP_PIC_REG_LEAF.
84772         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84773         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
84774         * sysdeps/sparc/crtn.S: Likewise.
84776 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
84778         * aout/Makefile: Remove.
84780 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
84782         [BZ #13058]
84783         * manual/examples/argp-ex1.c (main): Format definition in GNU
84784         style.
84785         * manual/examples/argp-ex2.c (main): Likewise.
84786         * manual/examples/argp-ex3.c (main): Likewise.
84787         * manual/examples/argp-ex4.c (main): Likewise.
84788         * manual/examples/longopt.c (main): Use new-style prototype
84789         definition.
84790         * manual/examples/strncat.c (main): Specify return type and use
84791         (void) for arguments.
84792         * manual/examples/subopt.c (main): Use char **argv argument.
84794 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
84796         [BZ #5077]
84797         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
84798         rounding modes.
84800 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
84802         [BZ #6907]
84803         * manual/string.texi (strchr): Change when strchrnul is
84804         recommended.
84806 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
84808         [BZ #174]
84809         * manual/locale.texi (setlocale): Document LOCPATH.
84811 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
84813         [BZ #10210]
84814         * manual/process.texi (execle): Move @dots{} before last argument.
84816 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
84818         [BZ #12047]
84819         * manual/charset.texi (Generic Charset Conversion): Fix typo
84820         (LC_TYPE -> LC_CTYPE).
84822 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
84824         [BZ #5805]
84825         * manual/arith.texi (scalbn): Use @var{} on parameter names.
84826         (scalbnf): Likewise.
84827         (scalbnl): Likewise.
84828         (scalbln): Likewise.
84829         (scalblnf): Likewise.
84830         (scalblnl): Likewise.
84831         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
84832         (vwarnx): Likewise.
84833         (verr): Likewise.
84834         (verrx): Likewise.
84835         * manual/filesys.texi (telldir): Use braces around return type.
84836         * manual/llio.texi (mmap): Add space after comma.
84837         (mmap64): Likewise.
84838         * manual/math.texi (jn): Use @var{} on parameter names.
84839         (jnf): Likewise.
84840         (jnl): Likewise.
84841         (yn): Likewise.
84842         (ynf): Likewise.
84843         (ynl): Likewise.
84844         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
84845         line.
84846         * manual/resource.texi (ulimit): Use @dots{} instead of literal
84847         "...".
84848         (sched_get_priority_min): Remove semicolon on @deftypefun line.
84849         (sched_get_priority_max): Likewise.
84850         * manual/signal.texi (sigvec): Add space after comma.
84851         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
84852         names.
84853         (if_indextoname): Likewise.
84854         (if_freenameindex): Likewise.
84855         (sendto): Use ',' instead of '.' in prototype.
84856         * manual/startup.texi (syscall): Use @dots{} instead of literal
84857         "...".
84858         * manual/stdio.texi (__fpending): Separate initial words of
84859         paragraph from @deftypefun line.
84860         * manual/syslog.texi (syslog): Use @dots{} instead of literal
84861         "...".
84862         (vsyslog): Use @var{} on parameter names.
84863         * manual/terminal.texi (stty): Use @var{} on parameter names.
84864         * manual/users.texi (getutmp): Use @var{} on parameter names.
84865         (getutmpx): Likewise.
84867 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
84869         [BZ #6884]
84870         * manual/stdio.texi (fopen): Fix typos in description of
84871         ",ccs=STRING".
84873 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
84875         [BZ #4026]
84876         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
84877         get clock_id definition.
84879 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
84881         [BZ #4822]
84882         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
84883         (madvise): Cast every argument to void on its own.
84885 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
84887         [BZ #9902]
84888         * manual/startup.texi (Exit Status): Fix typo.
84890 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
84892         [BZ #10140]
84893         * manual/examples/argp-ex1.c: Include <stdlib.h>.
84894         * manual/examples/argp-ex2.c: Likewise.
84895         * manual/examples/argp-ex3.c: Likewise.
84897 2012-02-16  Richard Henderson  <rth@redhat.com>
84899         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
84900         * sysdeps/s390/s390-32/initfini.c: Remove.
84901         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
84902         * sysdeps/s390/s390-64/initfini.c: Remove.
84904 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
84906         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
84907         compiler output for sysdeps/generic/initfini.c.
84908         * sysdeps/sh/elf/initfini.c: Remove file.
84910 2012-02-16  David S. Miller  <davem@davemloft.net>
84912         [BZ #11494]
84913         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
84915         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
84916         * sysdeps/sparc/crti.S: New file.
84917         * sysdeps/sparc/crtn.S: New file.
84918         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
84919         * sysdeps/sparc/sparc64/Makefile: Likewise.
84921 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
84923         [BZ #3335]
84924         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
84926 2012-02-15  Roland McGrath  <roland@hack.frob.com>
84928         [BZ #4822]
84929         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
84931         * mach/devstream.c (cookie_io_functions_t): Macro removed.
84932         (write, read, close): Likewise.
84933         Patch by Aurelien Jarno <aurelien@aurel32.net>.
84935 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
84937         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
84938         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
84939         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
84940         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
84941         <bits/signalfd.h>.
84942         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
84943         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84944         bits/signalfd.h.
84946 2012-02-14  Marek Polacek  <polacek@redhat.com>
84948         * sysdeps/x86_64/crti.S: New file.
84949         * sysdeps/x86_64/crtn.S: New file.
84950         * sysdeps/x86_64/elf/initfini.c: Remove file.
84952 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
84954         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
84955         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
84956         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
84957         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
84958         <bits/inotify.h>.
84959         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
84960         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84961         bits/inotify.h.
84963 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
84965         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
84966         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
84967         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
84968         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
84969         <bits/eventfd.h>.
84970         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
84971         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84972         bits/eventfd.h.
84974 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
84976         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
84977         __feraiseexcept instead of feraiseexcept.
84979         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
84980         nanosleep invocations.
84981         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
84982         strings, and add error checking for a nanosleep invocations.
84984 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
84986         Replace FSF snail mail address with URLs, as per GNU coding standards.
84987         Most of the snail mail addresses were wrong anyway, and omitting
84988         them makes the source code easier to maintain.  Almost all of the
84989         changes are to license notices and to locale LC_IDENTIFICATION
84990         addresses, except for this one:
84991         * manual/libc.texinfo: In "Published by", give the FSF's URL,
84992         not its snail mail address.
84994 2012-02-09  Richard Henderson  <rth@twiddle.net>
84996         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
84997         of kernel-features.h.
84999         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
85001 2012-02-08  Marek Polacek  <polacek@redhat.com>
85003         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
85004         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
85005         * sysdeps/gnu/_G_config.h: Likewise.
85006         * sysdeps/generic/_G_config.h: Likewise.
85008 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
85010         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
85011         tests.
85012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85014         * sysdeps/powerpc/powerpc32/crti.S: New file.
85015         * sysdeps/powerpc/powerpc32/crtn.S: New file.
85016         * sysdeps/powerpc/powerpc64/crti.S: New file.
85017         * sysdeps/powerpc/powerpc64/crtn.S: New file.
85019         * Makeconfig (have-initfini): Don't set.
85020         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
85021         * configure.in (nopic_initfini): Don't substitute.
85022         * config.h.in (HAVE_INITFINI): Don't #undef.
85023         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
85024         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
85026 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
85028         Support crti.S and crtn.S provided directly by architectures.
85029         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
85030         [crti.S in sysdirs] (omit-deps): Likewise.
85031         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
85032         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
85033         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
85034         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
85035         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
85036         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
85037         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
85038         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
85039         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
85040         compiler output for sysdeps/generic/initfini.c.
85041         * sysdeps/i386/elf/Makefile: Remove file.
85042         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
85044 2012-02-07  Marek Polacek  <polacek@redhat.com>
85046         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
85047         * sysdeps/gnu/_G_config.h: Likewise.
85048         * sysdeps/mach/hurd/_G_config.h: Likewise.
85050 2012-02-07  Marek Polacek  <polacek@redhat.com>
85052         * math/Makefile (tests): Add tst-CMPLX2.
85053         * math/tst-CMPLX2.c: New file.
85055 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
85057         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85059         * math/libm-test.inc (jn_test): Add missing L suffix.
85061 2012-02-06  Marek Polacek  <polacek@redhat.com>
85063         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
85064         * sysdeps/i386/fpu/e_powf.S: Likewise.
85065         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
85066         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
85067         * sysdeps/i386/fpu/e_acosh.S: Likewise.
85068         * sysdeps/i386/fpu/e_pow.S: Likewise.
85069         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
85070         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
85071         * sysdeps/i386/fpu/s_expm1.S: Likewise.
85072         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
85073         * sysdeps/i386/fpu/e_log2.S: Likewise.
85074         * sysdeps/i386/fpu/e_log2l.S: Likewise.
85075         * sysdeps/i386/fpu/e_scalb.S: Likewise.
85076         * sysdeps/i386/fpu/e_powl.S: Likewise.
85077         * sysdeps/i386/fpu/s_log1p.S: Likewise.
85078         * sysdeps/i386/fpu/e_log10f.S: Likewise.
85079         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
85080         * sysdeps/i386/fpu/e_logl.S: Likewise.
85081         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
85082         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
85083         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
85084         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
85085         * sysdeps/i386/fpu/e_log2f.S: Likewise.
85086         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
85087         * sysdeps/i386/fpu/e_log.S: Likewise.
85088         * sysdeps/i386/fpu/s_cexp.S: Likewise.
85089         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
85090         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
85091         * sysdeps/i386/fpu/e_logf.S: Likewise.
85092         * sysdeps/i386/fpu/e_log10l.S: Likewise.
85093         * sysdeps/i386/fpu/e_atanh.S: Likewise.
85094         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
85095         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
85096         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
85097         * sysdeps/i386/fpu/e_log10.S: Likewise.
85098         * sysdeps/i386/fpu/s_frexp.S: Likewise.
85099         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
85100         * sysdeps/i386/fpu/s_asinh.S: Likewise.
85101         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
85102         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
85103         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
85104         * sysdeps/i386/asm-syntax.h: Likewise.
85105         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
85106         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
85107         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
85108         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
85109         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
85110         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
85111         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
85112         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
85113         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
85114         * sysdeps/powerpc/sysdep.h: Likewise.
85115         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
85116         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
85118 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
85120         [BZ #411]
85121         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
85123 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
85125         * sysdeps/i386/sysdep.h: Include <features.h>.
85126         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
85127         version.
85129 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
85131         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
85132         Define.
85133         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
85134         LOAD_PIC_REG_STR.
85136 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
85138         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
85139         (SETUP_PIC_REG): Use GET_PC_THUNK.
85140         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
85141         macro.
85143 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
85145         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
85146         for non-PIC compilation.
85147         (SETUP_PIC_REG): Add .p2align directive.
85148         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
85149         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
85150         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
85151         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
85152         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
85153         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
85154         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
85155         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
85156         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
85157         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
85158         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
85159         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
85160         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
85161         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
85162         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
85163         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
85164         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
85165         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
85166         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
85167         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
85168         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
85169         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
85170         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
85171         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
85172         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
85173         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
85174         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
85175         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
85176         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
85177         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
85178         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
85179         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
85180         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
85181         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
85182         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
85183         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
85184         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
85185         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
85186         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
85187         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
85188         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
85190 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
85192         * math/tst-CMPLX.c: Include <stdio.h>.
85194 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
85196         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
85197         float.
85198         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
85199         * sysdeps/sparc/bits/mathdef.h: Likewise.
85201 2012-01-31  Marek Polacek  <polacek@redhat.com>
85203         * libio/libio.h: Don't define _PARAMS.
85204         * locale/programs/config.h: Don't define PARAMS.
85205         * stdlib/strtol_l.c: Likewise.
85206         (__strtol_l): Remove PARAMS from the prototype.
85208 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
85210         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
85211         names.  Just use the correct names.  Remove unnecessary wrapper
85212         functions.
85213         * malloc/arena.c: Likewise.
85214         * malloc/hooks.c: Likewise.
85216         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
85217         ARENA_TEST says not to.  Simplify test for creation of a new arena.
85218         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
85220 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
85222         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
85223         into tail calls.
85224         (update_get_addr): New function.
85225         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
85226         GET_ADDR_MODULE parameter.
85228 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
85230         * crypt/cert.c: Remove __STDC__ conditionals.
85231         * crypt/crypt-entry.c: Likewise.
85232         * crypt/crypt_util.c: Likewise.
85233         * libio/filedoalloc.c: Likewise.
85234         * libio/fileops.c: Likewise.
85235         * libio/genops.c: Likewise.
85236         * libio/iofclose.c: Likewise.
85237         * libio/iofdopen.c: Likewise.
85238         * libio/iofopen.c: Likewise.
85239         * libio/iofopen64.c: Likewise.
85240         * libio/iogetdelim.c: Likewise.
85241         * libio/iopopen.c: Likewise.
85242         * libio/obprintf.c: Likewise.
85243         * libio/oldfileops.c: Likewise.
85244         * libio/oldiofclose.c: Likewise.
85245         * libio/oldiofdopen.c: Likewise.
85246         * libio/oldiofopen.c: Likewise.
85247         * libio/oldiopopen.c: Likewise.
85248         * libio/wfiledoalloc.c: Likewise.
85249         * libio/wgenops.c: Likewise.
85250         * locale/programs/xmalloc.c: Likewise.
85251         * misc/syslog.c: Likewise.
85252         * stdio-common/xbug.c: Likewise.
85253         * string/memchr.c: Likewise.
85254         * string/memcmp.c: Likewise.
85255         * string/memrchr.c: Likewise.
85256         * string/rawmemchr.c: Likewise.
85257         * sysdeps/posix/getcwd.c: Likewise.
85258         * time/strftime_l.c: Likewise.
85260 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
85262         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
85263         * config.make.in (config-cflags-sse2avx): Define.
85264         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
85265         Fix typo.
85267 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
85269         * scripts/config.guess: Update from upstream config git repository.
85270         * scripts/config.sub: Likewise.
85272 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
85274         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
85275         (EM_NUM): Update.
85276         (R_TILEPRO_*, R_TILEGX_*): New macros.
85278         * scripts/firstversions.awk: Fix bug in version range handling.
85280         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
85282         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
85284         * include/sys/epoll.h: New file.
85285         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
85286         libc_hidden_def.
85288 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
85290         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
85291         Avoid unnecessary __WORDSIZE == 64 test.
85292         (fmaxf): Use VEX format if possible.
85293         (fmax): Likewise.
85294         (fminf): Likewise.
85295         (fmin): Likewise.
85297         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
85298         * math/math_private.h: Remove libc_fegetround* and
85299         libc_fesetround*.
85300         * sysdeps/i386/configure.in: Check for -msse2avx.
85301         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
85302         also if SSE2AVX is defined.
85303         Remove libc_fegetround* and libc_fesetround*.
85304         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
85305         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
85306         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
85307         of HAS_YMM_USABLE.
85308         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
85309         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
85310         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
85311         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
85312         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
85314         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
85316 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
85318         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
85319         size is not set.
85320         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
85322 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
85324         [BZ #13618]
85325         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
85326         relocation.
85327         * Makeconfig (libm): Define.
85328         * elf/Makefile: Add rules to build and run tst-relsort1.
85329         * elf/tst-relsort1.c: New file.
85330         * elf/tst-relsort1mod1.c: New file.
85331         * elf/tst-relsort1mod2.c: New file.
85333 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
85335         * math/s_ldexp.c: Remove __STDC__ conditionals.
85336         * math/s_ldexpf.c: Likewise.
85337         * math/s_ldexpl.c: Likewise.
85338         * math/s_nextafter.c: Likewise.
85339         * math/s_nexttowardf.c: Likewise.
85340         * math/s_significand.c: Likewise.
85341         * math/s_significandf.c: Likewise.
85342         * math/s_significandl.c: Likewise.
85343         * math/w_jnl.c: Likewise.
85344         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
85345         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
85346         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
85347         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
85348         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
85349         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
85350         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
85351         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
85352         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
85353         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
85354         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
85355         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
85356         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
85357         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
85358         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
85359         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
85360         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
85361         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
85362         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
85363         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
85364         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
85365         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
85366         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
85367         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
85368         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
85369         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
85370         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
85371         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
85372         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
85373         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
85374         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
85375         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
85376         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
85377         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
85378         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
85379         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
85380         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
85381         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
85382         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
85383         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
85384         * sysdeps/ieee754/k_standard.c: Likewise.
85385         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
85386         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
85387         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
85388         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
85389         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
85390         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
85391         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
85392         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
85393         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
85394         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
85395         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
85396         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
85397         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
85398         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
85399         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
85400         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
85401         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
85402         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
85403         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
85404         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
85405         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
85406         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
85407         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
85408         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
85409         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
85410         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
85411         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
85412         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
85413         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
85414         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
85415         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
85416         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
85417         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
85418         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
85419         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
85420         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
85421         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
85422         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
85423         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
85424         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
85425         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
85426         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
85427         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
85428         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
85429         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
85430         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
85431         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
85432         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
85433         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
85434         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
85435         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
85436         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
85437         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
85438         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
85439         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
85440         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
85441         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
85442         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
85443         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
85444         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
85445         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
85446         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
85447         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
85448         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
85449         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
85450         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
85451         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
85452         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
85453         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
85454         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
85455         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
85456         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
85457         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
85458         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
85459         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
85460         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
85461         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
85462         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
85463         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
85464         * sysdeps/ieee754/s_matherr.c: Likewise.
85465         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
85466         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
85467         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
85468         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
85470 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
85472         * crypt/md5.h: Remove __STDC__ conditionals.
85473         * libio/libioP.h: Likewise.
85474         * locale/programs/config.h: Likewise.
85475         * sysdeps/generic/sysdep.h: Likewise.
85476         * sysdeps/i386/asm-syntax.h: Likewise.
85477         * sysdeps/s390/asm-syntax.h: Likewise.
85478         * sysdeps/unix/sysdep.h: Likewise.
85479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
85480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
85482 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
85484         * libio/libio.h: Remove __STDC__ conditionals.
85485         * malloc/obstack.h: Likewise.
85486         * math/complex.h: Likewise.
85487         * math/math.h: Likewise.
85488         * sysdeps/generic/_G_config.h: Likewise.
85489         * sysdeps/gnu/_G_config.h: Likewise.
85490         * sysdeps/mach/hurd/_G_config.h: Likewise.
85491         * sysdeps/powerpc/bits/mathdef.h: Likewise.
85492         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
85493         * sysdeps/sparc/bits/mathdef.h: Likewise.
85495 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
85497         [BZ #13583]
85498         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
85499         Clean up HAS_* macros.
85500         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
85501         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
85502         possible.
85503         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
85504         HAS_AVX.
85505         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
85506         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
85507         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
85508         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
85509         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
85511 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
85513         * elf/tst-unique3.cc (gets): Remove declaration.
85514         * elf/tst-unique3lib.cc (gets): Likewise.
85515         * elf/tst-unique3lib2.cc (gets): Likewise.
85516         * elf/tst-unique4.cc (gets): Likewise.
85518 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
85520         * include/stdio.h: Add C++ protection.  Add gets declarations and
85521         definitions.
85522         * debug/tst-chk1.c: Don't declare gets here.
85523         * stdio-common/tst-gets.c: Likewise.
85525 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
85527         * posix/glob: Remove directory.
85529 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
85531         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
85533 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
85535         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
85536         of the non-standard EPFNOSUPPORT.
85538 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85540         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
85541         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
85542         ANYWHERE set to 1 only on KERN_NO_SPACE error.
85544 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
85546         * wcsmbs/uchar.h: Test __STDC_VERSION__.
85548 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
85550         * nscd/aicache.c (addhstaiX): Do not cache negative results of
85551         transient errors.
85552         * nscd/grpcache.c (cache_addgr): Likewise.
85553         * nscd/hstcache.c (cache_addhst): Likewise.
85554         * nscd/initgrcache.c (addinitgroupsX): Likewise.
85555         * nscd/pwdcache.c (cache_addpw): Likewise.
85556         * nscd/servicescache.c (cache_addserv): Likewise.
85558 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
85560         * malloc/malloc.c: Various cleanups.
85561         * malloc/hooks.c: Likewise.
85563         * stdlib/Makefile (tests): Add bug-fmtmsg1.
85564         * stdlib/bug-fmtmsg1.c: New file.
85566         * stdlib/fmtmsg.c (init): Add missing unlock.
85567         Patch by Peng Haitao <penght@cn.fujitsu.com>.
85569 2012-01-12  Marek Polacek  <polacek@redhat.com>
85571         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
85572         and _GNU_SOURCE.
85574 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
85576         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
85577         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
85578         macro to ensure uniqueness of label name.
85579         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
85580         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
85582 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
85584         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
85586         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
85587         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
85588         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
85589         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
85591 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
85593         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
85595         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
85596         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
85597         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
85599         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
85601         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
85602         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
85603         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
85604         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
85606         * math/bits/math-finite.h: Add ldexp support.
85608 2012-01-10  Marek Polacek  <polacek@redhat.com>
85610         * locale/programs/localedef.h (show_archive_content): Add noreturn
85611         attribute.
85613 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
85615         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
85617 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
85619         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
85621         * io/Makefile (headers): Add bits/poll2.h.
85623 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
85625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
85626         typo #include statement.
85628 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
85630         * include/sys/cdefs.h: Define __attribute_alloc_size.
85631         * catgets/gencat.c: Add alloc_size attribute and apply consistently
85632         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
85633         * elf/pldd.c: Likewise.
85634         * iconv/iconv_charmap.c: Likewise.
85635         * iconv/iconvconfig.c: Likewise.
85636         * iconv/strtab.c: Likewise.
85637         * locale/programs/locale.c: Likewise.
85638         * locale/programs/localedef.h: Likewise.
85639         * locale/programs/simple-hash.c: Likewise.
85640         * nscd/nscd.h: Likewise.
85641         * nss/makedb.c: Likewise.
85642         * sysdeps/generic/ldconfig.h: Likewise.
85643         * locale/programs/localedef.c: Remove xmalloc prototype.
85644         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
85646 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
85648         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
85649         appropriate.
85651 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
85653         * math/Makefile (tests): Add tst-CMPLX.
85654         * math/tst-CMPLX.c: New file.
85656         * math/complex.h (CMPLXL): Fix typo.
85658         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
85659         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
85660         GLIBC_2.16.
85661         * debug/tst-chk1.c: Add poll and ppoll tests.
85662         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
85663         * include/sys/poll.h: Add hidden proto for ppoll.
85664         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
85665         * sysdeps/mach/hurd/ppoll.c: Likewise.
85666         * io/ppoll.c: Likewise.
85667         * debug/poll_chk.c: New file.
85668         * debug/ppoll_chk.c: New file.
85669         * include/bits/poll2.h: New file.
85670         * io/bits/poll2.h: New file.
85672         [BZ #1350]
85673         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
85675         * configure.in: static is always set to yes.  Remove.
85676         * config.make.in: Don't set build-static.
85677         * Makeconfig: Remove use of build-static.
85678         * dlfcn/Makefile: Likewise.
85679         * elf/Makefile: Likewise.
85680         * math/Makefile: Likewise.
85681         * misc/Makefile: Likewise.
85682         * nptl/Makefile: Likewise.
85683         * sysdeps/mach/hurd/Makefile: Likewise.
85685         * configure.in: PWD_P is not used anymore.
85686         * config.make.in: Remove PWD_P entry.
85688         * configure.in: Remove last remnants of RANLIB.
85689         No need to check for signed size_t anymore.
85690         Don't set libc_commonpagesize and libc_relro_required here for Alpha
85691         and IA-64.
85692         Remove __builtin_expect test because we require at least gcc 3.4.
85693         * aclocal.m4: Likewise.
85695         * wcsmbs/mbrtoc16.c: Implement using towc function.
85696         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
85697         * wcsmbs/wcsmbsload.c: Likewise.
85698         * iconv/gconv_simple.c: Likewise.
85699         * iconv/gconv_int.h: Likewise.
85700         * iconv/gconv_builtin.h: Likewise.
85701         * iconv/iconv_prog.c: Remove CHAR16 handling.
85703         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
85705         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
85707         * configure.in: Remove --with-elf and --enable-bounded options.
85708         Dont set base_machine for ia64.  More non-ELF conditions removed.
85709         Remove testing and setting of leading underscore information.
85710         * config.make.in (build-bounded): Set to no.
85711         * config.h.in: Remove NO_UNDERSCORES entry.
85712         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
85713         them.
85714         * csu/start.c: Remove !NO_UNDERSCORE code.
85715         * locale/localeinfo.h: Likewise.
85716         * sysdeps/generic/machine-gmon.h: Likewise.
85717         * sysdeps/generic/sysdep.h: Likewise.
85718         * sysdeps/i386/sysdep.h: Likewise.
85719         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
85720         * sysdeps/mach/sysdep.h: Likewise.
85721         * sysdeps/s390/s390-32/sysdep.h: Likewise.
85722         * sysdeps/s390/s390-64/sysdep.h: Likewise.
85723         * sysdeps/sh/sysdep.h: Likewise.
85724         * sysdeps/sparc/sparc32/alloca.S: Likewise.
85725         * sysdeps/unix/i386/sysdep.S: Likewise.
85726         * sysdeps/unix/sparc/start.c: Likewise.
85727         * sysdeps/unix/sparc/sysdep.S: Likewise.
85728         * sysdeps/unix/sparc/sysdep.h: Likewise.
85729         * sysdeps/unix/start.c: Likewise.
85730         * sysdeps/unix/x86_64/sysdep.S: Likewise.
85731         * sysdeps/x86_64/sysdep.h: Likewise.
85733 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
85735         [BZ #13553]
85736         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
85737         for non-gcc.
85738         * argp/argp-fmtstream.h: Use const instead __const.
85739         * argp/argp.h: Likewise.
85740         * assert/assert.h: Likewise.
85741         * bits/fenv.h: Likewise.
85742         * bits/sched.h: Likewise.
85743         * bits/sigset.h: Likewise.
85744         * bits/sigthread.h: Likewise.
85745         * catgets/nl_types.h: Likewise.
85746         * conform/data/pthread.h-data: Likewise.
85747         * crypt/crypt-private.h: Likewise.
85748         * crypt/crypt.h: Likewise.
85749         * crypt/crypt_util.c: Likewise.
85750         * ctype/ctype.h: Likewise.
85751         * debug/execinfo.h: Likewise.
85752         * debug/mbsnrtowcs_chk.c: Likewise.
85753         * debug/mbsrtowcs_chk.c: Likewise.
85754         * debug/wcsnrtombs_chk.c: Likewise.
85755         * debug/wcsrtombs_chk.c: Likewise.
85756         * debug/wcstombs_chk.c: Likewise.
85757         * dirent/dirent.h: Likewise.
85758         * dlfcn/dlfcn.h: Likewise.
85759         * elf/neededtest4.c: Likewise.
85760         * grp/grp.h: Likewise.
85761         * gshadow/gshadow.h: Likewise.
85762         * iconv/gconv.h: Likewise.
85763         * iconv/gconv_int.h: Likewise.
85764         * iconv/gconv_simple.c: Likewise.
85765         * iconv/iconv.h: Likewise.
85766         * iconv/loop.c: Likewise.
85767         * iconv/skeleton.c: Likewise.
85768         * include/aio.h: Likewise.
85769         * include/aliases.h: Likewise.
85770         * include/argz.h: Likewise.
85771         * include/arpa/inet.h: Likewise.
85772         * include/assert.h: Likewise.
85773         * include/dirent.h: Likewise.
85774         * include/dlfcn.h: Likewise.
85775         * include/execinfo.h: Likewise.
85776         * include/fcntl.h: Likewise.
85777         * include/fenv.h: Likewise.
85778         * include/glob.h: Likewise.
85779         * include/grp.h: Likewise.
85780         * include/libintl.h: Likewise.
85781         * include/mntent.h: Likewise.
85782         * include/netdb.h: Likewise.
85783         * include/pwd.h: Likewise.
85784         * include/rpc/netdb.h: Likewise.
85785         * include/sched.h: Likewise.
85786         * include/search.h: Likewise.
85787         * include/shadow.h: Likewise.
85788         * include/signal.h: Likewise.
85789         * include/stdio.h: Likewise.
85790         * include/stdlib.h: Likewise.
85791         * include/string.h: Likewise.
85792         * include/sys/socket.h: Likewise.
85793         * include/sys/stat.h: Likewise.
85794         * include/sys/statfs.h: Likewise.
85795         * include/sys/statvfs.h: Likewise.
85796         * include/sys/syslog.h: Likewise.
85797         * include/sys/time.h: Likewise.
85798         * include/sys/uio.h: Likewise.
85799         * include/time.h: Likewise.
85800         * include/unistd.h: Likewise.
85801         * include/utmp.h: Likewise.
85802         * include/wchar.h: Likewise.
85803         * include/wctype.h: Likewise.
85804         * inet/aliases.h: Likewise.
85805         * inet/arpa/inet.h: Likewise.
85806         * inet/netinet/ether.h: Likewise.
85807         * inet/netinet/in.h: Likewise.
85808         * intl/libintl.h: Likewise.
85809         * io/bits/fcntl2.h: Likewise.
85810         * io/fcntl.h: Likewise.
85811         * io/ftw.h: Likewise.
85812         * io/sys/poll.h: Likewise.
85813         * io/sys/stat.h: Likewise.
85814         * io/sys/statfs.h: Likewise.
85815         * io/sys/statvfs.h: Likewise.
85816         * io/utime.h: Likewise.
85817         * libio/bits/stdio.h: Likewise.
85818         * libio/bits/stdio2.h: Likewise.
85819         * libio/libio.h: Likewise.
85820         * libio/libioP.h: Likewise.
85821         * libio/stdio.h: Likewise.
85822         * locale/lc-ctype.c: Likewise.
85823         * locale/locale.h: Likewise.
85824         * login/utmp.h: Likewise.
85825         * malloc/arena.c: Likewise.
85826         * malloc/malloc.c: Likewise.
85827         * malloc/malloc.h: Likewise.
85828         * malloc/mcheck.c: Likewise.
85829         * malloc/mtrace.c: Likewise.
85830         * math/bits/mathcalls.h: Likewise.
85831         * math/fenv.h: Likewise.
85832         * math/math_private.h: Likewise.
85833         * misc/bits/error.h: Likewise.
85834         * misc/bits/syslog.h: Likewise.
85835         * misc/err.h: Likewise.
85836         * misc/error.h: Likewise.
85837         * misc/fstab.h: Likewise.
85838         * misc/mntent.h: Likewise.
85839         * misc/regexp.h: Likewise.
85840         * misc/search.h: Likewise.
85841         * misc/sgtty.h: Likewise.
85842         * misc/sys/mman.h: Likewise.
85843         * misc/sys/syslog.h: Likewise.
85844         * misc/sys/uio.h: Likewise.
85845         * misc/sys/xattr.h: Likewise.
85846         * misc/ttyent.h: Likewise.
85847         * nis/rpcsvc/ypclnt.h: Likewise.
85848         * nss/nss.h: Likewise.
85849         * posix/bits/unistd.h: Likewise.
85850         * posix/fnmatch.h: Likewise.
85851         * posix/glob.h: Likewise.
85852         * posix/sched.h: Likewise.
85853         * posix/spawn.h: Likewise.
85854         * posix/sys/wait.h: Likewise.
85855         * posix/unistd.h: Likewise.
85856         * posix/wordexp.h: Likewise.
85857         * pwd/pwd.h: Likewise.
85858         * resolv/netdb.h: Likewise.
85859         * resource/sys/resource.h: Likewise.
85860         * rt/aio.h: Likewise.
85861         * rt/bits/mqueue2.h: Likewise.
85862         * rt/mqueue.h: Likewise.
85863         * shadow/shadow.h: Likewise.
85864         * signal/signal.h: Likewise.
85865         * socket/send.c: Likewise.
85866         * socket/sendto.c: Likewise.
85867         * socket/sys/socket.h: Likewise.
85868         * stdio-common/printf.h: Likewise.
85869         * stdlib/bits/stdlib.h: Likewise.
85870         * stdlib/fmtmsg.h: Likewise.
85871         * stdlib/monetary.h: Likewise.
85872         * stdlib/stdlib.h: Likewise.
85873         * stdlib/ucontext.h: Likewise.
85874         * streams/stropts.h: Likewise.
85875         * string/argz.h: Likewise.
85876         * string/bits/string2.h: Likewise.
85877         * string/string.h: Likewise.
85878         * string/strings.h: Likewise.
85879         * sunrpc/rpc/auth.h: Likewise.
85880         * sunrpc/rpc/auth_des.h: Likewise.
85881         * sunrpc/rpc/clnt.h: Likewise.
85882         * sunrpc/rpc/netdb.h: Likewise.
85883         * sunrpc/rpc/pmap_clnt.h: Likewise.
85884         * sunrpc/rpc/xdr.h: Likewise.
85885         * sysdeps/generic/inttypes.h: Likewise.
85886         * sysdeps/generic/net/if.h: Likewise.
85887         * sysdeps/generic/sys/swap.h: Likewise.
85888         * sysdeps/gnu/net/if.h: Likewise.
85889         * sysdeps/gnu/utmpx.h: Likewise.
85890         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
85891         * sysdeps/i386/i486/bits/string.h: Likewise.
85892         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
85893         * sysdeps/s390/bits/string.h: Likewise.
85894         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
85895         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
85896         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
85897         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
85898         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
85899         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
85900         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
85901         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
85902         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
85903         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
85904         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
85905         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
85906         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
85907         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
85908         * sysdeps/unix/sysv/linux/readv.c: Likewise.
85909         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
85910         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
85911         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
85912         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
85913         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
85914         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
85915         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
85916         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
85917         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
85918         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
85919         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
85920         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
85921         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
85922         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
85923         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
85924         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
85925         * sysvipc/sys/ipc.h: Likewise.
85926         * sysvipc/sys/msg.h: Likewise.
85927         * sysvipc/sys/sem.h: Likewise.
85928         * sysvipc/sys/shm.h: Likewise.
85929         * termios/termios.h: Likewise.
85930         * time/sys/time.h: Likewise.
85931         * time/time.h: Likewise.
85932         * wcsmbs/bits/wchar2.h: Likewise.
85933         * wcsmbs/uchar.h: Likewise.
85934         * wcsmbs/wchar.h: Likewise.
85935         * wctype/wctype.h: Likewise.
85937         [BZ #13551]
85938         * Makeconfig: Remove all but ELF support including AIX support.
85939         * Makerules: Likewise.
85940         * config.h.in: Likewise.
85941         * config.make.in: Likewise.
85942         * configure: Likewise.
85943         * configure.in: Likewise.
85944         * csu/Makefile: Likewise.
85945         * csu/version.c: Likewise.
85946         * debug/Makefile: Likewise.
85947         * dlfcn/Makefile: Likewise.
85948         * elf/Makefile: Likewise.
85949         * extra-lib.mk: Likewise.
85950         * iconv/Makefile: Likewise.
85951         * include/libc-symbols.h: Likewise.
85952         * include/shlib-compat.h: Likewise.
85953         * resolv/Makefile: Likewise.
85954         * resolv/res_libc.c: Likewise.
85955         * rt/Makefile: Likewise.
85956         * sysdeps/i386/asm-syntax.h: Likewise.
85957         * sysdeps/i386/sysdep.h: Likewise.
85958         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
85959         * sysdeps/mach/sysdep.h: Likewise.
85960         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
85961         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
85962         * sysdeps/s390/asm-syntax.h: Likewise.
85963         * sysdeps/s390/s390-32/sysdep.h: Likewise.
85964         * sysdeps/s390/s390-64/sysdep.h: Likewise.
85965         * sysdeps/sh/sysdep.h: Likewise.
85966         * sysdeps/unix/sparc/sysdep.h: Likewise.
85967         * sysdeps/wordsize-32/divdi3.c: Likewise.
85968         * sysdeps/x86_64/sysdep.h: Likewise.
85970         * argp/Versions: Remove _argp_unlock_xxx.
85972         [BZ #13559]
85973         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
85974         * abilist/libBrokenLocale.abilist: Likewise.
85975         * abilist/libanl.abilist: Likewise.
85976         * abilist/libc.abilist: Likewise.
85977         * abilist/libcrypt.abilist: Likewise.
85978         * abilist/libdl.abilist: Likewise.
85979         * abilist/libm.abilist: Likewise.
85980         * abilist/libnsl.abilist: Likewise.
85981         * abilist/libpthread.abilist: Likewise.
85982         * abilist/libresolv.abilist: Likewise.
85983         * abilist/librt.abilist: Likewise.
85984         * abilist/libthread_db.abilist: Likewise.
85985         * abilist/libutil.abilist: Likewise.
85986         * abilist/libnss_db.abilist: New file.
85988         * scripts/abilist.awk: Add support for indirect functions.
85990         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
85992         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
85994         * shlib-versions: Remove entries for ports architectures.
85996         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
85997         files in ports.
85998         * elf/stackguard-macros.h: Remove support for IA-64.
85999         * elf/tst-auditmod1.c: Likewise.
86000         * sysdeps/generic/ldsodefs.h: Likewise.
86002         * sysdeps/unix/sysv/linux/configure.in: Ports should define
86003         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
86004         configure files.
86006         [BZ #13552]
86007         * configure.in: Remove --enable-omitfp support.
86008         * FAQ.in: Adjust.
86009         * config.make.in: Likewise.
86010         * Makeconfig: Likewise.
86011         * manual/install.texi: Likewise.
86013         In case anyone cares, the IA-64 architecture could move to ports.
86014         * sysdeps/ia64/*: Removed.
86015         * sysdeps/unix/sysv/linux/ia64/*: Removed.
86016         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
86018         [BZ #13555]
86019         * configure.in: Remove entries for unsupported architectures.
86021         [BZ #13533]
86022         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
86023         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
86024         routines.
86025         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
86026         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
86027         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
86028         fall back to using wcrtomb.
86029         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
86030         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
86031         renaming.
86032         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
86033         * wcsmbs/tst-c16c32-1.c: New file.
86035         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
86036         local variable.
86038         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
86040         * elf/tst-unique3.cc: Add explicit declaration of gets.
86041         * elf/tst-unique3lib.cc: Likewise.
86042         * elf/tst-unique3lib2.cc: Likewise.
86043         * elf/tst-unique4.cc: Likewise.
86045         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
86047 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
86049         [BZ #13566]
86050         * assert/assert.h (static_assert): Don't define for C++.
86051         * libio/stdio.h (gets): Do declare for C++ <= C++11.
86052         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
86054 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
86056         * iconv/loop.c (single loop): Fix assertion in storing of
86057         remaining bytes.
86059         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
86061 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
86063         * posix/getconf.c: Update copyright year.
86064         * nss/getent.c: Likewise.
86065         * nss/makedb.c: Likewise.
86066         * iconv/iconvconfig.c: Likewise.
86067         * iconv/iconv_prog.c: Likewise.
86068         * elf/ldconfig.c: Likewise.
86069         * elf/pldd.c: Likewise.
86070         * elf/sotruss.ksh: Likewise.
86071         * catgets/gencat.c: Likewise.
86072         * csu/version.c: Likewise.
86073         * elf/ldd.bash.in: Likewise.
86074         * elf/sprof.c (print_version): Likewise.
86075         * locale/programs/locale.c: Likewise.
86076         * locale/programs/localedef.c: Likewise.
86077         * login/programs/pt_chown.c: Likewise.
86078         * nscd/nscd.c (print_version): Likewise.
86079         * debug/xtrace.sh: Likewise.
86080         * malloc/memusage.sh: Likewise.
86081         * malloc/mtrace.pl: Likewise.
86082         * debug/catchsegv.sh: Likewise.
86084 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
86086         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
86087         pure attribute.
86089 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
86091         [BZ #13533]
86092         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
86093         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
86094         transformations.
86095         * iconv/gconv_int.h: Likewise.
86096         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
86097         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
86098         from libc for GLIBC_2.16.
86099         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
86100         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
86101         * wcsmbs/uchar.h: Really define mbstate_t.
86102         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
86103         * wcsmbs/c16rtomb.c: New file.
86104         * wcsmbs/mbrtoc16.c: New file.
86105         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
86106         for C/POSIX locale.
86107         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
86108         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
86110         * wcsmbs/wchar.h: Add missing __restrict.
86112 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
86114         [BZ #13532]
86115         * time/Makefile (routines): Add timespec_get.
86116         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
86117         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
86118         timespec for ISO C11.
86119         * time/timespec_get.c: New file.
86120         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
86121         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
86123         [BZ #13531]
86124         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
86125         * stdlib/stdlib.h: Declare aligned_alloc.
86126         * Versions.def: Add GLIBC_2.16 for libc.
86127         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
86129         [BZ 13527]
86130         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
86131         ISO C11.
86133         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
86134         code.
86136         [BZ #13528]
86137         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
86139         [BZ #13529]
86140         * assert/assert.h (static_assert): Define.
86142         * version.h: Update for 2.16 development version.
86144         [BZ #13526]
86145         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
86146         _ISOC11_SOURCE.
86148         * version.h (RELEASE): Bump for 2.15 release.
86149         * include/features.h (__GLIBC_MINOR__): Bump to 15.
86151         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
86152         Patch by Marek Polacek <mpolacek@redhat.com>.
86154         * bits/byteswap.h: Protect long long constants with __extension__.
86155         * sysdeps/i386/bits/byteswap.h: Likewise.
86156         * sysdeps/ia64/bits/byteswap.h: Likewise.
86157         * sysdeps/s390/bits/byteswap.h: Likewise.
86158         * sysdeps/x86_64/bits/byteswap.h: Likewise.
86160 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86162         [BZ #13540]
86163         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
86164         destination buffer.
86165         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
86167 2011-12-23  Marek Polacek  <polacek@redhat.com>
86169         * elf/dl-addr.c (determine_info): Add inline keyword.
86170         * elf/tst-auditmod4b.c (check_avx): Likewise.
86171         * elf/tst-auditmod6b.c (check_avx): Likewise.
86172         * elf/tst-auditmod6c.c (check_avx): Likewise.
86173         * elf/tst-auditmod7b.c (check_avx): Likewise.
86175 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
86177         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
86178         !__SSE_MATH__.
86180 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86182         [BZ #13540]
86183         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
86184         processing for last bytes.
86186 2011-08-06  Bruno Haible  <bruno@clisp.org>
86188         [BZ #13061]
86189         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
86190         U+0385, not to U+1FEE.
86192         [BZ #13062]
86193         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
86194         entry for U+00A5 U+0301.
86196 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
86198         [BZ #13166]
86199         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
86200         buffer for the output is too small.
86202         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
86203         optimization.
86205         [BZ #13185]
86206         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
86207         SSE flags if possible.
86209 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86211         [BZ #13540]
86212         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
86213         processing for last bytes.
86215 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
86217         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
86218         (syscall-list-default-options, syscall-list-default-condition)
86219         (syscall-list-includes): Define.
86220         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
86221         list of ABIs and options and #if conditions for each ABI.  Do not
86222         handle common syscalls between ABIs specially.
86223         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
86224         Remove.
86225         (syscall-list-variants, syscall-list-32bit-options)
86226         (syscall-list-32bit-condition, syscall-list-64bit-options)
86227         (syscall-list-64bit-condition): Define.
86228         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
86229         (syscall-list-variants, syscall-list-32bit-options)
86230         (syscall-list-32bit-condition, syscall-list-64bit-options)
86231         (syscall-list-64bit-condition): Define.
86232         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
86233         Remove.
86234         (syscall-list-variants, syscall-list-32bit-options)
86235         (syscall-list-32bit-condition, syscall-list-64bit-options)
86236         (syscall-list-64bit-condition): Define.
86237         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
86238         Remove.
86239         (syscall-list-variants, syscall-list-32bit-options)
86240         (syscall-list-32bit-condition, syscall-list-64bit-options)
86241         (syscall-list-64bit-condition): Define.
86243 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
86245         * locale/iso-639.def: Add brx entry.
86247         [BZ #13328]
86248         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
86249         Proposed by Mariusz_Cukr <marcukr@op.pl>.
86251         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
86252         __feraiseexcept_renamed.
86254 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
86256         [BZ #13538]
86257         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
86258         EPOLLET with unsigned values.
86259         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
86260         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
86262         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
86263         to large cancellation.
86264         * math/s_cacoshf.c: Likewise.
86265         * math/s_cacoshl.c: Likewise.
86267 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
86269         [BZ #13305]
86270         [BZ #12786]
86271         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
86272         * math/s_cacoshf.c: Likewise.
86273         * math/s_cacoshl.c: Likewise.
86275 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
86277         [BZ #13439]
86278         * iconv/gconv.h: Define __GCONV_SWAP.
86279         * iconvdata/unicode.c: The swap bit must be stored in __flags.
86280         * iconvdata/utf-16.c: Likewise.
86281         * iconvdata/utf-32.c: Likewise.
86283 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
86285         [BZ #13524]
86286         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
86287         numerator after shifting it by one limb.
86289 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
86291         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
86292         under [__USE_EXTERN_INLINES].
86294 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
86296         [BZ #13446]
86297         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
86299 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86301         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
86302         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
86303         optimized code.
86304         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
86305         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
86306         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
86307         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
86308         for strncasecmp/strncasecmp_l compilation.
86309         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
86310         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
86312 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
86314         [BZ #13484]
86315         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
86316         of __asm__.
86318 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
86320         [BZ #13506]
86321         * time/tzfile.c (__tzfile_read): Check values from file header.
86323 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
86325         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
86326         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
86327         * powerpc/powerpc32/dl-start.S: Likewise.
86328         * powerpc/powerpc32/elf/start.S: Likewise.
86329         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
86330         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
86331         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
86332         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
86333         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
86334         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
86335         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
86336         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
86337         * powerpc/powerpc32/fpu/s_round.S: Likewise.
86338         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
86339         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
86340         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
86341         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
86342         * powerpc/powerpc32/memset.S: Likewise.
86343         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
86344         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
86345         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
86346         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
86347         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
86348         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
86349         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
86350         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
86351         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
86352         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
86353         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
86354         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
86355         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
86357 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86359         * math/libm-test.inc: Added more nearbyint tests.
86360         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
86361         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
86362         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
86363         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
86365 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
86367         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
86368         FD_CLOEXEC.
86370 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86372         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
86373         Add wcscpy-ssse3 wcscpy-c.
86374         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
86375         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
86376         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
86377         * sysdeps/x86_64/wcschr.S: New file.
86378         * sysdeps/x86_64/wcsrchr.S: New file.
86379         * string/test-strcmp.c: Remove checking of wcscmp function for
86380         wrong alignments.
86381         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
86382         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
86383         wcsrchr-sse2 wcsrchr-c.
86384         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
86385         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
86386         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
86387         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
86388         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
86389         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
86390         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
86391         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
86392         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
86393         * wcsmbc/wcschr.c (WCSCHR): New macro.
86395 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86397         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
86398         * wcsmbs/test-wcsrchr.c: New file.
86399         * string/test-strrchr.c: Add wcsrchr support.
86400         (WIDE): New macro.
86401         * wcsmbs/test-wcscpy.c: New file.
86402         * string/test-strcpy.c: Add wcscpy support.
86403         (WIDE): New macro.
86405 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
86407         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
86408         the inner loop.
86410 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
86412         [BZ #13472]
86413         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
86415 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
86417         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
86418         Minor optimizations.
86420         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
86421         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
86422         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
86424 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
86426         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
86427         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
86428         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
86429         for gcc to avoid warnings.
86430         * inet/Makefile (tests): Add tst-checks.
86431         * inet/tst-checks.c: New file.
86433         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
86434         warning.
86436         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
86437         __wmemcmp_sse2.
86439         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
86440         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
86442         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
86444 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
86446         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
86447         problem.
86449         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
86451 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
86453         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
86454         conditional on GCC version.
86455         (__arch_compare_and_exchange_val_8_acq)
86456         (__arch_compare_and_exchange_val_16_acq)
86457         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
86458         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
86459         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
86461 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
86463         * sysdeps/sh/backtrace.c: New file.
86465 2011-12-02  Andreas Schwab  <schwab@redhat.com>
86467         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
86468         parenthesis.
86470 2011-12-01  Andreas Schwab  <schwab@redhat.com>
86472         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
86473         falling back to utime.
86475 2011-11-30  Andreas Schwab  <schwab@redhat.com>
86477         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
86478         expectations for float.
86480 2011-11-29  Andreas Schwab  <schwab@redhat.com>
86482         * locale/weight.h (findidx): Add parameter len.
86483         * locale/weightwc.h (findidx): Likewise.
86484         * posix/fnmatch_loop.c (FCT): Adjust caller.
86485         * posix/regcomp.c (build_equiv_class): Likewise.
86486         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
86487         * posix/regexec.c (check_node_accept_bytes): Likewise.
86488         * string/strcoll_l.c (STRCOLL): Likewise.
86489         * string/strxfrm_l.c (STRXFRM): Likewise.
86491 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
86493         * Makefile.in: Remove CVSOPT handling.
86494         * configure.in: Remove use of AC_REVISION.
86495         * iconvdata/Makefile (distribute): No need to filter out CVS.
86496         * scripts/list-sources.sh: Remove CVS, subversion and monotone
86497         handling.
86499 2011-11-16  Andreas Schwab  <schwab@redhat.com>
86501         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
86502         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
86503         [USE_AS_STRNCASECMP_L]: Likewise.
86504         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
86505         NO_TLS_DIRECT_SEG_REFS.
86506         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
86507         Fix argument offsets for non-PIC.
86508         [USE_AS_STRNCASECMP_L]: Likewise.
86509         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
86510         NO_TLS_DIRECT_SEG_REFS.
86512 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
86514         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
86515         O_CLOEXEC.
86516         * locale/loadlocale.c (_nl_load_locale): Likewise.
86518 2011-11-15  Andreas Schwab  <schwab@redhat.com>
86520         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
86521         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
86522         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
86523         (SYSCALL_GETTIME): Set errno on error.
86525         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
86526         count references to noai6ai_cached.
86528 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
86530         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
86532         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
86533         FD_CLOEXEC for /proc/self/maps.
86535         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
86536         FD_CLOEXEC for /proc/meminfo.
86538         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
86539         gai.conf.
86541         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
86542         FD_CLOEXEC for given file.
86544         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
86546         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
86547         FD_CLOEXEC for /etc/hosts.
86548         (_gethtent): Likewise.
86550         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
86552         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
86553         cancellation and set FD_CLOEXEC for /etc/netgroup.
86555         * nss/nss_files/files-key.c (search): Don't allow cancellation when
86556         reading /etc/publickey.
86558         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
86559         allow cancellation when reading /etc/group.
86561         * nss/nss_files/files-alias.c (internal_setent): Don't allow
86562         cancellation.
86563         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
86565         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
86566         when using data file.
86568         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
86570         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
86571         (write_nis_obj): Use "c" and "e" in fopen.
86573         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
86575         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
86577         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
86579         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
86581         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
86582         locale.alias.
86584         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
86586         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
86588         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
86590         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
86591         file parsing and set FD_CLOEXEC.
86593 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
86595         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
86597 2011-11-14  Andreas Schwab  <schwab@redhat.com>
86599         * malloc/arena.c (arena_get2): Don't call reused_arena when
86600         _int_new_arena failed.
86602 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
86604         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
86605         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
86606         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
86607         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
86608         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
86609         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
86610         to compile strcasecmp and strncasecmp.
86611         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
86612         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
86614         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
86616 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
86618         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
86619         locale-defines.sym to gen-as-const-headers.
86620         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
86621         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
86622         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
86623         to compile strcasecmp and strncasecmp.
86624         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
86625         strcasecmp_l and strncasecmp_l.
86626         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
86627         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
86628         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
86629         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
86630         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
86631         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
86632         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
86633         * sysdeps/i386/i686/multiarch/strncase.S: New file.
86634         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
86635         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
86636         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
86638 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
86640         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
86641         result of SYSDEP_GETTIME_CPU to retval.
86642         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
86643         parameter list to macro.  Remove trailing semicolon.  Adjust users.
86645         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
86646         variable.
86648         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
86649         mantissa words.
86650         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
86652         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
86653         from unused variable.
86655         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
86656         DWARF definitions.
86657         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
86658         for assembling.
86660         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
86661         over namespaces.
86663         * sunrpc/rpc_prot.c (rejected): Fix case value.
86665         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
86666         unsigned long long int to avoid warnings in shift.
86668         * posix/regex_internal.c (re_string_reconstruct): Actually use result
86669         of use of trans.
86670         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
86671         variable tmp.
86673         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
86674         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
86675         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
86677         * nis/nis_table.c (nis_list): Use variable of correct type for
86678         result of __follow_path call.
86680 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86682         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
86683         of math functions ceil, trunc, floor, round, and sqrt, when
86684         avaliable on the platform.
86685         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
86686         name clash.
86687         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
86688         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
86689         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
86691 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
86693         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
86694         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
86696 2011-11-11  Roland McGrath  <roland@hack.frob.com>
86698         * include/unistd.h: Fix __readlink return type.
86699         Reported by Chris Metcalf <cmetcalf@tilera.com>.
86701 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
86703         * stdlib/ucontext.h: Undo last change for makecontext.
86705 2011-11-11  Andreas Schwab  <schwab@redhat.com>
86707         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
86709         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
86710         * setjmp/setjmp.h: Mark functions as non-leaf.
86711         * setjmp/bits/setjmp2.h: Likewise.
86712         * stdlib/ucontext.h: Likewise.
86714 2011-11-10  Andreas Schwab  <schwab@redhat.com>
86716         * malloc/arena.c (_int_new_arena): Don't increment narenas.
86717         (reused_arena): Don't check arena limit.
86718         (arena_get2): Atomically check arena limit.
86720 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
86722         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
86723         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
86725         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
86726         instructions.
86728 2011-11-07  Andreas Schwab  <schwab@redhat.com>
86730         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
86731         handler when locking.
86733         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
86734         Fix size of allocated buffer.
86736 2011-11-04  Andreas Schwab  <schwab@redhat.com>
86738         [BZ #10103]
86739         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
86740         declarations for long double functions.
86741         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
86743         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
86745 2011-11-03  Andreas Schwab  <schwab@redhat.com>
86747         * nscd/nscd.c (main): Don't start AVC thread until credentials are
86748         installed.
86750         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
86751         is disabled.
86753 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86755         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
86757 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
86759         * include/alloca.h (stackinfo_alloca_round): Define.
86760         (extend_alloca): Use it.
86761         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
86762         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
86763         here.
86765         * scripts/check-local-headers.sh: Ignore libaudit.h.
86767         * nscd/Makefile (extra-objs): Make recursively expanded.
86769 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
86771         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
86772         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
86774         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
86775         * posix/tst-rfc3484-2.c: Likewise.
86776         * posix/tst-rfc3484-3.c: Likewise.
86778         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
86779         process_vm_writev.
86780         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
86781         process_vm_writev.
86782         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
86783         process_vm_writev from libc using GLIBC_2.15 version.
86785         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
86787 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
86789         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
86790         stack usage.
86792 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
86794         [BZ #13367]
86795         * nss/getent.c (initgroups_keys): Show error message in case no group
86796         names are given.
86798         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
86799         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
86800         __bump_nl_timestamp.
86801         * nscd/connections (nscd_init): When host database is served open
86802         netlink socket and request notification about configuration changes.
86803         (main_loop_poll): Track netlink file descriptor and bump timestamp
86804         in case data becomes available.
86805         (main_loop_epoll): Likewise.
86806         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
86807         (database_pers_head): Add extra_data fileds.
86808         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
86809         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
86810         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
86811         Adjust caller.
86812         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
86813         in6ai data, call __free_in6ai.
86814         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
86815         Add -DHAVE_NETLINK.
86816         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
86817         interface information.  Reuse previous data if netlink timestamp
86818         is not changed.
86819         (__bump_nl_timestamp): New function.
86820         (__free_in6ai): New function.
86822 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
86824         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
86825         close_not_cancel_no_status here.
86826         (__check_pf): Reorganize code a bit to not call close twice if OOM.
86828 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
86830         [BZ #13276]
86831         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
86832         return value.
86834         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
86835         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
86836         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
86838 2011-07-03  Andreas Jaeger  <aj@suse.de>
86840         [BZ #10709]
86841         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
86842         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
86843         * math/libm-test.inc (sin_test): Add test case.
86845 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
86847         [BZ #13337]
86848         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
86849         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
86851         * elf/chroot_canon.c (chroot_canon): Cleanups.
86853         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
86855         [BZ #13335]
86856         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
86857         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
86859         * string/test-strchr.c: Make usable for strchrnul testing.
86860         * string/test-strchrnul.c: New file.
86861         * string/Makefile (strop-tests): Add strchrnul.
86863         * po/it.po: Update from translation team.
86864         * po/es.po: Likewise.
86866 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
86868         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
86869         the three constants needed as parameters.  Drop the others.
86870         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
86871         __m128i_strloadu_tolower.
86872         Create and initialize variable zero and use it in all the places
86873         where _mm_setzero_si128 was used.
86875         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
86876         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
86877         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
86878         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
86879         anymore.
86880         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
86881         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
86882         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
86883         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
86884         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
86885         __mpranred, __mptan.
86886         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
86887         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
86888         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
86889         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
86890         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
86891         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
86892         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
86893         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
86894         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
86896 2011-10-28  Andreas Schwab  <schwab@redhat.com>
86898         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
86899         redefine if SHARED.
86900         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
86902         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
86903         wide char related routines to wcsmbs subdir.
86905 2011-10-27  Andreas Schwab  <schwab@redhat.com>
86907         [BZ #13344]
86908         * misc/sys/cdefs.h (__THROWNL): Define.
86909         * posix/unistd.h: Use __THREADNL instead of __THREAD
86910         for memory synchronization functions.
86912 2011-10-26  Roland McGrath  <roland@hack.frob.com>
86914         [BZ #13349]
86915         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
86916         doesn't exist.
86917         * manual/stdio.texi (Obstack Streams): Node removed.
86919 2011-10-26  Andreas Schwab  <schwab@redhat.com>
86921         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
86922         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
86923         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
86925         * math/math_private.h (math_force_eval): Allow non-addressable
86926         arguments.
86927         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
86929 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
86931         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
86932         file is not needed.
86934         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
86935         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
86936         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
86937         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
86938         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
86939         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
86940         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
86941         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
86942         Add AVX variants.
86943         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
86944         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
86945         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
86946         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
86947         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
86948         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
86949         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
86950         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
86951         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
86952         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
86953         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
86954         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
86955         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
86956         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
86957         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
86958         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
86959         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
86960         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
86961         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
86963         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
86964         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
86966         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
86967         place.  Use VEX encoding when compiling for AVX.
86969 2011-10-25  Andreas Schwab  <schwab@redhat.com>
86971         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
86972         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
86974         * string/test-strchr.c (do_test): Don't generate NUL bytes.
86976 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
86978         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
86979         useless if() expression.
86980         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
86981         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
86982         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
86983         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
86984         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
86985         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
86986         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
86987         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
86988         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
86989         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
86990         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
86991         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
86992         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
86993         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
86994         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
86995         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
86996         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
86997         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
86998         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
87000         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
87002 2011-10-25  Andreas Schwab  <schwab@redhat.com>
87004         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
87005         condition.
87006         * elf/dl-fini.c (_dl_sort_fini): Likewise.
87008 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
87010         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
87011         .text section.  Avoid duplicate constants.
87012         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
87013         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87014         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
87015         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87016         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
87017         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87018         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87019         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87020         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
87021         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
87022         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
87023         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
87024         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
87025         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
87026         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
87027         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
87028         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
87029         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
87030         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
87031         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87032         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
87033         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
87034         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
87035         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
87036         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
87037         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
87038         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
87039         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
87040         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
87041         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
87042         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
87043         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
87044         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
87045         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
87046         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
87047         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
87048         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
87049         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
87050         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
87051         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
87052         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
87053         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
87054         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
87055         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
87056         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
87058 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
87060         * sysdeps/x86_64/dla.h: Move to ...
87061         * sysdeps/x86_64/fpu/dla.h: ...here.
87062         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
87063         situations.  Use __builtin_fma only for gcc 4.6 and up.
87065         * config.make.in: Add have-mfma4 entry.
87066         * configure.in: Substitute libc_cv_cc_fma4.
87067         * math/Makefile (dbl-only-routines): Add sincostab.
87068         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
87069         Use __sincostab not sincos.
87070         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
87071         name is a macro.
87072         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
87073         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87074         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87075         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
87076         using __copysign.
87077         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
87078         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
87079         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
87080         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
87081         and __inv.
87082         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
87083         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
87084         __copysign.
87085         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
87086         define aliases when function name is a macro.
87087         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
87088         sysdeps/ieee754/dbl-64/sincos.tbl.
87089         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
87090         fma4-enabled routines.
87091         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
87092         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
87093         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
87094         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
87095         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
87096         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
87097         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
87098         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
87099         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
87100         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
87101         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
87102         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
87103         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
87104         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
87105         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
87106         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
87107         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
87108         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
87109         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
87110         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
87111         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
87112         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
87113         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
87114         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
87115         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
87116         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
87117         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
87118         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
87119         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
87120         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
87122         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
87123         rename.
87124         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87125         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87126         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87127         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87128         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87129         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87130         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
87131         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87133 2011-10-24  Andreas Schwab  <schwab@redhat.com>
87135         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
87137 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
87139         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
87141         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
87142         prediction.
87143         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
87145         * string/strnlen.c: Don't define STRNLEN, reverse logic.
87146         Remove unused variable magic_bits.
87147         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
87149         * string/strnlen.c: Define and use STRNLEN macro.
87150         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
87151         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
87152         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
87153         * wcsmbs/wcslen.c: Define and use WCSLEN.
87154         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
87155         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
87156         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
87157         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
87158         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
87159         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
87160         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
87162 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87164         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87165         strnlen-sse2-no-bsf.
87166         Rename strlen-no-bsf to strlen-sse2-no-bsf.
87167         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
87168         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
87169         Add strnlen support.
87170         (USE_AS_STRNLEN): New macro.
87171         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
87172         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
87173         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
87174         * sysdeps/x86_64/wcslen.S: New file.
87176 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
87178         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
87179         XMM-moves are used for copying on small sizes.
87181 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87183         * wcsmbs/Makefile (strop-tests): Add wcschr.
87184         * wcsmbs/test-wcschr.c: New file.
87185         * string/test-strchr.c: Update.
87186         Add wcschr support.
87187         (WIDE): New macro.
87189 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87191         * wcsmbs/Makefile (strop-tests): Add wcslen.
87192         * wcsmbs/test-wcslen.c: New file.
87193         * string/test-strlen.c: Update.
87194         Add wcslen support.
87195         (WIDE): New macro.
87197 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
87199         * po/it.po: Update from translation team.
87201 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87203         * sysdeps/x86_64/wcscmp.S: Update.
87204         Fix wrong comparison semantics.
87205         wcscmp shall use signed comparison not unsigned.
87206         Don't use substraction to avoid overflow bug.
87207         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
87208         * wcsmbc/wcscmp.c: Likewise.
87209         * string/test-strcmp.c: Likewise.
87210         Add new tests to check cases with negative values.
87212 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
87214         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
87215         * sysdeps/x86_64/dla.h: ...here.  New file.
87216         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
87217         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87218         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87219         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87220         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87221         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
87222         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87223         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
87224         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87226 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
87228         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
87229         __ynl_finite aliases.
87231 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
87233         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
87235         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
87236         define DLA_FMA.
87237         [DLA_FMA] (EMULV): Use DLA_FMA.
87238         [DLA_FMA] (MUL12): Use EMULV.
87239         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
87240         that are not needed.
87241         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87242         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87243         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87244         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87245         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87246         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
87247         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87249 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
87251         * math/s_nan.c: Undef __nan.
87252         * math/s_nanf.c: Undef __nanf.
87253         * math/s_nanl.c: Undef __nanl.
87254         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
87255         "math_private.h".
87257 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
87259         * math/s_catan.c: Add branch predictions.
87260         * math/s_catanf.c: Likewise.
87261         * math/s_catanh.c: Likewise.
87262         * math/s_catanhf.c: Likewise.
87263         * math/s_catanhl.c: Likewise.
87264         * math/s_catanl.c: Likewise.
87265         * math/s_cexp.c: Likewise.
87266         * math/s_cexpf.c: Likewise.
87267         * math/s_cexpl.c: Likewise.
87268         * math/s_clog.c: Likewise.
87269         * math/s_clog10.c: Likewise.
87270         * math/s_clog10f.c: Likewise.
87271         * math/s_clog10l.c: Likewise.
87272         * math/s_clogf.c: Likewise.
87273         * math/s_clogl.c: Likewise.
87274         * math/s_csqrt.c: Likewise.
87275         * math/s_csqrtf.c: Likewise.
87276         * math/s_csqrtl.c: Likewise.
87277         * math/s_ctanf.c: Likewise.
87278         * math/s_ctanh.c: Likewise.
87279         * math/s_ctanhf.c: Likewise.
87280         * math/s_ctanhl.c: Likewise.
87281         * math/s_ctanl.c: Likewise.
87283         * math/math_private.h: Define __nan, __nanf, __nanl.
87284         * math/s_cacosh.c: Include <math_private.h>.
87285         * math/s_cacoshl.c: Likewise.
87286         * math/s_casinh.c: Likewise.
87287         * math/s_casinhf.c: Likewise.
87288         * math/s_casinhl.c: Likewise.
87289         * math/s_ccos.c: Rely entire on ccosh.
87290         * math/s_ccosf.c: Rely entire on ccoshf.
87291         * math/s_ccosl.c: Rely entirely on ccoshl.
87292         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
87293         Remove tests for FE_INVALID.
87294         * math/s_ccoshf.c: Likewise.
87295         * math/s_ccoshl.c: Likewise.
87296         * math/s_csin.c: Likewise.
87297         * math/s_csinf.c: Likewise.
87298         * math/s_csinh.c Likewise.
87299         * math/s_csinhf.c: Likewise.
87300         * math/s_csinhl.c: Likewise.
87301         * math/s_csinl.c: Likewise.
87302         * math/s_ctan.c: Likewise.
87303         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
87304         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
87305         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
87307 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
87309         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
87310         compilation problems.
87312         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
87313         __builtin_expect.
87315 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
87317         * sysdeps/i386/configure.in: Test for -mfma4 option.
87318         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
87319         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
87320         COMMON_CPUID_INDEX_80000001.
87321         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
87322         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
87323         use it if FMA3 is not supported.
87324         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
87326         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
87327         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
87329 2011-10-20  Andreas Schwab  <schwab@redhat.com>
87331         [BZ #12892]
87332         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
87333         it would create a cycle with a link time dependency.
87335 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
87337         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
87338         instruction.
87339         * string/Makefile (strop-tests): Add rawmemchr.
87340         * string/test-rawmemchr.c: New file.
87342         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
87343         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
87344         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
87345         when compiling str{,n}casecmp and when AVX is available.  Hook up
87346         new optimized code in initializers.
87348 2011-10-19  Andreas Schwab  <schwab@redhat.com>
87350         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
87351         __feraiseexcept instead of feraiseexcept.
87353 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
87355         * math/math_private.h: Define defaults for libc_fetestexcept and
87356         libc_feupdateenv.
87357         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
87358         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
87359         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
87360         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
87361         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
87362         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
87363         libc_fetestexcept and libc_feupdateenv.
87365         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
87366         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
87367         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
87368         * sysdeps/x86_64/fpu/math_private.h: Define special version of
87369         libc_feholdexcept_setround.
87371         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
87372         Add s_nearbyint-c and s_nearbyintf-c.
87373         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
87374         nearbyintf inlines.
87375         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
87376         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
87377         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
87378         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
87380         * math/math_private.h: Define defaults for libc_fegetround,
87381         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
87382         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
87383         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
87384         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
87385         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
87386         standard functions.
87387         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
87388         Remove comments and hacks for old compiler versions.
87389         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
87390         libc_fegetround, libc_fesetround, libc_feholdexcept, and
87391         libc_feholdexceptl.
87393 2011-10-18  Andreas Schwab  <schwab@redhat.com>
87395         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
87396         (__feraiseexcept_renamed): Add __NTH.
87397         (feraiseexcept): Add __NTH.  Rename local variables to fix
87398         namespace violations.
87400 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
87402         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
87404         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
87406         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
87407         recently added interfaces.
87408         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
87410         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
87411         about macro parameter expansion.
87413         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
87414         __NO_MATH_INLINES is defined.  Cleanups.
87416         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
87417         and __floorf is target has SSE4.1.
87418         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
87419         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
87420         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
87421         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
87423         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
87424         name.
87425         (floorf): Likewise.
87427         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
87429 2011-10-17  Andreas Schwab  <schwab@redhat.com>
87431         * misc/sys/cdefs.h: Fix last change.
87433         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
87434         database lookup.
87436 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
87438         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
87440         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
87441         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
87442         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
87443         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
87444         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
87445         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
87446         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
87447         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
87448         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
87449         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
87450         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
87451         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
87452         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
87453         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
87454         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
87455         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
87456         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
87457         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
87458         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
87459         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
87460         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
87461         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
87463         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
87464         ceil, ceilf, floor, floorf.
87466         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
87467         Perform IRELATIVE relocations last.
87469         * elf/do-rel.h: Add another parameter nrelative, replacing the
87470         local variable with the same name.  Change name of the function
87471         to end in Rel or Rela (uppercase).
87472         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
87473         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
87474         elf_dynamic_do_##reloc function.
87476 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
87478         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
87479         is sufficient, at least on modern CPUs.
87481         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
87483         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
87484         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
87486         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
87487         __expl_finite.
87488         * math/bits/math-finite.h: Add entries for exp.
87489         * math/e_expl.c: Add __*_finite alias.
87490         * sysdeps/i386/fpu/e_exp.S: Likewise.
87491         * sysdeps/i386/fpu/e_expf.S: Likewise.
87492         * sysdeps/i386/fpu/e_expl.c: Likewise.
87493         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
87494         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
87495         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
87496         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
87497         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
87498         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
87499         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
87501         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
87502         is sufficient, at least on modern CPUs.
87504         * ctype/ctype-info.c (__ctype_init): Define.
87505         * include/ctype.h (__ctype_init): Declare.
87506         (__ctype_b_loc): The variable is always initialized.
87507         (__ctype_toupper_loc): Likewise.
87508         (__ctype_tolower_loc): Likewise.
87509         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
87510         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
87512 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
87514         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
87516         * configure.in: Also look in $cxxmachine/include for C++ system
87517         headers.
87519 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87521         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
87522         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
87523         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
87524         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
87525         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
87526         (USE_AS_WMEMCMP): New macro.
87527         Fixing indents.
87528         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
87529         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
87530         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
87531         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
87532         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87533         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
87534         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
87535         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
87536         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
87537         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
87538         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
87539         (USE_AS_WMEMCMP): New macro.
87540         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
87541         * sysdeps/string/test-memcmp.c: Update.
87542         Fix simple_wmemcmp.
87543         Add new tests.
87544         * wcsmbs/wmemcmp.c: Update.
87545         (WMEMCMP): New macro.
87546         Fix overflow bug.
87548 2011-10-12  Andreas Jaeger  <aj@suse.de>
87550         [BZ #13268]
87551         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
87553 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
87555         * libio/iofwide.c (do_length): Avoid warning.
87557         * ctype/ctype.h (__isctype_f): Add missing __THROW.
87559 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
87561         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
87563         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
87564         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
87565         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
87566         * sysdeps/i386/i686/fpu/e_log.S: New file.
87567         * sysdeps/i386/i686/fpu/e_logf.S: New file.
87568         * sysdeps/i386/i686/fpu/e_logl.S: New file.
87570         * ctype/ctype.h: Add support for inlined isXXX functions when
87571         compiling C++ code.
87573 2011-10-14  Andreas Schwab  <schwab@redhat.com>
87575         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
87577         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
87579 2011-10-13  Roland McGrath  <roland@hack.frob.com>
87581         [BZ #13291]
87582         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
87584 2011-10-13  Andreas Schwab  <schwab@redhat.com>
87586         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
87587         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
87588         feraiseexcept.
87590         * sysdeps/x86_64/memrchr.S: Check for zero size.
87592         * string/stratcliff.c: Add memrchr tests.
87594 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87596         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87597         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
87598         rawmemchr-sse2 rawmemchr-sse2-bsf.
87599         * sysdeps/i386/i686/multiarch/memchr.S: New file.
87600         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
87601         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
87602         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
87603         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
87604         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
87605         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
87606         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
87607         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
87608         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
87609         * string/memrchr.c (MEMRCHR): New macro.
87611 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
87613         Add integration with gcc's -ffinite-math-only and optimize wrapper
87614         functions in libm.
87615         * Versions.def: Define GLIBC_2.15 version for libm.
87616         * math/Makefile (headers): Add bits/math-finite.h.
87617         * math/bits/math-finite.h: New file.
87618         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
87619         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
87620         * math/e_acoshl.c: Add __*_finite alias.
87621         * math/e_acosl.c: Likewise.
87622         * math/e_asinl.c: Likewise.
87623         * math/e_atan2l.c: Likewise.
87624         * math/e_atanhl.c: Likewise.
87625         * math/e_coshl.c: Likewise.
87626         * math/e_exp10.c: Likewise.
87627         * math/e_exp10f.c: Likewise.
87628         * math/e_exp10l.c: Likewise.
87629         * math/e_exp2l.c: Likewise.
87630         * math/e_fmodl.c: Likewise.
87631         * math/e_gammal_r.c: Likewise.
87632         * math/e_hypotl.c: Likewise.
87633         * math/e_j0l.c: Likewise.
87634         * math/e_j1l.c: Likewise.
87635         * math/e_jnl.c: Likewise.
87636         * math/e_lgammal_r.c: Likewise.
87637         * math/e_log10l.c: Likewise.
87638         * math/e_log2l.c: Likewise.
87639         * math/e_logl.c: Likewise.
87640         * math/e_powl.c: Likewise.
87641         * math/e_sinhl.c: Likewise.
87642         * math/e_sqrtl.c: Likewise.
87643         * math/e_scalb.c: Completely rewritten and optimized.
87644         * math/e_scalbf.c: Likewise.
87645         * math/e_scalbl.c: Likewise.
87646         * math/w_acos.c: Likewise.
87647         * math/w_acosf.c: Likewise.
87648         * math/w_acosl.c: Likewise.
87649         * math/w_acosh.c: Likewise.
87650         * math/w_acoshf.c: Likewise.
87651         * math/w_acoshl.c: Likewise.
87652         * math/w_asin.c: Likewise.
87653         * math/w_asinf.c: Likewise.
87654         * math/w_asinl.c: Likewise.
87655         * math/w_atan2.c: Likewise.
87656         * math/w_atan2f.c: Likewise.
87657         * math/w_atan2l.c: Likewise.
87658         * math/w_atanh.c: Likewise.
87659         * math/w_atanhf.c: Likewise.
87660         * math/w_atanhl.c: Likewise.
87661         * math/w_exp10.c: Likewise.
87662         * math/w_exp10f.c: Likewise.
87663         * math/w_exp10l.c: Likewise.
87664         * math/w_fmod.c: Likewise.
87665         * math/w_fmodf.c: Likewise.
87666         * math/w_fmodl.c: Likewise.
87667         * math/w_j0.c: Likewise.
87668         * math/w_j0f.c: Likewise.
87669         * math/w_j0l.c: Likewise.
87670         * math/w_j1.c: Likewise.
87671         * math/w_j1f.c: Likewise.
87672         * math/w_j1l.c: Likewise.
87673         * math/w_jn.c: Likewise.
87674         * math/w_jnf.c: Likewise.
87675         * math/w_log.c: Likewise.
87676         * math/w_logf.c: Likewise.
87677         * math/w_logl.c: Likewise.
87678         * math/w_log10.c: Likewise.
87679         * math/w_log10f.c: Likewise.
87680         * math/w_log10l.c: Likewise.
87681         * math/w_log2.c: Likewise.
87682         * math/w_log2f.c: Likewise.
87683         * math/w_log2l.c: Likewise.
87684         * math/w_pow.c: Likewise.
87685         * math/w_powf.c: Likewise.
87686         * math/w_powl.c: Likewise.
87687         * math/w_remainder.c: Likewise.
87688         * math/w_remainderf.c: Likewise.
87689         * math/w_remainderl.c: Likewise.
87690         * math/w_scalb.c: Likewise.
87691         * math/w_scalbf.c: Likewise.
87692         * math/w_scalbl.c: Likewise.
87693         * math/w_sqrt.c: Likewise.
87694         * math/w_sqrtf.c: Likewise.
87695         * math/w_sqrtl.c: Likewise.
87696         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
87697         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
87698         used.
87699         * math/math_private.h: Declare __kernel_standard_f.
87700         * math/w_cosh.c: Remove cruft and optimize a bit.
87701         * math/w_coshf.c: Likewise.
87702         * math/w_coshl.c: Likewise.
87703         * math/w_exp2.c: Likewise.
87704         * math/w_exp2f.c: Likewise.
87705         * math/w_exp2l.c: Likewise.
87706         * math/w_hypot.c: Likewise.
87707         * math/w_hypotf.c: Likewise.
87708         * math/w_hypotl.c: Likewise.
87709         * math/w_lgamma.c: Likewise.
87710         * math/w_lgamma_r.c: Likewise.
87711         * math/w_lgammaf.c: Likewise.
87712         * math/w_lgammaf_r.c: Likewise.
87713         * math/w_lgammal.c: Likewise.
87714         * math/w_lgammal_r.c: Likewise.
87715         * math/w_sinh.c: Likewise.
87716         * math/w_sinhf.c: Likewise.
87717         * math/w_sinhl.c: Likewise.
87718         * math/w_tgamma.c: Likewise.
87719         * math/w_tgammaf.c: Likewise.
87720         * math/w_tgammal.c: Likewise.
87721         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
87722         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
87723         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
87724         Minor optimizations.  Pretty printing.  Remove cruft.
87725         * sysdeps/i386/fpu/e_acosf.S: Likewise.
87726         * sysdeps/i386/fpu/e_acosh.S: Likewise.
87727         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
87728         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
87729         * sysdeps/i386/fpu/e_acosl.c: Likewise.
87730         * sysdeps/i386/fpu/e_asin.S: Likewise.
87731         * sysdeps/i386/fpu/e_asinf.S: Likewise.
87732         * sysdeps/i386/fpu/e_atan2.S: Likewise.
87733         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
87734         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
87735         * sysdeps/i386/fpu/e_atanh.S: Likewise.
87736         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
87737         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
87738         * sysdeps/i386/fpu/e_exp10.S: Likewise.
87739         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
87740         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
87741         * sysdeps/i386/fpu/e_exp2.S: Likewise.
87742         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
87743         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
87744         * sysdeps/i386/fpu/e_fmod.S: Likewise.
87745         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
87746         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
87747         * sysdeps/i386/fpu/e_hypot.S: Likewise.
87748         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
87749         * sysdeps/i386/fpu/e_log.S: Likewise.
87750         * sysdeps/i386/fpu/e_log10.S: Likewise.
87751         * sysdeps/i386/fpu/e_log10f.S: Likewise.
87752         * sysdeps/i386/fpu/e_log10l.S: Likewise.
87753         * sysdeps/i386/fpu/e_log2.S: Likewise.
87754         * sysdeps/i386/fpu/e_log2f.S: Likewise.
87755         * sysdeps/i386/fpu/e_log2l.S: Likewise.
87756         * sysdeps/i386/fpu/e_logf.S: Likewise.
87757         * sysdeps/i386/fpu/e_logl.S: Likewise.
87758         * sysdeps/i386/fpu/e_pow.S: Likewise.
87759         * sysdeps/i386/fpu/e_powf.S: Likewise.
87760         * sysdeps/i386/fpu/e_powl.S: Likewise.
87761         * sysdeps/i386/fpu/e_remainder.S: Likewise.
87762         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
87763         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
87764         * sysdeps/i386/fpu/e_scalb.S: Likewise.
87765         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
87766         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
87767         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
87768         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
87769         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
87770         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
87771         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
87772         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87773         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
87774         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
87775         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
87776         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
87777         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
87778         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
87779         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
87780         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
87781         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
87782         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87783         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
87784         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
87785         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87786         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
87787         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
87788         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
87789         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87790         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
87791         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
87792         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
87793         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
87794         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
87795         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
87796         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
87797         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
87798         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
87799         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
87800         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
87801         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
87802         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
87803         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
87804         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
87805         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
87806         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
87807         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
87808         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
87809         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
87810         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
87811         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
87812         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
87813         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
87814         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
87815         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
87816         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
87817         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
87818         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
87819         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
87820         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
87821         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
87822         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
87823         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
87824         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
87825         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
87826         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
87827         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
87828         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
87829         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
87830         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
87831         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
87832         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
87833         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
87834         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
87835         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
87836         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
87837         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
87838         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
87839         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
87840         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
87841         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
87842         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
87843         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
87844         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
87845         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
87846         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
87847         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
87848         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
87849         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
87850         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
87851         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
87852         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
87853         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
87854         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
87855         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
87856         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
87857         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
87858         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
87859         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
87860         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
87861         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
87862         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
87863         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
87864         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
87865         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
87866         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
87867         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
87868         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
87869         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
87870         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
87871         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
87872         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
87873         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
87874         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
87875         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
87876         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
87877         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
87878         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
87879         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
87880         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
87881         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
87882         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
87883         (__isnanf): Likewise.
87884         (__isinf_ns): Likewise.
87885         (__isinf_nsf): Likewise.
87886         (__finite): Likewise.
87887         (__finitef): Likewise.
87888         (__ieee754_sqrt): Define as macro.
87889         (__ieee754_sqrtf): Define as macro.
87890         (__ieee754_sqrtl): Define as macro.
87891         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
87892         inlined copy.
87893         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
87894         __FINITE_MATH_ONLY__ consistent.
87895         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
87897 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
87899         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
87900         of rawmemchr.
87902         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
87904 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
87906         * po/ja.po: Update from translation team.
87908 2011-10-08  Roland McGrath  <roland@hack.frob.com>
87910         * locale/programs/locarchive.c (prepare_address_space): New function.
87911         (create_archive, enlarge_archive, open_archive): Use it.
87913         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
87914         inside [SHARED], where it is used.
87916         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
87918         * nss/getent.c (netgroup_keys): Remove unused variable.
87919         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
87921 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
87923         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
87924         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
87925         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
87926         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
87927         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
87928         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
87929         * math/Makefile (libm-calls): Add s_isinf_ns.
87930         * math/divtc3.c: Use __isinf_nsl instead of isinf.
87931         * math/multc3.c: Likewise.
87932         * math/s_casin.c: Likewise.
87933         * math/s_casinf.c: Likewise.
87934         * math/s_casinl.c: Likewise.
87935         * math/s_ccos.c: Likewise.
87936         * math/s_ccosf.c: Likewise.
87937         * math/s_ccosl.c: Likewise.
87938         * math/s_ctan.c: Likewise.
87939         * math/s_ctanf.c: Likewise.
87940         * math/s_ctanh.c: Likewise.
87941         * math/s_ctanhf.c: Likewise.
87942         * math/s_ctanhl.c: Likewise.
87943         * math/s_ctanl.c: Likewise.
87944         * math/w_fmod.c: Likewise.
87945         * math/w_fmodf.c: Likewise.
87946         * math/w_fmodl.c: Likewise.
87947         * math/w_remainder.c: Likewise.
87948         * math/w_remainderf.c: Likewise.
87949         * math/w_remainderl.c: Likewise.
87950         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
87951         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
87952         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
87953         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
87954         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
87955         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
87956         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
87957         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
87959         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
87960         of the number.
87961         * stdio-common/printf_fphex.c: Likewise.
87962         * stdio-common/printf_size.c: Likewise.
87964         * math/e_exp10.c: Include math_private.h using <...> not "...".
87965         * math/e_exp10f.c: Likewise.
87966         * math/e_exp10l.c: Likewise.
87967         * math/e_exp2l.c: Likewise.
87968         * math/e_j0l.c: Likewise.
87969         * math/e_j1l.c: Likewise.
87970         * math/e_jnl.c: Likewise.
87971         * math/e_lgammal_r.c: Likewise.
87972         * math/e_rem_pio2l.c: Likewise.
87973         * math/e_scalb.c: Likewise.
87974         * math/e_scalbf.c: Likewise.
87975         * math/e_scalbl.c: Likewise.
87976         * math/k_cosl.c: Likewise.
87977         * math/k_sinl.c: Likewise.
87978         * math/k_tanl.c: Likewise.
87979         * math/s_cacoshf.c: Likewise.
87980         * math/s_catan.c: Likewise.
87981         * math/s_catanf.c: Likewise.
87982         * math/s_catanh.c: Likewise.
87983         * math/s_catanhf.c: Likewise.
87984         * math/s_catanhl.c: Likewise.
87985         * math/s_catanl.c: Likewise.
87986         * math/s_ccosh.c: Likewise.
87987         * math/s_ccoshf.c: Likewise.
87988         * math/s_ccoshl.c: Likewise.
87989         * math/s_cexp.c: Likewise.
87990         * math/s_cexpf.c: Likewise.
87991         * math/s_cexpl.c: Likewise.
87992         * math/s_clog.c: Likewise.
87993         * math/s_clog10.c: Likewise.
87994         * math/s_clog10f.c: Likewise.
87995         * math/s_clog10l.c: Likewise.
87996         * math/s_clogf.c: Likewise.
87997         * math/s_clogl.c: Likewise.
87998         * math/s_csin.c: Likewise.
87999         * math/s_csinf.c: Likewise.
88000         * math/s_csinh.c: Likewise.
88001         * math/s_csinhf.c: Likewise.
88002         * math/s_csinhl.c: Likewise.
88003         * math/s_csinl.c: Likewise.
88004         * math/s_csqrt.c: Likewise.
88005         * math/s_csqrtf.c: Likewise.
88006         * math/s_csqrtl.c: Likewise.
88007         * math/s_ctan.c: Likewise.
88008         * math/s_ctanf.c: Likewise.
88009         * math/s_ctanh.c: Likewise.
88010         * math/s_ctanhf.c: Likewise.
88011         * math/s_ctanhl.c: Likewise.
88012         * math/s_ctanl.c: Likewise.
88013         * math/s_ldexp.c: Likewise.
88014         * math/s_ldexpf.c: Likewise.
88015         * math/s_ldexpl.c: Likewise.
88016         * math/s_significand.c: Likewise.
88017         * math/s_significandf.c: Likewise.
88018         * math/s_significandl.c: Likewise.
88019         * math/w_acos.c: Likewise.
88020         * math/w_acosf.c: Likewise.
88021         * math/w_acosh.c: Likewise.
88022         * math/w_acoshf.c: Likewise.
88023         * math/w_acoshl.c: Likewise.
88024         * math/w_acosl.c: Likewise.
88025         * math/w_asin.c: Likewise.
88026         * math/w_asinf.c: Likewise.
88027         * math/w_asinl.c: Likewise.
88028         * math/w_atan2.c: Likewise.
88029         * math/w_atan2f.c: Likewise.
88030         * math/w_atan2l.c: Likewise.
88031         * math/w_atanh.c: Likewise.
88032         * math/w_atanhf.c: Likewise.
88033         * math/w_atanhl.c: Likewise.
88034         * math/w_cosh.c: Likewise.
88035         * math/w_coshf.c: Likewise.
88036         * math/w_coshl.c: Likewise.
88037         * math/w_dremf.c: Likewise.
88038         * math/w_exp10.c: Likewise.
88039         * math/w_exp10f.c: Likewise.
88040         * math/w_exp10l.c: Likewise.
88041         * math/w_exp2.c: Likewise.
88042         * math/w_exp2f.c: Likewise.
88043         * math/w_fmod.c: Likewise.
88044         * math/w_fmodf.c: Likewise.
88045         * math/w_fmodl.c: Likewise.
88046         * math/w_hypot.c: Likewise.
88047         * math/w_hypotf.c: Likewise.
88048         * math/w_hypotl.c: Likewise.
88049         * math/w_j0.c: Likewise.
88050         * math/w_j0f.c: Likewise.
88051         * math/w_j0l.c: Likewise.
88052         * math/w_j1.c: Likewise.
88053         * math/w_j1f.c: Likewise.
88054         * math/w_j1l.c: Likewise.
88055         * math/w_jn.c: Likewise.
88056         * math/w_jnf.c: Likewise.
88057         * math/w_jnl.c: Likewise.
88058         * math/w_lgamma.c: Likewise.
88059         * math/w_lgamma_r.c: Likewise.
88060         * math/w_lgammaf.c: Likewise.
88061         * math/w_lgammaf_r.c: Likewise.
88062         * math/w_lgammal.c: Likewise.
88063         * math/w_lgammal_r.c: Likewise.
88064         * math/w_log.c: Likewise.
88065         * math/w_log10.c: Likewise.
88066         * math/w_log10f.c: Likewise.
88067         * math/w_log10l.c: Likewise.
88068         * math/w_log2.c: Likewise.
88069         * math/w_log2f.c: Likewise.
88070         * math/w_log2l.c: Likewise.
88071         * math/w_logf.c: Likewise.
88072         * math/w_logl.c: Likewise.
88073         * math/w_pow.c: Likewise.
88074         * math/w_powf.c: Likewise.
88075         * math/w_powl.c: Likewise.
88076         * math/w_remainder.c: Likewise.
88077         * math/w_remainderf.c: Likewise.
88078         * math/w_remainderl.c: Likewise.
88079         * math/w_scalb.c: Likewise.
88080         * math/w_scalbf.c: Likewise.
88081         * math/w_scalbl.c: Likewise.
88082         * math/w_sinh.c: Likewise.
88083         * math/w_sinhf.c: Likewise.
88084         * math/w_sinhl.c: Likewise.
88085         * math/w_sqrt.c: Likewise.
88086         * math/w_sqrtf.c: Likewise.
88087         * math/w_sqrtl.c: Likewise.
88088         * math/w_tgamma.c: Likewise.
88089         * math/w_tgammaf.c: Likewise.
88090         * math/w_tgammal.c: Likewise.
88092         * po/ja.po: Update from translation team.
88094 2011-09-29  Andreas Jaeger  <aj@suse.de>
88096         [BZ #13179]
88097         * sunrpc/netname.c (netname2host): Fix logic.
88099         [BZ #6779]
88100         [BZ #6783]
88101         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
88102         correctly.
88103         * math/w_remainder.c (__remainder): Likewise.
88104         * math/w_remainderf.c (__remainderf): Likewise.
88105         * math/libm-test.inc (remainder_test): Add test cases.
88107 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88109         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
88110         sdiv_qrnnd.
88112 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
88114         * string/test-memcmp.c: Avoid unncessary #defines.
88115         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
88117 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88119         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
88120         Use new sse2 version for core i3 - i7 as it's faster
88121         than sse42 version.
88122         (bit_Prefer_PMINUB_for_stringop): New.
88123         * sysdeps/x86_64/rawmemchr.S: Update.
88124         Replace with faster SSE2 version.
88125         * sysdeps/x86_64/memrchr.S: New file.
88126         * sysdeps/x86_64/memchr.S: Update.
88127         Replace with faster SSE2 version.
88129 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
88131         * elf/dl-load.c (lose): Add cast to avoid warning.
88133 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
88135         * po/ca.po: Update from translation team.
88137         * inet/getnetgrent_r.c: Hook up nscd.
88138         * nscd/Makefile (routines): Add nscd_netgroup.
88139         (nscd-modules): Add netgroupcache.
88140         (CFLAGS-netgroupcache.c): Define.
88141         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
88142         (cache_search): Add const to second parameter.
88143         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
88144         INNETGR.
88145         (dbs): Add netgrdb entry.
88146         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
88147         (verify_persistent_db): Handle netgrdb.
88148         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
88149         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
88150         GETFDNETGR.
88151         (netgroup_response_header): Define.
88152         (innetgroup_response_header): Define.
88153         (datahead): Add netgroup_response_header and innetgroup_response_header
88154         elements.
88155         * nscd/nscd.conf: Add entries for netgroup cache.
88156         * nscd/nscd.h (dbtype): Add netgrdb.
88157         (_PATH_NSCD_NETGROUP_DB): Define.
88158         (netgroup_iov_disabled): Declare.
88159         (xmalloc, xcalloc, xrealloc): Move declarations here.
88160         (cache_search): Adjust prototype.
88161         Add netgroup-related prototypes.
88162         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
88163         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
88164         (__nscd_innetgr): Declare.
88165         * nscd/selinux.c (perms): Use access_vector_t as element type and
88166         add netgroup-related initializers.
88167         * nscd/netgroupcache.c: New file.
88168         * nscd/nscd_netgroup.c: New file.
88169         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
88170         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
88171         For four parameters use innetgr.
88172         * nss/nss_files/files-init.c: Add definition and callback for netgr.
88173         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
88174         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
88175         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
88177         * nscd/connections.c (register_traced_file): Don't register file
88178         for disabled databases.
88180 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
88182         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
88184         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
88185         from tree and freeing node.
88187 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
88189         * nss/nsswitch.c (__nss_database_lookup): Handle
88190         nss_parse_service_list out of memory case.
88192 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
88194         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
88195         out of memory case.
88197 2011-10-04  Andreas Schwab  <schwab@redhat.com>
88199         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
88200         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
88201         pass it down.
88202         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
88203         elf_machine_rela, elf_machine_lazy_rel.
88204         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
88205         (ELF_DYNAMIC_DO_REL): Likewise.
88206         (ELF_DYNAMIC_DO_RELA): Likewise.
88207         (ELF_DYNAMIC_RELOCATE): Likewise.
88208         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
88209         to ELF_DYNAMIC_DO_REL.
88210         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
88211         (dl_main): In trace mode always set __RTLD_NOIFUNC.
88212         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
88213         elf_machine_rela.
88214         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
88215         skip_ifunc, don't call ifunc function if non-zero.
88216         (elf_machine_rela): Likewise.
88217         (elf_machine_lazy_rel): Likewise.
88218         (elf_machine_lazy_rela): Likewise.
88219         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
88220         (elf_machine_lazy_rel): Likewise.
88221         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
88222         Likewise.
88223         (elf_machine_lazy_rel): Likewise.
88224         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
88225         Likewise.
88226         (elf_machine_lazy_rel): Likewise.
88227         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
88228         (elf_machine_lazy_rel): Likewise.
88229         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
88230         (elf_machine_lazy_rel): Likewise.
88231         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
88232         (elf_machine_lazy_rel): Likewise.
88233         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
88234         (elf_machine_lazy_rel): Likewise.
88235         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
88236         (elf_machine_lazy_rel): Likewise.
88237         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
88238         (elf_machine_lazy_rel): Likewise.
88240 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
88242         * nss/nss_files/files-init.c (_nss_files_init): Use static
88243         initialization for all the *_traced_file variables.
88245 2011-09-28  Andreas Schwab  <schwab@redhat.com>
88247         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88249 2011-09-27  Roland McGrath  <roland@hack.frob.com>
88251         [BZ #13226]
88252         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
88254 2011-09-27  Andreas Schwab  <schwab@redhat.com>
88256         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
88257         Reread the line before reparsing it.
88259 2011-09-26  Andreas Schwab  <schwab@redhat.com>
88261         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
88263 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
88264             Maxim Kuvyrkov  <maxim@codesourcery.com>
88265             Joseph Myers  <joseph@codesourcery.com>
88267         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
88268         if needed for __stack_chk_guard.
88270 2011-09-19  Roland McGrath  <roland@hack.frob.com>
88272         * sysdeps/posix/spawni.c (script_execute): Always define it.
88273         It will be optimized away if unused.
88274         (maybe_script_execute): New function.
88275         (__spawni): Call it.
88277         * Makerules: Don't include tls.make.
88278         (config-tls): Always set to thread.
88279         * tls.make.c: File removed.
88281 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
88283         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
88284         * config.make.in (CPPFLAGS-config): New substituted variable.
88286 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
88288         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
88290         [BZ #13192]
88291         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
88292         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
88294 2011-09-15  Roland McGrath  <roland@hack.frob.com>
88296         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
88297         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
88298         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
88299         (CALL_FAIL): Likewise.
88300         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
88301         (CALL_FAIL): Macro removed.
88302         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
88304 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
88306         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
88307         for __FINITE_MATH_ONLY__ == 1.
88309 2011-09-15  Andreas Schwab  <schwab@redhat.com>
88311         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
88312         __ieee754_sqrt instead of sqrt.
88313         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
88314         __ieee754_sqrtf instead of sqrtf.
88315         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
88316         __floorf instead of floorf.
88317         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
88318         __floorf, __truncf instead of floorf, truncf.
88320 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
88322         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
88324         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
88325         __extern_always_inline.
88326         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
88327         32-bit.
88329 2011-09-14  Andreas Schwab  <schwab@redhat.com>
88331         * elf/rtld.c (dl_main): Also relocate in dependency order when
88332         doing symbol dependency testing.
88334 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
88336         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
88337         Always define `refsym'.
88339 2011-09-13  Andreas Schwab  <schwab@redhat.com>
88341         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
88342         (__FD_ELT): Renamed from __FDELT.
88343         * misc/bits/select2.h (__FD_ELT): Likewise.
88344         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
88345         __FD_MASK instead of __FDELT, __FDMASK.
88346         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
88347         Likewise.
88348         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
88349         Likewise.
88351         * elf/Makefile (gen-ldd): Fix pattern.
88353         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
88354         (init_tls): Likewise.
88356 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
88358         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
88360 2011-09-12  Andreas Schwab  <schwab@redhat.com>
88362         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
88363         `struct cmsghdr *' instead of `void *'.
88364         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
88365         Likewise.
88367 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
88369         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
88370         if non-absolute.
88371         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
88372         ldd_rewrite_script.
88374 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
88376         * configure.in: Remove --with-tls option.
88377         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
88378         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
88379         out in case it is missing.
88380         * sysdeps/ia64/elf/configure.in: Likewise.
88381         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
88382         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
88383         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
88384         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
88385         * sysdeps/sh/elf/configure.in: Likewise.
88386         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
88387         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
88388         * sysdeps/x86_64/elf/configure.in: Likewise.
88389         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
88390         * sysdeps/mach/hurd/tls.h: Likewise.
88392         [BZ #13067]
88393         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
88395         [BZ #13090]
88396         * configure.in: Fix use of AC_INIT.
88398         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
88400 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
88402         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
88403         __set_errno.
88404         * malloc/hooks.c: Likewise.
88406         [BZ #11929]
88407         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
88408         variables statically.
88409         (narenas): Initialize.
88410         (list_lock): Initialize.
88411         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
88412         initializtion of main_arena and list_lock.  Small cleanups.
88413         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
88414         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
88415         Add initializers to main_arena and mp_.
88416         (malloc_state): Remove pagesize member.  Change all users to use
88417         GLRO(dl_pagesize).
88419         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
88420         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
88421         is always initialized.
88423         * malloc/malloc.c: Removed unused configurations and dead code.
88424         * malloc/arena.c: Likewise.
88425         * malloc/hooks.c: Likewise.
88426         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
88428         * include/tls.h: Removed.  USE___THREAD must always be defined.
88429         * bits/libc-tsd.h: Don't handle !USE___THREAD.
88430         * elf/dl-libc.c: Likewise.
88431         * elf/dl-tsd.c: Likewise.
88432         * include/errno.h: Likewise.
88433         * include/netdb.h: Likewise.
88434         * include/resolv.h: Likewise.
88435         * inet/herrno-loc.c: Likewise.
88436         * inet/herrno.c: Likewise.
88437         * malloc/arena.c: Likewise.
88438         * malloc/hooks.c: Likewise.
88439         * malloc/malloc.c: Likewise.
88440         * resolv/res-state.c: Likewise.
88441         * resolv/res_libc.c: Likewise.
88442         * sysdeps/i386/dl-machine.h: Likewise.
88443         * sysdeps/ia64/dl-machine.h: Likewise.
88444         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
88445         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
88446         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
88447         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
88448         * sysdeps/sh/dl-machine.h: Likewise.
88449         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
88450         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
88451         * sysdeps/unix/i386/sysdep.S: Likewise.
88452         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
88453         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
88454         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
88455         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
88456         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
88457         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
88458         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
88459         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
88460         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
88461         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
88462         * sysdeps/unix/x86_64/sysdep.S: Likewise.
88463         * sysdeps/x86_64/dl-machine.h: Likewise.
88464         * tls.make.c: Likewise.
88466         * configure.in: Remove --with-__thread option.  Make tests for
88467         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
88468         tls_model attribute fail if no support is available.  Remove
88469         USE_IN_LIBIO.
88470         * Makeconfig: Adjust for dropped configure option.  All features are
88471         now mandatory.
88472         * Makerules: Likewise.
88473         * Versions.def: Likewise.
88474         * argp/argp-fmtstream.c: Likewise.
88475         * argp/argp-fmtstream.h: Likewise.
88476         * argp/argp-help.c: Likewise.
88477         * assert/assert.c: Likewise.
88478         * config.h.in: Likewise.
88479         * config.make.in: Likewise.
88480         * configure: Likewise.
88481         * configure.in: Likewise.
88482         * csu/Versions: Likewise.
88483         * csu/init.c: Likewise.
88484         * elf/tst-audit2.c: Likewise.
88485         * elf/tst-tls10.c: Likewise.
88486         * elf/tst-tls10.h: Likewise.
88487         * elf/tst-tls11.c: Likewise.
88488         * elf/tst-tls12.c: Likewise.
88489         * elf/tst-tls14.c: Likewise.
88490         * elf/tst-tlsmod11.c: Likewise.
88491         * elf/tst-tlsmod12.c: Likewise.
88492         * elf/tst-tlsmod13.c: Likewise.
88493         * elf/tst-tlsmod13a.c: Likewise.
88494         * elf/tst-tlsmod14a.c: Likewise.
88495         * elf/tst-tlsmod15b.c: Likewise.
88496         * elf/tst-tlsmod16a.c: Likewise.
88497         * elf/tst-tlsmod16b.c: Likewise.
88498         * elf/tst-tlsmod7.c: Likewise.
88499         * elf/tst-tlsmod8.c: Likewise.
88500         * elf/tst-tlsmod9.c: Likewise.
88501         * gmon/gmon.c: Likewise.
88502         * grp/fgetgrent_r.c: Likewise.
88503         * grp/putgrent.c: Likewise.
88504         * hurd/fopenport.c: Likewise.
88505         * include/libc-symbols.h: Likewise.
88506         * include/tls.h: Likewise.
88507         * intl/gettextP.h: Likewise.
88508         * intl/loadinfo.h: Likewise.
88509         * locale/global-locale.c: Likewise.
88510         * locale/localeinfo.h: Likewise.
88511         * mach/devstream.c: Likewise.
88512         * malloc/arena.c: Likewise.
88513         * malloc/set-freeres.c: Likewise.
88514         * misc/err.c: Likewise.
88515         * misc/getttyent.c: Likewise.
88516         * misc/mntent_r.c: Likewise.
88517         * posix/getopt.c: Likewise.
88518         * posix/wordexp.c: Likewise.
88519         * pwd/fgetpwent_r.c: Likewise.
88520         * resolv/Versions: Likewise.
88521         * resolv/res_hconf.c: Likewise.
88522         * shadow/fgetspent_r.c: Likewise.
88523         * shadow/putspent.c: Likewise.
88524         * stdio-common/printf_fphex.c: Likewise.
88525         * stdio-common/tmpfile.c: Likewise.
88526         * stdlib/abort.c: Likewise.
88527         * stdlib/fmtmsg.c: Likewise.
88528         * sunrpc/auth_unix.c: Likewise.
88529         * sunrpc/clnt_perr.c: Likewise.
88530         * sunrpc/clnt_tcp.c: Likewise.
88531         * sunrpc/clnt_udp.c: Likewise.
88532         * sunrpc/clnt_unix.c: Likewise.
88533         * sunrpc/openchild.c: Likewise.
88534         * sunrpc/svc_simple.c: Likewise.
88535         * sunrpc/svc_tcp.c: Likewise.
88536         * sunrpc/svc_udp.c: Likewise.
88537         * sunrpc/svc_unix.c: Likewise.
88538         * sunrpc/xdr.c: Likewise.
88539         * sunrpc/xdr_array.c: Likewise.
88540         * sunrpc/xdr_rec.c: Likewise.
88541         * sunrpc/xdr_ref.c: Likewise.
88542         * sunrpc/xdr_stdio.c: Likewise.
88544 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
88546         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88548 2011-07-03  Andreas Jaeger  <aj@suse.de>
88550         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
88551         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
88552         regenerate with gen-libm-tests.pl.
88554 2010-05-12  Petr Baudis  <pasky@suse.cz>
88556         [BZ #11589]
88557         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
88558         around j0() zero points by switching to j1().
88559         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
88560         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
88561         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
88562         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
88564 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
88566         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
88567         instead of 0.
88568         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
88569         instead of 0.
88570         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
88571         Patch in part by Pavel Roskin <proski@gnu.org>.
88573         [BZ #13138]
88574         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
88575         realloc.
88576         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
88577         Free memory block if necessary.
88579         [BZ #12847]
88580         * libio/genops.c (INTDEF): For string streams the _lock pointer can
88581         be NULL.  Don't lock in this case.
88583 2011-09-09  Roland McGrath  <roland@hack.frob.com>
88585         * elf/elf.h (ELFOSABI_GNU): New macro.
88586         (ELFOSABI_LINUX): Define to that.
88588 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
88590         * string/strncat.c (strncat): Undef the symbol in case it has been
88591         defined in bits/string.h.
88593 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
88595         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
88597         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
88598         link map.
88600 2011-08-17  Andreas Jaeger  <aj@suse.de>
88602         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
88604 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
88605             Ian Lance Taylor  <iant@google.com>
88607         * math/libm-test.inc (lround_test): New testcase.
88608         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
88610 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
88612         * Makefile: Remove support for automatic cvs check-ins.
88613         * Makerules: Likewise.
88614         * config.make.in: Likewise.
88615         * configure.in: Likewise.
88616         * intl/Makefile: Likewise.
88617         * locale/Makefile: Likewise.
88618         * po/Makefile: Likewise.
88619         * posix/Makefile: Likewise.
88620         * sysdeps/gnu/Makefile: Likewise.
88621         * sysdeps/mach/hurd/Makefile: Likewise.
88622         * sysdeps/sparc/sparc32/Makefile: Likewise.
88624         [BZ #13118]
88625         * posix/Makefile (bug-regex32-ENV): Define.
88626         Patch by John Stanley <jpsinthemix@verizon.net>.
88628         * misc/Makefile (headers): Add bits/select2.h.
88629         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
88630         * misc/bits/select2.h: New file.
88631         * include/bits/select2.h: New file.
88632         * debug/Makefile (routines): Add fdelt_chk.
88633         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
88634         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
88635         FD_ISSET.
88636         * debug/fdelt_chk.c: New file.
88638         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
88639         * wcsmbs/test-wmemcmp.c: Likewise.
88640         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
88641         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
88643 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88645         * string/Makefile (strop-tests): Add memcmp.
88646         * string/test-wmemcmp.c: New file.
88647         * string/test-memcmp.c: Add wmemcmp support.
88649 2011-09-08  Roland McGrath  <roland@hack.frob.com>
88651         [BZ #13153]
88652         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
88653         2011-07-19 change.
88655         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
88656         garbage value in a __mach_port_mod_refs call in the cases of the
88657         task-self and thread-self ports.
88659 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88661         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
88663 2011-09-08  Andreas Schwab  <schwab@redhat.com>
88665         * elf/dl-load.c (lose): Check for non-null L.
88667 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
88669         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
88671         * elf/dl-libc.c (dlerror_run): Pass back error code from
88672         dl_catch_error.
88674         [BZ #13123]
88675         * elf/dl-load.c (lose): Free l_origin if it is valid.
88677         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
88678         names.
88679         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
88680         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
88681         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
88682         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
88683         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
88684         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
88686 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88688         * sysdeps/powerpc/fpu/e_hypot.c: New file.
88689         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
88690         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
88691         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
88692         * sysdeps/powerpc/fpu/k_cosf.c: New file.
88693         * sysdeps/powerpc/fpu/k_sinf.c: New file.
88694         * sysdeps/powerpc/fpu/s_cosf.c: New file.
88695         * sysdeps/powerpc/fpu/s_sinf.c: New file.
88696         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
88697         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
88699 2011-08-15  Alan Modra  <amodra@gmail.com>
88701         [BZ #13092]
88702         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
88703         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
88704         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
88705         ppc_mcount to static-only-routines.
88706         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
88707         __mcount_internal.
88708         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
88709         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
88711 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
88713         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
88714         for finite and infinity parameters.
88716 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
88718         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
88719         and add nop instructions for throughput optimization.
88720         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
88722 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
88724         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
88725         aligned copy for power7 with vector-scalar instructions.
88726         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
88728 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
88730         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
88731         AVX check.
88733 2011-09-07  Andreas Schwab  <schwab@redhat.com>
88735         [BZ #13144]
88736         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
88737         last change.
88739 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
88741         * sysdeps/unix/sysv/linux/x86_64/init-first.c
88742         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
88743         syscall wrapper around clock_gettime in __vdso_clock_gettime.
88744         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
88745         clock_gettime.
88747 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
88749         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
88750         Forgot to demangle the pointer.
88752         * sysdeps/i386/sysdep.h: Define atom_text_section.
88753         * sysdeps/x86_64/sysdep.h: Likewise.
88754         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
88755         section with atom_text_section.
88756         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
88757         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
88758         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
88759         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
88760         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
88762         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
88763         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
88764         already be defined.  Change to take two parameters and don't assign
88765         result to variable.  Adjust all users.
88766         Define INTERNAL_GETTIME if not already defined.
88767         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
88768         call.
88769         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
88770         HAVE_CLOCK_GETTIME_VSYSCALL.
88771         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
88773         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
88774         gettimeofday vsyscall, just use time.
88776 2011-09-06  Andreas Schwab  <schwab@redhat.com>
88778         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
88779         <errno.h>.
88781 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
88783         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
88784         syscall on x86-64.
88785         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
88786         syscall.
88787         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
88788         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
88789         syscall if possible.
88791 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
88793         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
88794         e_ident.  Don't pass to find_mapsXX.
88795         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
88797 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
88799         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88800         strchr-sse2-no-bsf strrchr-sse2-no-bsf
88801         * sysdeps/x86_64/multiarch/strchr.S: Update.
88802         Check bit_slow_BSF bit.
88803         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
88804         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
88805         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
88807 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
88809         [BZ #13134]
88810         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
88811         before glibc 2.15.
88812         (tryshell): Define.
88813         (__spawni): Change last parameter to be flag.  Test
88814         SPAWN_XFLAGS_USE_PATH flag to use path or not.
88815         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
88816         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
88817         * posix/spawni.c: Likewise.
88818         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
88819         * posix/spawnp.c: Likewise.  Change normal version to use
88820         SPAWN_XFLAGS_USE_PATH.
88821         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
88822         SPAWN_XFLAGS_TRY_SHELL.
88824         [BZ #13150]
88825         * posix/glob.h: Remove gcc 1.x support.
88827         [BZ #13068]
88828         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
88830 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
88832         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88833         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
88834         strrchr-sse2-bsf
88835         * sysdeps/i386/i686/multiarch/strchr.S: New file.
88836         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
88837         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
88838         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
88839         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
88840         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
88842 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88844         * sysdeps/x86_64/wcscmp.S: New file.
88846         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
88847         wcscmp-c wcscmp-sse2
88848         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
88849         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
88850         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
88851         * wcsmbs/wcscmp.c: Allow renaming.
88853 2011-09-05  David S. Miller  <davem@davemloft.net>
88855         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
88856         stack slot, rather than the struct return pointer slot.
88857         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
88858         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
88859         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
88860         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
88862 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
88864         * po/ja.po: Update from translation team.
88866         [BZ #13144]
88867         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
88868         kernel in 64-bit binaries.
88870 2011-09-01  David S. Miller  <davem@davemloft.net>
88872         * elf/elf.h (HWCAP_SPARC_*): Move to..
88873         * sysdeps/sparc/sysdep.h: this new file and add new values.
88874         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
88875         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
88876         _DL_HWCAP_COUNT to 24.
88877         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
88878         entries.
88879         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
88880         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
88881         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
88882         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
88883         instead of magic constants.
88884         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
88886 2011-08-31  David S. Miller  <davem@davemloft.net>
88888         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
88889         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
88890         Reimplement to do errno handling inline.
88891         (SYSCALL_ERROR_HANDLER): New macro.
88892         (__SYSCALL_STRING): Do not do errno handling in asm.
88893         (__CLONE_SYSCALL_STRING): Delete.
88894         (__INTERNAL_SYSCALL_STRING): Delete.
88895         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
88896         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
88897         (PSEUDO): Reimplement to do errno handling inline.
88898         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
88899         (SYSCALL_ERROR_HANDLER): New macro.
88900         (__SYSCALL_STRING): Do not do errno handling in asm.
88901         (__CLONE_SYSCALL_STRING): Delete.
88902         (__INTERNAL_SYSCALL_STRING): Delete.
88903         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
88904         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
88905         i386.
88906         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
88907         (inline_syscall*): Add 'err' argument.
88908         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
88909         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
88910         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
88911         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
88913         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
88914         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
88916 2011-08-30  Andreas Schwab  <schwab@redhat.com>
88918         * elf/rtld.c (dl_main): Relocate objects in dependency order.
88920 2011-08-29  Jiri Olsa <jolsa@redhat.com>
88922         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
88923         directive.
88925 2011-08-24  David S. Miller  <davem@davemloft.net>
88927         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
88929 2011-08-24  Andreas Schwab  <schwab@redhat.com>
88931         * elf/Makefile: Add rules to build and run unload8 test.
88932         * elf/unload8.c: New file.
88933         * elf/unload8mod1.c: New file.
88934         * elf/unload8mod1x.c: New file.
88935         * elf/unload8mod2.c: New file.
88936         * elf/unload8mod3.c: New file.
88938         * elf/dl-close.c (_dl_close_worker): Reset private search list if
88939         it wasn't used.
88941 2011-08-23  David S. Miller  <davem@davemloft.net>
88943         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
88944         subtract stack bias.
88945         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
88946         %sp not %fp in calculations.
88947         (_JMPBUF_UNWINDS_ADJ): Likewise.
88949         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
88950         (aio_suspend): Call it to force an exception region around the
88951         AIO_MISC_WAIT() invocation.
88953 2011-08-23  Andreas Schwab  <schwab@redhat.com>
88955         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
88956         backslash.
88958 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
88960         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
88961         protection macro.
88962         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
88963         and <dl-machine.h>.
88964         (Elf64_FuncDesc): Remove.
88966 2011-08-22  David S. Miller  <davem@davemloft.net>
88968         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
88969         sigaltstack check, add missing cfi directives.
88970         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
88971         missing cfi directives, and sigaltstack handling.
88973 2011-08-16  Andreas Schwab  <schwab@redhat.com>
88975         [BZ #11724]
88976         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
88977         object is seen twice.
88978         * elf/dl-fini.c (_dl_sort_fini): Likewise.
88980         * elf/Makefile (distribute): Add tst-initorder2.c.
88981         (tests): Add tst-initorder2.
88982         (modules-names): Add tst-initorder2a tst-initorder2b
88983         tst-initorder2c tst-initorder2d.  Add rules to build them.
88984         ($(objpfx)tst-initorder2.out): New rule.
88985         * elf/tst-initorder2.c: New file.
88986         * elf/tst-initorder2.exp: New file.
88988 2011-08-22  Andreas Schwab  <schwab@redhat.com>
88990         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
88992         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
88993         dependencies back to end of function.
88995         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
88996         $(elfobjdir)/ld.so.
88998 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
89000         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
89001         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
89002         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
89003         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
89004         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
89005         of __vdso_gettimeofday.
89006         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
89007         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
89008         attribute_hidden.
89009         (_libc_vdso_platform_setup): Remove initialization of
89010         __vdso_gettimeofday and __vdso_time.
89012 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
89014         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
89015         and fgetc_unlocked.
89016         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
89017         getc_unlocked.
89019         * elf/dl-open.c (add_to_global): Report additions to the global scope
89020         for LD_DEBUG=scopes.
89021         (dl_open_worker): Also print scope of newly loaded dependencies.
89022         (_dl_show_scope): Indicate if there is no scope.
89024         [BZ #13114]
89025         * stdio-common/Makefile (tests): Add bug24.
89026         * stdio-common/bug24.c: New file.
89028 2011-08-19  Andreas Jaeger  <aj@suse.de>
89030         [BZ #13114]
89031         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
89032         non-existant file when using close-on-exec mode.
89034 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
89036         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
89037         the very first instruction.
89039         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
89040         the CFI state in the end.
89041         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
89042         inclusion of dl-trampoline.h.
89043         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
89045 2011-08-19  Andreas Schwab  <schwab@redhat.com>
89047         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
89048         expectations for long double.
89050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
89051         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
89053 2011-08-14  David S. Miller  <davem@davemloft.net>
89055         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
89056         artificual limit depends upon the system page size.
89058 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
89060         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
89061         * resolv/Makefile: Define CFLAGS-libresolv.
89063 2011-08-17  Andreas Schwab  <schwab@redhat.com>
89065         * nss/makedb.c (compute_tables): Make variables used in nested
89066         function static.
89068 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
89070         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
89071         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
89072         if buffer was too small.
89074         * elf/pldd.c (main): Attach to all threads in the process.
89075         Rewrite /proc handling to use *at functions.
89077 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
89079         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
89080         specifies first scope to show.
89081         (dl_open_worker): Update callers.  Move printing scope of new
89082         object to before the relocation.
89083         * elf/rtld.c (dl_main): Update _dl_show_scope call.
89084         * sysdeps/generic/ldsodefs.h: Update declaration.
89086         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
89087         string for the scope number.
89089 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
89091         * nscd/servicescache.c (cache_addserv): Make sure written is always
89092         initialized.
89094 2011-08-14  Roland McGrath  <roland@hack.frob.com>
89096         * sysdeps/i386/i486/bits/atomic.h
89097         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
89098         statement expression, so as to suppress "set but not used" warning.
89099         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
89101         * string/strncat.c (STRNCAT): Use prototype definition.
89103         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
89104         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
89105         -Iprograms here.
89106         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
89107         (localedef-modules): Add localedef.
89108         (locale-modules): Add locale.
89110         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
89111         * elf/rtld.c (dl_main): Invert order of assignment in last change,
89112         to avoid a warning.
89114 2011-08-14  David S. Miller  <davem@davemloft.net>
89116         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
89117         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
89119 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
89121         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
89122         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
89123         * elf/rtld.c (dl_main): Set l_name of vDSO.
89124         Call _dl_show_scope when DL_DEBUG_SCOPES.
89125         (process_dl_debug): Recognize scopes flag and also set it for all.
89126         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
89127         Declare _dl_show_scope.
89129         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
89130         (do_dlopen): Pass caller_dlopen to dl_open.
89131         (__libc_dlopen_mode): Initialize caller_dlopen.
89133         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
89134         of libc.  Make tolower call locale-independent.  Optimize a bit by
89135         using isdigit instead of isalnum.
89136         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
89138 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
89140         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
89141         was a dependency or dynamically loaded.
89143 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
89145         * intl/l10nflist.c: Allow architecture-specific pop function.
89146         * sysdeps/x86_64/l10nflist.c: New file.
89148         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
89149         classification.
89151 2011-08-10  Andreas Schwab  <schwab@redhat.com>
89153         * include/dirent.h: Add libc_hidden_proto for scandirat and
89154         scandirat64.  Don't declare __scandirat64.
89155         * dirent/scandirat.c: Add libc_hidden_def.
89156         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
89157         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
89159 2011-08-10  David S. Miller  <davem@davemloft.net>
89161         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
89162         enum.
89163         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
89164         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
89165         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
89167 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
89169         * Versions.def [libc]: Add GLIBC_2.15.
89170         * dirent/Makefile (routines): Add scandirat and scandirat64.
89171         * dirent/Versions [libc]: Export scandirat and scandirat64 for
89172         GLIBC_2.15.
89173         * dirent/dirent.h: Declare scandirat and scandirat64.
89174         * dirent/scandirat.c: New file.
89175         * dirent/scandirat64.c: New file.
89176         * sysdeps/wordsize-64/scandirat.c: New file.
89177         * sysdeps/wordsize-64/scandirat64.c: New file.
89178         * dirent/opendir.c: Define opendirat.
89179         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
89180         using scandirat.
89181         * dirent/scandir64.c: Adjust for scandir.c change.
89182         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
89183         __scandirat64, and __scandir_cancel_handler.
89184         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
89185         additional parameter and use openat instead of open (outside of ld.so).
89186         Add new __opendir as wrapper around __opendirat.
89187         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
89188         here without requiring old scandirat implementation.
89190 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
89192         * dirent/scandir.c (cancel_handler): Renamed to
89193         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
89194         defined.  Adjust users.
89195         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
89196         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
89198 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
89200         * string/test-string.h (IMPL): Use __STRING to expand name and then
89201         stringify it.
89203         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
89204         of cleanups.
89206 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89208         * string/Makefile: Update.
89209         (strop-tests): Append strncat.
89210         * string/test-wcscmp.c: New file.
89211         New comprehensive test for wcscmp.
89212         * string/test-strcmp.c: Update.
89213         (WIDE): New define.
89215 2011-07-22  Andreas Schwab  <schwab@redhat.com>
89217         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
89218         line.
89220 2011-07-26  Andreas Schwab  <schwab@redhat.com>
89222         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
89223         encoding to ACE if AI_IDN.
89225 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
89227         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
89228         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
89230 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
89232         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
89233         Fix overflow bug in strncat.
89234         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
89236         * string/test-strncat.c: Update.
89237         Add new tests for checking overflow bugs.
89239 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
89241         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89242         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
89243         * sysdeps/i386/i686/multiarch/strcat.S: New file.
89244         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
89245         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
89246         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
89247         * sysdeps/i386/i686/multiarch/strncat.S: New file.
89248         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
89249         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
89251         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
89252         (USE_AS_STRCAT): Define.
89253         Add strcat and strncat support.
89254         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
89256 2011-07-25  Andreas Schwab  <schwab@redhat.com>
89258         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
89259         __n bigger than INT_MAX+1.
89260         (__strncmp_g): Likewise.
89262 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
89264         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
89265         * libio/stido.h: Likewise.
89267         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
89268         (AF_NFC): Define.
89269         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
89270         (AF_NFC): Define.
89272         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
89273         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
89274         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
89275         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
89276         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
89278         [BZ #13021]
89279         * scripts/test-installation.pl: Don't expect libnss_test1 to be
89280         installed.
89282         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
89283         typo.
89284         (_dl_x86_64_save_sse): Likewise.
89286 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
89288         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
89289         OSXSAVE.
89290         (_dl_x86_64_save_sse): Likewise.
89292         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
89294         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
89296 2011-07-21  Andreas Schwab  <schwab@redhat.com>
89298         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
89299         change.
89300         (_dl_x86_64_save_sse): Use correct AVX check.
89302 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89304         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
89305         bug in strncpy/strncat.
89306         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
89308 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
89310         * string/tester.c (test_strcat): Add tests for different alignments
89311         of source and destination.
89312         (test_strncat): Likewise.
89314 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
89316         [BZ #12852]
89317         * posix/glob.c (glob): Check passed in values before using them in
89318         expressions to avoid some overflows.
89319         (glob_in_dir): Likewise.
89321         [BZ #13007]
89322         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
89323         check for AVX enablement so that we don't crash with old kernels and
89324         new hardware.
89325         * elf/tst-audit4.c: Add same checks here.
89326         * elf/tst-audit6.c: Likewise.
89328         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
89330 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
89332         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
89334 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
89336         * po/cs.po: Update from translation team.
89337         * po/bg.po: Likewise.
89339 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
89341         * misc/sys/cdefs.h: Add support for const attribute.
89342         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
89343         to gnu_dev_{major,minor,makedev} functions.
89345 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
89347         * intl/dcigettext.c (get_output_charset): Add missing bracket.
89349 2011-07-20  Andreas Schwab  <schwab@redhat.com>
89351         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
89352         strlen results.
89354 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89356         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
89357         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
89358         register in order to avoid conflicts with the soft frame pointer
89359         being held in r11 when necessary.
89360         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
89361         (INTERNAL_VSYSCALL_NCS): Likewise.
89363 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
89365         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
89366         * elf/dl-fini.c (_dl_fini): Adjust caller.
89367         * elf/dl-close.c (_dl_close_worker): Likewise.
89368         * sysdeps/generic/ldsodefs.h: Adjust declaration.
89370 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
89372         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
89373         "aux_cache->nlibs < 0".
89375         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
89376         in the reload-count case.
89378 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
89380         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89381         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
89382         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
89383         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
89384         * sysdeps/x86_64/multiarch/strcat.S: New file.
89385         * sysdeps/x86_64/multiarch/strncat.S: New file.
89386         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
89387         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
89388         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
89389         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
89390         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
89391         (USE_AS_STRCAT): Define.
89392         Add strcat and strncat support.
89393         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
89394         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
89395         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
89396         * string/strncat.c: Update.
89397         (USE_AS_STRNCAT): Define.
89398         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89399         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
89400         and i7.
89401         * sysdeps/x86_64/multiarch/init-arch.h
89402         (bit_Prefer_PMINUB_for_stringop): New.
89403         (index_Prefer_PMINUB_for_stringop): Likewise.
89404         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
89405         bit_Prefer_PMINUB_for_stringop.
89407 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
89409         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
89410         buffer64.
89411         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
89412         of casting of buffer.
89413         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
89414         buffer32 and buffer64.
89415         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
89416         writes instead of casting of buffer.
89417         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
89418         buffer32.
89419         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
89420         casting of buffer.
89422 2011-07-19  Andreas Schwab  <schwab@redhat.com>
89424         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
89426 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
89428         * nscd/nscd.c (termination_handler): Don't do anything for a database
89429         if it has not yet been initialized.
89431 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
89433         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
89435 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
89437         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
89439 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
89441         * po/nl.po: Update from translation team.
89442         * po/sv.po: Likewise.
89444 2011-07-16  Roland McGrath  <roland@hack.frob.com>
89446         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
89447         now disallowed by GCC.
89449         * configure.in (use-default-link): Default to yes if a test -shared
89450         link meets our qualifications.
89451         * configure: Regenerated.
89453         * config.make.in (output-format): New variable.
89454         * configure.in: Check for ld --print-output-format support.
89455         * configure: Regenerated.
89456         * Makerules ($(common-objpfx)format.lds)
89457         [$(output-format) != unknown]: Just use $(output-format),
89458         instead of the linker-script munging.
89460 2011-07-14  Roland McGrath  <roland@hack.frob.com>
89462         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
89463         of $(common-objpfx)shlib.lds.
89464         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
89466         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
89467         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
89469         * configure.in (-z relro check): Adjust test code to add a large
89470         writable data section after it.
89471         * configure: Regenerated.
89473 2011-07-11  Roland McGrath  <roland@hack.frob.com>
89475         * configure.in (-z relro check): Fix test code to make the variable
89476         truly const.
89477         * configure: Regenerated.
89479 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
89481         * nscd/nscd.h (struct traced_file): Define.
89482         (struct database_dyn): Remove inotify_descr, reset_res, and filename
89483         elements.  Add traced_files.
89484         (inotify_fd): Declare.
89485         (register_traced_file): Declare.
89486         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
89487         (inotify_fd): Export.
89488         (resolv_conf_descr): Remove.
89489         (nscd_init): Move inotify descriptor creation to main.
89490         Don't register files for notification here.
89491         (register_traced_file): New function.
89492         (invalidate_cache): Don't use reset_res to determine whether to call
89493         res_init, go through the list of registered files.
89494         (main_loop_poll): The inotify descriptors are now stored in the
89495         structures for the traced files.
89496         (main_loop_epoll): Likewise.
89497         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
89498         to __nss_disable_nscd.
89499         * nscd/cache.c (prune_cache): There is no single inotify descriptor
89500         for a database anymore.  Check the records for all the registered
89501         files instead.
89502         * nss/Makefile (libnss_files-routines): Add files-init.
89503         (libnss_db-routines): Add db-init.
89504         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
89505         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
89506         * nss/nss_db/db-init.c: New file.
89507         * nss/nss_files/files-init.c: New file.
89508         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
89509         __nss_lookup_function.
89510         (__nss_lookup_function): Call nss_load_library.
89511         (nss_load_all_libraries): New function.
89512         (__nss_disable_nscd): Take parameter with callback function for files
89513         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
89514         used for the cached services.
89515         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
89516         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
89517         options for features to all the files in nscd.
89519         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
89521 2011-07-10  Roland McGrath  <roland@hack.frob.com>
89523         * csu/elf-init.c (__libc_csu_init): Comment typo.
89525 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
89527         * po/pl.po: Update from translation team.
89528         * po/ja.po: Likewise.
89529         * po/ru.po: Likewise.
89530         * po/ko.po: Likewise.
89531         * po/fr.po: Likewise.
89533 2011-07-09  Roland McGrath  <roland@hack.frob.com>
89535         * configure.in (.ctors/.dtors header and trailer check):
89536         Use an empirical test on a built program.
89537         * configure: Regenerated.
89539         * configure.in (-z relro check): Use an empirical test on a built DSO.
89540         Detect, but do not require, on ia64.
89541         * configure: Regenerated.
89543         * configure.in (READELF): Find it with AC_CHECK_TOOL.
89544         Update tests that use readelf to use $READELF instead.
89545         * configure: Regenerated.
89547 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
89549         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
89550         if the result is not used.
89552 2011-07-05  Andreas Jaeger  <aj@suse.de>
89554         [BZ #9696]
89555         * stdlib/tst-strtod.c: Add testcase.
89557 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
89559         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
89560         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
89561         The latter has a higher limit.  Take additional parameter to pass to
89562         the new function.
89563         (__pathconf): Pass file to __statfs_link_max.
89564         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
89565         __statfs_link_max.
89566         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
89567         __statfs_link_max.
89569         [BZ #12868]
89570         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
89571         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
89572         Handle Lustre.
89573         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
89574         (__statfs_filesize_max): Likewise.
89575         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
89577 2011-07-05  Andreas Jaeger  <aj@suse.de>
89579         * resolv/res_comp.c (dn_skipname): Remove unused variable.
89581 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
89583         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
89584         `status' variable.
89585         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
89586         Likewise.
89588 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
89590         * Makefile (strop-tests): Add strncat.
89591         * string/test-strncat.c: New file.
89593 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
89595         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
89597 2011-06-21  Andreas Jaeger  <aj@suse.de>
89599         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
89600         Copy rule from iconvdata/Makefile.
89602 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
89604         [BZ #12922]
89605         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
89606         but no long options are defined, just return 'W'.
89608 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
89610         [BZ #9696]
89611         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
89613 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
89615         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
89616         netgroups to read.
89617         (innetgr): Likewise.
89619 2011-07-05  Roland McGrath  <roland@hack.frob.com>
89621         * config.make.in (install_root): Default to $(DESTDIR).
89623 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
89625         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
89627 2011-07-02  Roland McGrath  <roland@hack.frob.com>
89629         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
89631         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
89632         containing directory rather than embedding absolute directory names.
89634         * scripts/check-local-headers.sh: Rewritten using awk.
89635         Match by word, not by line.  Print error messages for matches.
89636         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
89638         * Makerules [shlib-lds-flags empty]:
89639         ($(common-objpfx)libc_pic.opts): New target.
89640         ($(common-objpfx)libc_pic.os.clean): New target.
89641         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
89643         * config.make.in (OBJCOPY): New variable.
89644         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
89645         * configure: Regenerated.
89647         * config.make.in (use-default-link): New variable.
89648         * configure.in (use_default_link): Grok --with-default-link to set it.
89649         * configure: Regenerated.
89650         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
89651         (shlib-lds, shlib-lds-flags): Define to empty.
89653         * Makerules (shlib-lds): New variable.
89654         (shlib-lds-flags): New variable.
89655         (build-shlib, build-moduile, build-module-asneeded): Use it.
89656         ($(common-objpfx)libc.so): Use $(shlib-lds).
89657         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
89658         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
89660         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
89661         DT_FLAGS/DT_FLAGS_1 with zero flags.
89663         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
89664         linker script munging.
89666 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
89668         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
89669         as 128-bit value.
89670         * crypt/sha512.c (sha512_process_block): Perform total addition using
89671         128-bit if possible.
89672         (__sha512_finish_ctx): Likewise.
89673         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
89674         as 64-bit value.
89675         * crypt/sha256.c (SWAP64): Define.
89676         (sha256_process_block): Perform total addition using 64-bit if
89677         possible.
89678         (__sha256_finish_ctx): Likewise.
89680 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
89682         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
89683         * nscd/initgrcache.c (addinitgroupsX): Likewise.
89684         * nscd/hstcache.c (cache_addhst): Likewise.
89685         * nscd/grpcache.c (cache_addgr): Likewise.
89686         * nscd/aicache.c (addhstaiX): Likewise.
89687         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
89689 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
89691         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
89692         * nscd/initgrcache.c (addinitgroupsX): Likewise.
89693         * nscd/hstcache.c (cache_addhst): Likewise.
89694         * nscd/grpcache.c (cache_addgr): Likewise.
89695         * nscd/aicache.c (addhstaiX): Likewise.
89697 2011-07-01  Andreas Schwab  <schwab@redhat.com>
89699         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
89700         domain only when needed.
89702 2011-06-30  Andreas Schwab  <schwab@redhat.com>
89704         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
89705         is always restored.
89707 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
89709         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
89710         are re-adding the entry.
89711         * nscd/servicescache.c (cache_addserv): Likewise.
89713 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
89715         * sysdeps/generic/dl-irel.h: fix protection against multiple
89716         inclusions.
89717         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
89719 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
89721         [BZ #12935]
89722         * malloc/memusage.sh: Fix quoting in message.
89723         * debug/xtrace.sh: Likewise.
89725         * configure.in: Remove support for --experimental-malloc option, make
89726         it the default.
89727         * config.make.in: Likewise.
89728         * malloc/Makefile: Likewise.
89730 2011-06-27  Andreas Schwab  <schwab@redhat.com>
89732         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
89733         two-byte characters.
89735 2011-06-27  Roland McGrath  <roland@hack.frob.com>
89737         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
89738         AC_CACHE_CHECK invocation.
89739         * configure: Regenerated.
89741         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
89743 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
89745         [BZ #12350]
89746         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
89747         bit from old_res_options.
89749         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
89751         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
89752         value type for setfct.
89754 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
89756         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
89757         __gettimeofday instead of gettimeofday.
89759 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
89761         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
89763 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
89765         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
89767         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
89768         info.
89770 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
89772         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89773         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
89774         strcpy-sse2-unaligned strncpy-sse2-unaligned
89775         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
89776         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
89777         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
89778         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
89779         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
89780         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
89781         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
89782         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
89783         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
89784         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
89785         (STRCPY): Support SSE2 and SSSE3 versions.
89787 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
89789         [BZ #12874]
89790         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
89791         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
89792         kernels which artificially limit size of requests.
89794 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
89796         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89797         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
89798         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
89799         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
89800         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
89801         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
89802         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
89803         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
89804         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
89805         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
89806         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
89807         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
89808         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
89809         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
89810         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
89811         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89812         Enable unaligned load optimization for Intel Core i3, i5 and i7
89813         processors.
89814         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
89815         Define.
89816         (index_Fast_Unaligned_Load): Define.
89817         (HAS_FAST_UNALIGNED_LOAD): Define.
89819 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
89821         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
89823 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
89825         [BZ #12907]
89826         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
89827         until it is clear that the information is realy needed.
89828         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
89830 2011-06-22  Andreas Schwab  <schwab@redhat.com>
89832         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
89834 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
89836         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
89837         /sys/devices/system/cpu/online if it is usable.
89839         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
89840         reading the information from the /proc filesystem to once a second.
89842 2011-06-21  Andreas Jaeger  <aj@suse.de>
89844         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
89845         NULL after inclusion of kernel headers.
89847 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
89849         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
89850         calls to internal_setent.
89852         [BZ #12885]
89853         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
89854         addresses using gethostbyname4_r ignore IPv4 addresses.
89856         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
89857         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
89859         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
89861 2011-06-20  David S. Miller  <davem@davemloft.net>
89863         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
89864         inclusions.
89865         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
89867         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
89868         (elf_irel): Use it.
89869         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
89870         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
89871         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
89872         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
89873         * sysdeps/x86_64/dl-irel.h: Likewise.
89875         * elf/dl-runtime.c: Use elf_ifunc_invoke.
89876         * elf/dl-sym.c: Likewise.
89878 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
89880         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
89881         need to dereference resplen2.
89883 2011-06-14  Andreas Schwab  <schwab@redhat.com>
89885         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
89887 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
89889         * Makeconfig: Define vardbdir and inst_vardbdir.
89890         * nss/Makefile: Add rules to install db-Makefile.
89892         * nss/nss_db/db-XXX.c: Cleanup.
89894         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
89895         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
89896         GLIBC_PRIVATE.
89897         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
89898         * nss/makedb.c: Implement -g option to specify that value strings
89899         are generated and should not be added to table iterated over for
89900         get*ent calls.
89901         * nss/nss_db/db-initgroups.c: New file.
89903         * nss/getent.c: Add support for initgroups lookups through getgrouplist
89904         interface.
89906         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
89907         (internal_getgrouplist): Adjust to name change.
89908         Update use_initgroups_entry if this is not the first call.
89909         * nss/databases.def: Add initgroups entry.
89911         * nss/makedb.c (compute_tables): Check result of multiple hash table
89912         sizes to minimize maximum chain length.
89914 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
89916         * Versions.def: Add entry for libnss_db.
89917         * shlib-versions: Likewise.
89918         * nss/Makefile: Add rules to build libnss_db.
89919         * nss/Versions: Add libnss_db information.  Organize libnss_files
89920         entries better.
89921         * nss/db-Makefile: Add gshadow support.  Change rules for the new
89922         makedb progra.  Some minor improvements to generate smaller files.
89923         * nss/nss_db/nss_db.h: Move NSS database header data structures to
89924         here from...
89925         * nss/makedb.c: ...here.
89926         Improve database format to be smaller and require less memory at
89927         runtime.
89928         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
89929         db anymore.
89930         * nss/nss_db/db-netgrp.c: Likewise.
89931         * nss/nss_db/db-open.c: Likewise.
89932         * nss/nss_files/flies-XXX.x: Adjust comments.
89933         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
89934         * nss/nss_files/files-grp.c: Likewise.
89935         * nss/nss_files/files-hosts.c: Likewise.
89936         * nss/nss_files/files-network.c: Likewise.
89937         * nss/nss_files/files-proto.c: Likewise.
89938         * nss/nss_files/files-pwd.c: Likewise.
89939         * nss/nss_files/files-rpc.c: Likewise.
89940         * nss/nss_files/files-service.c: Likewise.
89941         * nss/nss_files/files-sgrp.c: Likewise.
89942         * nss/nss_files/files-spwd.c: Likewise.
89943         * nss/nss_db/db-alias.c: Removed.
89944         * nss/nss_db/dummy-db.h: Removed.
89946 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
89948         * nss/makedb.c: Rewritten to not use database library.
89949         * nss/Makefile: Update to build new makedb program.
89951 2011-06-14  Andreas Jaeger  <aj@suse.de>
89953         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
89954         memset declaration.
89956 2011-06-10  Andreas Schwab  <schwab@redhat.com>
89958         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
89959         tmpbuf.
89961 2011-06-10  Roland McGrath  <roland@hack.frob.com>
89963         * Makerules (shlib.lds): Fail if the linker script comes out empty.
89964         * elf/Makefile ($(objpfx)ld.so): Likewise.
89966         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
89967         Don't list ld.so twice in dependencies.
89969         * posix/bug-regex31.c: Include <stdlib.h>.
89971         * nscd/hstcache.c (cache_addhst): Remove unused variable.
89973         * nis/nss_compat/compat-spwd.c
89974         (getspent_next_nss_netgr): Remove unused variable.
89975         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
89977         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
89978         nonmembers" output to use the right array.
89980         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
89982         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
89984         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
89985         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
89986         * catgets/gencat.c (read_input_file): Likewise.
89987         * locale/programs/locarchive.c (enlarge_archive): Likewise.
89989         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
89990         variable definition inside #if's controlling its use.
89992         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
89994         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
89996         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
89998         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
89999         unreachable code.
90001         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
90003         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
90004         * configure: Regenerated.
90006         * Makerules: Revert last change.
90007         * elf/Makefile: Likewise.
90009 2011-06-09  Roland McGrath  <roland@hack.frob.com>
90011         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
90012         * elf/Makefile ($(objpfx)librtld.os): Likewise.
90013         (reloc-link): Likewise.
90015 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
90017         * elf/Makefile: Add rules to build pldd.
90018         * elf/pldd.c: New file.
90019         * elf/pldd-xx.c: New file.
90021 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
90023         * version.h: Update for 2.15 development version.
90025 2011-06-07  David S. Miller  <davem@davemloft.net>
90027         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
90028         ifuncs.
90029         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
90030         elf_machine_lazy_rel): Likewise.
90031         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
90032         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
90033         elf_machine_lazy_rel): Likewise.
90034         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
90035         dl_hwcap via passed in argument.
90036         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
90037         Likewise.
90039 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90041         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
90043 2011-06-06  Roland McGrath  <roland@hack.frob.com>
90045         [BZ #12849]
90046         * manual/fdl-1.1.texi: New file, verbatim from:
90047         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
90048         * manual/lgpl-2.1.texi: New file, verbatim from:
90049         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
90050         * manual/Makefile (licenses): New variable, list those new file names.
90051         (texis): Use it.
90052         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
90054         * manual/fdl.texi: File removed.
90055         * manual/lesser.texi: File removed.
90056         * manual/libc.texinfo (Copying, Documentation License):
90057         Use new @include file names, put @appendix directive before @include.
90059 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
90061         [BZ #12841]
90062         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
90063         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
90064         (mq_open): Add __NTH.
90066 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
90068         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90069         Assume Intel Core i3/i5/i7 processor if AVX is available.
90071 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
90073         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
90074         typo.
90076 2011-05-31  Andreas Schwab  <schwab@redhat.com>
90078         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
90079         memory.  Use alloca_account.  Fix memory leak when retrying.
90081 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
90083         * version.h (RELEASE): Bump for 2.14 release.
90084         * include/features.h (__GLIBC_MINOR__): Bump to 14.
90086         * config.make.in (RANLIB): Remove entry.
90088 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
90090         * po/Makefile (po-sed-cmd): Add ksh to extensions.
90091         (libc.pot): Work around missing support for .ksh extension in xgettext.
90093         [BZ #12684]
90094         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
90095         if both request failed.
90096         (send_dg): In case of server errors clear resplen or *resplen2.
90098         [BZ #12454]
90099         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
90100         when there are multiple maps.
90101         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
90102         (_dl_fini): Remove test here.
90104         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
90106 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
90108         [BZ #12350]
90109         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
90110         bit from old_res_options.
90111         (gaih_inet): Likewise.
90113         [BZ #11099]
90114         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
90115         as signed.
90117         * resolv/res_init.c (res_setoptions): Make the code more compact.
90119         [BZ #11558]
90120         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
90121         set RES_USEVC.
90123         [BZ #11634]
90124         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
90126         * malloc/malloc.h: Mark malloc hook variables as deprecated.
90128         [BZ #11781]
90129         * malloc/malloc.h: Declare malloc hook variables as volatile.
90131         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
90132         in last patch.
90134         [BZ #11799]
90135         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
90136         raise in the comment.
90137         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
90138         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
90139         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
90141 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
90143         [BZ #12811]
90144         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
90145         grow the buffers more if it already has to be sufficient.
90146         (build_wcs_upper_buffer): Likewise.
90147         * posix/regexec.c (check_matching): Likewise.
90148         (clean_state_log_if_needed): Likewise.
90149         (extend_buffers): Don't enlarge buffers beyond size of the input
90150         buffer.
90151         Patches mostly by Emil Wojak <emil@wojak.eu>.
90152         * posix/bug-regex32.c: New file.
90153         * posix/Makefile (tests): Add bug-regex32.
90155         * locale/findlocale.c (_nl_find_locale): Return right away if
90156         _nl_explode_name failed.
90157         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
90159         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
90161         * debug/xtrace.sh: Unify messages.
90162         * malloc/memusage.sh: Likewise.
90164         [BZ #12813]
90165         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
90166         time symbol from vDSO.  Substitute with vsyscall if not available.
90167         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
90168         __vdso_time.
90170         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
90171         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
90172         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
90173         Add sendmmsg and internal_sendmmsg.
90174         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
90175         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
90176         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
90178         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
90179         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
90180         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
90182 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
90184         [BZ #12813]
90185         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
90186         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
90187         available.
90188         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
90189         __vdso_getcpu.
90191         [BZ #12814]
90192         * iconvdata/Makefile (tests): Add bug-iconv9.
90193         * iconvdata/bug-iconv9.c: New file.
90195 2011-05-27  Andreas Schwab  <schwab@redhat.com>
90197         [BZ #12814]
90198         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
90200 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
90202         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
90203         (struct user_regs_struct): Change intcs field back to cs.
90205 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
90207         * po/ja.po: Update from translation team.
90209 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
90211         [BZ #12795]
90212         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
90213         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
90215 2011-05-20  Andreas Schwab  <schwab@redhat.com>
90217         * stdlib/longlong.h: Update from GCC.
90219 2011-05-23  Andreas Schwab  <schwab@redhat.com>
90221         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
90222         parameter name.
90223         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
90224         Add parameter name.
90225         (__sysconf): Pass it down.
90227 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
90229         [BZ #12671]
90230         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
90231         some situations.
90232         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
90233         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
90234         add in in __libc_use_alloca calls.  Adjust callers.
90235         (glob): Use malloc in some situations.
90237         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
90238         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
90239         pltexit.
90241 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
90243         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
90244         and CLOCK_BOOTTIME_ALARM.
90246         [BZ #12782]
90247         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
90248         is returned.
90250         * string/_strerror.c (__strerror_r): Print negative errors as signed
90251         numbers.
90253         [BZ #12777]
90254         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
90255         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
90256         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
90258         * configure.in: Fix typo in redirection and correct removal of test
90259         files in two cases.
90261         [BZ #12788]
90262         * locale/setlocale.c (new_composite_name): Fix test to check for
90263         identical name of all categories.
90265         [BZ #12792]
90266         * libio/filedoalloc.c (local_isatty): New function.
90267         (_IO_file_doallocate): Use local_isatty.
90268         * stdio-common/perror.c (perror): In case a new stream is used
90269         forward the stream error.
90270         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
90271         error flag.
90273 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
90275         [BZ #11884]
90276         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
90277         alloca.
90278         * include/alloca.h (extend_alloca_account): Define.
90280         [BZ #11857]
90281         * posix/regex.h: Fix comments with documentation of user-accessible
90282         fields after compilation and describe correct free'ing of pattern
90283         after re_compile_pattern.
90284         Patch by Reuben Thomas <rrt@sc3d.org>.
90286 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
90288         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
90289         and -mno-altivec to prevent the compiler from using Altivec and/or
90290         VSX instructions when the corresponding registers are not available.
90292 2011-05-19  Andreas Schwab  <schwab@redhat.com>
90294         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
90296 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
90298         * libio/freopen.c (freopen): Use __dup2, not dup2.
90299         * libio/freopen64.c (freopen64): Likewise.
90301 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
90303         [BZ #12775]
90304         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
90305         * math/Makefile (tests): Add test-powl.
90306         (CFLAGS-test-powl.c): Define.
90307         * math/test-powl.c: New file.
90309 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
90311         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
90313 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
90315         [BZ #11837]
90316         * iconvdata/gb18030.c: Update to GB18020-2005.
90318 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
90320         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
90321         RE_SYNTAX_POSIX_AWK): Update to match recent development.
90322         Patch by Aharon Robbins <arnold@skeeve.com>.
90324         [BZ #11892]
90325         * stdlib/putenv.c (putenv): Don't always create copy of the variable
90326         on the stack.
90328         [BZ #11895]
90329         * misc/pselect.c (__pselect): Handle timeout value errors hidden
90330         through underflows.
90332         [BZ #12766]
90333         * misc/error.c (error_at_line): Ensure file_name and old_file_name
90334         point to strings before performing equality test for error_one_per_line
90335         mode.
90337         [BZ #11697]
90338         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
90340         [BZ #11820]
90341         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
90342         (struct user_fpregs_struct): Avoid __uint*_t types.
90344         [BZ #6420]
90345         * malloc/mtrace.c (tr_where): Add additional parameter to point to
90346         symbol info.  Use it instead of calling _dl_addr locally.
90347         (lock_and_info): New function.
90348         (tr_freehook): Call lock_and_info and pass symbol info as additional
90349         parameter to tr_where.
90350         (tr_mallochook): Likewise.
90351         (tr_reallochook): Likewise.
90352         (tr_memalignhook): Likewise.
90354         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
90355         used and couldn't be at all thread-safe.
90357 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
90359         * libio/freopen.c (freopen): Don't close old file descriptor
90360         before the new one is opened.  Instead dup the new file descriptor
90361         to the old one after the new stream is created.
90362         * libio/freopen64.c (freopen64): Likewise.
90363         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
90364         * libio/fileops.c (_IO_new_file_close_it): Handle new
90365         _IO_FLAGS2_NOCLOSE flag.
90366         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
90367         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
90368         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
90369         _IO_FLAGS2_NOCLOSE flag.
90370         * include/unistd.h: Add hidden_proto for dup3.
90371         Define __have_dup3.
90372         * io/dup3.c: Define hidden symbol.
90373         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
90375         [BZ #7101]
90376         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
90377         when an incomplete long option is used.
90378         * posix/tst-getopt_long1.c: New file.
90379         * posix/Makefile (tests): Add tst-getopt_long1.
90381         [BZ #10138]
90382         * scripts/config.guess: Update from autoconf-2.68.
90383         * scripts/config.sub: Likewise.
90385         [BZ #10157]
90386         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
90387         tests into ...
90388         (has_cpuclock): ...this.  New function.
90389         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
90390         macro here based on has_cpuclock code.
90392         [BZ #10149]
90393         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
90394         First byte (not low byte) is now always NUL.
90395         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
90397         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
90398         Use non-cancelable interfaces.
90400         [BZ #9809]
90401         * locale/iso-639.def: Add entry for Sorani.
90403         [BZ #11901]
90404         * include/stdlib.h: Move include protection to the right place.
90405         Define abort_msg_s.  Declare __abort_msg with it.
90406         * stdlib/abort.c (__abort_msg): Adjust type.
90407         * assert/assert.c (__assert_fail_base): New function.  Majority
90408         of code from __assert_fail.  Allocate memory for __abort_msg with
90409         mmap.
90410         (__assert_fail): Now call __assert_fail_base.
90411         * assert/assert-perr.c: Remove bulk of implementation.  Use
90412         __assert_fail_base.
90413         * include/assert.hL Declare __assert_fail_base.
90414         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
90415         mmap.
90416         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
90418 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
90420         [BZ #11952]
90421         [BZ #12453]
90422         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
90423         until all modules are registered in the DTV.
90424         * elf/Makefile: Add rules to build and run tst-tls19.
90425         * elf/tst-tls19.c: New file.
90426         * elf/tst-tls19mod1.c: New file.
90427         * elf/tst-tls19mod2.c: New file.
90428         * elf/tst-tls19mod3.c: New file.
90429         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
90431         [BZ #12083]
90432         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
90433         correctly.
90435         [BZ #12601]
90436         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
90437         two-byte sequence errors.
90438         * iconvdata/Makefile (tests): Add bug-iconv8.
90439         * iconvdata/bug-iconv8.c: New file.
90441         [BZ #12626]
90442         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
90443         buf2 definition.
90445         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
90447         [BZ #12432]
90448         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
90449         (dummy_getcfa): New function.
90450         (init): Get _Unwind_GetCFA address, use dummy if not found.
90451         (backtrace_helper): In recursion check, also check whether CFA changes.
90452         (__backtrace): Completely initialize arg.
90454         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
90455         storing incomplete byte sequence in state object.  Avoid testing for
90456         guaranteed too small input if we know there is enough data available.
90458 2011-05-11  Andreas Schwab  <schwab@redhat.com>
90460         * Makeconfig (+link-pie): Indent.
90461         * Rules (binaries-pie): Define if $(have-fpie) and
90462         $(build-shared).
90463         (binaries-shared): Also filter out $(binaries-pie).
90464         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
90465         * nscd/Makefile (others-pie): Add nscd.
90466         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
90467         ($(objpfx)nscd): Remove command override.
90468         * login/Makefile (others-pie): Add pt_chown.
90469         ($(objpfx)pt_chown): Remove command override.
90470         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
90471         remove command overrides.
90473 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
90475         * libio/tst_putwc.c: Fix error messages.
90477         [BZ #12724]
90478         * libio/fileops.c (_IO_new_file_close_it): Always flush when
90479         currently writing and seek to current position when not.
90480         * libio/Makefile (tests): Add bug-fclose1.
90481         * libio/bug-fclose1.c: New file.
90483 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
90485         [BZ #12511]
90486         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
90487         don't set DF_1_NODELETE here.
90488         (do_lookup_x): When entering new entry test for copy relocation
90489         and if necessary set DF_1_NODELETE flag.
90490         * elf/tst-unique4.cc: New file.
90491         * elf/tst-unique4.h: New file.
90492         * elf/tst-unique4lib.cc: New file.
90493         * elf/Makefile: Add rules to build and run tst-unique4.
90494         Patch by Piotr Bury <pbury@goahead.com>.
90496 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
90498         [BZ #12052]
90499         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
90501         [BZ #12625]
90502         * misc/mntent_r.c (addmntent): Flush the stream after the output
90504         [BZ #12393]
90505         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
90506         (is_trusted_path_normalize): Skip initial colon.  Append slash
90507         to empty buffer.  Duplicate is_trusted_path code but allow
90508         constructed patch to be prefix.
90509         (is_dst): Allow $ORIGIN followed by /.
90510         (_dl_dst_substitute): Correct clearing of check_for_trusted.
90511         Correct testing of result of is_trusted_path_normalize
90512         (decompose_rpath): Fix warning.
90514 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
90516         [BZ #11257]
90517         * grp/initgroups.c (internal_getgrouplist): When we found the service
90518         list through the initgroups entry in nsswitch.conf do not always
90519         continue on a successful lookup.  Don't always use the
90520         __nss_group_database value if it is set.
90521         * nss/nsswitch.conf (initgroups): Change action for successful db
90522         lookup to continue for compatibility.
90524 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
90526         [BZ #11532]
90527         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
90528         and CP774 modules.
90529         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
90530         and CP774 modules.
90531         * iconvdata/tst-tables.sh: Likewise.
90532         * iconvdata/cp770.c: New file.
90533         * iconvdata/cp771.c: New file.
90534         * iconvdata/cp772.c: New file.
90535         * iconvdata/cp773.c: New file.
90536         * iconvdata/cp774.c: New file.
90537         * iconvdata/testdata/CP770: New file.
90538         * iconvdata/testdata/CP770..UTF8: New file.
90539         * iconvdata/testdata/CP771: New file.
90540         * iconvdata/testdata/CP771..UTF8: New file.
90541         * iconvdata/testdata/CP772: New file.
90542         * iconvdata/testdata/CP772..UTF8: New file.
90543         * iconvdata/testdata/CP773: New file.
90544         * iconvdata/testdata/CP773..UTF8: New file.
90545         * iconvdata/testdata/CP774: New file.
90546         * iconvdata/testdata/CP774..UTF8: New file.
90548         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
90549         END CHARMAP line.
90550         * iconvdata/gen-8bit-gap.sh: Likewise.
90551         * iconvdata/gen-8bit.sh: Likewise.
90553         * locale/iso-639.def: Add ary entry.
90555         [BZ #11258]
90556         * locale/C-translit.h.in: Add U20A1 transliteration.
90558         [BZ #12178]
90559         * locale/iso-639.def: Add wae entry.
90560         Patch by Kevin Bortis <bortis@translate-wae.ch>.
90562         [BZ #12545]
90563         * locale/programs/localedef.c (construct_output_path): Use ssize_t
90564         for n.
90566         [BZ #12711]
90567         * locale/C-translit.h.in: Add entry for U20B9.
90568         Patch by pravin.d.s@gmail.com.
90570 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
90572         [BZ #12713]
90573         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
90574         ENAMETOOLONG use generic getcwd.
90575         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
90576         in rtld.  Use *stat64.
90577         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
90578         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
90579         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
90580         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
90581         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
90582         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
90583         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
90584         __fstatat64 macros.
90585         * include/dirent.h: Add libc_hidden_proto for rewinddir.
90586         * dirent/rewinddir.c: Add libc_hidden_def.
90587         * sysdeps/mach/hurd/rewinddir.c: Likewise.
90588         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
90590         * include/dirent.h (__alloc_dir): Add flags parameter.
90591         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
90592         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
90593         __alloc_dir.
90594         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
90595         from fdopendir if O_CLOEXEC is already set.
90597 2011-03-15  Alan Modra  <amodra@gmail.com>
90599         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
90600         l_tls_firstbyte_offset non-zero.  Save padding offset in
90601         l_tls_firstbyte_offset for later use.
90602         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
90603         freeing static tls block.
90605 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
90607         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
90608         where #ifdef was intended.  The intent is to prevent ARG_MAX from
90609         being defined by the kernel headers.
90611 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
90613         [BZ #12734]
90614         * resolv/resolv.h: Define RES_NOTLDQUERY.
90615         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
90616         no-tld-query and set RES_NOTLDQUERY.
90617         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
90618         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
90619         modern BIND to search name as TLD unless forbidden.
90621 2011-05-07  Petr Baudis  <pasky@suse.cz>
90622             Ulrich Drepper  <drepper@gmail.com>
90624         [BZ #12393]
90625         * elf/dl-load.c (fillin_rpath): Move trusted path check...
90626         (is_trusted_path): ...to here.
90627         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
90628         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
90629         using is_trusted_path_normalize() in setuid scripts.
90631 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
90633         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
90634         __BEGIN/__END_DECLS.
90636 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
90638         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
90639         NSS_STATUS_NOTFOUND if no record was found.
90641 2011-05-05  Andreas Schwab  <schwab@redhat.com>
90643         * sunrpc/Makefile (headers): Add rpc/netdb.h.
90644         (headers-not-in-tirpc): Remove rpc/netdb.h
90645         * resolv/netdb.h: Revert last change.
90647 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
90649         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
90650         circular dependency between libgcc.a and libc.a.
90652 2011-05-05  Andreas Schwab  <schwab@redhat.com>
90654         * resolv/netdb.h: Don't include <rpc/netdb.h>.
90655         * nis/Makefile: Don't install rpcsvc/*.
90656         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
90657         instead of <rpc/types.h>.
90658         (MAXHOSTNAMELEN): Define.
90660 2011-05-03  Andreas Schwab  <schwab@redhat.com>
90662         * elf/ldconfig.c (add_dir): Don't crash on empty path.
90664 2011-04-28  Maciej Babinski  <mbabinski@google.com>
90666         [BZ #12714]
90667         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
90668         gethostbyname4_r when IPv6 results are possible.
90670 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
90672         [BZ #12723]
90673         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
90674         _PC_PIPE_BUF handling.
90676 2011-04-30  Bruno Haible  <bruno@clisp.org>
90678         [BZ #12717]
90679         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
90680         * resolv/netdb.h (getnameinfo): Change type of flags parameter
90681         to 'int'.
90682         * inet/getnameinfo.c (getnameinfo): Likewise.
90684 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
90686         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
90687         to groups setting in database lookup.
90688         * nss/nsswitch.conf: Add initgroups entry.
90690 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
90692         [BZ #12685]
90693         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
90694         mode string.
90695         Patch by Eric Blake <eblake@redhat.com>.
90697 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
90699         * sunrpc/Makefile (need-export-routines): Add svc_run.
90700         (routines): Remove svc_run.
90701         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
90702         * sunrpc/clnt_perr.c (clnt_perrno): Export.
90703         * sunrpc/svc_run.c (svc_run): Likewise.
90704         * sunrpc/svc_udp.c (svcudp_create): Likewise.
90706 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
90708         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
90709         problem in reallocation in last patch.
90711 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
90713         * sunrpc/Makefile: Move inclusion of Rules.
90715 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
90717         * nss/nss_files/files-initgroups.c: New file.
90718         * nss/Makefile (libnss_files-routines): Add files-initgroups.
90719         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
90720         _nss_files_initgroups_dyn.
90722 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
90724         * elf/elf.h (R_ARM_IRELATIVE): Define.
90726 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
90728         * po/ru.po: Update from translation team.
90730 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
90732         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
90733         dependencies.
90735 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
90737         [BZ #12653]
90738         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
90739         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
90740         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
90741         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
90742         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
90744 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
90746         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
90747         differing bytes.
90748         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
90749         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
90750         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
90752 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
90754         [BZ #12420]
90755         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
90756         storing it.
90757         * stdlib/bug-getcontext.c: New file.
90758         * stdlib/Makefile: Add rules to build and run bug-getcontext.
90760 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90762         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
90763         instructions into .machine "z9-109".
90764         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
90765         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
90767 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90769         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
90770         between environment variables and auxiliary vector.
90772 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
90774         * Makefile: Add rules to build linkobj/libc.so.
90775         * include/libc-symbols.h: Define libc_hidden_nolink.
90776         * include/rpc/auth.h: Mark functions which are to be hidden.
90777         * include/rpc/auth_des.h: Likewise.
90778         * include/rpc/auth_unix.h: Likewise.
90779         * include/rpc/clnt.h: Likewise.
90780         * include/rpc/des_crypt.h: Likewise.
90781         * include/rpc/key_prot.h: Likewise.
90782         * include/rpc/pmap_clnt.h: Likewise.
90783         * include/rpc/pmap_prot.h: Likewise.
90784         * include/rpc/pmap_rmt.h: Likewise.
90785         * include/rpc/rpc_msg.h: Likewise.
90786         * include/rpc/svc.h: Likewise.
90787         * include/rpc/svc_auth.h: Likewise.
90788         * include/rpc/xdr.h: Likewise.
90789         * nis/Makefile: Link all DSOs against linkobj/libc.so.
90790         * nss/Makefile: Likewise.
90791         * sunrpc/Makefile: Don't install headers.  Build library with normal
90792         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
90793         * sunrpc/auth_des.c: Hide exported symbols by default, export some
90794         for the compat linking library.  Remove use of INTDEF/INTUSE.
90795         * sunrpc/auth_none.c: Likewise.
90796         * sunrpc/auth_unix.c: Likewise.
90797         * sunrpc/authdes_prot.c: Likewise.
90798         * sunrpc/authuxprot.c: Likewise.
90799         * sunrpc/clnt_gen.c: Likewise.
90800         * sunrpc/clnt_perr.c: Likewise.
90801         * sunrpc/clnt_raw.c: Likewise.
90802         * sunrpc/clnt_simp.c: Likewise.
90803         * sunrpc/clnt_tcp.c: Likewise.
90804         * sunrpc/clnt_udp.c: Likewise.
90805         * sunrpc/clnt_unix.c: Likewise.
90806         * sunrpc/des_crypt.c: Likewise.
90807         * sunrpc/des_soft.c: Likewise.
90808         * sunrpc/get_myaddr.c: Likewise.
90809         * sunrpc/key_call.c: Likewise.
90810         * sunrpc/key_prot.c: Likewise.
90811         * sunrpc/netname.c: Likewise.
90812         * sunrpc/pm_getmaps.c: Likewise.
90813         * sunrpc/pm_getport.c: Likewise.
90814         * sunrpc/pmap_clnt.c: Likewise.
90815         * sunrpc/pmap_prot.c: Likewise.
90816         * sunrpc/pmap_prot2.c: Likewise.
90817         * sunrpc/pmap_rmt.c: Likewise.
90818         * sunrpc/publickey.c: Likewise.
90819         * sunrpc/rpc_cmsg.c: Likewise.
90820         * sunrpc/rpc_common.c: Likewise.
90821         * sunrpc/rpc_dtable.c: Likewise.
90822         * sunrpc/rpc_prot.c: Likewise.
90823         * sunrpc/rpc_thread.c: Likewise.
90824         * sunrpc/rtime.c: Likewise.
90825         * sunrpc/svc.c: Likewise.
90826         * sunrpc/svc_auth.c: Likewise.
90827         * sunrpc/svc_authux.c: Likewise.
90828         * sunrpc/svc_raw.c: Likewise.
90829         * sunrpc/svc_run.c: Likewise.
90830         * sunrpc/svc_simple.c: Likewise.
90831         * sunrpc/svc_tcp.c: Likewise.
90832         * sunrpc/svc_udp.c: Likewise.
90833         * sunrpc/svc_unix.c: Likewise.
90834         * sunrpc/svcauth_des.c: Likewise.
90835         * sunrpc/xcrypt.c: Likewise.
90836         * sunrpc/xdr.c: Likewise.
90837         * sunrpc/xdr_array.c: Likewise.
90838         * sunrpc/xdr_float.c: Likewise.
90839         * sunrpc/xdr_intXX_t.c: Likewise.
90840         * sunrpc/xdr_mem.c: Likewise.
90841         * sunrpc/xdr_rec.c: Likewise.
90842         * sunrpc/xdr_ref.c: Likewise.
90843         * sunrpc/xdr_sizeof.c: Likewise.
90844         * sunrpc/xdr_stdio.c: Likewise.
90846 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
90848         [BZ #12650]
90849         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
90850         * sysdeps/ia64/dl-tls.h: Likewise.
90851         * sysdeps/powerpc/dl-tls.h: Likewise.
90852         * sysdeps/s390/dl-tls.h: Likewise.
90853         * sysdeps/sh/dl-tls.h: Likewise.
90854         * sysdeps/sparc/dl-tls.h: Likewise.
90855         * sysdeps/x86_64/dl-tls.h: Likewise.
90856         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
90858 2011-03-14  Andreas Schwab  <schwab@redhat.com>
90860         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
90861         rpath element also skip the following colon.
90862         (expand_dynamic_string_token): Add is_path parameter and pass
90863         down to DL_DST_REQUIRED and _dl_dst_substitute.
90864         (decompose_rpath): Call expand_dynamic_string_token with
90865         non-zero is_path.  Ignore empty rpaths.
90866         (_dl_map_object_from_fd): Call expand_dynamic_string_token
90867         with zero is_path.
90869 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
90871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
90872         Make cancelable.
90874 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
90876         [BZ #12655]
90877         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
90878         Patch by Filipe David Manana <fdmanana@apache.org>.
90880 2011-04-07  Andreas Schwab  <schwab@redhat.com>
90882         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
90883         Maintain aligned stack.
90884         (CHECK_RSP): Remove unused macro.
90886 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
90888         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
90889         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
90891 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
90893         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
90895         * include/features.h: Mention __USE_XOPEN2K8 in comment.
90897 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
90899         [BZ #12518]
90900         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
90901         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
90902         * sysdeps/x86_64/memmove.c: New file.
90903         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
90904         (memcpy): Renamed to ...
90905         (__new_memcpy): This.
90906         (memcpy): Provide GLIBC_2_14 memcpy.
90907         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
90908         (memcpy): Provide GLIBC_2_2_5 memcpy.
90910 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
90912         [BZ #12631]
90913         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
90915 2011-03-30  Andreas Schwab  <schwab@redhat.com>
90917         * misc/syncfs.c: New file.
90918         * misc/Makefile (routines): Add syncfs.
90919         * posix/unistd.h: Declare syncfs.
90920         * sysdeps/unix/syscalls.list: Add syncfs.
90922 2011-04-01  Andreas Schwab  <schwab@redhat.com>
90924         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
90925         open_by_handle_at.
90926         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
90927         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
90928         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
90929         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
90930         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
90931         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
90932         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
90934 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
90936         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
90937         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
90938         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
90939         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
90940         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
90941         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
90942         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
90944         * io/Makefile: Compile fallocate.c, fallocate64.c, and
90945         sync_file_range.c with -fexceptions.
90946         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
90947         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
90948         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
90949         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
90950         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
90951         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
90952         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
90953         sync_file_range as cancellation point
90954         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
90955         now a wrapper around __call_sync_file_range with cancellation handling.
90956         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
90957         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
90958         function name to __call_sync_file_range.
90959         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
90960         Add call_sync_file_range.
90962 2011-04-01  Andreas Schwab  <schwab@redhat.com>
90964         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
90965         bits/timex.h.
90967 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
90969         * iconv/iconv.h: Fix typo in comment.
90970         * io/fcntl.h: Likewise.
90971         * libio/stdio.h: Likewise.
90972         * posix/spawn.h: Likewise.
90973         * posix/unistd.h: Likewise.
90974         * stdlib/stdlib.h: Likewise.
90975         * time/time.h: Likewise.
90976         * wcsmbs/wchar.h: Likewise.
90978         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
90979         open_by_handle): Add.
90980         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
90981         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
90982         Augment a few comments.
90983         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
90984         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
90985         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
90986         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
90987         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
90988         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
90989         open_by_handle.
90991         * io/fcntl.h (AT_EMPTY_PATH): Define.
90993 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
90995         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
90996         * sysdeps/unix/sysv/linux/bits/time.h: New file.
90997         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
90998         to...
90999         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
91000         * Versions.def: Add GLIBC_2.14.
91001         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
91002         Export.
91004 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
91006         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
91007         round counter.
91008         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
91010 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
91012         [BZ #12597]
91013         * string/test-strncmp.c (do_page_test): New function.
91014         (check2): Likewise.
91015         (test_main): Call check2.
91016         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
91018 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
91020         [BZ #12587]
91021         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
91022         Handle cache information in CPU leaf 4.
91023         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
91025 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
91027         [BZ #12583]
91028         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
91029         character representation.
91030         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
91032 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
91034         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
91035         END(__isnan) to END(__isnanf) to match function entry point/label
91036         EALIGN(__isnanf,...).
91038 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
91040         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
91042 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
91044         [BZ #12510]
91045         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
91046         copy from the symbol referenced in the relocation to initialize the
91047         used variable.
91048         Patch by Piotr Bury <pbury@goahead.com>.
91049         * elf/Makefile: Add rules to build and tst-unique3.
91050         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
91051         * elf/tst-unique3.cc: New file.
91052         * elf/tst-unique3.h: New file.
91053         * elf/tst-unique3lib.cc: New file.
91054         * elf/tst-unique3lib2.cc: New file.
91056         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
91058 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
91060         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
91061         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
91062         to _start.
91064 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
91066         * elf/dl-load.c (_dl_map_object): If we are looking for the first
91067         to-be-loaded object along a path to loader is ld.so.
91069 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
91070             Ulrich Drepper  <drepper@gmail.com>
91072         * sysdeps/x86_64/memset.S: After aligning destination, code
91073         branches to different locations depending on the value of
91074         misalignment, when multiarch is enabled. Fix this.
91076 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
91078         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
91079         Set _x86_64_preferred_memory_instruction for AMD processsors.
91080         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91081         Set bit_Prefer_SSE_for_memop for AMD processors.
91083 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
91085         * libio/fmemopen.c (fmemopen): Optimize a bit.
91087 2011-03-03  Andreas Schwab  <schwab@redhat.com>
91089         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
91091 2011-03-03  Roland McGrath  <roland@redhat.com>
91093         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
91095 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
91097         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
91098         __bzero_ultra1 instead of __memset_ultra1.
91100 2011-02-23  Andreas Schwab  <schwab@redhat.com>
91101             Ulrich Drepper  <drepper@gmail.com>
91103         [BZ #12509]
91104         * include/link.h (struct link_map): Add l_orig_initfini.
91105         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
91106         returning unsuccessfully.
91107         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
91108         close of a file loaded at startup, restore the original l_initfini
91109         list.
91110         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
91111         list, store the pointer.
91112         * elf/Makefile ($(objpfx)noload-mem): New rule.
91113         (noload-ENV): Define.
91114         (tests): Add $(objpfx)noload-mem.
91115         * elf/noload.c: Include <memcheck.h>.
91116         (main): Call mtrace.  Close all opened handles.
91118 2011-02-17  Andreas Schwab  <schwab@redhat.com>
91120         [BZ #12454]
91121         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
91122         dependencies are missing.
91124 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91126         Fix __if_freereq crash: Unlike the generic version which uses free,
91127         Hurd needs munmap.
91128         * sysdeps/mach/hurd/ifreq.h: New file.
91130 2011-01-27  Petr Baudis  <pasky@suse.cz>
91131             Ulrich Drepper  <drepper@gmail.com>
91133         [BZ 12445]#
91134         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
91135         to extend_alloca().
91136         * stdio-common/bug23.c: New file.
91137         * stdio-common/Makefile (tests): Add bug23.
91139 2010-09-28  Andreas Schwab  <schwab@redhat.com>
91140             Ulrich Drepper  <drepper@gmail.com>
91142         [BZ #12489]
91143         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
91144         before performing relro protection.  At old place add assertion
91145         to make sure nothing changed.
91147 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
91148             Glauber de Oliveira Costa  <glommer@gmail.com>
91150         * elf/elf.h: Add new ARM TLS relocs.
91152 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
91154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
91155         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
91156         cast from r3.
91157         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
91158         'tests' variable.
91159         * sysdeps/wordsize-64/tst-writev.c: New file.
91161 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
91163         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
91164         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
91165         insns in _dl_start to prevent a TOC reference before relocs are
91166         resolved.
91168 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
91170         [BZ #12469]
91171         * Makeconfig: Remove RANLIB definition.
91172         * Makerules: Don't use RANLIB.
91173         * aclocal.m4: Remove ranlib test.
91174         * configure.in: No need to check for ranlib.
91175         * elf/rtld-Rules: Don't use RANLIB.
91177 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91179         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
91180         protection macro.
91181         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
91182         inclusion protection macro.
91184         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
91185         SIGRTMIN and SIGRTMAX and print information in that case only when
91186         SIGRTMIN is defined.
91188 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
91190         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
91191         arginfo fn returning -1.
91193         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
91194         and thousands string is zero terminated.
91196 2011-02-03  Andreas Schwab  <schwab@redhat.com>
91198         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
91199         sysdeps/unix/sysv/linux/bits/socket.h.
91201 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91203         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
91204         (__CPU_COUNT): Remove old macros.
91205         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
91206         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
91207         (__CPU_ALLOC, __CPU_FREE): Add macros.
91208         (__sched_cpualloc, __sched_cpufree): Add declarations.
91210 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
91212         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
91213         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
91214         * nscd/aicache.c (addhstaiX): Return timeout of added value.
91215         (readdhstai): Return value of addhstaiX call.
91216         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
91217         (addgrbyX): Return value returned by cache_addgr.
91218         (readdgrbyname): Return value returned by addgrbyX.
91219         (readdgrbygid): Likewise.
91220         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
91221         (addpwbyX): Return value returned by cache_addpw.
91222         (readdpwbyname): Return value returned by addhstbyX.
91223         (readdpwbyuid): Likewise.
91224         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
91225         (addservbyX): Return value returned by cache_addserv.
91226         (readdservbyname): Return value returned by addservbyX:
91227         (readdservbyport): Likewise.
91228         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
91229         (addhstbyX): Return value returned by cache_addhst.
91230         (readdhstbyname): Return value returned by addhstbyX.
91231         (readdhstbyaddr): Likewise.
91232         (readdhstbynamev6): Likewise.
91233         (readdhstbyaddrv6): Likewise.
91234         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
91235         (readdinitgroups): Return value returned by addinitgroupsX.
91236         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
91237         (prune_cache): Keep track of timeout value of re-added entries.
91238         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
91239         * nscd/nscd.h: Adjust prototypes of readd* functions.
91241 2011-02-04  Roland McGrath  <roland@redhat.com>
91243         * nis/nis_server.c (nis_servstate): Use the right name for 0.
91244         (nis_stats): Likewise.
91245         * nis/nis_modify.c (nis_modify): Likewise.
91246         * nis/nis_remove.c (nis_remove): Likewise.
91247         * nis/nis_add.c (nis_add): Likewise.
91249         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
91251         * posix/fnmatch_loop.c: Add some consts.
91253         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
91255 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
91257         [BZ #12460]
91258         * config.make.in (config-cflags-novzeroupper): Define.
91259         * configure.in: Substitute libc_cv_cc_novzeroupper.
91260         * elf/Makefile (AVX-CFLAGS): Define.
91261         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
91262         (CFLAGS-tst-auditmod4a.c): Likewise.
91263         (CFLAGS-tst-auditmod4b.c): Likewise.
91264         (CFLAGS-tst-auditmod6b.c): Likewise.
91265         (CFLAGS-tst-auditmod6c.c): Likewise.
91266         (CFLAGS-tst-auditmod7b.c): Likewise.
91267         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
91269 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
91271         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
91272         function to the callback.
91273         Patch partly by Jiri Olsa <jolsa@redhat.com>.
91275 2011-02-02  Andreas Schwab  <schwab@redhat.com>
91277         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
91278         of errno.
91280 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
91282         [BZ #11724]
91283         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
91284         of constructors.
91285         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
91286         of destructors.
91287         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
91289         [BZ #11724]
91290         * elf/Makefile: Add rules to build and run new test.
91291         * elf/tst-initorder.c: New file.
91292         * elf/tst-initorder.exp: New file.
91293         * elf/tst-initordera1.c: New file.
91294         * elf/tst-initordera2.c: New file.
91295         * elf/tst-initordera3.c: New file.
91296         * elf/tst-initordera4.c: New file.
91297         * elf/tst-initorderb1.c: New file.
91298         * elf/tst-initorderb2.c: New file.
91299         * elf/tst-order-a1.c: New file.
91300         * elf/tst-order-a2.c: New file.
91301         * elf/tst-order-a3.c: New file.
91302         * elf/tst-order-a4.c: New file.
91303         * elf/tst-order-b1.c: New file.
91304         * elf/tst-order-b2.c: New file.
91305         * elf/tst-order-main.c: New file.
91306         New test case by George Gensure <werkt0@gmail.com>.
91308 2010-10-01  Andreas Schwab  <schwab@redhat.com>
91310         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
91311         decoding ACE if AI_CANONIDN.
91313 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
91315         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
91317 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
91319         * version.h (RELEASE): Bump for 2.13 release.
91320         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
91322         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
91324         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
91325         MADV_NOHUGEPAGE.
91326         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
91327         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
91328         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
91329         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
91330         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
91331         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
91333         * posix/getconf.c: Update copyright year.
91334         * catgets/gencat.c: Likewise.
91335         * csu/version.c: Likewise.
91336         * debug/catchsegv.sh: Likewise.
91337         * debug/xtrace.sh: Likewise.
91338         * elf/ldconfig.c: Likewise.
91339         * elf/ldd.bash.in: Likewise.
91340         * elf/sprof.c (print_version): Likewise.
91341         * iconv/iconv_prog.c: Likewise.
91342         * iconv/iconvconfig.c: Likewise.
91343         * locale/programs/locale.c: Likewise.
91344         * locale/programs/localedef.c: Likewise.
91345         * malloc/memusage.sh: Likewise.
91346         * malloc/mtrace.pl: Likewise.
91347         * nscd/nscd.c (print_version): Likewise.
91348         * nss/getent.c: Likewise.
91350         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
91351         PF_CAIF, and PF_ALG.
91352         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
91354 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
91356         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
91357         (modules-names): Use them.
91358         (ifunc-test-modules, ifunc-pie-tests): Define.
91359         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
91360         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
91361         (test-extras): Likewise.
91362         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
91363         $(compile-command.c).
91364         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
91365         (all-built-dso): Define.
91366         (check-textrel.out, check-execstack.out): Depend on it.
91368         * configure.in: Don't override --enable-multi-arch.
91370 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
91372         [BZ #6812]
91373         * nscd/hstcache.c (tryagain): Define.
91374         (cache_addhst): Return tryagain not notfound for temporary errors.
91375         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
91376         failed.
91378 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
91380         [BZ #10563]
91381         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
91382         to make the syscall.
91383         * sysdeps/unix/sysv/linux/setgroups.c: New file.
91385         [BZ #12378]
91386         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
91387         and fall back to matching as normal character if the string ends before
91388         the matching ']' is found.  This is what POSIX requires.
91389         * posix/testfnm.c: Adjust test result.
91390         * posix/globtest.sh: Adjust test result.  Add new test.
91391         * posix/tst-fnmatch.input: Likewise.
91392         * posix/tst-fnmatch2.c: Add new test.
91394 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
91396         * elf/Makefile (check-execstack): Revert last change.  Depend on
91397         check-execstack.h.
91398         (check-execstack.h): New target.
91399         (generated): Add check-execstack.h.
91400         * elf/check-execstack.c: Include "check-execstack.h".
91401         (main): Revert last change.
91402         (handle_file): Return zero if GNU_STACK is absent and
91403         DEFAULT_STACK_PERMS doesn't include PF_X.
91405 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
91407         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
91408         in child fails because the descriptor is already closed.
91409         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
91410         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
91411         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
91413         [BZ #12397]
91414         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
91415         syscall.
91417         [BZ #10484]
91418         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
91419         temporary buffer used to handle multi lookups locally.
91420         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
91422 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
91424         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
91425         loader is ld.so.
91427 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
91429         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
91430         alignment for SSE2.
91432 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
91434         [BZ #12394]
91435         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
91436         characters.  When rounding increased number of integer digits recompute
91437         number of groups.
91438         * stdio-common/tst-grouping.c: New file.
91439         * stdio-common/Makefile: Add rules to build and run tst-grouping.
91441 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
91443         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
91444         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
91446         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
91447         void.
91448         * bits/select.h: Likewise.
91450 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
91452         * po/ja.po: Update from translation team.
91454 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
91456         [BZ #11155]
91457         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
91458         implementation just like for lxstat, fxstatat, et al.
91460 2010-12-27  Jim Meyering  <meyering@redhat.com>
91462         [BZ #12348]
91463         * posix/regexec.c (build_trtable): Return failure indication upon
91464         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
91466 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
91468         [BZ #12201]
91469         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
91470         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
91471         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
91472         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
91474         [BZ #12207]
91475         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
91477         [BZ #12204]
91478         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
91479         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
91481 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
91483         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
91484         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
91485         script has SORT_BY_INIT_PRIORITY.
91486         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
91487         NO_CTORS_DTORS_SECTIONS is defined.
91488         * elf/soinit.c: Likewise.
91489         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
91490         NO_CTORS_DTORS_SECTIONS is defined.
91491         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
91492         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
91493         * sysdeps/sh/init-first.c: Likewise.
91494         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
91496 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
91498         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
91499         always use the slow path.
91501 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
91503         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
91504         similar rule which adds the sysdep directories to the header search in
91505         order to pick up the correct platform stackinfo.h.
91506         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
91507         perform test if it is, otherwise return successfully without testing.
91508         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
91509         DEFAULT_STACK_PERMS define in stackinfo.h.
91510         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
91511         defined in stackinfo.h.
91512         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
91513         DEFAULT_STACK_PERMS defined in stackinfo.h.
91514         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
91515         * sysdeps/ia64/stackinfo.h: Likewise.
91516         * sysdeps/s390/stackinfo.h: Likewise.
91517         * sysdeps/sh/stackinfo.h: Likewise.
91518         * sysdeps/sparc/stackinfo.h: Likewise.
91519         * sysdeps/x86_64/stackinfo.h: Likewise.
91520         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
91521         PF_X for powerpc64.  Retain PF_X for powerpc32.
91523 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
91525         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
91526         accurately.
91527         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
91528         GETDENTS_64BIT_ALIGNED.
91530 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
91532         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
91534 2010-12-10  Andreas Schwab  <schwab@redhat.com>
91536         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
91537         _GNU_SOURCE.
91539         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
91540         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
91541         Remove __restrict.
91542         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
91543         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
91545 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
91547         [BZ #11655]
91548         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
91549         are initialized.
91551 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
91553         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
91555 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
91557         * po/it.po: Update from translation team.
91559 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
91561         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
91562         unused codes.
91564 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
91566         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
91568 2010-11-24  Andreas Schwab  <schwab@redhat.com>
91570         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
91571         specially.
91572         (gaih_getanswer_slice): Likewise.
91574 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
91576         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
91578 2010-05-31  Petr Baudis  <pasky@suse.cz>
91580         [BZ #11149]
91581         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
91582         silently even in the chroot mode.
91584 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
91586         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
91587         last patch a bit.  Pretty printing
91589 2010-05-31  Petr Baudis <pasky@suse.cz>
91591         [BZ #10085]
91592         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
91593         initialization of skip_initgroups_dyn.
91595 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
91597         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
91598         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
91600 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
91602         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
91604 2010-11-11  Andreas Schwab  <schwab@redhat.com>
91606         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
91607         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
91608         (tst-fnmatch-ENV): Set MALLOC_TRACE.
91609         ($(objpfx)tst-fnmatch-mem): New rule.
91610         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
91611         * posix/tst-fnmatch.c (main): Call mtrace.
91613 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
91615         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91616         Support Intel processor model 6 and model 0x2c.
91618 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
91620         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
91621           signed comparison.
91623 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
91625         [BZ #12205]
91626         * string/test-strncasecmp.c (check_result): New function.
91627         (do_one_test): Use it.
91628         (check1): New function.
91629         (test_main): Use it.
91630         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
91631         Support strcasecmp and strncasecmp.
91633 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
91635         [BZ #12194]
91636         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
91637         * sysdeps/x86_64/bits/byteswap.h: Likewise.
91639 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
91641         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
91642         IFUNC support.
91643         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91644         memset-x86-64.
91645         * sysdeps/x86_64/multiarch/bzero.S: New file.
91646         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
91647         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
91648         * sysdeps/x86_64/multiarch/memset.S: New file.
91649         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
91650         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91651         Set bit_Prefer_SSE_for_memop for Intel processors.
91652         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
91653         Define.
91654         (index_Prefer_SSE_for_memop): Define.
91655         (HAS_PREFER_SSE_FOR_MEMOP): Define.
91657 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
91659         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
91660         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
91662 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
91664         [BZ #12191]
91665         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
91666         (__x86_64_raw_data_cache_size_half): Likewise.
91667         (__x86_64_raw_shared_cache_size): Likewise.
91668         (__x86_64_raw_shared_cache_size_half): Likewise.
91670         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
91671         (__x86_64_raw_data_cache_size_half): Likewise.
91672         (__x86_64_raw_shared_cache_size): Likewise.
91673         (__x86_64_raw_shared_cache_size_half): Likewise.
91674         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
91675         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
91676         and __x86_64_raw_shared_cache_size_half.  Round
91677         __x86_64_data_cache_size_half, __x86_64_data_cache_size
91678         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
91679         to multiple of 256 bytes.
91681 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
91683         [BZ #12167]
91684         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
91685         of inacessible symlinks.  Verify result of symlink before returning it.
91686         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
91687         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
91689 2010-10-28  Erich Ritz  <erichritz@gmail.com>
91691         * math/math.h (isinf): Fix typo in comment.
91693 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
91695         * po/da.po: Update from translation team.
91697 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
91699         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
91700         is added to the list.
91702 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91703             Ulrich Drepper  <drepper@gmail.com>
91705         * elf/dl-object.c (_dl_new_object): Don't append the new object to
91706         the global list here.  Move code to...
91707         (_dl_add_to_namespace_list): ...here.  New function.
91708         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
91709         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
91710         * elf/dl-load.c (lose): Don't remove the element from the list.
91711         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
91712         (_dl_map_object): Likewise.
91714 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
91716         [BZ #12159]
91717         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
91718         into all bytes of SSE register.
91719         Patch by Richard Li <richardpku@gmail.com>.
91721 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
91723         [BZ #12140]
91724         * malloc/malloc.c (_int_free): Fill correct number of bytes when
91725         perturbing.
91727 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
91729         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
91730         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
91731         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
91732         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
91733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
91734         submachine.
91735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
91737 2010-10-22  Andreas Schwab  <schwab@redhat.com>
91739         * include/dlfcn.h (__RTLD_SECURE): Define.
91740         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
91741         mode & __RTLD_SECURE instead.
91742         (open_path): Rename preloaded parameter to secure.
91743         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
91744         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
91745         * elf/dl-deps.c (openaux): Likewise.
91746         * elf/rtld.c (struct map_args): Remove is_preloaded.
91747         (map_doit): Don't use it.
91748         (dl_main): Likewise.
91749         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
91750         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
91752 2010-09-09  Andreas Schwab  <schwab@redhat.com>
91754         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
91755         (sysd-rules-targets): Remove duplicates.
91756         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
91757         rtld-%.$o dependency.
91759 2010-10-18  Andreas Schwab  <schwab@redhat.com>
91761         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
91762         _dl_map_object do it.
91764 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
91766         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
91767         fast fma builtins, define the macros in the C99 standard.
91768         (FP_FAST_FMAF): Likewise.
91769         (FP_FAST_FMAL): Likewise.
91770         * sysdeps/x86_64/bits/mathdef.h: Likewise.
91772         * bits/mathdef.h: Update copyright year.
91773         * sysdeps/powerpc/bits/mathdef.h: Likewise.
91775 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
91777         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
91778         builtins, define the macros in the C99 standard.
91779         (FP_FAST_FMAF): Likewise.
91780         (FP_FAST_FMAL): Likewise.
91781         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
91782         multiply/add.
91783         (FP_FAST_FMAF): Likewise.
91785 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
91787         [BZ #3268]
91788         * math/libm-test.inc (fma_test): Some new testcases.
91789         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
91790         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
91791         y and infinite z.  Do multiplication by C already in long double.
91792         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
91793         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
91794         y and infinite z.  Do bitwise or of inexact bit into u.d.
91795         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
91796         * sysdeps/i386/fpu/s_fmaf.S: Removed.
91797         * sysdeps/i386/fpu/s_fma.S: Removed.
91798         * sysdeps/i386/fpu/s_fmal.S: Removed.
91800 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
91802         [BZ #3268]
91803         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
91804         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
91805         computation is not scheduled after fetestexcept.  Fix value
91806         of minimum denormal long double.
91808 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
91810         [BZ #3268]
91811         * math/libm-test.inc (fma_test): Add some more tests.
91812         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
91813         correctly.
91815 2010-10-15  Andreas Schwab  <schwab@redhat.com>
91817         * scripts/data/localplt-s390-linux-gnu.data: New file.
91818         * scripts/data/localplt-s390x-linux-gnu.data: New file.
91820 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
91822         [BZ #3268]
91823         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
91824         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
91825         instead of dbl-64.
91826         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
91827         inlines.
91828         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
91829         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
91830         if one of x and y is very large and the other is subnormal.
91831         * sysdeps/s390/fpu/s_fmaf.c: New file.
91832         * sysdeps/s390/fpu/s_fma.c: New file.
91833         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
91834         * sysdeps/powerpc/fpu/s_fma.S: New file.
91835         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
91836         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
91837         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
91839 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
91841         [BZ #3268]
91842         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
91843         fma tests.
91844         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
91845         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
91846         * sysdeps/i386/i686/multiarch/s_fma.c: Include
91847         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
91848         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
91849         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
91850         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
91852 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
91854         [BZ #12078]
91855         * posix/regcomp.c (parse_branch): One more memory leak plugged.
91856         * posix/bug-regex31.input: Add test case.
91858 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
91860         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
91861         * posix/bug-regex31.input: New file.
91863         [BZ #12078]
91864         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
91865         (parse_sub_exp): Fix last change, use postorder.
91867         * posix/bug-regex31.c: New file.
91868         * posix/Makefile: Add rules to build and run bug-regex31.
91870         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
91872         [BZ #12078]
91873         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
91875         [BZ #12108]
91876         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
91877         to have entries in sys_siglist.
91879         [BZ #12093]
91880         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
91881         be NULL.
91883 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
91885         [BZ #3268]
91886         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
91887         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
91888         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
91889         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
91890         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
91891         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
91892         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
91893         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
91894         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
91895         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
91896         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
91897         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
91898         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
91899         * math/ftestexcept.c (fetestexcept): Likewise.
91900         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
91901         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
91902         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
91903         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
91904         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
91905         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
91906         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
91908 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
91910         [BZ #12107]
91911         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
91912         newline.
91914 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
91916         * string/bug-strstr1.c: New file.
91917         * string/Makefile: Add rules to build and run bug-strstr1.
91919 2010-10-05  Eric Blake  <eblake@redhat.com>
91921         [BZ #12092]
91922         * string/str-two-way.h (two_way_long_needle): Always clear memory
91923         when skipping input due to the shift table.
91925 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
91927         [BZ #12005]
91928         * malloc/mcheck.c: Handle large requests.
91930         [BZ #12077]
91931         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
91932         for strncmp and strncasecmp.
91933         * string/stratcliff.c: Add tests for strcmp and strncmp.
91934         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
91936 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
91938         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
91939         __set_fpscr.
91941 2010-09-30  Andreas Jaeger  <aj@suse.de>
91943         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
91944         (CGROUP_SUPER_MAGIC): Define.
91945         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
91946         Handle btrfs and cgroup file systems.
91947         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
91948         Likewise.
91950 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
91952         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
91953         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
91955 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91957         [BZ #12067]
91958         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
91959         trying to locate the ELF header.
91961 2010-09-27  Andreas Schwab  <schwab@redhat.com>
91963         [BZ #11611]
91964         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
91965         Mask out sign-bit copies when constructing f_fsid.
91967 2010-09-24  Petr Baudis <pasky@suse.cz>
91969         * debug/stack_chk_fail_local.c: Add missing licence exception.
91970         * debug/warning-nop.c: Likewise.
91972 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
91974         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
91975         implementing getdents64 using getdents syscall, set d_type if
91976         __ASSUME_GETDENTS32_D_TYPE.
91978 2010-09-16  Andreas Schwab  <schwab@redhat.com>
91980         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
91981         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
91983 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
91985         [BZ #12037]
91986         * posix/unistd.h: Undo change of feature selection for ftruncate from
91987         2010-01-11.
91989 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
91991         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
91992         detection.
91994 2010-09-20  Andreas Schwab  <schwab@redhat.com>
91996         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
91997         fanotify_mark.
91998         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
92000 2010-09-14  Andreas Schwab  <schwab@redhat.com>
92002         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
92003         variables after CHECK_SP call.
92004         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
92006 2010-09-13  Andreas Schwab  <schwab@redhat.com>
92007             Ulrich Drepper  <drepper@redhat.com>
92009         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
92010         re-relocationg ld.so.
92011         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
92012         _dl_init_paths call.
92013         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
92014         here anymore.
92016 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
92018         * resolv/res_init.c (__res_vinit): Count the default server we added.
92020 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
92021             Ulrich Drepper  <drepper@redhat.com>
92023         [BZ #11968]
92024         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
92025         (____longjmp_chk): Use %ebx for saving value across system call.
92026         Add unwind info.
92028 2010-09-06  Andreas Schwab  <schwab@redhat.com>
92030         * manual/Makefile: Don't mix pattern rules with normal rules.
92032 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
92034         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
92035         operation.
92036         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
92037         * libio/iofopncook.c (_IO_cookie_init): Likewise.
92038         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
92039         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
92040         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
92041         Likewise.
92043 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
92045         [BZ #11979]
92046         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
92047         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
92049 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
92051         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
92052         * sysdeps/x86_64/addmul_1.S: Likewise.
92053         * sysdeps/x86_64/lshift.S: Likewise.
92054         * sysdeps/x86_64/mul_1.S: Likewise.
92055         * sysdeps/x86_64/rshift.S: Likewise.
92056         * sysdeps/x86_64/sub_n.S: Likewise.
92057         * sysdeps/x86_64/submul_1.S: Likewise.
92059 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
92061         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
92062         Define __sched_param instead of SCHED_* and sched_param when
92063         <bits/sched.h> is included with __need_schedparam defined.
92064         * bits/sched.h [__need_schedparam]
92065         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
92066         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
92067         (__defined_schedparam): Define to 1.
92068         (__sched_param): New structure, identical to sched_param.
92069         (__need_schedparam): Undefine.
92071 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
92073         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
92074         (epoll_create1): Declare.
92076         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
92078 2010-08-31  Andreas Schwab  <schwab@redhat.com>
92080         [BZ #7066]
92081         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
92082         shifting retval into place.
92084 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
92086         * nis/rpcsvc/nis.h: Update copyright notice.
92087         * nis/rpcsvc/nis.x: Likewise.
92088         * nis/rpcsvc/nis_callback.h: Likewise.
92089         * nis/rpcsvc/nis_callback.x: Likewise.
92090         * nis/rpcsvc/nis_object.x: Likewise.
92091         * nis/rpcsvc/nis_tags.h: Likewise.
92092         * nis/rpcsvc/yp.h: Likewise.
92093         * nis/rpcsvc/yp.x: Likewise.
92094         * nis/rpcsvc/ypupd.h: Likewise.
92095         * nis/yp_xdr.c: Likewise.
92096         * nis/ypupdate_xdr.c: Likewise.
92098         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
92099         mainly the body of pmap_getport.  Add parameters to specify timeouts.
92100         (pmap_getport): Use __libc_rpc_getport.
92101         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
92102         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
92103         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
92105 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
92107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
92108         fanotify_mark.
92110 2010-08-27  Roland McGrath  <roland@redhat.com>
92112         * sysdeps/i386/i686/multiarch/Makefile
92113         (CFLAGS-varshift.c): New variable.
92115 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
92117         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
92118         * sysdeps/i386/i686/multiarch/varshift.c: New file.
92120         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
92122         * sysdeps/x86_64/strlen.S: Minimal code improvement.
92124 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
92126         * sysdeps/x86_64/strlen.S: Unroll the loop.
92127         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92128         strlen-sse2 strlen-sse2-bsf.
92129         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
92130         __strlen_no_bsf if bit_Slow_BSF is set.
92131         (__strlen_sse42): Removed.
92132         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
92133         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
92135 2010-08-25  Roland McGrath  <roland@redhat.com>
92137         * sysdeps/x86_64/multiarch/varshift.S: File removed.
92138         * sysdeps/x86_64/multiarch/varshift.c: New file.
92139         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
92140         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
92141         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
92142         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
92144 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
92146         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92147         strlen-sse2 strlen-sse2-bsf.
92148         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
92149         __strlen_sse2_bsf if bit_Slow_BSF is unset.
92150         (__strlen_sse2): Removed.
92151         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
92152         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
92153         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
92154         bit_Slow_BSF for Atom.
92155         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
92156         (index_Slow_BSF): Define.
92157         (HAS_SLOW_BSF): Define.
92159 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
92161         [BZ #10851]
92162         * resolv/res_init.c (__res_vinit): When no server address at all
92163         is given default to loopback.
92165 2010-08-24  Roland McGrath  <roland@redhat.com>
92167         * configure.in: Remove config-name.h generation.
92168         * configure: Regenerated.
92169         * config-name.in: File removed.
92170         * scripts/config-uname.sh: New file.
92171         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
92172         ($(objdir)config-name.h): New target.
92174         * sunrpc/rpc_parse.h: Avoid nested comment.
92176 2010-08-24  Richard Henderson  <rth@redhat.com>
92177             Ulrich Drepper  <drepper@redhat.com>
92178             H.J. Lu  <hongjiu.lu@intel.com>
92180         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
92181         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
92182         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
92183         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
92184         _mm_alignr_epi8 with _mm_loadu_si128.
92185         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
92186         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
92187         (__m128i_shift_right): Removed.
92188         * sysdeps/i386/i686/multiarch/varshift.h: New file.
92189         * sysdeps/i386/i686/multiarch/varshift.S: New file.
92190         * sysdeps/x86_64/multiarch/varshift.h: New file.
92191         * sysdeps/x86_64/multiarch/varshift.S: New file.
92193 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
92195         * configure.in: Move assembler checks to before sysdep dir checking.
92197 2010-08-20  Petr Baudis  <pasky@suse.cz>
92199         * LICENSES: Sync the sunrpc license.
92201 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
92203         * sunrpc/auth_des.c: Update copyright notice once again.
92204         * sunrpc/auth_none.c: Likewise.
92205         * sunrpc/auth_unix.c: Likewise.
92206         * sunrpc/authdes_prot.c: Likewise.
92207         * sunrpc/authuxprot.c: Likewise.
92208         * sunrpc/bindrsvprt.c: Likewise.
92209         * sunrpc/clnt_gen.c: Likewise.
92210         * sunrpc/clnt_perr.c: Likewise.
92211         * sunrpc/clnt_raw.c: Likewise.
92212         * sunrpc/clnt_simp.c: Likewise.
92213         * sunrpc/clnt_tcp.c: Likewise.
92214         * sunrpc/clnt_udp.c: Likewise.
92215         * sunrpc/clnt_unix.c: Likewise.
92216         * sunrpc/des_crypt.c: Likewise.
92217         * sunrpc/des_soft.c: Likewise.
92218         * sunrpc/get_myaddr.c: Likewise.
92219         * sunrpc/getrpcport.c: Likewise.
92220         * sunrpc/key_call.c: Likewise.
92221         * sunrpc/key_prot.c: Likewise.
92222         * sunrpc/openchild.c: Likewise.
92223         * sunrpc/pm_getmaps.c: Likewise.
92224         * sunrpc/pm_getport.c: Likewise.
92225         * sunrpc/pmap_clnt.c: Likewise.
92226         * sunrpc/pmap_prot.c: Likewise.
92227         * sunrpc/pmap_prot2.c: Likewise.
92228         * sunrpc/pmap_rmt.c: Likewise.
92229         * sunrpc/rpc/auth.h: Likewise.
92230         * sunrpc/rpc/auth_unix.h: Likewise.
92231         * sunrpc/rpc/clnt.h: Likewise.
92232         * sunrpc/rpc/des_crypt.h: Likewise.
92233         * sunrpc/rpc/key_prot.h: Likewise.
92234         * sunrpc/rpc/netdb.h: Likewise.
92235         * sunrpc/rpc/pmap_clnt.h: Likewise.
92236         * sunrpc/rpc/pmap_prot.h: Likewise.
92237         * sunrpc/rpc/pmap_rmt.h: Likewise.
92238         * sunrpc/rpc/rpc.h: Likewise.
92239         * sunrpc/rpc/rpc_des.h: Likewise.
92240         * sunrpc/rpc/rpc_msg.h: Likewise.
92241         * sunrpc/rpc/svc.h: Likewise.
92242         * sunrpc/rpc/svc_auth.h: Likewise.
92243         * sunrpc/rpc/types.h: Likewise.
92244         * sunrpc/rpc/xdr.h: Likewise.
92245         * sunrpc/rpc_clntout.c: Likewise.
92246         * sunrpc/rpc_cmsg.c: Likewise.
92247         * sunrpc/rpc_common.c: Likewise.
92248         * sunrpc/rpc_cout.c: Likewise.
92249         * sunrpc/rpc_dtable.c: Likewise.
92250         * sunrpc/rpc_hout.c: Likewise.
92251         * sunrpc/rpc_main.c: Likewise.
92252         * sunrpc/rpc_parse.c: Likewise.
92253         * sunrpc/rpc_parse.h: Likewise.
92254         * sunrpc/rpc_prot.c: Likewise.
92255         * sunrpc/rpc_sample.c: Likewise.
92256         * sunrpc/rpc_scan.c: Likewise.
92257         * sunrpc/rpc_scan.h: Likewise.
92258         * sunrpc/rpc_svcout.c: Likewise.
92259         * sunrpc/rpc_tblout.c: Likewise.
92260         * sunrpc/rpc_util.c: Likewise.
92261         * sunrpc/rpc_util.h: Likewise.
92262         * sunrpc/rpcinfo.c: Likewise.
92263         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
92264         * sunrpc/rpcsvc/key_prot.x: Likewise.
92265         * sunrpc/rpcsvc/klm_prot.x: Likewise.
92266         * sunrpc/rpcsvc/mount.x: Likewise.
92267         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
92268         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
92269         * sunrpc/rpcsvc/rex.x: Likewise.
92270         * sunrpc/rpcsvc/rstat.x: Likewise.
92271         * sunrpc/rpcsvc/rusers.x: Likewise.
92272         * sunrpc/rpcsvc/sm_inter.x: Likewise.
92273         * sunrpc/rpcsvc/spray.x: Likewise.
92274         * sunrpc/rpcsvc/yppasswd.x: Likewise.
92275         * sunrpc/rtime.c: Likewise.
92276         * sunrpc/svc.c: Likewise.
92277         * sunrpc/svc_auth.c: Likewise.
92278         * sunrpc/svc_authux.c: Likewise.
92279         * sunrpc/svc_raw.c: Likewise.
92280         * sunrpc/svc_run.c: Likewise.
92281         * sunrpc/svc_simple.c: Likewise.
92282         * sunrpc/svc_tcp.c: Likewise.
92283         * sunrpc/svc_udp.c: Likewise.
92284         * sunrpc/svc_unix.c: Likewise.
92285         * sunrpc/svcauth_des.c: Likewise.
92286         * sunrpc/xcrypt.c: Likewise.
92287         * sunrpc/xdr.c: Likewise.
92288         * sunrpc/xdr_array.c: Likewise.
92289         * sunrpc/xdr_float.c: Likewise.
92290         * sunrpc/xdr_mem.c: Likewise.
92291         * sunrpc/xdr_rec.c: Likewise.
92292         * sunrpc/xdr_ref.c: Likewise.
92293         * sunrpc/xdr_sizeof.c: Likewise.
92294         * sunrpc/xdr_stdio.c: Likewise.
92296         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
92297         handling.
92299 2010-08-19  Andreas Schwab  <schwab@redhat.com>
92301         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
92303 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
92305         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
92306         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
92307         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
92308         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
92309         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
92310         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
92311         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
92312         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
92313         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
92314         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
92315         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
92316         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
92317         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
92318         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
92320 2010-07-26  Anton Blanchard  <anton@samba.org>
92322         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
92323         * malloc/arena.c (heap_trim): Likewise.
92325 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
92327         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
92328         here.  Not...
92329         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
92330         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
92332 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
92334         * sysdeps/i386/elf/Makefile: New file.
92336 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
92338         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
92339         from fanotify_init.
92340         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
92341         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
92343 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
92345         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
92346         of strncasecmp_l.
92347         * sysdeps/multiarch/strcmp.S: Likewise.
92349 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
92351         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
92352         strncase_l-nonascii.
92353         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
92354         Add strncase_l-ssse3.
92355         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
92356         * sysdeps/x86_64/strcmp.S: Likewise.
92357         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
92358         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
92359         * sysdeps/x86_64/strncase.S: New file.
92360         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
92361         * sysdeps/x86_64/strncase_l.S: New file.
92362         * string/Makefile (strop-tests): Add strncasecmp.
92363         * string/test-strncasecmp.c: New file.
92365         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
92366         warning.
92368         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
92369         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
92371 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
92373         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
92375 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
92377         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
92378         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
92379         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
92381 2010-05-01  Alan Modra  <amodra@gmail.com>
92383         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
92384         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
92385         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
92386         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
92387         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
92388         tidying.  Don't tail-call __sigjmp_save for static lib.
92389         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
92390         save location.
92391         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
92392         (CALL_MCOUNT): Add eh info, and nop after bl.
92393         (TAIL_CALL_SYSCALL_ERROR): New macro.
92394         (PSEUDO_RET): Use it.
92395         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
92396         Correct save location of integer regs and cr.
92397         (_dl_profile_resolve): Correct cr save location.  Delete nops
92398         after bl when SHARED.  Reduce cfi size a little by better
92399         placement of cfi directives.
92400         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
92401         make a stack frame.  Instead use parm save area as a temp.
92402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
92403         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
92404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
92405         Don't make a stack frame for parent, use parm save area.
92406         Increase child stack frame to 112 bytes.  Don't save unused reg,
92407         and adjust reg usage.  Set up cfi on error recovery and
92408         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
92409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
92410         (__makecontext): Add dummy nop after jump to exit.
92411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
92412         Use correct parm save area and cr save, reduce stack frame.
92413         Correct cfi for possible PSEUDO_RET frame setup.
92414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
92415         Branch to local label emitted by PSEUDO_RET rather than
92416         __syscall_error.
92418 2010-08-12  Andreas Schwab  <schwab@redhat.com>
92420         [BZ #11904]
92421         * locale/programs/locale.c (print_assignment): New function.
92422         (show_locale_vars): Use it.
92424 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
92426         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
92427         field.
92428         (struct statfs64): Likewise.
92429         (_STATFS_F_FLAGS): Define.
92430         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
92431         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
92432         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
92433         (ST_VALID): Define locally.
92434         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
92435         __statvfs_getflags, use the provided value.
92436         * sysdeps/unix/sysv/linux/kernel-features.h: Define
92437         __ASSUME_STATFS_F_FLAGS.
92439         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
92441         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
92442         Add sys/fanotify.h.
92443         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
92444         fanotify_mask for GLIBC_2.13.
92445         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
92446         fanotify_init and fanotify_mark.
92447         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
92448         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
92450         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
92451         Add prlimit.
92452         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
92453         prlimit64 for GLIBC_2.13.
92454         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
92455         prlimit64.
92456         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
92457         syscall.
92458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
92459         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
92460         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
92461         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
92462         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
92463         add prlimit alias.
92464         * sysdeps/unix/sysv/linux/prlimit.c: New file.
92466         [BZ #11903]
92467         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
92468         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
92470         * nss/Makefile: Add rules to build and run tst-nss-test1.
92471         * shlib-versions: Add entry for libnss_test1.
92472         * nss/nss_test1.c: New file.
92473         * nss/tst-nss-test1.c: New file.
92475         * nss/nsswitch.c (__nss_database_custom): Define new variable.
92476         (__nss_configure_lookup): Set appropriate entry in
92477         __nss_configure_lookup to true.
92478         * nss/nsswitch.h: Define enum with indeces of databases in
92479         databases and __nss_database_custom arrays.  Declare
92480         __nss_database_custom.
92481         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
92482         to avoid using nscd when custom rules are installed.
92483         * nss/getXXbyYY_r.c: Likewise.
92484         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
92486         * nss/nss_files/files-parse.c: Whitespace fixes.
92488 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
92490         [BZ #11883]
92491         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
92492         * posix/fnmatch_loop.c: Likewise.
92494 2010-07-17  Andi Kleen  <ak@linux.intel.com>
92496         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
92497         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
92498         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
92499         * Versions.def [GLIBC_2.13]: Add.
92501 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
92503         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
92504         Also fail if tpwd after pwuid call is NULL.
92506 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
92508         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
92509         when converting to ms.
92511 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
92513         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
92514         EOPNOTSUPP errors with ENOTTY.
92515         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
92516         EOPNOTSUPP errors with ENOTTY.
92518 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
92520         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
92521         Add strcasecmp_l-ssse3.
92522         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
92523         strcasecmp.
92524         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
92525         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
92526         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
92528 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
92530         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
92532         * string/Makefile (strop-tests): Add strcasecmp.
92533         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
92534         strcasecmp_l-nonascii.
92535         (gen-as-const-headers): Add locale-defines.sym.
92536         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
92537         * sysdeps/x86_64/strcasecmp.S: New file.
92538         * sysdeps/x86_64/strcasecmp_l.S: New file.
92539         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
92540         * sysdeps/x86_64/locale-defines.sym: New file.
92541         * string/test-strcasecmp.c: New file.
92543         * string/test-strcasestr.c: Test both ends of the range of characters.
92544         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
92546 2010-07-29  Roland McGrath  <roland@redhat.com>
92548         [BZ #11856]
92549         * manual/locale.texi (Yes-or-No Questions): Fix example code.
92551 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
92553         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
92554         for ld.so.
92556 2010-07-27  Andreas Schwab  <schwab@redhat.com>
92558         * manual/memory.texi (Malloc Tunable Parameters): Document
92559         M_PERTURB.
92561 2010-07-26  Roland McGrath  <roland@redhat.com>
92563         [BZ #11840]
92564         * configure.in (-fgnu89-inline check): Set and substitute
92565         gnu89_inline, not libc_cv_gnu89_inline.
92566         * configure: Regenerated.
92567         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
92569 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
92571         * string/test-strnlen.c: New file.
92572         * string/Makefile (strop-tests): Add strnlen.
92573         * string/tester.c (test_strnlen): Add a few more test cases.
92574         * string/tst-strlen.c: Better error reporting.
92576         * sysdeps/x86_64/strnlen.S: New file.
92578 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
92580         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
92581         lower-latency instructions.
92583 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
92585         * string/test-strcasestr.c: New file.
92586         * string/test-strstr.c: New file.
92587         * string/Makefile (strop-tests): Add strstr and strcasestr.
92588         * string/str-two-way.h: Don't undefine MAX.
92589         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
92591 2010-07-21  Andreas Schwab  <schwab@redhat.com>
92593         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92594         strcasestr-nonascii.
92595         (CFLAGS-strcasestr-nonascii.c): Define.
92596         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
92597         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
92598         Remove unused attribute.
92600 2010-07-20  Roland McGrath  <roland@redhat.com>
92602         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
92603         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
92604         ld.so.cache was broken.  With it, there is no way to disable dsocaps
92605         like LD_HWCAP_MASK can disable hwcaps.
92607 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
92609         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
92611 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
92613         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
92614         call in strcasestr.
92615         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
92616         __strcasestr_sse42_nonascii.
92617         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
92618         strcasestr-nonascii.c.
92619         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
92621 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
92623         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
92624         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
92625         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
92626         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
92628 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
92630         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
92631         fcntl.
92633 2010-07-06  Andreas Schwab  <schwab@redhat.com>
92635         [BZ #11577]
92636         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
92637         dl_signal_cerror.
92639 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
92641         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
92642         _PC_PIPE_BUF using F_GETPIPE_SZ.
92644 2010-07-05  Roland McGrath  <roland@redhat.com>
92646         * manual/arith.texi (Rounding Functions): Fix rint description
92647         implicit in round description.
92649 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
92651         * elf/Makefile: Fix linking for a few tests to make recent linker
92652         happy.
92654 2010-06-30  Andreas Schwab  <schwab@redhat.com>
92656         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
92657         $(common-objpfx)libc_nonshared.a.
92659 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
92661         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
92662         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
92663         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
92664         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
92665         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
92666         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
92667         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
92668         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
92669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
92670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
92671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
92672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
92673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
92674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
92675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
92676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
92677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
92678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
92679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
92680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
92681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
92682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
92683         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
92684         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
92685         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
92686         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
92687         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
92688         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
92689         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
92690         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
92691         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
92692         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
92693         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
92694         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
92695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
92696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
92697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
92698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
92699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
92700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
92701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
92702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
92703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
92704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
92705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
92706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
92707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
92708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
92710 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
92712         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
92713         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
92714         * string/memmove.c (memmove): Renamed to ...
92715         (MEMMOVE): ...this.  Default to memmove.
92716         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
92717         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
92718         (END_CHK): Define.
92719         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92720         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
92721         mempcpy-ssse3-back memmove-ssse3-back.
92722         * sysdeps/x86_64/multiarch/bcopy.S: New file .
92723         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
92724         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
92725         * sysdeps/x86_64/multiarch/memcpy.S: New file.
92726         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
92727         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
92728         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
92729         * sysdeps/x86_64/multiarch/memmove.c: New file.
92730         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
92731         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
92732         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
92733         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
92734         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
92735         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
92736         Define.
92737         (index_Fast_Copy_Backward): Define.
92738         (HAS_ARCH_FEATURE): Define.
92739         (HAS_FAST_REP_STRING): Define.
92740         (HAS_FAST_COPY_BACKWARD): Define.
92742 2010-06-21  Andreas Schwab  <schwab@redhat.com>
92744         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
92745         Restore proper fallback handling.
92747 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
92749         [BZ #11701]
92750         * posix/group_member.c (__group_member): Correct checking loop.
92752         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
92753         OOM in getpwuid_r correctly.  Return error number when the caller
92754         should return, otherwise -1.
92755         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
92756         call returning > 0 value.
92757         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
92759 2010-06-07  Andreas Schwab  <schwab@redhat.com>
92761         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
92762         libc_nonshared.a from targets in modules-names.
92764 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
92766         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
92767         requires it.
92769 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
92771         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
92772         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
92773         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
92774         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
92776 2010-06-02  Andreas Schwab  <schwab@redhat.com>
92778         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
92780 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
92782         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
92783         and F_GETPIPE_SZ.
92784         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
92785         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
92786         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
92787         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
92788         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
92789         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
92791 2010-06-14  Roland McGrath  <roland@redhat.com>
92793         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
92795 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
92797         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
92798         __REDIRECT followed by __THROW.
92799         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
92800         * posix/getopt.h (getopt): Likewise.
92802 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
92804         * hurd/lookup-at.c (__file_name_lookup_at): Accept
92805         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
92806         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
92807         in AT_FLAGS.
92808         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
92809         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
92811 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
92813         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
92815 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
92817         [BZ #11640]
92818         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92819         Properly check family and model.
92821 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
92823         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
92825 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
92827         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
92829 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
92831         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
92832         symbol reference.
92834 2010-05-19  Andreas Schwab  <schwab@redhat.com>
92836         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
92837         symbol reference.
92839 2010-05-21  Andreas Schwab  <schwab@redhat.com>
92841         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
92842         and internal_recvmmsg.
92843         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
92844         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
92845         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
92846         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
92848         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
92849         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
92850         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
92852 2010-05-20  Andreas Schwab  <schwab@redhat.com>
92854         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
92856 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
92858         POWER7 optimizations.
92859         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
92860         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
92862 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
92864         * version.h: Update for 2.13 development version.
92866 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
92868         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
92869         exceptions.  Return 0.
92871 2010-05-07  Roland McGrath  <roland@redhat.com>
92873         * elf/ldconfig.c (main): Add a const.
92875 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
92877         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
92878         (args_options): Add no-idn option.
92879         (ahosts_keys_int): Add idn_flags to ai_flags.
92880         (parse_option): Handle 'i' option to clear idn_flags.
92882         * malloc/malloc.c (_int_free): Possible race in the most recently
92883         added check.  Only act on the data if no current modification
92884         happened.
92886 See ChangeLog.17 for earlier changes.